
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: Object * do_make_elf_object(Target * this, string * name, Input_file *
   input_file, off_t offset, Ehdr<64,_false> * ehdr) */

Object * __thiscall
gold::Target::do_make_elf_object
          (Target *this,string *name,Input_file *input_file,off_t offset,Ehdr<64,_false> *ehdr)

{
  pointer pcVar1;
  bool bVar2;
  Sized_dynobj<64,_false> *this_00;
  char *format;
  Sized_relobj_file<64,_false> *this_01;
  uint uVar3;
  
  uVar3 = (uint)ehdr->p_->e_type;
  if (uVar3 != 1) {
    if (uVar3 == 2) {
      bVar2 = Input_file::just_symbols(input_file);
      if (bVar2) goto LAB_00364a2c;
    }
    else if (uVar3 == 3) {
      this_00 = (Sized_dynobj<64,_false> *)operator_new(0x84);
                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */
      Sized_dynobj<64,_false>::Sized_dynobj(this_00,name,input_file,offset,ehdr);
      Sized_dynobj<64,_false>::setup(this_00);
      return (Object *)this_00;
    }
    pcVar1 = (name->_M_dataplus)._M_p;
    format = (char *)gettext("%s: unsupported ELF file type %d");
    gold_error(format,pcVar1,uVar3);
    return (Object *)0x0;
  }
LAB_00364a2c:
  this_01 = (Sized_relobj_file<64,_false> *)operator_new(0x13c);
                    /* try { // try from 00364a4f to 00364a53 has its CatchHandler @ 00364a6d */
  Sized_relobj_file<64,_false>::Sized_relobj_file(this_01,name,input_file,offset,ehdr);
  (*(this_01->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x3d])(this_01);
  return (Object *)this_01;
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

int * FUN_00364960(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,
                  undefined4 param_5,int *param_6)

{
  short sVar1;
  undefined4 uVar2;
  char cVar3;
  int *piVar4;
  undefined4 uVar5;
  
  sVar1 = *(short *)(*param_6 + 0x10);
  if (sVar1 != 1) {
    if (sVar1 == 2) {
      cVar3 = FUN_0023df40(param_3);
      if (cVar3 != '\0') goto LAB_00364a2c;
    }
    else if (sVar1 == 3) {
      piVar4 = (int *)FUN_003ac4d0(0x84);
                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */
      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);
      FUN_00237ab0(piVar4);
      return piVar4;
    }
    uVar2 = *param_2;
    uVar5 = gettext("%s: unsupported ELF file type %d");
    FUN_0023b810(uVar5,uVar2,sVar1);
    return (int *)0x0;
  }
LAB_00364a2c:
  piVar4 = (int *)FUN_003ac4d0(0x13c);
                    /* try { // try from 00364a4f to 00364a53 has its CatchHandler @ 00364a6d */
  FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6);
  (**(code **)(*piVar4 + 0xf4))(piVar4);
  return piVar4;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
