
char * get_file_type(uint e_type)

{
  char *pcVar1;
  
  switch(e_type) {
  case 0:
    pcVar1 = (char *)dcgettext(0,"NONE (None)",5);
    return pcVar1;
  case 1:
    pcVar1 = (char *)dcgettext(0,"REL (Relocatable file)",5);
    return pcVar1;
  case 2:
    pcVar1 = (char *)dcgettext(0,"EXEC (Executable file)",5);
    return pcVar1;
  case 3:
    pcVar1 = (char *)dcgettext(0,"DYN (Shared object file)",5);
    return pcVar1;
  case 4:
    pcVar1 = (char *)dcgettext(0,"CORE (Core file)",5);
    return pcVar1;
  }
  pcVar1 = "Processor Specific: (%x)";
  if ((0xff < e_type - 0xff00) && (pcVar1 = "OS Specific: (%x)", 0xff < e_type - 0xfe00)) {
    pcVar1 = "<unknown>: %x";
  }
  pcVar1 = (char *)dcgettext(0,pcVar1,5);
  snprintf(get_file_type::buff,0x20,pcVar1,(ulong)e_type);
  return get_file_type::buff;
}



undefined * FUN_001100f0(uint param_1)

{
  undefined *puVar1;
  char *pcVar2;
  
  switch(param_1) {
  case 0:
    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);
    return puVar1;
  case 1:
    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);
    return puVar1;
  case 2:
    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);
    return puVar1;
  case 3:
    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);
    return puVar1;
  case 4:
    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);
    return puVar1;
  }
  pcVar2 = "Processor Specific: (%x)";
  if ((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)) {
    pcVar2 = "<unknown>: %x";
  }
  pcVar2 = (char *)dcgettext(0,pcVar2,5);
  snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1);
  return &DAT_00192cc0;
}


