
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "ELFOSABI": Some values do not have unique names */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void ~Target_iamcu(Target_iamcu * this, int __in_chrg) */

void __thiscall
anon_unknown.dwarf_217836::Target_iamcu::~Target_iamcu(Target_iamcu *this,int __in_chrg)

{
  pointer pCVar1;
  
  (this->super_Target_i386).super_Sized_target<32,_false>.super_Target._vptr_Target =
       (_func_int_varargs **)&PTR__Target_i386_00338840;
  pCVar1 = (this->super_Target_i386).copy_relocs_.entries_.
           super__Vector_base<gold::Copy_relocs<9,_32,_false>::Copy_reloc_entry,_std::allocator<gold::Copy_relocs<9,_32,_false>::Copy_reloc_entry>_>
           ._M_impl._M_start;
  if (pCVar1 != (pointer)0x0) {
    operator_delete(pCVar1);
  }
  return;
}



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

void FUN_00048cf0(undefined4 *param_1)

{
  *param_1 = &PTR_FUN_00338840;
  if (param_1[0xd] != 0) {
    FUN_001ac470(param_1[0xd]);
  }
  return;
}


PUSH EBX
CALL 0x00035680
ADD EBX,0x2f630a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
LEA EDX,[EBX + 0xffff9840]
MOV dword ptr [EAX],EDX
MOV EAX,dword ptr [EAX + 0x34]
TEST EAX,EAX
JZ 0x00048d1e
SUB ESP,0xc
PUSH EAX
CALL 0x001ac470
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00048cf0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00338840;\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00048cf0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00338840;\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00048cf0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_00338840;\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_00338840;" (assignment_expression "*param_1 = &PTR_FUN_00338840" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00338840" & identifier)) ;) (if_statement "if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }" if (parenthesized_expression "(param_1[0xd] != 0)" ( (binary_expression "param_1[0xd] != 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_001ac470(param_1[0xd]);\n  }" { (expression_statement "FUN_001ac470(param_1[0xd]);" (call_expression "FUN_001ac470(param_1[0xd])" identifier (argument_list "(param_1[0xd])" ( (subscript_expression "param_1[0xd]" identifier [ number_literal ]) ))) ;) })) (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/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void ~Target_iamcu(Target_iamcu * this, int __in_chrg) */\n\nvoid __thiscall\nanon_unknown.dwarf_217836::Target_iamcu::~Target_iamcu(Target_iamcu *this,int __in_chrg)\n\n{\n  pointer pCVar1;\n  \n  (this->super_Target_i386).super_Sized_target<32,_false>.super_Target._vptr_Target =\n       (_func_int_varargs **)&PTR__Target_i386_00338840;\n  pCVar1 = (this->super_Target_i386).copy_relocs_.entries_.\n           super__Vector_base<gold::Copy_relocs<9,_32,_false>::Copy_reloc_entry,_std::allocator<gold::Copy_relocs<9,_32,_false>::Copy_reloc_entry>_>\n           ._M_impl._M_start;\n  if (pCVar1 != (pointer)0x0) {\n    operator_delete(pCVar1);\n  }\n  return;\n}\n\n" comment comment comment comment (function_definition "void __thiscall\nanon_unknown.dwarf_217836::Target_iamcu::~Target_iamcu(Target_iamcu *this,int __in_chrg)\n\n{\n  pointer pCVar1;\n  \n  (this->super_Target_i386).super_Sized_target<32,_false>.super_Target._vptr_Target =\n       (_func_int_varargs **)&PTR__Target_i386_00338840;\n  pCVar1 = (this->super_Target_i386).copy_relocs_.entries_.\n           super__Vector_base<gold::Copy_relocs<9,_32,_false>::Copy_reloc_entry,_std::allocator<gold::Copy_relocs<9,_32,_false>::Copy_reloc_entry>_>\n           ._M_impl._M_start;\n  if (pCVar1 != (pointer)0x0) {\n    operator_delete(pCVar1);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_217836::Target_iamcu::~" identifier . identifier : : identifier : : ~) (function_declarator "Target_iamcu(Target_iamcu *this,int __in_chrg)" identifier (parameter_list "(Target_iamcu *this,int __in_chrg)" ( (parameter_declaration "Target_iamcu *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int __in_chrg" primitive_type identifier) ))) (compound_statement "{\n  pointer pCVar1;\n  \n  (this->super_Target_i386).super_Sized_target<32,_false>.super_Target._vptr_Target =\n       (_func_int_varargs **)&PTR__Target_i386_00338840;\n  pCVar1 = (this->super_Target_i386).copy_relocs_.entries_.\n           super__Vector_base<gold::Copy_relocs<9,_32,_false>::Copy_reloc_entry,_std::allocator<gold::Copy_relocs<9,_32,_false>::Copy_reloc_entry>_>\n           ._M_impl._M_start;\n  if (pCVar1 != (pointer)0x0) {\n    operator_delete(pCVar1);\n  }\n  return;\n}" { (declaration "pointer pCVar1;" type_identifier identifier ;) (expression_statement "(this->super_Target_i386).super_Sized_target<32,_false>.super_Target._vptr_Target =\n       (_func_int_varargs **)&PTR__Target_i386_00338840;" (comma_expression "(this->super_Target_i386).super_Sized_target<32,_false>.super_Target._vptr_Target =\n       (_func_int_varargs **)&PTR__Target_i386_00338840" (binary_expression "(this->super_Target_i386).super_Sized_target<32" (field_expression "(this->super_Target_i386).super_Sized_target" (parenthesized_expression "(this->super_Target_i386)" ( (field_expression "this->super_Target_i386" identifier -> field_identifier) )) . field_identifier) < number_literal) , (assignment_expression "_false>.super_Target._vptr_Target =\n       (_func_int_varargs **)&PTR__Target_i386_00338840" (field_expression "_false>.super_Target._vptr_Target" (field_expression "_false>.super_Target" identifier (ERROR ">" >) . field_identifier) . field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Target_i386_00338840" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Target_i386_00338840" & identifier)))) ;) (ERROR "pCVar1 = (this->super_Target_i386).copy_relocs_.entries_.\n           super__Vector_base<gold::Copy_relocs<9,_32,_false>::Copy_reloc_entry,_std::allocator<gold::" (comma_expression "pCVar1 = (this->super_Target_i386).copy_relocs_.entries_.\n           super__Vector_base<gold::Copy_relocs<9,_32,_false>::Copy_reloc_entry,_std" (binary_expression "pCVar1 = (this->super_Target_i386).copy_relocs_.entries_.\n           super__Vector_base<gold::Copy_relocs<9" (assignment_expression "pCVar1 = (this->super_Target_i386).copy_relocs_.entries_.\n           super__Vector_base<gold" identifier = (binary_expression "(this->super_Target_i386).copy_relocs_.entries_.\n           super__Vector_base<gold" (field_expression "(this->super_Target_i386).copy_relocs_.entries_.\n           super__Vector_base" (field_expression "(this->super_Target_i386).copy_relocs_.entries_" (field_expression "(this->super_Target_i386).copy_relocs_" (parenthesized_expression "(this->super_Target_i386)" ( (field_expression "this->super_Target_i386" identifier -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier) < identifier)) (ERROR "::Copy_relocs" : : identifier) < number_literal) , (comma_expression "_32,_false>::Copy_reloc_entry,_std" identifier , (comma_expression "_false>::Copy_reloc_entry,_std" (binary_expression "_false>::Copy_reloc_entry" identifier > (ERROR "::" : :) identifier) , identifier))) : : (binary_expression "allocator<gold" identifier < identifier) : :) (expression_statement "Copy_relocs<9,_32,_false>::Copy_reloc_entry>_>\n           ._M_impl._M_start;" (comma_expression "Copy_relocs<9,_32,_false>::Copy_reloc_entry>_>\n           ._M_impl._M_start" (binary_expression "Copy_relocs<9" identifier < number_literal) , (comma_expression "_32,_false>::Copy_reloc_entry>_>\n           ._M_impl._M_start" identifier , (field_expression "_false>::Copy_reloc_entry>_>\n           ._M_impl._M_start" (field_expression "_false>::Copy_reloc_entry>_>\n           ._M_impl" (binary_expression "_false>::Copy_reloc_entry>_" (binary_expression "_false>::Copy_reloc_entry" identifier > (ERROR "::" : :) identifier) > identifier) (ERROR ">" >) . field_identifier) . field_identifier))) ;) (if_statement "if (pCVar1 != (pointer)0x0) {\n    operator_delete(pCVar1);\n  }" if (parenthesized_expression "(pCVar1 != (pointer)0x0)" ( (binary_expression "pCVar1 != (pointer)0x0" identifier != (cast_expression "(pointer)0x0" ( (type_descriptor "pointer" type_identifier) ) number_literal)) )) (compound_statement "{\n    operator_delete(pCVar1);\n  }" { (expression_statement "operator_delete(pCVar1);" (call_expression "operator_delete(pCVar1)" identifier (argument_list "(pCVar1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00048cf0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00338840;\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00048cf0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00338840;\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00048cf0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_00338840;\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_00338840;" (assignment_expression "*param_1 = &PTR_FUN_00338840" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00338840" & identifier)) ;) (if_statement "if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }" if (parenthesized_expression "(param_1[0xd] != 0)" ( (binary_expression "param_1[0xd] != 0" (subscript_expression "param_1[0xd]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_001ac470(param_1[0xd]);\n  }" { (expression_statement "FUN_001ac470(param_1[0xd]);" (call_expression "FUN_001ac470(param_1[0xd])" identifier (argument_list "(param_1[0xd])" ( (subscript_expression "param_1[0xd]" identifier [ number_literal ]) ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00048cf0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_00338840;\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00048cf0(undefined4 *param_1)" (identifier "FUN_00048cf0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  *param_1 = &PTR_FUN_00338840;\n  if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }\n  return;\n}" ({ "{") (expression_statement "*param_1 = &PTR_FUN_00338840;" (assignment_expression "*param_1 = &PTR_FUN_00338840" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00338840" (& "&") (identifier "PTR_FUN_00338840"))) (; ";")) (if_statement "if (param_1[0xd] != 0) {\n    FUN_001ac470(param_1[0xd]);\n  }" (if "if") (parenthesized_expression "(param_1[0xd] != 0)" (( "(") (binary_expression "param_1[0xd] != 0" (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_001ac470(param_1[0xd]);\n  }" ({ "{") (expression_statement "FUN_001ac470(param_1[0xd]);" (call_expression "FUN_001ac470(param_1[0xd])" (identifier "FUN_001ac470") (argument_list "(param_1[0xd])" (( "(") (subscript_expression "param_1[0xd]" (identifier "param_1") ([ "[") (number_literal "0xd") (] "]")) () ")"))) (; ";")) (} "}"))) (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 */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void ~Target_iamcu(Target_iamcu * this, int __in_chrg) */

void __thiscall
anon_unknown.dwarf_217836::function_1::~function_1(function_1 *this,int __in_chrg)

{
  type_1 var_5;
  
  (this->super_Target_i386).super_Sized_target<32,var_2>.super_Target._vptr_Target =
       (type_2 **)&PTR__Target_i386_00338840;
  var_5 = (this->super_Target_i386).copy_relocs_.entries_.
           super__Vector_base<gold::var_1<9,_32,var_2>::var_3,_std::allocator<gold::var_1<9,_32,var_2>::var_3>var_4>
           ._M_impl._M_start;
  if (var_5 != (type_1)0x0) {
    var_6(var_5);
  }
  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))))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))))) (return_statement))))

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

void MASKED(undefined4 *param_1)

{
  *param_1 = &PTR_FUN_00338840;
  if (param_1[0xd] != 0) {
    FUN_001ac470(param_1[0xd]);
  }
  return;
}

