
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void Target_selector(Target_selector * this, int machine, int size,
   bool is_big_endian, char * bfd_name, char * emulation) */

void __thiscall
gold::Target_selector::Target_selector
          (Target_selector *this,int machine,int size,bool is_big_endian,char *bfd_name,
          char *emulation)

{
  Target_selector *pTVar1;
  
  this->_vptr_Target_selector = (_func_int_varargs **)&DAT_0033b95c;
  this->machine_ = machine;
  this->size_ = size;
  this->instantiated_target_ = (Target *)0x0;
  this->is_big_endian_ = is_big_endian;
  this->bfd_name_ = bfd_name;
  this->emulation_ = emulation;
  Once::Once(&(this->set_target_once_).super_Once);
  (this->set_target_once_).target_selector_ = this;
  (this->set_target_once_).super_Once._vptr_Once =
       (_func_int_varargs **)&PTR__Set_target_once_003352b0;
  pTVar1 = anon_unknown.dwarf_182c870::target_selectors;
  anon_unknown.dwarf_182c870::target_selectors = this;
  this->next_ = pTVar1;
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_00160140(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined1 param_4,
                 undefined4 param_5,undefined4 param_6)

{
  undefined4 uVar1;
  
  *param_1 = &DAT_0033b95c;
  param_1[1] = param_2;
  param_1[2] = param_3;
  param_1[7] = 0;
  *(undefined1 *)(param_1 + 3) = param_4;
  param_1[4] = param_5;
  param_1[5] = param_6;
  FUN_0008e690(param_1 + 8);
  param_1[0xc] = param_1;
  param_1[8] = &PTR_FUN_003352b0;
  uVar1 = DAT_0034635c;
  DAT_0034635c = param_1;
  param_1[6] = uVar1;
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035680
ADD EBX,0x1deeb9
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
LEA EAX,[EBX + 0xffffc95c]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [ESI + 0x4],EAX
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [ESI + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [ESI + 0x1c],0x0
MOV byte ptr [ESI + 0xc],AL
MOV EAX,dword ptr [ESP + 0x2c]
MOV dword ptr [ESI + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x30]
MOV dword ptr [ESI + 0x14],EAX
LEA EAX,[ESI + 0x20]
PUSH EAX
CALL 0x0008e690
LEA EAX,[EBX + 0xffff62b0]
MOV dword ptr [ESI + 0x30],ESI
MOV dword ptr [ESI + 0x20],EAX
MOV EAX,dword ptr [EBX + 0x735c]
MOV dword ptr [EBX + 0x735c],ESI
MOV dword ptr [ESI + 0x18],EAX
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00160140(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined1 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  \n  *param_1 = &DAT_0033b95c;\n  param_1[1] = param_2;\n  param_1[2] = param_3;\n  param_1[7] = 0;\n  *(undefined1 *)(param_1 + 3) = param_4;\n  param_1[4] = param_5;\n  param_1[5] = param_6;\n  FUN_0008e690(param_1 + 8);\n  param_1[0xc] = param_1;\n  param_1[8] = &PTR_FUN_003352b0;\n  uVar1 = DAT_0034635c;\n  DAT_0034635c = param_1;\n  param_1[6] = uVar1;\n  return;\n}\n\n" comment (function_definition "void FUN_00160140(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined1 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  \n  *param_1 = &DAT_0033b95c;\n  param_1[1] = param_2;\n  param_1[2] = param_3;\n  param_1[7] = 0;\n  *(undefined1 *)(param_1 + 3) = param_4;\n  param_1[4] = param_5;\n  param_1[5] = param_6;\n  FUN_0008e690(param_1 + 8);\n  param_1[0xc] = param_1;\n  param_1[8] = &PTR_FUN_003352b0;\n  uVar1 = DAT_0034635c;\n  DAT_0034635c = param_1;\n  param_1[6] = uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_00160140(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined1 param_4,\n                 undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined1 param_4,\n                 undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined1 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  *param_1 = &DAT_0033b95c;\n  param_1[1] = param_2;\n  param_1[2] = param_3;\n  param_1[7] = 0;\n  *(undefined1 *)(param_1 + 3) = param_4;\n  param_1[4] = param_5;\n  param_1[5] = param_6;\n  FUN_0008e690(param_1 + 8);\n  param_1[0xc] = param_1;\n  param_1[8] = &PTR_FUN_003352b0;\n  uVar1 = DAT_0034635c;\n  DAT_0034635c = param_1;\n  param_1[6] = uVar1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "*param_1 = &DAT_0033b95c;" (assignment_expression "*param_1 = &DAT_0033b95c" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_0033b95c" & identifier)) ;) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = param_3;" (assignment_expression "param_1[2] = param_3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 3) = param_4;" (assignment_expression "*(undefined1 *)(param_1 + 3) = param_4" (pointer_expression "*(undefined1 *)(param_1 + 3)" * (cast_expression "(undefined1 *)(param_1 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[4] = param_5;" (assignment_expression "param_1[4] = param_5" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[5] = param_6;" (assignment_expression "param_1[5] = param_6" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_0008e690(param_1 + 8);" (call_expression "FUN_0008e690(param_1 + 8)" identifier (argument_list "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "param_1[0xc] = param_1;" (assignment_expression "param_1[0xc] = param_1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[8] = &PTR_FUN_003352b0;" (assignment_expression "param_1[8] = &PTR_FUN_003352b0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003352b0" & identifier)) ;) (expression_statement "uVar1 = DAT_0034635c;" (assignment_expression "uVar1 = DAT_0034635c" identifier = identifier) ;) (expression_statement "DAT_0034635c = param_1;" (assignment_expression "DAT_0034635c = param_1" identifier = identifier) ;) (expression_statement "param_1[6] = uVar1;" (assignment_expression "param_1[6] = uVar1" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "ELFOSABI": Some values do not have unique names */\n/* DWARF original prototype: void Target_selector(Target_selector * this, int machine, int size,\n   bool is_big_endian, char * bfd_name, char * emulation) */\n\nvoid __thiscall\ngold::Target_selector::Target_selector\n          (Target_selector *this,int machine,int size,bool is_big_endian,char *bfd_name,\n          char *emulation)\n\n{\n  Target_selector *pTVar1;\n  \n  this->_vptr_Target_selector = (_func_int_varargs **)&DAT_0033b95c;\n  this->machine_ = machine;\n  this->size_ = size;\n  this->instantiated_target_ = (Target *)0x0;\n  this->is_big_endian_ = is_big_endian;\n  this->bfd_name_ = bfd_name;\n  this->emulation_ = emulation;\n  Once::Once(&(this->set_target_once_).super_Once);\n  (this->set_target_once_).target_selector_ = this;\n  (this->set_target_once_).super_Once._vptr_Once =\n       (_func_int_varargs **)&PTR__Set_target_once_003352b0;\n  pTVar1 = anon_unknown.dwarf_182c870::target_selectors;\n  anon_unknown.dwarf_182c870::target_selectors = this;\n  this->next_ = pTVar1;\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Target_selector::Target_selector\n          (Target_selector *this,int machine,int size,bool is_big_endian,char *bfd_name,\n          char *emulation)\n\n{\n  Target_selector *pTVar1;\n  \n  this->_vptr_Target_selector = (_func_int_varargs **)&DAT_0033b95c;\n  this->machine_ = machine;\n  this->size_ = size;\n  this->instantiated_target_ = (Target *)0x0;\n  this->is_big_endian_ = is_big_endian;\n  this->bfd_name_ = bfd_name;\n  this->emulation_ = emulation;\n  Once::Once(&(this->set_target_once_).super_Once);\n  (this->set_target_once_).target_selector_ = this;\n  (this->set_target_once_).super_Once._vptr_Once =\n       (_func_int_varargs **)&PTR__Set_target_once_003352b0;\n  pTVar1 = anon_unknown.dwarf_182c870::target_selectors;\n  anon_unknown.dwarf_182c870::target_selectors = this;\n  this->next_ = pTVar1;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Target_selector::" identifier : : identifier : :) (function_declarator "Target_selector\n          (Target_selector *this,int machine,int size,bool is_big_endian,char *bfd_name,\n          char *emulation)" identifier (parameter_list "(Target_selector *this,int machine,int size,bool is_big_endian,char *bfd_name,\n          char *emulation)" ( (parameter_declaration "Target_selector *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int machine" primitive_type identifier) , (parameter_declaration "int size" primitive_type identifier) , (parameter_declaration "bool is_big_endian" primitive_type identifier) , (parameter_declaration "char *bfd_name" primitive_type (pointer_declarator "*bfd_name" * identifier)) , (parameter_declaration "char *emulation" primitive_type (pointer_declarator "*emulation" * identifier)) ))) (compound_statement "{\n  Target_selector *pTVar1;\n  \n  this->_vptr_Target_selector = (_func_int_varargs **)&DAT_0033b95c;\n  this->machine_ = machine;\n  this->size_ = size;\n  this->instantiated_target_ = (Target *)0x0;\n  this->is_big_endian_ = is_big_endian;\n  this->bfd_name_ = bfd_name;\n  this->emulation_ = emulation;\n  Once::Once(&(this->set_target_once_).super_Once);\n  (this->set_target_once_).target_selector_ = this;\n  (this->set_target_once_).super_Once._vptr_Once =\n       (_func_int_varargs **)&PTR__Set_target_once_003352b0;\n  pTVar1 = anon_unknown.dwarf_182c870::target_selectors;\n  anon_unknown.dwarf_182c870::target_selectors = this;\n  this->next_ = pTVar1;\n  return;\n}" { (declaration "Target_selector *pTVar1;" type_identifier (pointer_declarator "*pTVar1" * identifier) ;) (expression_statement "this->_vptr_Target_selector = (_func_int_varargs **)&DAT_0033b95c;" (assignment_expression "this->_vptr_Target_selector = (_func_int_varargs **)&DAT_0033b95c" (field_expression "this->_vptr_Target_selector" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)&DAT_0033b95c" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&DAT_0033b95c" & identifier))) ;) (expression_statement "this->machine_ = machine;" (assignment_expression "this->machine_ = machine" (field_expression "this->machine_" identifier -> field_identifier) = identifier) ;) (expression_statement "this->size_ = size;" (assignment_expression "this->size_ = size" (field_expression "this->size_" identifier -> field_identifier) = identifier) ;) (expression_statement "this->instantiated_target_ = (Target *)0x0;" (assignment_expression "this->instantiated_target_ = (Target *)0x0" (field_expression "this->instantiated_target_" identifier -> field_identifier) = (cast_expression "(Target *)0x0" ( (type_descriptor "Target *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "this->is_big_endian_ = is_big_endian;" (assignment_expression "this->is_big_endian_ = is_big_endian" (field_expression "this->is_big_endian_" identifier -> field_identifier) = identifier) ;) (expression_statement "this->bfd_name_ = bfd_name;" (assignment_expression "this->bfd_name_ = bfd_name" (field_expression "this->bfd_name_" identifier -> field_identifier) = identifier) ;) (expression_statement "this->emulation_ = emulation;" (assignment_expression "this->emulation_ = emulation" (field_expression "this->emulation_" identifier -> field_identifier) = identifier) ;) (labeled_statement "Once::Once(&(this->set_target_once_).super_Once);" statement_identifier : (ERROR ":" :) (expression_statement "Once(&(this->set_target_once_).super_Once);" (call_expression "Once(&(this->set_target_once_).super_Once)" identifier (argument_list "(&(this->set_target_once_).super_Once)" ( (pointer_expression "&(this->set_target_once_).super_Once" & (field_expression "(this->set_target_once_).super_Once" (parenthesized_expression "(this->set_target_once_)" ( (field_expression "this->set_target_once_" identifier -> field_identifier) )) . field_identifier)) ))) ;)) (expression_statement "(this->set_target_once_).target_selector_ = this;" (assignment_expression "(this->set_target_once_).target_selector_ = this" (field_expression "(this->set_target_once_).target_selector_" (parenthesized_expression "(this->set_target_once_)" ( (field_expression "this->set_target_once_" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(this->set_target_once_).super_Once._vptr_Once =\n       (_func_int_varargs **)&PTR__Set_target_once_003352b0;" (assignment_expression "(this->set_target_once_).super_Once._vptr_Once =\n       (_func_int_varargs **)&PTR__Set_target_once_003352b0" (field_expression "(this->set_target_once_).super_Once._vptr_Once" (field_expression "(this->set_target_once_).super_Once" (parenthesized_expression "(this->set_target_once_)" ( (field_expression "this->set_target_once_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Set_target_once_003352b0" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Set_target_once_003352b0" & identifier))) ;) (expression_statement "pTVar1 = anon_unknown.dwarf_182c870::target_selectors;" (assignment_expression "pTVar1 = anon_unknown.dwarf_182c870" identifier = (field_expression "anon_unknown.dwarf_182c870" identifier . field_identifier)) (ERROR "::target_selectors" : : identifier) ;) (ERROR "anon_unknown.dwarf_182c870::" (field_expression "anon_unknown.dwarf_182c870" identifier . field_identifier) : :) (expression_statement "target_selectors = this;" (assignment_expression "target_selectors = this" identifier = identifier) ;) (expression_statement "this->next_ = pTVar1;" (assignment_expression "this->next_ = pTVar1" (field_expression "this->next_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00160140(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined1 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  \n  *param_1 = &DAT_0033b95c;\n  param_1[1] = param_2;\n  param_1[2] = param_3;\n  param_1[7] = 0;\n  *(undefined1 *)(param_1 + 3) = param_4;\n  param_1[4] = param_5;\n  param_1[5] = param_6;\n  FUN_0008e690(param_1 + 8);\n  param_1[0xc] = param_1;\n  param_1[8] = &PTR_FUN_003352b0;\n  uVar1 = DAT_0034635c;\n  DAT_0034635c = param_1;\n  param_1[6] = uVar1;\n  return;\n}\n\n" (function_definition "void FUN_00160140(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined1 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  \n  *param_1 = &DAT_0033b95c;\n  param_1[1] = param_2;\n  param_1[2] = param_3;\n  param_1[7] = 0;\n  *(undefined1 *)(param_1 + 3) = param_4;\n  param_1[4] = param_5;\n  param_1[5] = param_6;\n  FUN_0008e690(param_1 + 8);\n  param_1[0xc] = param_1;\n  param_1[8] = &PTR_FUN_003352b0;\n  uVar1 = DAT_0034635c;\n  DAT_0034635c = param_1;\n  param_1[6] = uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_00160140(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined1 param_4,\n                 undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined1 param_4,\n                 undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined1 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  *param_1 = &DAT_0033b95c;\n  param_1[1] = param_2;\n  param_1[2] = param_3;\n  param_1[7] = 0;\n  *(undefined1 *)(param_1 + 3) = param_4;\n  param_1[4] = param_5;\n  param_1[5] = param_6;\n  FUN_0008e690(param_1 + 8);\n  param_1[0xc] = param_1;\n  param_1[8] = &PTR_FUN_003352b0;\n  uVar1 = DAT_0034635c;\n  DAT_0034635c = param_1;\n  param_1[6] = uVar1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "*param_1 = &DAT_0033b95c;" (assignment_expression "*param_1 = &DAT_0033b95c" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_0033b95c" & identifier)) ;) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = param_3;" (assignment_expression "param_1[2] = param_3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 3) = param_4;" (assignment_expression "*(undefined1 *)(param_1 + 3) = param_4" (pointer_expression "*(undefined1 *)(param_1 + 3)" * (cast_expression "(undefined1 *)(param_1 + 3)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[4] = param_5;" (assignment_expression "param_1[4] = param_5" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[5] = param_6;" (assignment_expression "param_1[5] = param_6" (subscript_expression "param_1[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_0008e690(param_1 + 8);" (call_expression "FUN_0008e690(param_1 + 8)" identifier (argument_list "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "param_1[0xc] = param_1;" (assignment_expression "param_1[0xc] = param_1" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[8] = &PTR_FUN_003352b0;" (assignment_expression "param_1[8] = &PTR_FUN_003352b0" (subscript_expression "param_1[8]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003352b0" & identifier)) ;) (expression_statement "uVar1 = DAT_0034635c;" (assignment_expression "uVar1 = DAT_0034635c" identifier = identifier) ;) (expression_statement "DAT_0034635c = param_1;" (assignment_expression "DAT_0034635c = param_1" identifier = identifier) ;) (expression_statement "param_1[6] = uVar1;" (assignment_expression "param_1[6] = uVar1" (subscript_expression "param_1[6]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00160140(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined1 param_4,\n                 undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  \n  *param_1 = &DAT_0033b95c;\n  param_1[1] = param_2;\n  param_1[2] = param_3;\n  param_1[7] = 0;\n  *(undefined1 *)(param_1 + 3) = param_4;\n  param_1[4] = param_5;\n  param_1[5] = param_6;\n  FUN_0008e690(param_1 + 8);\n  param_1[0xc] = param_1;\n  param_1[8] = &PTR_FUN_003352b0;\n  uVar1 = DAT_0034635c;\n  DAT_0034635c = param_1;\n  param_1[6] = uVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00160140(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined1 param_4,\n                 undefined4 param_5,undefined4 param_6)" (identifier "FUN_00160140") (parameter_list "(undefined4 *param_1,undefined4 param_2,undefined4 param_3,undefined1 param_4,\n                 undefined4 param_5,undefined4 param_6)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined1 param_4" (type_identifier "undefined1") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  *param_1 = &DAT_0033b95c;\n  param_1[1] = param_2;\n  param_1[2] = param_3;\n  param_1[7] = 0;\n  *(undefined1 *)(param_1 + 3) = param_4;\n  param_1[4] = param_5;\n  param_1[5] = param_6;\n  FUN_0008e690(param_1 + 8);\n  param_1[0xc] = param_1;\n  param_1[8] = &PTR_FUN_003352b0;\n  uVar1 = DAT_0034635c;\n  DAT_0034635c = param_1;\n  param_1[6] = uVar1;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "*param_1 = &DAT_0033b95c;" (assignment_expression "*param_1 = &DAT_0033b95c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&DAT_0033b95c" (& "&") (identifier "DAT_0033b95c"))) (; ";")) (expression_statement "param_1[1] = param_2;" (assignment_expression "param_1[1] = param_2" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_1[2] = param_3;" (assignment_expression "param_1[2] = param_3" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_3")) (; ";")) (expression_statement "param_1[7] = 0;" (assignment_expression "param_1[7] = 0" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 3) = param_4;" (assignment_expression "*(undefined1 *)(param_1 + 3) = param_4" (pointer_expression "*(undefined1 *)(param_1 + 3)" (* "*") (cast_expression "(undefined1 *)(param_1 + 3)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "param_1[4] = param_5;" (assignment_expression "param_1[4] = param_5" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "param_5")) (; ";")) (expression_statement "param_1[5] = param_6;" (assignment_expression "param_1[5] = param_6" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "param_6")) (; ";")) (expression_statement "FUN_0008e690(param_1 + 8);" (call_expression "FUN_0008e690(param_1 + 8)" (identifier "FUN_0008e690") (argument_list "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))) (; ";")) (expression_statement "param_1[0xc] = param_1;" (assignment_expression "param_1[0xc] = param_1" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "param_1[8] = &PTR_FUN_003352b0;" (assignment_expression "param_1[8] = &PTR_FUN_003352b0" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (pointer_expression "&PTR_FUN_003352b0" (& "&") (identifier "PTR_FUN_003352b0"))) (; ";")) (expression_statement "uVar1 = DAT_0034635c;" (assignment_expression "uVar1 = DAT_0034635c" (identifier "uVar1") (= "=") (identifier "DAT_0034635c")) (; ";")) (expression_statement "DAT_0034635c = param_1;" (assignment_expression "DAT_0034635c = param_1" (identifier "DAT_0034635c") (= "=") (identifier "param_1")) (; ";")) (expression_statement "param_1[6] = uVar1;" (assignment_expression "param_1[6] = uVar1" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* DWARF original prototype: void Target_selector(Target_selector * this, int machine, int size,
   bool is_big_endian, char * bfd_name, char * emulation) */

void __thiscall
gold::function_1::function_1
          (function_1 *this,int machine,int size,bool is_big_endian,char *bfd_name,
          char *emulation)

{
  function_1 *pTVar1;
  
  this->_vptr_Target_selector = (type_1 **)&DAT_0033b95c;
  this->machine_ = machine;
  this->size_ = size;
  this->instantiated_target_ = (type_2 *)0x0;
  this->is_big_endian_ = is_big_endian;
  this->bfd_name_ = bfd_name;
  this->emulation_ = emulation;
  Once::var_1(&(this->set_target_once_).super_Once);
  (this->set_target_once_).target_selector_ = this;
  (this->set_target_once_).super_Once._vptr_Once =
       (type_1 **)&PTR__Set_target_once_003352b0;
  pTVar1 = anon_unknown.dwarf_182c870::target_selectors;
  anon_unknown.dwarf_182c870::target_selectors = this;
  this->next_ = pTVar1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  undefined4 uVar1;
  
  *param_1 = &DAT_0033b95c;
  param_1[1] = param_2;
  param_1[2] = param_3;
  param_1[7] = 0;
  *(undefined1 *)(param_1 + 3) = param_4;
  param_1[4] = param_5;
  param_1[5] = param_6;
  FUN_0008e690(param_1 + 8);
  param_1[0xc] = param_1;
  param_1[8] = &PTR_FUN_003352b0;
  uVar1 = DAT_0034635c;
  DAT_0034635c = param_1;
  param_1[6] = uVar1;
  return;
}