CMP EDI,0x4
JA 0x00110160
LEA RDX,[0x17a09c]
MOV EDI,EDI
MOVSXD RAX,dword ptr [RDX + RDI*0x4]
ADD RAX,RDX
MOV EDX,0x5
JMP RAX
LEA RSI,[0x163f94]
XOR EDI,EDI
JMP 0x00107130
LEA RSI,[0x163fad]
XOR EDI,EDI
JMP 0x00107130
LEA RSI,[0x163f5a]
XOR EDI,EDI
JMP 0x00107130
LEA RSI,[0x163f66]
XOR EDI,EDI
JMP 0x00107130
LEA RSI,[0x163f7d]
XOR EDI,EDI
JMP 0x00107130
LEA EAX,[RDI + -0xff00]
PUSH RBX
MOV EBX,EDI
MOV EDX,0x5
LEA RSI,[0x163fbe]
CMP EAX,0xff
JBE 0x0011019c
LEA EAX,[RDI + -0xfe00]
MOV EDX,0x5
LEA RSI,[0x163fd7]
CMP EAX,0xff
JBE 0x0011019c
LEA RSI,[0x163fe9]
XOR EDI,EDI
CALL 0x00107130
MOV ECX,EBX
MOV ESI,0x20
LEA RDI,[0x192cc0]
MOV RDX,RAX
XOR EAX,EAX
CALL 0x001071b0
LEA RAX,[0x192cc0]
POP RBX
RET
(translation_unit "undefined * FUN_001100f0(uint param_1)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  switch(param_1) {\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }\n  pcVar2 = "Processor Specific: (%x)";\n  if ((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)) {\n    pcVar2 = "<unknown>: %x";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1);\n  return &DAT_00192cc0;\n}\n\n" (function_definition "undefined * FUN_001100f0(uint param_1)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  switch(param_1) {\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }\n  pcVar2 = "Processor Specific: (%x)";\n  if ((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)) {\n    pcVar2 = "<unknown>: %x";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1);\n  return &DAT_00192cc0;\n}" type_identifier (pointer_declarator "* FUN_001100f0(uint param_1)" * (function_declarator "FUN_001100f0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) )))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  switch(param_1) {\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }\n  pcVar2 = "Processor Specific: (%x)";\n  if ((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)) {\n    pcVar2 = "<unknown>: %x";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1);\n  return &DAT_00192cc0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (switch_statement "switch(param_1) {\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }" switch (parenthesized_expression "(param_1)" ( identifier )) (compound_statement "{\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }" { (case_statement "case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;" case number_literal : (expression_statement "puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"NONE (None)",5)" identifier = (cast_expression "(undefined *)dcgettext(0,"NONE (None)",5)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"NONE (None)",5)" identifier (argument_list "(0,"NONE (None)",5)" ( number_literal , (string_literal ""NONE (None)"" " string_content ") , number_literal ))))) ;) (return_statement "return puVar1;" return identifier ;)) (case_statement "case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;" case number_literal : (expression_statement "puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5)" identifier = (cast_expression "(undefined *)dcgettext(0,"REL (Relocatable file)",5)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"REL (Relocatable file)",5)" identifier (argument_list "(0,"REL (Relocatable file)",5)" ( number_literal , (string_literal ""REL (Relocatable file)"" " string_content ") , number_literal ))))) ;) (return_statement "return puVar1;" return identifier ;)) (case_statement "case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;" case number_literal : (expression_statement "puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5)" identifier = (cast_expression "(undefined *)dcgettext(0,"EXEC (Executable file)",5)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"EXEC (Executable file)",5)" identifier (argument_list "(0,"EXEC (Executable file)",5)" ( number_literal , (string_literal ""EXEC (Executable file)"" " string_content ") , number_literal ))))) ;) (return_statement "return puVar1;" return identifier ;)) (case_statement "case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;" case number_literal : (expression_statement "puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5)" identifier = (cast_expression "(undefined *)dcgettext(0,"DYN (Shared object file)",5)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"DYN (Shared object file)",5)" identifier (argument_list "(0,"DYN (Shared object file)",5)" ( number_literal , (string_literal ""DYN (Shared object file)"" " string_content ") , number_literal ))))) ;) (return_statement "return puVar1;" return identifier ;)) (case_statement "case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;" case number_literal : (expression_statement "puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5)" identifier = (cast_expression "(undefined *)dcgettext(0,"CORE (Core file)",5)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"CORE (Core file)",5)" identifier (argument_list "(0,"CORE (Core file)",5)" ( number_literal , (string_literal ""CORE (Core file)"" " string_content ") , number_literal ))))) ;) (return_statement "return puVar1;" return identifier ;)) })) (expression_statement "pcVar2 = "Processor Specific: (%x)";" (assignment_expression "pcVar2 = "Processor Specific: (%x)"" identifier = (string_literal ""Processor Specific: (%x)"" " string_content ")) ;) (if_statement "if ((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)) {\n    pcVar2 = "<unknown>: %x";\n  }" if (parenthesized_expression "((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00))" ( (binary_expression "(0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)" (parenthesized_expression "(0xff < param_1 - 0xff00)" ( (binary_expression "0xff < param_1 - 0xff00" number_literal < (binary_expression "param_1 - 0xff00" identifier - number_literal)) )) && (parenthesized_expression "(pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)" ( (comma_expression "pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00" (assignment_expression "pcVar2 = "OS Specific: (%x)"" identifier = (string_literal ""OS Specific: (%x)"" " string_content ")) , (binary_expression "0xff < param_1 - 0xfe00" number_literal < (binary_expression "param_1 - 0xfe00" identifier - number_literal))) ))) )) (compound_statement "{\n    pcVar2 = "<unknown>: %x";\n  }" { (expression_statement "pcVar2 = "<unknown>: %x";" (assignment_expression "pcVar2 = "<unknown>: %x"" identifier = (string_literal ""<unknown>: %x"" " string_content ")) ;) })) (expression_statement "pcVar2 = (char *)dcgettext(0,pcVar2,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,pcVar2,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar2,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar2,5)" identifier (argument_list "(0,pcVar2,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1);" (call_expression "snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1)" identifier (argument_list "(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1)" ( (pointer_expression "&DAT_00192cc0" & identifier) , number_literal , identifier , (cast_expression "(ulong)param_1" ( (type_descriptor "ulong" type_identifier) ) identifier) ))) ;) (return_statement "return &DAT_00192cc0;" return (pointer_expression "&DAT_00192cc0" & identifier) ;) })))
(translation_unit "char * get_file_type(uint e_type)\n\n{\n  char *pcVar1;\n  \n  switch(e_type) {\n  case 0:\n    pcVar1 = (char *)dcgettext(0,"NONE (None)",5);\n    return pcVar1;\n  case 1:\n    pcVar1 = (char *)dcgettext(0,"REL (Relocatable file)",5);\n    return pcVar1;\n  case 2:\n    pcVar1 = (char *)dcgettext(0,"EXEC (Executable file)",5);\n    return pcVar1;\n  case 3:\n    pcVar1 = (char *)dcgettext(0,"DYN (Shared object file)",5);\n    return pcVar1;\n  case 4:\n    pcVar1 = (char *)dcgettext(0,"CORE (Core file)",5);\n    return pcVar1;\n  }\n  pcVar1 = "Processor Specific: (%x)";\n  if ((0xff < e_type - 0xff00) && (pcVar1 = "OS Specific: (%x)", 0xff < e_type - 0xfe00)) {\n    pcVar1 = "<unknown>: %x";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(get_file_type::buff,0x20,pcVar1,(ulong)e_type);\n  return get_file_type::buff;\n}\n\n" (function_definition "char * get_file_type(uint e_type)\n\n{\n  char *pcVar1;\n  \n  switch(e_type) {\n  case 0:\n    pcVar1 = (char *)dcgettext(0,"NONE (None)",5);\n    return pcVar1;\n  case 1:\n    pcVar1 = (char *)dcgettext(0,"REL (Relocatable file)",5);\n    return pcVar1;\n  case 2:\n    pcVar1 = (char *)dcgettext(0,"EXEC (Executable file)",5);\n    return pcVar1;\n  case 3:\n    pcVar1 = (char *)dcgettext(0,"DYN (Shared object file)",5);\n    return pcVar1;\n  case 4:\n    pcVar1 = (char *)dcgettext(0,"CORE (Core file)",5);\n    return pcVar1;\n  }\n  pcVar1 = "Processor Specific: (%x)";\n  if ((0xff < e_type - 0xff00) && (pcVar1 = "OS Specific: (%x)", 0xff < e_type - 0xfe00)) {\n    pcVar1 = "<unknown>: %x";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(get_file_type::buff,0x20,pcVar1,(ulong)e_type);\n  return get_file_type::buff;\n}" primitive_type (pointer_declarator "* get_file_type(uint e_type)" * (function_declarator "get_file_type(uint e_type)" identifier (parameter_list "(uint e_type)" ( (parameter_declaration "uint e_type" type_identifier identifier) )))) (compound_statement "{\n  char *pcVar1;\n  \n  switch(e_type) {\n  case 0:\n    pcVar1 = (char *)dcgettext(0,"NONE (None)",5);\n    return pcVar1;\n  case 1:\n    pcVar1 = (char *)dcgettext(0,"REL (Relocatable file)",5);\n    return pcVar1;\n  case 2:\n    pcVar1 = (char *)dcgettext(0,"EXEC (Executable file)",5);\n    return pcVar1;\n  case 3:\n    pcVar1 = (char *)dcgettext(0,"DYN (Shared object file)",5);\n    return pcVar1;\n  case 4:\n    pcVar1 = (char *)dcgettext(0,"CORE (Core file)",5);\n    return pcVar1;\n  }\n  pcVar1 = "Processor Specific: (%x)";\n  if ((0xff < e_type - 0xff00) && (pcVar1 = "OS Specific: (%x)", 0xff < e_type - 0xfe00)) {\n    pcVar1 = "<unknown>: %x";\n  }\n  pcVar1 = (char *)dcgettext(0,pcVar1,5);\n  snprintf(get_file_type::buff,0x20,pcVar1,(ulong)e_type);\n  return get_file_type::buff;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (switch_statement "switch(e_type) {\n  case 0:\n    pcVar1 = (char *)dcgettext(0,"NONE (None)",5);\n    return pcVar1;\n  case 1:\n    pcVar1 = (char *)dcgettext(0,"REL (Relocatable file)",5);\n    return pcVar1;\n  case 2:\n    pcVar1 = (char *)dcgettext(0,"EXEC (Executable file)",5);\n    return pcVar1;\n  case 3:\n    pcVar1 = (char *)dcgettext(0,"DYN (Shared object file)",5);\n    return pcVar1;\n  case 4:\n    pcVar1 = (char *)dcgettext(0,"CORE (Core file)",5);\n    return pcVar1;\n  }" switch (parenthesized_expression "(e_type)" ( identifier )) (compound_statement "{\n  case 0:\n    pcVar1 = (char *)dcgettext(0,"NONE (None)",5);\n    return pcVar1;\n  case 1:\n    pcVar1 = (char *)dcgettext(0,"REL (Relocatable file)",5);\n    return pcVar1;\n  case 2:\n    pcVar1 = (char *)dcgettext(0,"EXEC (Executable file)",5);\n    return pcVar1;\n  case 3:\n    pcVar1 = (char *)dcgettext(0,"DYN (Shared object file)",5);\n    return pcVar1;\n  case 4:\n    pcVar1 = (char *)dcgettext(0,"CORE (Core file)",5);\n    return pcVar1;\n  }" { (case_statement "case 0:\n    pcVar1 = (char *)dcgettext(0,"NONE (None)",5);\n    return pcVar1;" case number_literal : (expression_statement "pcVar1 = (char *)dcgettext(0,"NONE (None)",5);" (assignment_expression "pcVar1 = (char *)dcgettext(0,"NONE (None)",5)" identifier = (cast_expression "(char *)dcgettext(0,"NONE (None)",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"NONE (None)",5)" identifier (argument_list "(0,"NONE (None)",5)" ( number_literal , (string_literal ""NONE (None)"" " string_content ") , number_literal ))))) ;) (return_statement "return pcVar1;" return identifier ;)) (case_statement "case 1:\n    pcVar1 = (char *)dcgettext(0,"REL (Relocatable file)",5);\n    return pcVar1;" case number_literal : (expression_statement "pcVar1 = (char *)dcgettext(0,"REL (Relocatable file)",5);" (assignment_expression "pcVar1 = (char *)dcgettext(0,"REL (Relocatable file)",5)" identifier = (cast_expression "(char *)dcgettext(0,"REL (Relocatable file)",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"REL (Relocatable file)",5)" identifier (argument_list "(0,"REL (Relocatable file)",5)" ( number_literal , (string_literal ""REL (Relocatable file)"" " string_content ") , number_literal ))))) ;) (return_statement "return pcVar1;" return identifier ;)) (case_statement "case 2:\n    pcVar1 = (char *)dcgettext(0,"EXEC (Executable file)",5);\n    return pcVar1;" case number_literal : (expression_statement "pcVar1 = (char *)dcgettext(0,"EXEC (Executable file)",5);" (assignment_expression "pcVar1 = (char *)dcgettext(0,"EXEC (Executable file)",5)" identifier = (cast_expression "(char *)dcgettext(0,"EXEC (Executable file)",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"EXEC (Executable file)",5)" identifier (argument_list "(0,"EXEC (Executable file)",5)" ( number_literal , (string_literal ""EXEC (Executable file)"" " string_content ") , number_literal ))))) ;) (return_statement "return pcVar1;" return identifier ;)) (case_statement "case 3:\n    pcVar1 = (char *)dcgettext(0,"DYN (Shared object file)",5);\n    return pcVar1;" case number_literal : (expression_statement "pcVar1 = (char *)dcgettext(0,"DYN (Shared object file)",5);" (assignment_expression "pcVar1 = (char *)dcgettext(0,"DYN (Shared object file)",5)" identifier = (cast_expression "(char *)dcgettext(0,"DYN (Shared object file)",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"DYN (Shared object file)",5)" identifier (argument_list "(0,"DYN (Shared object file)",5)" ( number_literal , (string_literal ""DYN (Shared object file)"" " string_content ") , number_literal ))))) ;) (return_statement "return pcVar1;" return identifier ;)) (case_statement "case 4:\n    pcVar1 = (char *)dcgettext(0,"CORE (Core file)",5);\n    return pcVar1;" case number_literal : (expression_statement "pcVar1 = (char *)dcgettext(0,"CORE (Core file)",5);" (assignment_expression "pcVar1 = (char *)dcgettext(0,"CORE (Core file)",5)" identifier = (cast_expression "(char *)dcgettext(0,"CORE (Core file)",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"CORE (Core file)",5)" identifier (argument_list "(0,"CORE (Core file)",5)" ( number_literal , (string_literal ""CORE (Core file)"" " string_content ") , number_literal ))))) ;) (return_statement "return pcVar1;" return identifier ;)) })) (expression_statement "pcVar1 = "Processor Specific: (%x)";" (assignment_expression "pcVar1 = "Processor Specific: (%x)"" identifier = (string_literal ""Processor Specific: (%x)"" " string_content ")) ;) (if_statement "if ((0xff < e_type - 0xff00) && (pcVar1 = "OS Specific: (%x)", 0xff < e_type - 0xfe00)) {\n    pcVar1 = "<unknown>: %x";\n  }" if (parenthesized_expression "((0xff < e_type - 0xff00) && (pcVar1 = "OS Specific: (%x)", 0xff < e_type - 0xfe00))" ( (binary_expression "(0xff < e_type - 0xff00) && (pcVar1 = "OS Specific: (%x)", 0xff < e_type - 0xfe00)" (parenthesized_expression "(0xff < e_type - 0xff00)" ( (binary_expression "0xff < e_type - 0xff00" number_literal < (binary_expression "e_type - 0xff00" identifier - number_literal)) )) && (parenthesized_expression "(pcVar1 = "OS Specific: (%x)", 0xff < e_type - 0xfe00)" ( (comma_expression "pcVar1 = "OS Specific: (%x)", 0xff < e_type - 0xfe00" (assignment_expression "pcVar1 = "OS Specific: (%x)"" identifier = (string_literal ""OS Specific: (%x)"" " string_content ")) , (binary_expression "0xff < e_type - 0xfe00" number_literal < (binary_expression "e_type - 0xfe00" identifier - number_literal))) ))) )) (compound_statement "{\n    pcVar1 = "<unknown>: %x";\n  }" { (expression_statement "pcVar1 = "<unknown>: %x";" (assignment_expression "pcVar1 = "<unknown>: %x"" identifier = (string_literal ""<unknown>: %x"" " string_content ")) ;) })) (expression_statement "pcVar1 = (char *)dcgettext(0,pcVar1,5);" (assignment_expression "pcVar1 = (char *)dcgettext(0,pcVar1,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar1,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar1,5)" identifier (argument_list "(0,pcVar1,5)" ( number_literal , identifier , number_literal ))))) ;) (labeled_statement "snprintf(get_file_type::buff,0x20,pcVar1,(ulong)e_type);" statement_identifier (ERROR "(get_file_type:" ( (type_descriptor "get_file_type" type_identifier) :) : (expression_statement "buff,0x20,pcVar1,(ulong)e_type);" (comma_expression "buff,0x20,pcVar1,(ulong)e_type" identifier , (comma_expression "0x20,pcVar1,(ulong)e_type" number_literal , (comma_expression "pcVar1,(ulong)e_type" identifier , (cast_expression "(ulong)e_type" ( (type_descriptor "ulong" type_identifier) ) identifier)))) (ERROR ")" )) ;)) (return_statement "return get_file_type::buff;" return identifier (ERROR "::buff" : : identifier) ;) })))
(translation_unit "undefined * FUN_001100f0(uint param_1)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  switch(param_1) {\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }\n  pcVar2 = "Processor Specific: (%x)";\n  if ((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)) {\n    pcVar2 = "<unknown>: %x";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1);\n  return &DAT_00192cc0;\n}\n\n" (function_definition "undefined * FUN_001100f0(uint param_1)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  switch(param_1) {\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }\n  pcVar2 = "Processor Specific: (%x)";\n  if ((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)) {\n    pcVar2 = "<unknown>: %x";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1);\n  return &DAT_00192cc0;\n}" type_identifier (pointer_declarator "* FUN_001100f0(uint param_1)" * (function_declarator "FUN_001100f0(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) )))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  switch(param_1) {\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }\n  pcVar2 = "Processor Specific: (%x)";\n  if ((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)) {\n    pcVar2 = "<unknown>: %x";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1);\n  return &DAT_00192cc0;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (switch_statement "switch(param_1) {\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }" switch (parenthesized_expression "(param_1)" ( identifier )) (compound_statement "{\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }" { (case_statement "case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;" case number_literal : (expression_statement "puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"NONE (None)",5)" identifier = (cast_expression "(undefined *)dcgettext(0,"NONE (None)",5)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"NONE (None)",5)" identifier (argument_list "(0,"NONE (None)",5)" ( number_literal , (string_literal ""NONE (None)"" " string_content ") , number_literal ))))) ;) (return_statement "return puVar1;" return identifier ;)) (case_statement "case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;" case number_literal : (expression_statement "puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5)" identifier = (cast_expression "(undefined *)dcgettext(0,"REL (Relocatable file)",5)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"REL (Relocatable file)",5)" identifier (argument_list "(0,"REL (Relocatable file)",5)" ( number_literal , (string_literal ""REL (Relocatable file)"" " string_content ") , number_literal ))))) ;) (return_statement "return puVar1;" return identifier ;)) (case_statement "case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;" case number_literal : (expression_statement "puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5)" identifier = (cast_expression "(undefined *)dcgettext(0,"EXEC (Executable file)",5)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"EXEC (Executable file)",5)" identifier (argument_list "(0,"EXEC (Executable file)",5)" ( number_literal , (string_literal ""EXEC (Executable file)"" " string_content ") , number_literal ))))) ;) (return_statement "return puVar1;" return identifier ;)) (case_statement "case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;" case number_literal : (expression_statement "puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5)" identifier = (cast_expression "(undefined *)dcgettext(0,"DYN (Shared object file)",5)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"DYN (Shared object file)",5)" identifier (argument_list "(0,"DYN (Shared object file)",5)" ( number_literal , (string_literal ""DYN (Shared object file)"" " string_content ") , number_literal ))))) ;) (return_statement "return puVar1;" return identifier ;)) (case_statement "case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;" case number_literal : (expression_statement "puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5)" identifier = (cast_expression "(undefined *)dcgettext(0,"CORE (Core file)",5)" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"CORE (Core file)",5)" identifier (argument_list "(0,"CORE (Core file)",5)" ( number_literal , (string_literal ""CORE (Core file)"" " string_content ") , number_literal ))))) ;) (return_statement "return puVar1;" return identifier ;)) })) (expression_statement "pcVar2 = "Processor Specific: (%x)";" (assignment_expression "pcVar2 = "Processor Specific: (%x)"" identifier = (string_literal ""Processor Specific: (%x)"" " string_content ")) ;) (if_statement "if ((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)) {\n    pcVar2 = "<unknown>: %x";\n  }" if (parenthesized_expression "((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00))" ( (binary_expression "(0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)" (parenthesized_expression "(0xff < param_1 - 0xff00)" ( (binary_expression "0xff < param_1 - 0xff00" number_literal < (binary_expression "param_1 - 0xff00" identifier - number_literal)) )) && (parenthesized_expression "(pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)" ( (comma_expression "pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00" (assignment_expression "pcVar2 = "OS Specific: (%x)"" identifier = (string_literal ""OS Specific: (%x)"" " string_content ")) , (binary_expression "0xff < param_1 - 0xfe00" number_literal < (binary_expression "param_1 - 0xfe00" identifier - number_literal))) ))) )) (compound_statement "{\n    pcVar2 = "<unknown>: %x";\n  }" { (expression_statement "pcVar2 = "<unknown>: %x";" (assignment_expression "pcVar2 = "<unknown>: %x"" identifier = (string_literal ""<unknown>: %x"" " string_content ")) ;) })) (expression_statement "pcVar2 = (char *)dcgettext(0,pcVar2,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,pcVar2,5)" identifier = (cast_expression "(char *)dcgettext(0,pcVar2,5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,pcVar2,5)" identifier (argument_list "(0,pcVar2,5)" ( number_literal , identifier , number_literal ))))) ;) (expression_statement "snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1);" (call_expression "snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1)" identifier (argument_list "(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1)" ( (pointer_expression "&DAT_00192cc0" & identifier) , number_literal , identifier , (cast_expression "(ulong)param_1" ( (type_descriptor "ulong" type_identifier) ) identifier) ))) ;) (return_statement "return &DAT_00192cc0;" return (pointer_expression "&DAT_00192cc0" & identifier) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (switch_statement switch (parenthesized_expression ( IDENT )) (compound_statement { (case_statement case LIT : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT ))))) ;) (return_statement return IDENT ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT ))))) ;) (return_statement return IDENT ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT ))))) ;) (return_statement return IDENT ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT ))))) ;) (return_statement return IDENT ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT ))))) ;) (return_statement return IDENT ;)) })) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (string_literal " string_content ")) , (binary_expression LIT < (binary_expression IDENT - LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT , IDENT , LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , LIT , IDENT , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (return_statement return (pointer_expression & IDENT) ;) })))
(function_definition "undefined * FUN_001100f0(uint param_1)\n\n{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  switch(param_1) {\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }\n  pcVar2 = "Processor Specific: (%x)";\n  if ((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)) {\n    pcVar2 = "<unknown>: %x";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1);\n  return &DAT_00192cc0;\n}" (type_identifier "undefined") (pointer_declarator "* FUN_001100f0(uint param_1)" (* "*") (function_declarator "FUN_001100f0(uint param_1)" (identifier "FUN_001100f0") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")")))) (compound_statement "{\n  undefined *puVar1;\n  char *pcVar2;\n  \n  switch(param_1) {\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }\n  pcVar2 = "Processor Specific: (%x)";\n  if ((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)) {\n    pcVar2 = "<unknown>: %x";\n  }\n  pcVar2 = (char *)dcgettext(0,pcVar2,5);\n  snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1);\n  return &DAT_00192cc0;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "char *pcVar2;" (primitive_type "char") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (switch_statement "switch(param_1) {\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }" (switch "switch") (parenthesized_expression "(param_1)" (( "(") (identifier "param_1") () ")")) (compound_statement "{\n  case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;\n  case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;\n  case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;\n  case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;\n  case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;\n  }" ({ "{") (case_statement "case 0:\n    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);\n    return puVar1;" (case "case") (number_literal "0") (: ":") (expression_statement "puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"NONE (None)",5)" (identifier "puVar1") (= "=") (cast_expression "(undefined *)dcgettext(0,"NONE (None)",5)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"NONE (None)",5)" (identifier "dcgettext") (argument_list "(0,"NONE (None)",5)" (( "(") (number_literal "0") (, ",") (string_literal ""NONE (None)"" (" """) (string_content "NONE (None)") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";"))) (case_statement "case 1:\n    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);\n    return puVar1;" (case "case") (number_literal "1") (: ":") (expression_statement "puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5)" (identifier "puVar1") (= "=") (cast_expression "(undefined *)dcgettext(0,"REL (Relocatable file)",5)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"REL (Relocatable file)",5)" (identifier "dcgettext") (argument_list "(0,"REL (Relocatable file)",5)" (( "(") (number_literal "0") (, ",") (string_literal ""REL (Relocatable file)"" (" """) (string_content "REL (Relocatable file)") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";"))) (case_statement "case 2:\n    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);\n    return puVar1;" (case "case") (number_literal "2") (: ":") (expression_statement "puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5)" (identifier "puVar1") (= "=") (cast_expression "(undefined *)dcgettext(0,"EXEC (Executable file)",5)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"EXEC (Executable file)",5)" (identifier "dcgettext") (argument_list "(0,"EXEC (Executable file)",5)" (( "(") (number_literal "0") (, ",") (string_literal ""EXEC (Executable file)"" (" """) (string_content "EXEC (Executable file)") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";"))) (case_statement "case 3:\n    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);\n    return puVar1;" (case "case") (number_literal "3") (: ":") (expression_statement "puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5)" (identifier "puVar1") (= "=") (cast_expression "(undefined *)dcgettext(0,"DYN (Shared object file)",5)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"DYN (Shared object file)",5)" (identifier "dcgettext") (argument_list "(0,"DYN (Shared object file)",5)" (( "(") (number_literal "0") (, ",") (string_literal ""DYN (Shared object file)"" (" """) (string_content "DYN (Shared object file)") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";"))) (case_statement "case 4:\n    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);\n    return puVar1;" (case "case") (number_literal "4") (: ":") (expression_statement "puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);" (assignment_expression "puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5)" (identifier "puVar1") (= "=") (cast_expression "(undefined *)dcgettext(0,"CORE (Core file)",5)" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,"CORE (Core file)",5)" (identifier "dcgettext") (argument_list "(0,"CORE (Core file)",5)" (( "(") (number_literal "0") (, ",") (string_literal ""CORE (Core file)"" (" """) (string_content "CORE (Core file)") (" """)) (, ",") (number_literal "5") () ")"))))) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";"))) (} "}"))) (expression_statement "pcVar2 = "Processor Specific: (%x)";" (assignment_expression "pcVar2 = "Processor Specific: (%x)"" (identifier "pcVar2") (= "=") (string_literal ""Processor Specific: (%x)"" (" """) (string_content "Processor Specific: (%x)") (" """))) (; ";")) (if_statement "if ((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)) {\n    pcVar2 = "<unknown>: %x";\n  }" (if "if") (parenthesized_expression "((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00))" (( "(") (binary_expression "(0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)" (parenthesized_expression "(0xff < param_1 - 0xff00)" (( "(") (binary_expression "0xff < param_1 - 0xff00" (number_literal "0xff") (< "<") (binary_expression "param_1 - 0xff00" (identifier "param_1") (- "-") (number_literal "0xff00"))) () ")")) (&& "&&") (parenthesized_expression "(pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)" (( "(") (comma_expression "pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00" (assignment_expression "pcVar2 = "OS Specific: (%x)"" (identifier "pcVar2") (= "=") (string_literal ""OS Specific: (%x)"" (" """) (string_content "OS Specific: (%x)") (" """))) (, ",") (binary_expression "0xff < param_1 - 0xfe00" (number_literal "0xff") (< "<") (binary_expression "param_1 - 0xfe00" (identifier "param_1") (- "-") (number_literal "0xfe00")))) () ")"))) () ")")) (compound_statement "{\n    pcVar2 = "<unknown>: %x";\n  }" ({ "{") (expression_statement "pcVar2 = "<unknown>: %x";" (assignment_expression "pcVar2 = "<unknown>: %x"" (identifier "pcVar2") (= "=") (string_literal ""<unknown>: %x"" (" """) (string_content "<unknown>: %x") (" """))) (; ";")) (} "}"))) (expression_statement "pcVar2 = (char *)dcgettext(0,pcVar2,5);" (assignment_expression "pcVar2 = (char *)dcgettext(0,pcVar2,5)" (identifier "pcVar2") (= "=") (cast_expression "(char *)dcgettext(0,pcVar2,5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "dcgettext(0,pcVar2,5)" (identifier "dcgettext") (argument_list "(0,pcVar2,5)" (( "(") (number_literal "0") (, ",") (identifier "pcVar2") (, ",") (number_literal "5") () ")"))))) (; ";")) (expression_statement "snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1);" (call_expression "snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1)" (identifier "snprintf") (argument_list "(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1)" (( "(") (pointer_expression "&DAT_00192cc0" (& "&") (identifier "DAT_00192cc0")) (, ",") (number_literal "0x20") (, ",") (identifier "pcVar2") (, ",") (cast_expression "(ulong)param_1" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "param_1")) () ")"))) (; ";")) (return_statement "return &DAT_00192cc0;" (return "return") (pointer_expression "&DAT_00192cc0" (& "&") (identifier "DAT_00192cc0")) (; ";")) (} "}")))