CALL 0x00063c76
ADD ESI,0x285696
PUSH EBX
SUB ESP,0x1c
MOV EAX,dword ptr [EBP + 0x14]
MOV EDX,dword ptr [EBP + 0x18]
MOV dword ptr [EBP + -0x20],EAX
MOV EAX,dword ptr [EBP + 0x1c]
MOV dword ptr [EBP + -0x1c],EDX
MOV EAX,dword ptr [EAX]
MOVZX EDI,word ptr [EAX + 0x10]
CMP EDI,0x1
JZ 0x00364a2c
CMP EDI,0x2
JZ 0x00364a18
CMP EDI,0x3
JNZ 0x003649e0
SUB ESP,0xc
MOV EBX,ESI
PUSH 0x84
CALL 0x003ac4d0
MOV EDI,EAX
POP EAX
POP EDX
PUSH dword ptr [EBP + 0x1c]
PUSH dword ptr [EBP + -0x1c]
PUSH dword ptr [EBP + -0x20]
PUSH dword ptr [EBP + 0x10]
PUSH dword ptr [EBP + 0xc]
PUSH EDI
CALL 0x0023a380
ADD ESP,0x14
PUSH EDI
CALL 0x00237ab0
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EBP + 0xc]
SUB ESP,0xc
MOV EBX,ESI
MOV EAX,dword ptr [EAX]
MOV dword ptr [EBP + -0x20],EAX
LEA EAX,[ESI + 0xffe7cae0]
PUSH EAX
CALL 0x00039440
ADD ESP,0xc
PUSH EDI
XOR EDI,EDI
PUSH dword ptr [EBP + -0x20]
PUSH EAX
CALL 0x0023b810
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
MOV EAX,EDI
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH dword ptr [EBP + 0x10]
MOV EBX,ESI
CALL 0x0023df40
ADD ESP,0x10
TEST AL,AL
JZ 0x003649e0
SUB ESP,0xc
MOV EBX,ESI
PUSH 0x13c
CALL 0x003ac4d0
POP ECX
MOV EDI,EAX
POP EAX
PUSH dword ptr [EBP + 0x1c]
PUSH dword ptr [EBP + -0x1c]
PUSH dword ptr [EBP + -0x20]
PUSH dword ptr [EBP + 0x10]
PUSH dword ptr [EBP + 0xc]
PUSH EDI
CALL 0x002a1250
ADD ESP,0x14
MOV EAX,dword ptr [EDI]
PUSH EDI
CALL dword ptr [EAX + 0xf4]
MOV EAX,EDI
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nint * FUN_00364960(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)\n\n{\n  short sVar1;\n  undefined4 uVar2;\n  char cVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  \n  sVar1 = *(short *)(*param_6 + 0x10);\n  if (sVar1 != 1) {\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }\nLAB_00364a2c:\n  piVar4 = (int *)FUN_003ac4d0(0x13c);\n                    /* try { // try from 00364a4f to 00364a53 has its CatchHandler @ 00364a6d */\n  FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6);\n  (**(code **)(*piVar4 + 0xf4))(piVar4);\n  return piVar4;\n}\n\n" comment (function_definition "int * FUN_00364960(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)\n\n{\n  short sVar1;\n  undefined4 uVar2;\n  char cVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  \n  sVar1 = *(short *)(*param_6 + 0x10);\n  if (sVar1 != 1) {\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }\nLAB_00364a2c:\n  piVar4 = (int *)FUN_003ac4d0(0x13c);\n                    /* try { // try from 00364a4f to 00364a53 has its CatchHandler @ 00364a6d */\n  FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6);\n  (**(code **)(*piVar4 + 0xf4))(piVar4);\n  return piVar4;\n}" primitive_type (pointer_declarator "* FUN_00364960(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)" * (function_declarator "FUN_00364960(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "int *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) )))) (compound_statement "{\n  short sVar1;\n  undefined4 uVar2;\n  char cVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  \n  sVar1 = *(short *)(*param_6 + 0x10);\n  if (sVar1 != 1) {\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }\nLAB_00364a2c:\n  piVar4 = (int *)FUN_003ac4d0(0x13c);\n                    /* try { // try from 00364a4f to 00364a53 has its CatchHandler @ 00364a6d */\n  FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6);\n  (**(code **)(*piVar4 + 0xf4))(piVar4);\n  return piVar4;\n}" { (declaration "short sVar1;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "sVar1 = *(short *)(*param_6 + 0x10);" (assignment_expression "sVar1 = *(short *)(*param_6 + 0x10)" identifier = (pointer_expression "*(short *)(*param_6 + 0x10)" * (cast_expression "(short *)(*param_6 + 0x10)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_6 + 0x10)" ( (binary_expression "*param_6 + 0x10" (pointer_expression "*param_6" * identifier) + number_literal) ))))) ;) (if_statement "if (sVar1 != 1) {\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }" if (parenthesized_expression "(sVar1 != 1)" ( (binary_expression "sVar1 != 1" identifier != number_literal) )) (compound_statement "{\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }" { (if_statement "if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }" if (parenthesized_expression "(sVar1 == 2)" ( (binary_expression "sVar1 == 2" identifier == number_literal) )) (compound_statement "{\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }" { (expression_statement "cVar3 = FUN_0023df40(param_3);" (assignment_expression "cVar3 = FUN_0023df40(param_3)" identifier = (call_expression "FUN_0023df40(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (if_statement "if (cVar3 != '\0') goto LAB_00364a2c;" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00364a2c;" goto statement_identifier ;)) }) (else_clause "else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }" else (if_statement "if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }" if (parenthesized_expression "(sVar1 == 3)" ( (binary_expression "sVar1 == 3" identifier == number_literal) )) (compound_statement "{\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }" { (expression_statement "piVar4 = (int *)FUN_003ac4d0(0x84);" (assignment_expression "piVar4 = (int *)FUN_003ac4d0(0x84)" identifier = (cast_expression "(int *)FUN_003ac4d0(0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0x84)" identifier (argument_list "(0x84)" ( number_literal ))))) ;) comment (expression_statement "FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);" (call_expression "FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6)" identifier (argument_list "(piVar4,param_2,param_3,param_4,param_5,param_6)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "FUN_00237ab0(piVar4);" (call_expression "FUN_00237ab0(piVar4)" identifier (argument_list "(piVar4)" ( identifier ))) ;) (return_statement "return piVar4;" return identifier ;) })))) (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar5 = gettext("%s: unsupported ELF file type %d");" (assignment_expression "uVar5 = gettext("%s: unsupported ELF file type %d")" identifier = (call_expression "gettext("%s: unsupported ELF file type %d")" identifier (argument_list "("%s: unsupported ELF file type %d")" ( (string_literal ""%s: unsupported ELF file type %d"" " string_content ") )))) ;) (expression_statement "FUN_0023b810(uVar5,uVar2,sVar1);" (call_expression "FUN_0023b810(uVar5,uVar2,sVar1)" identifier (argument_list "(uVar5,uVar2,sVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (labeled_statement "LAB_00364a2c:\n  piVar4 = (int *)FUN_003ac4d0(0x13c);" statement_identifier : (expression_statement "piVar4 = (int *)FUN_003ac4d0(0x13c);" (assignment_expression "piVar4 = (int *)FUN_003ac4d0(0x13c)" identifier = (cast_expression "(int *)FUN_003ac4d0(0x13c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0x13c)" identifier (argument_list "(0x13c)" ( number_literal ))))) ;)) comment (expression_statement "FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6);" (call_expression "FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6)" identifier (argument_list "(piVar4,param_2,param_3,param_4,param_5,param_6)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "(**(code **)(*piVar4 + 0xf4))(piVar4);" (call_expression "(**(code **)(*piVar4 + 0xf4))(piVar4)" (parenthesized_expression "(**(code **)(*piVar4 + 0xf4))" ( (pointer_expression "**(code **)(*piVar4 + 0xf4)" * (pointer_expression "*(code **)(*piVar4 + 0xf4)" * (cast_expression "(code **)(*piVar4 + 0xf4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar4 + 0xf4)" ( (binary_expression "*piVar4 + 0xf4" (pointer_expression "*piVar4" * identifier) + number_literal) ))))) )) (argument_list "(piVar4)" ( identifier ))) ;) (return_statement "return piVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: Object * do_make_elf_object(Target * this, string * name, Input_file *\n   input_file, off_t offset, Ehdr<64,_false> * ehdr) */\n\nObject * __thiscall\ngold::Target::do_make_elf_object\n          (Target *this,string *name,Input_file *input_file,off_t offset,Ehdr<64,_false> *ehdr)\n\n{\n  pointer pcVar1;\n  bool bVar2;\n  Sized_dynobj<64,_false> *this_00;\n  char *format;\n  Sized_relobj_file<64,_false> *this_01;\n  uint uVar3;\n  \n  uVar3 = (uint)ehdr->p_->e_type;\n  if (uVar3 != 1) {\n    if (uVar3 == 2) {\n      bVar2 = Input_file::just_symbols(input_file);\n      if (bVar2) goto LAB_00364a2c;\n    }\n    else if (uVar3 == 3) {\n      this_00 = (Sized_dynobj<64,_false> *)operator_new(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      Sized_dynobj<64,_false>::Sized_dynobj(this_00,name,input_file,offset,ehdr);\n      Sized_dynobj<64,_false>::setup(this_00);\n      return (Object *)this_00;\n    }\n    pcVar1 = (name->_M_dataplus)._M_p;\n    format = (char *)gettext("%s: unsupported ELF file type %d");\n    gold_error(format,pcVar1,uVar3);\n    return (Object *)0x0;\n  }\nLAB_00364a2c:\n  this_01 = (Sized_relobj_file<64,_false> *)operator_new(0x13c);\n                    /* try { // try from 00364a4f to 00364a53 has its CatchHandler @ 00364a6d */\n  Sized_relobj_file<64,_false>::Sized_relobj_file(this_01,name,input_file,offset,ehdr);\n  (*(this_01->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x3d])(this_01);\n  return (Object *)this_01;\n}\n\n" comment comment comment (ERROR "Object * __thiscall\ngold::Target::do_make_elf_object\n          (Target *this,string *name,Input_file *input_file,off_t offset,Ehdr<64,_false> *ehdr)" (binary_expression "Object * __thiscall\ngold::Target::do_make_elf_object\n          (Target *this,string *name,Input_file *input_file,off_t offset,Ehdr<64,_false> *ehdr)" identifier * (call_expression "__thiscall\ngold::Target::do_make_elf_object\n          (Target *this,string *name,Input_file *input_file,off_t offset,Ehdr<64,_false> *ehdr)" identifier (ERROR "gold::Target::do_make_elf_object" identifier : : identifier : : identifier) (argument_list "(Target *this,string *name,Input_file *input_file,off_t offset,Ehdr<64,_false> *ehdr)" ( (binary_expression "Target *this" identifier * identifier) , (binary_expression "string *name" identifier * identifier) , (binary_expression "Input_file *input_file" identifier * identifier) , (ERROR "off_t" identifier) identifier , (binary_expression "Ehdr<64" identifier < number_literal) , (binary_expression "_false> *ehdr" identifier > (pointer_expression "*ehdr" * identifier)) ))))) (compound_statement "{\n  pointer pcVar1;\n  bool bVar2;\n  Sized_dynobj<64,_false> *this_00;\n  char *format;\n  Sized_relobj_file<64,_false> *this_01;\n  uint uVar3;\n  \n  uVar3 = (uint)ehdr->p_->e_type;\n  if (uVar3 != 1) {\n    if (uVar3 == 2) {\n      bVar2 = Input_file::just_symbols(input_file);\n      if (bVar2) goto LAB_00364a2c;\n    }\n    else if (uVar3 == 3) {\n      this_00 = (Sized_dynobj<64,_false> *)operator_new(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      Sized_dynobj<64,_false>::Sized_dynobj(this_00,name,input_file,offset,ehdr);\n      Sized_dynobj<64,_false>::setup(this_00);\n      return (Object *)this_00;\n    }\n    pcVar1 = (name->_M_dataplus)._M_p;\n    format = (char *)gettext("%s: unsupported ELF file type %d");\n    gold_error(format,pcVar1,uVar3);\n    return (Object *)0x0;\n  }\nLAB_00364a2c:\n  this_01 = (Sized_relobj_file<64,_false> *)operator_new(0x13c);\n                    /* try { // try from 00364a4f to 00364a53 has its CatchHandler @ 00364a6d */\n  Sized_relobj_file<64,_false>::Sized_relobj_file(this_01,name,input_file,offset,ehdr);\n  (*(this_01->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x3d])(this_01);\n  return (Object *)this_01;\n}" { (declaration "pointer pcVar1;" type_identifier identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (expression_statement "Sized_dynobj<64,_false> *this_00;" (comma_expression "Sized_dynobj<64,_false> *this_00" (binary_expression "Sized_dynobj<64" identifier < number_literal) , (binary_expression "_false> *this_00" identifier > (pointer_expression "*this_00" * identifier))) ;) (declaration "char *format;" primitive_type (pointer_declarator "*format" * identifier) ;) (expression_statement "Sized_relobj_file<64,_false> *this_01;" (comma_expression "Sized_relobj_file<64,_false> *this_01" (binary_expression "Sized_relobj_file<64" identifier < number_literal) , (binary_expression "_false> *this_01" identifier > (pointer_expression "*this_01" * identifier))) ;) (declaration "uint uVar3;" type_identifier identifier ;) (expression_statement "uVar3 = (uint)ehdr->p_->e_type;" (assignment_expression "uVar3 = (uint)ehdr->p_->e_type" identifier = (cast_expression "(uint)ehdr->p_->e_type" ( (type_descriptor "uint" type_identifier) ) (field_expression "ehdr->p_->e_type" (field_expression "ehdr->p_" identifier -> field_identifier) -> field_identifier))) ;) (if_statement "if (uVar3 != 1) {\n    if (uVar3 == 2) {\n      bVar2 = Input_file::just_symbols(input_file);\n      if (bVar2) goto LAB_00364a2c;\n    }\n    else if (uVar3 == 3) {\n      this_00 = (Sized_dynobj<64,_false> *)operator_new(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      Sized_dynobj<64,_false>::Sized_dynobj(this_00,name,input_file,offset,ehdr);\n      Sized_dynobj<64,_false>::setup(this_00);\n      return (Object *)this_00;\n    }\n    pcVar1 = (name->_M_dataplus)._M_p;\n    format = (char *)gettext("%s: unsupported ELF file type %d");\n    gold_error(format,pcVar1,uVar3);\n    return (Object *)0x0;\n  }" if (parenthesized_expression "(uVar3 != 1)" ( (binary_expression "uVar3 != 1" identifier != number_literal) )) (compound_statement "{\n    if (uVar3 == 2) {\n      bVar2 = Input_file::just_symbols(input_file);\n      if (bVar2) goto LAB_00364a2c;\n    }\n    else if (uVar3 == 3) {\n      this_00 = (Sized_dynobj<64,_false> *)operator_new(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      Sized_dynobj<64,_false>::Sized_dynobj(this_00,name,input_file,offset,ehdr);\n      Sized_dynobj<64,_false>::setup(this_00);\n      return (Object *)this_00;\n    }\n    pcVar1 = (name->_M_dataplus)._M_p;\n    format = (char *)gettext("%s: unsupported ELF file type %d");\n    gold_error(format,pcVar1,uVar3);\n    return (Object *)0x0;\n  }" { (if_statement "if (uVar3 == 2) {\n      bVar2 = Input_file::just_symbols(input_file);\n      if (bVar2) goto LAB_00364a2c;\n    }\n    else if (uVar3 == 3) {\n      this_00 = (Sized_dynobj<64,_false> *)operator_new(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      Sized_dynobj<64,_false>::Sized_dynobj(this_00,name,input_file,offset,ehdr);\n      Sized_dynobj<64,_false>::setup(this_00);\n      return (Object *)this_00;\n    }" if (parenthesized_expression "(uVar3 == 2)" ( (binary_expression "uVar3 == 2" identifier == number_literal) )) (compound_statement "{\n      bVar2 = Input_file::just_symbols(input_file);\n      if (bVar2) goto LAB_00364a2c;\n    }" { (ERROR "bVar2 = Input_file::" (assignment_expression "bVar2 = Input_file" identifier = identifier) : :) (expression_statement "just_symbols(input_file);" (call_expression "just_symbols(input_file)" identifier (argument_list "(input_file)" ( identifier ))) ;) (if_statement "if (bVar2) goto LAB_00364a2c;" if (parenthesized_expression "(bVar2)" ( identifier )) (goto_statement "goto LAB_00364a2c;" goto statement_identifier ;)) }) (else_clause "else if (uVar3 == 3) {\n      this_00 = (Sized_dynobj<64,_false> *)operator_new(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      Sized_dynobj<64,_false>::Sized_dynobj(this_00,name,input_file,offset,ehdr);\n      Sized_dynobj<64,_false>::setup(this_00);\n      return (Object *)this_00;\n    }" else (if_statement "if (uVar3 == 3) {\n      this_00 = (Sized_dynobj<64,_false> *)operator_new(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      Sized_dynobj<64,_false>::Sized_dynobj(this_00,name,input_file,offset,ehdr);\n      Sized_dynobj<64,_false>::setup(this_00);\n      return (Object *)this_00;\n    }" if (parenthesized_expression "(uVar3 == 3)" ( (binary_expression "uVar3 == 3" identifier == number_literal) )) (compound_statement "{\n      this_00 = (Sized_dynobj<64,_false> *)operator_new(0x84);\n                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */\n      Sized_dynobj<64,_false>::Sized_dynobj(this_00,name,input_file,offset,ehdr);\n      Sized_dynobj<64,_false>::setup(this_00);\n      return (Object *)this_00;\n    }" { (expression_statement "this_00 = (Sized_dynobj<64,_false> *)operator_new(0x84);" (assignment_expression "this_00 = (Sized_dynobj<64,_false> *)operator_new(0x84)" identifier = (parenthesized_expression "(Sized_dynobj<64,_false> *)operator_new(0x84)" ( (comma_expression "Sized_dynobj<64,_false> *)operator_new(0x84)" (binary_expression "Sized_dynobj<64" identifier < number_literal) , (binary_expression "_false> *)operator_new(0x84)" identifier > (pointer_expression "*)operator_new(0x84)" * (ERROR ")" )) (call_expression "operator_new(0x84)" identifier (argument_list "(0x84)" ( number_literal )))))) ))) ;) comment (expression_statement "Sized_dynobj<64,_false>::Sized_dynobj(this_00,name,input_file,offset,ehdr);" (comma_expression "Sized_dynobj<64,_false>::Sized_dynobj(this_00,name,input_file,offset,ehdr)" (binary_expression "Sized_dynobj<64" identifier < number_literal) , (binary_expression "_false>::Sized_dynobj(this_00,name,input_file,offset,ehdr)" identifier > (ERROR "::" : :) (call_expression "Sized_dynobj(this_00,name,input_file,offset,ehdr)" identifier (argument_list "(this_00,name,input_file,offset,ehdr)" ( identifier , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "Sized_dynobj<64,_false>::setup(this_00);" (comma_expression "Sized_dynobj<64,_false>::setup(this_00)" (binary_expression "Sized_dynobj<64" identifier < number_literal) , (binary_expression "_false>::setup(this_00)" identifier > (ERROR "::" : :) (call_expression "setup(this_00)" identifier (argument_list "(this_00)" ( identifier ))))) ;) (return_statement "return (Object *)this_00;" return (cast_expression "(Object *)this_00" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) })))) (expression_statement "pcVar1 = (name->_M_dataplus)._M_p;" (assignment_expression "pcVar1 = (name->_M_dataplus)._M_p" identifier = (field_expression "(name->_M_dataplus)._M_p" (parenthesized_expression "(name->_M_dataplus)" ( (field_expression "name->_M_dataplus" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "format = (char *)gettext("%s: unsupported ELF file type %d");" (assignment_expression "format = (char *)gettext("%s: unsupported ELF file type %d")" identifier = (cast_expression "(char *)gettext("%s: unsupported ELF file type %d")" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "gettext("%s: unsupported ELF file type %d")" identifier (argument_list "("%s: unsupported ELF file type %d")" ( (string_literal ""%s: unsupported ELF file type %d"" " string_content ") ))))) ;) (expression_statement "gold_error(format,pcVar1,uVar3);" (call_expression "gold_error(format,pcVar1,uVar3)" identifier (argument_list "(format,pcVar1,uVar3)" ( identifier , identifier , identifier ))) ;) (return_statement "return (Object *)0x0;" return (cast_expression "(Object *)0x0" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (labeled_statement "LAB_00364a2c:\n  this_01 = (Sized_relobj_file<64,_false> *)operator_new(0x13c);" statement_identifier : (expression_statement "this_01 = (Sized_relobj_file<64,_false> *)operator_new(0x13c);" (assignment_expression "this_01 = (Sized_relobj_file<64,_false> *)operator_new(0x13c)" identifier = (parenthesized_expression "(Sized_relobj_file<64,_false> *)operator_new(0x13c)" ( (comma_expression "Sized_relobj_file<64,_false> *)operator_new(0x13c)" (binary_expression "Sized_relobj_file<64" identifier < number_literal) , (binary_expression "_false> *)operator_new(0x13c)" identifier > (pointer_expression "*)operator_new(0x13c)" * (ERROR ")" )) (call_expression "operator_new(0x13c)" identifier (argument_list "(0x13c)" ( number_literal )))))) ))) ;)) comment (expression_statement "Sized_relobj_file<64,_false>::Sized_relobj_file(this_01,name,input_file,offset,ehdr);" (comma_expression "Sized_relobj_file<64,_false>::Sized_relobj_file(this_01,name,input_file,offset,ehdr)" (binary_expression "Sized_relobj_file<64" identifier < number_literal) , (binary_expression "_false>::Sized_relobj_file(this_01,name,input_file,offset,ehdr)" identifier > (ERROR "::" : :) (call_expression "Sized_relobj_file(this_01,name,input_file,offset,ehdr)" identifier (argument_list "(this_01,name,input_file,offset,ehdr)" ( identifier , identifier , identifier , identifier , identifier ))))) ;) (expression_statement "(*(this_01->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x3d])(this_01);" (call_expression "(*(this_01->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x3d])(this_01)" (parenthesized_expression "(*(this_01->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x3d])" ( (pointer_expression "*(this_01->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x3d]" * (subscript_expression "(this_01->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object[0x3d]" (field_expression "(this_01->super_Sized_relobj<64,_false>).super_Relobj.super_Object._vptr_Object" (field_expression "(this_01->super_Sized_relobj<64,_false>).super_Relobj.super_Object" (field_expression "(this_01->super_Sized_relobj<64,_false>).super_Relobj" (parenthesized_expression "(this_01->super_Sized_relobj<64,_false>)" ( (comma_expression "this_01->super_Sized_relobj<64,_false" (binary_expression "this_01->super_Sized_relobj<64" (field_expression "this_01->super_Sized_relobj" identifier -> field_identifier) < number_literal) , identifier) (ERROR ">" >) )) . field_identifier) . field_identifier) . field_identifier) [ number_literal ])) )) (argument_list "(this_01)" ( identifier ))) ;) (return_statement "return (Object *)this_01;" return (cast_expression "(Object *)this_01" ( (type_descriptor "Object *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ;) }))
(translation_unit "int * FUN_00364960(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)\n\n{\n  short sVar1;\n  undefined4 uVar2;\n  char cVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  \n  sVar1 = *(short *)(*param_6 + 0x10);\n  if (sVar1 != 1) {\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }\nLAB_00364a2c:\n  piVar4 = (int *)FUN_003ac4d0(0x13c);\n                    \n  FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6);\n  (**(code **)(*piVar4 + 0xf4))(piVar4);\n  return piVar4;\n}\n\n" (function_definition "int * FUN_00364960(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)\n\n{\n  short sVar1;\n  undefined4 uVar2;\n  char cVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  \n  sVar1 = *(short *)(*param_6 + 0x10);\n  if (sVar1 != 1) {\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }\nLAB_00364a2c:\n  piVar4 = (int *)FUN_003ac4d0(0x13c);\n                    \n  FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6);\n  (**(code **)(*piVar4 + 0xf4))(piVar4);\n  return piVar4;\n}" primitive_type (pointer_declarator "* FUN_00364960(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)" * (function_declarator "FUN_00364960(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)" identifier (parameter_list "(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "int *param_6" primitive_type (pointer_declarator "*param_6" * identifier)) )))) (compound_statement "{\n  short sVar1;\n  undefined4 uVar2;\n  char cVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  \n  sVar1 = *(short *)(*param_6 + 0x10);\n  if (sVar1 != 1) {\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }\nLAB_00364a2c:\n  piVar4 = (int *)FUN_003ac4d0(0x13c);\n                    \n  FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6);\n  (**(code **)(*piVar4 + 0xf4))(piVar4);\n  return piVar4;\n}" { (declaration "short sVar1;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "sVar1 = *(short *)(*param_6 + 0x10);" (assignment_expression "sVar1 = *(short *)(*param_6 + 0x10)" identifier = (pointer_expression "*(short *)(*param_6 + 0x10)" * (cast_expression "(short *)(*param_6 + 0x10)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_6 + 0x10)" ( (binary_expression "*param_6 + 0x10" (pointer_expression "*param_6" * identifier) + number_literal) ))))) ;) (if_statement "if (sVar1 != 1) {\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }" if (parenthesized_expression "(sVar1 != 1)" ( (binary_expression "sVar1 != 1" identifier != number_literal) )) (compound_statement "{\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }" { (if_statement "if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }" if (parenthesized_expression "(sVar1 == 2)" ( (binary_expression "sVar1 == 2" identifier == number_literal) )) (compound_statement "{\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }" { (expression_statement "cVar3 = FUN_0023df40(param_3);" (assignment_expression "cVar3 = FUN_0023df40(param_3)" identifier = (call_expression "FUN_0023df40(param_3)" identifier (argument_list "(param_3)" ( identifier )))) ;) (if_statement "if (cVar3 != '\0') goto LAB_00364a2c;" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00364a2c;" goto statement_identifier ;)) }) (else_clause "else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }" else (if_statement "if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }" if (parenthesized_expression "(sVar1 == 3)" ( (binary_expression "sVar1 == 3" identifier == number_literal) )) (compound_statement "{\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }" { (expression_statement "piVar4 = (int *)FUN_003ac4d0(0x84);" (assignment_expression "piVar4 = (int *)FUN_003ac4d0(0x84)" identifier = (cast_expression "(int *)FUN_003ac4d0(0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0x84)" identifier (argument_list "(0x84)" ( number_literal ))))) ;) (expression_statement "FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);" (call_expression "FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6)" identifier (argument_list "(piVar4,param_2,param_3,param_4,param_5,param_6)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "FUN_00237ab0(piVar4);" (call_expression "FUN_00237ab0(piVar4)" identifier (argument_list "(piVar4)" ( identifier ))) ;) (return_statement "return piVar4;" return identifier ;) })))) (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "uVar5 = gettext("%s: unsupported ELF file type %d");" (assignment_expression "uVar5 = gettext("%s: unsupported ELF file type %d")" identifier = (call_expression "gettext("%s: unsupported ELF file type %d")" identifier (argument_list "("%s: unsupported ELF file type %d")" ( (string_literal ""%s: unsupported ELF file type %d"" " string_content ") )))) ;) (expression_statement "FUN_0023b810(uVar5,uVar2,sVar1);" (call_expression "FUN_0023b810(uVar5,uVar2,sVar1)" identifier (argument_list "(uVar5,uVar2,sVar1)" ( identifier , identifier , identifier ))) ;) (return_statement "return (int *)0x0;" return (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (labeled_statement "LAB_00364a2c:\n  piVar4 = (int *)FUN_003ac4d0(0x13c);" statement_identifier : (expression_statement "piVar4 = (int *)FUN_003ac4d0(0x13c);" (assignment_expression "piVar4 = (int *)FUN_003ac4d0(0x13c)" identifier = (cast_expression "(int *)FUN_003ac4d0(0x13c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_003ac4d0(0x13c)" identifier (argument_list "(0x13c)" ( number_literal ))))) ;)) (expression_statement "FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6);" (call_expression "FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6)" identifier (argument_list "(piVar4,param_2,param_3,param_4,param_5,param_6)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "(**(code **)(*piVar4 + 0xf4))(piVar4);" (call_expression "(**(code **)(*piVar4 + 0xf4))(piVar4)" (parenthesized_expression "(**(code **)(*piVar4 + 0xf4))" ( (pointer_expression "**(code **)(*piVar4 + 0xf4)" * (pointer_expression "*(code **)(*piVar4 + 0xf4)" * (cast_expression "(code **)(*piVar4 + 0xf4)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar4 + 0xf4)" ( (binary_expression "*piVar4 + 0xf4" (pointer_expression "*piVar4" * identifier) + number_literal) ))))) )) (argument_list "(piVar4)" ( identifier ))) ;) (return_statement "return piVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration (sized_type_specifier short) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "int * FUN_00364960(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)\n\n{\n  short sVar1;\n  undefined4 uVar2;\n  char cVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  \n  sVar1 = *(short *)(*param_6 + 0x10);\n  if (sVar1 != 1) {\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }\nLAB_00364a2c:\n  piVar4 = (int *)FUN_003ac4d0(0x13c);\n                    \n  FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6);\n  (**(code **)(*piVar4 + 0xf4))(piVar4);\n  return piVar4;\n}" (primitive_type "int") (pointer_declarator "* FUN_00364960(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)" (* "*") (function_declarator "FUN_00364960(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)" (identifier "FUN_00364960") (parameter_list "(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,\n                  undefined4 param_5,int *param_6)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 *param_2" (type_identifier "undefined4") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "int *param_6" (primitive_type "int") (pointer_declarator "*param_6" (* "*") (identifier "param_6"))) () ")")))) (compound_statement "{\n  short sVar1;\n  undefined4 uVar2;\n  char cVar3;\n  int *piVar4;\n  undefined4 uVar5;\n  \n  sVar1 = *(short *)(*param_6 + 0x10);\n  if (sVar1 != 1) {\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }\nLAB_00364a2c:\n  piVar4 = (int *)FUN_003ac4d0(0x13c);\n                    \n  FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6);\n  (**(code **)(*piVar4 + 0xf4))(piVar4);\n  return piVar4;\n}" ({ "{") (declaration "short sVar1;" (sized_type_specifier "short" (short "short")) (identifier "sVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (expression_statement "sVar1 = *(short *)(*param_6 + 0x10);" (assignment_expression "sVar1 = *(short *)(*param_6 + 0x10)" (identifier "sVar1") (= "=") (pointer_expression "*(short *)(*param_6 + 0x10)" (* "*") (cast_expression "(short *)(*param_6 + 0x10)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_6 + 0x10)" (( "(") (binary_expression "*param_6 + 0x10" (pointer_expression "*param_6" (* "*") (identifier "param_6")) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (sVar1 != 1) {\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }" (if "if") (parenthesized_expression "(sVar1 != 1)" (( "(") (binary_expression "sVar1 != 1" (identifier "sVar1") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n    if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }\n    uVar2 = *param_2;\n    uVar5 = gettext("%s: unsupported ELF file type %d");\n    FUN_0023b810(uVar5,uVar2,sVar1);\n    return (int *)0x0;\n  }" ({ "{") (if_statement "if (sVar1 == 2) {\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }\n    else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }" (if "if") (parenthesized_expression "(sVar1 == 2)" (( "(") (binary_expression "sVar1 == 2" (identifier "sVar1") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      cVar3 = FUN_0023df40(param_3);\n      if (cVar3 != '\0') goto LAB_00364a2c;\n    }" ({ "{") (expression_statement "cVar3 = FUN_0023df40(param_3);" (assignment_expression "cVar3 = FUN_0023df40(param_3)" (identifier "cVar3") (= "=") (call_expression "FUN_0023df40(param_3)" (identifier "FUN_0023df40") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (cVar3 != '\0') goto LAB_00364a2c;" (if "if") (parenthesized_expression "(cVar3 != '\0')" (( "(") (binary_expression "cVar3 != '\0'" (identifier "cVar3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00364a2c;" (goto "goto") (statement_identifier "LAB_00364a2c") (; ";"))) (} "}")) (else_clause "else if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }" (else "else") (if_statement "if (sVar1 == 3) {\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }" (if "if") (parenthesized_expression "(sVar1 == 3)" (( "(") (binary_expression "sVar1 == 3" (identifier "sVar1") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n      piVar4 = (int *)FUN_003ac4d0(0x84);\n                    \n      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);\n      FUN_00237ab0(piVar4);\n      return piVar4;\n    }" ({ "{") (expression_statement "piVar4 = (int *)FUN_003ac4d0(0x84);" (assignment_expression "piVar4 = (int *)FUN_003ac4d0(0x84)" (identifier "piVar4") (= "=") (cast_expression "(int *)FUN_003ac4d0(0x84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003ac4d0(0x84)" (identifier "FUN_003ac4d0") (argument_list "(0x84)" (( "(") (number_literal "0x84") () ")"))))) (; ";")) (expression_statement "FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);" (call_expression "FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6)" (identifier "FUN_0023a380") (argument_list "(piVar4,param_2,param_3,param_4,param_5,param_6)" (( "(") (identifier "piVar4") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") () ")"))) (; ";")) (expression_statement "FUN_00237ab0(piVar4);" (call_expression "FUN_00237ab0(piVar4)" (identifier "FUN_00237ab0") (argument_list "(piVar4)" (( "(") (identifier "piVar4") () ")"))) (; ";")) (return_statement "return piVar4;" (return "return") (identifier "piVar4") (; ";")) (} "}"))))) (expression_statement "uVar2 = *param_2;" (assignment_expression "uVar2 = *param_2" (identifier "uVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "uVar5 = gettext("%s: unsupported ELF file type %d");" (assignment_expression "uVar5 = gettext("%s: unsupported ELF file type %d")" (identifier "uVar5") (= "=") (call_expression "gettext("%s: unsupported ELF file type %d")" (identifier "gettext") (argument_list "("%s: unsupported ELF file type %d")" (( "(") (string_literal ""%s: unsupported ELF file type %d"" (" """) (string_content "%s: unsupported ELF file type %d") (" """)) () ")")))) (; ";")) (expression_statement "FUN_0023b810(uVar5,uVar2,sVar1);" (call_expression "FUN_0023b810(uVar5,uVar2,sVar1)" (identifier "FUN_0023b810") (argument_list "(uVar5,uVar2,sVar1)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar2") (, ",") (identifier "sVar1") () ")"))) (; ";")) (return_statement "return (int *)0x0;" (return "return") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}"))) (labeled_statement "LAB_00364a2c:\n  piVar4 = (int *)FUN_003ac4d0(0x13c);" (statement_identifier "LAB_00364a2c") (: ":") (expression_statement "piVar4 = (int *)FUN_003ac4d0(0x13c);" (assignment_expression "piVar4 = (int *)FUN_003ac4d0(0x13c)" (identifier "piVar4") (= "=") (cast_expression "(int *)FUN_003ac4d0(0x13c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_003ac4d0(0x13c)" (identifier "FUN_003ac4d0") (argument_list "(0x13c)" (( "(") (number_literal "0x13c") () ")"))))) (; ";"))) (expression_statement "FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6);" (call_expression "FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6)" (identifier "FUN_002a1250") (argument_list "(piVar4,param_2,param_3,param_4,param_5,param_6)" (( "(") (identifier "piVar4") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") () ")"))) (; ";")) (expression_statement "(**(code **)(*piVar4 + 0xf4))(piVar4);" (call_expression "(**(code **)(*piVar4 + 0xf4))(piVar4)" (parenthesized_expression "(**(code **)(*piVar4 + 0xf4))" (( "(") (pointer_expression "**(code **)(*piVar4 + 0xf4)" (* "*") (pointer_expression "*(code **)(*piVar4 + 0xf4)" (* "*") (cast_expression "(code **)(*piVar4 + 0xf4)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar4 + 0xf4)" (( "(") (binary_expression "*piVar4 + 0xf4" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (+ "+") (number_literal "0xf4")) () ")"))))) () ")")) (argument_list "(piVar4)" (( "(") (identifier "piVar4") () ")"))) (; ";")) (return_statement "return piVar4;" (return "return") (identifier "piVar4") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: Object * do_make_elf_object(Target * this, string * name, Input_file *
   input_file, off_t offset, Ehdr<64,_false> * ehdr) */

type_3 * __thiscall
gold::Target::do_make_elf_object
          (Target *this,string *name,Input_file *input_file,off_t offset,Ehdr<64,var_2> *ehdr)

{
  type_1 pcVar1;
  bool bVar2;
  var_1<64,var_2> *this_00;
  char *format;
  var_3<64,var_2> *this_01;
  type_2 var_4;
  
  var_4 = (type_2)ehdr->p_->e_type;
  if (var_4 != 1) {
    if (var_4 == 2) {
      bVar2 = Input_file::var_5(input_file);
      if (bVar2) goto LAB_00364a2c;
    }
    else if (var_4 == 3) {
      this_00 = (var_1<64,var_2> *)var_6(0x84);
                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */
      var_1<64,var_2>::var_1(this_00,name,input_file,offset,ehdr);
      var_1<64,var_2>::var_7(this_00);
      return (type_3 *)this_00;
    }
    pcVar1 = (name->_M_dataplus)._M_p;
    format = (char *)var_8("%s: unsupported ELF file type %d");
    var_9(format,pcVar1,var_4);
    return (type_3 *)0x0;
  }
LAB_00364a2c:
  this_01 = (var_3<64,var_2> *)var_6(0x13c);
                    /* try { // try from 00364a4f to 00364a53 has its CatchHandler @ 00364a6d */
  var_3<64,var_2>::var_3(this_01,name,input_file,offset,ehdr);
  (*(this_01->super_Sized_relobj<64,var_2>).super_Relobj.super_Object._vptr_Object[0x3d])(this_01);
  return (type_3 *)this_01;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (return_statement (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (labeled_statement label: (statement_identifier) (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))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier)))) (return_statement (identifier)))))

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

int * MASKED(undefined4 param_1,undefined4 *param_2,undefined4 param_3,undefined4 param_4,
                  undefined4 param_5,int *param_6)

{
  short sVar1;
  undefined4 uVar2;
  char cVar3;
  int *piVar4;
  undefined4 uVar5;
  
  sVar1 = *(short *)(*param_6 + 0x10);
  if (sVar1 != 1) {
    if (sVar1 == 2) {
      cVar3 = FUN_0023df40(param_3);
      if (cVar3 != '\0') goto LAB_00364a2c;
    }
    else if (sVar1 == 3) {
      piVar4 = (int *)FUN_003ac4d0(0x84);
                    /* try { // try from 003649c3 to 003649c7 has its CatchHandler @ 00364a75 */
      FUN_0023a380(piVar4,param_2,param_3,param_4,param_5,param_6);
      FUN_00237ab0(piVar4);
      return piVar4;
    }
    uVar2 = *param_2;
    uVar5 = gettext("%s: unsupported ELF file type %d");
    FUN_0023b810(uVar5,uVar2,sVar1);
    return (int *)0x0;
  }
LAB_00364a2c:
  piVar4 = (int *)FUN_003ac4d0(0x13c);
                    /* try { // try from 00364a4f to 00364a53 has its CatchHandler @ 00364a6d */
  FUN_002a1250(piVar4,param_2,param_3,param_4,param_5,param_6);
  (**(code **)(*piVar4 + 0xf4))(piVar4);
  return piVar4;
}