char * function_1(type_1 var_2)

{
  char *pcVar1;
  
  switch(var_2) {
  case 0:
    pcVar1 = (char *)var_1(0,"NONE (None)",5);
    return pcVar1;
  case 1:
    pcVar1 = (char *)var_1(0,"REL (Relocatable file)",5);
    return pcVar1;
  case 2:
    pcVar1 = (char *)var_1(0,"EXEC (Executable file)",5);
    return pcVar1;
  case 3:
    pcVar1 = (char *)var_1(0,"DYN (Shared object file)",5);
    return pcVar1;
  case 4:
    pcVar1 = (char *)var_1(0,"CORE (Core file)",5);
    return pcVar1;
  }
  pcVar1 = "Processor Specific: (%x)";
  if ((0xff < var_2 - 0xff00) && (pcVar1 = "OS Specific: (%x)", 0xff < var_2 - 0xfe00)) {
    pcVar1 = "<unknown>: %x";
  }
  pcVar1 = (char *)var_1(0,pcVar1,5);
  snprintf(function_1::buff,0x20,pcVar1,(type_2)var_2);
  return function_1::buff;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (switch_statement condition: (parenthesized_expression (identifier)) body: (compound_statement (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal)))))) (return_statement (identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal)))))) (return_statement (identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal)))))) (return_statement (identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal)))))) (return_statement (identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal)))))) (return_statement (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (string_literal (string_content))) right: (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal) (identifier) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (identifier) (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) (return_statement (pointer_expression argument: (identifier))))))

undefined * MASKED(uint param_1)

{
  undefined *puVar1;
  char *pcVar2;
  
  switch(param_1) {
  case 0:
    puVar1 = (undefined *)dcgettext(0,"NONE (None)",5);
    return puVar1;
  case 1:
    puVar1 = (undefined *)dcgettext(0,"REL (Relocatable file)",5);
    return puVar1;
  case 2:
    puVar1 = (undefined *)dcgettext(0,"EXEC (Executable file)",5);
    return puVar1;
  case 3:
    puVar1 = (undefined *)dcgettext(0,"DYN (Shared object file)",5);
    return puVar1;
  case 4:
    puVar1 = (undefined *)dcgettext(0,"CORE (Core file)",5);
    return puVar1;
  }
  pcVar2 = "Processor Specific: (%x)";
  if ((0xff < param_1 - 0xff00) && (pcVar2 = "OS Specific: (%x)", 0xff < param_1 - 0xfe00)) {
    pcVar2 = "<unknown>: %x";
  }
  pcVar2 = (char *)dcgettext(0,pcVar2,5);
  snprintf(&DAT_00192cc0,0x20,pcVar2,(ulong)param_1);
  return &DAT_00192cc0;
}

