
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void add_input_section(Output_section_definition * this,
   Input_section_spec * spec, bool keep) */

void __thiscall
gold::Output_section_definition::add_input_section
          (Output_section_definition *this,Input_section_spec *spec,bool keep)

{
  iterator __position;
  Output_section_element_input *this_00;
  Output_section_element *p;
  undefined4 uStack_14;
  
  uStack_14 = 0x15fe6b;
  this_00 = (Output_section_element_input *)operator_new(0x4c);
                    /* try { // try from 0015fe95 to 0015fe99 has its CatchHandler @ 0015fedc */
  Output_section_element_input::Output_section_element_input(this_00,spec,keep);
  __position._M_current =
       (this->elements_).
       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
       ._M_impl._M_finish;
  if (__position._M_current !=
      (this->elements_).
      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
      ._M_impl._M_end_of_storage) {
    *__position._M_current = (Output_section_element *)this_00;
    (this->elements_).
    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
    ._M_impl._M_finish = __position._M_current + 1;
    return;
  }
  p = (Output_section_element *)this_00;
  std::vector<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>::
  _M_realloc_insert<gold::Output_section_element*_const&>(&this->elements_,__position,&p);
  return;
}



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

void FUN_0015fe60(int param_1,undefined4 param_2,undefined1 param_3)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x15fe6b;
  uVar2 = FUN_001e5200(0x4c);
                    /* try { // try from 0015fe95 to 0015fe99 has its CatchHandler @ 0015fedc */
  FUN_0015fb40(uVar2,param_2,param_3);
  puVar1 = *(undefined4 **)(param_1 + 0x3c);
  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {
    *puVar1 = uVar2;
    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;
    return;
  }
  local_20[0] = uVar2;
  FUN_001633a0(param_1 + 0x38,puVar1,local_20);
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x22f195
SUB ESP,0x38
MOV EAX,dword ptr [EBP + 0x10]
MOV ESI,dword ptr [EBP + 0x8]
PUSH 0x4c
MOV dword ptr [EBP + -0x2c],EAX
MOV dword ptr [EBP + -0x30],EBX
CALL 0x001e5200
ADD ESP,0xc
MOV EDI,EAX
MOVZX EAX,byte ptr [EBP + -0x2c]
PUSH EAX
PUSH dword ptr [EBP + 0xc]
PUSH EDI
CALL 0x0015fb40
ADD ESP,0x10
MOV dword ptr [EBP + -0x1c],EDI
MOV EAX,dword ptr [ESI + 0x3c]
CMP EAX,dword ptr [ESI + 0x40]
JZ 0x0015fec0
MOV dword ptr [EAX],EDI
ADD EAX,0x4
MOV dword ptr [ESI + 0x3c],EAX
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
LEA EDX,[EBP + -0x1c]
ADD ESI,0x38
PUSH EDX
PUSH EAX
PUSH ESI
CALL 0x001633a0
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0015fe60(int param_1,undefined4 param_2,undefined1 param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15fe6b;\n  uVar2 = FUN_001e5200(0x4c);\n                    /* try { // try from 0015fe95 to 0015fe99 has its CatchHandler @ 0015fedc */\n  FUN_0015fb40(uVar2,param_2,param_3);\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = uVar2;\n  FUN_001633a0(param_1 + 0x38,puVar1,local_20);\n  return;\n}\n\n" comment (function_definition "void FUN_0015fe60(int param_1,undefined4 param_2,undefined1 param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15fe6b;\n  uVar2 = FUN_001e5200(0x4c);\n                    /* try { // try from 0015fe95 to 0015fe99 has its CatchHandler @ 0015fedc */\n  FUN_0015fb40(uVar2,param_2,param_3);\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = uVar2;\n  FUN_001633a0(param_1 + 0x38,puVar1,local_20);\n  return;\n}" primitive_type (function_declarator "FUN_0015fe60(int param_1,undefined4 param_2,undefined1 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined1 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined1 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15fe6b;\n  uVar2 = FUN_001e5200(0x4c);\n                    /* try { // try from 0015fe95 to 0015fe99 has its CatchHandler @ 0015fedc */\n  FUN_0015fb40(uVar2,param_2,param_3);\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = uVar2;\n  FUN_001633a0(param_1 + 0x38,puVar1,local_20);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x15fe6b;" (assignment_expression "uStack_14 = 0x15fe6b" identifier = number_literal) ;) (expression_statement "uVar2 = FUN_001e5200(0x4c);" (assignment_expression "uVar2 = FUN_001e5200(0x4c)" identifier = (call_expression "FUN_001e5200(0x4c)" identifier (argument_list "(0x4c)" ( number_literal )))) ;) comment (expression_statement "FUN_0015fb40(uVar2,param_2,param_3);" (call_expression "FUN_0015fb40(uVar2,param_2,param_3)" identifier (argument_list "(uVar2,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar1 = *(undefined4 **)(param_1 + 0x3c);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x3c)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar1 != *(undefined4 **)(param_1 + 0x40))" ( (binary_expression "puVar1 != *(undefined4 **)(param_1 + 0x40)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x40)" * (cast_expression "(undefined4 **)(param_1 + 0x40)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) (compound_statement "{\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;" (assignment_expression "*(undefined4 **)(param_1 + 0x3c) = puVar1 + 1" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "local_20[0] = uVar2;" (assignment_expression "local_20[0] = uVar2" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_001633a0(param_1 + 0x38,puVar1,local_20);" (call_expression "FUN_001633a0(param_1 + 0x38,puVar1,local_20)" identifier (argument_list "(param_1 + 0x38,puVar1,local_20)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void add_input_section(Output_section_definition * this,\n   Input_section_spec * spec, bool keep) */\n\nvoid __thiscall\ngold::Output_section_definition::add_input_section\n          (Output_section_definition *this,Input_section_spec *spec,bool keep)\n\n{\n  iterator __position;\n  Output_section_element_input *this_00;\n  Output_section_element *p;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15fe6b;\n  this_00 = (Output_section_element_input *)operator_new(0x4c);\n                    /* try { // try from 0015fe95 to 0015fe99 has its CatchHandler @ 0015fedc */\n  Output_section_element_input::Output_section_element_input(this_00,spec,keep);\n  __position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n       ._M_impl._M_finish;\n  if (__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_end_of_storage) {\n    *__position._M_current = (Output_section_element *)this_00;\n    (this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1;\n    return;\n  }\n  p = (Output_section_element *)this_00;\n  std::vector<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>::\n  _M_realloc_insert<gold::Output_section_element*_const&>(&this->elements_,__position,&p);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall\ngold::Output_section_definition::add_input_section\n          (Output_section_definition *this,Input_section_spec *spec,bool keep)\n\n{\n  iterator __position;\n  Output_section_element_input *this_00;\n  Output_section_element *p;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15fe6b;\n  this_00 = (Output_section_element_input *)operator_new(0x4c);\n                    /* try { // try from 0015fe95 to 0015fe99 has its CatchHandler @ 0015fedc */\n  Output_section_element_input::Output_section_element_input(this_00,spec,keep);\n  __position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n       ._M_impl._M_finish;\n  if (__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_end_of_storage) {\n    *__position._M_current = (Output_section_element *)this_00;\n    (this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1;\n    return;\n  }\n  p = (Output_section_element *)this_00;\n  std::vector<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>::\n  _M_realloc_insert<gold::Output_section_element*_const&>(&this->elements_,__position,&p);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section_definition::" identifier : : identifier : :) (function_declarator "add_input_section\n          (Output_section_definition *this,Input_section_spec *spec,bool keep)" identifier (parameter_list "(Output_section_definition *this,Input_section_spec *spec,bool keep)" ( (parameter_declaration "Output_section_definition *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Input_section_spec *spec" type_identifier (pointer_declarator "*spec" * identifier)) , (parameter_declaration "bool keep" primitive_type identifier) ))) (compound_statement "{\n  iterator __position;\n  Output_section_element_input *this_00;\n  Output_section_element *p;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15fe6b;\n  this_00 = (Output_section_element_input *)operator_new(0x4c);\n                    /* try { // try from 0015fe95 to 0015fe99 has its CatchHandler @ 0015fedc */\n  Output_section_element_input::Output_section_element_input(this_00,spec,keep);\n  __position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n       ._M_impl._M_finish;\n  if (__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_end_of_storage) {\n    *__position._M_current = (Output_section_element *)this_00;\n    (this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1;\n    return;\n  }\n  p = (Output_section_element *)this_00;\n  std::vector<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>::\n  _M_realloc_insert<gold::Output_section_element*_const&>(&this->elements_,__position,&p);\n  return;\n}" { (declaration "iterator __position;" type_identifier identifier ;) (declaration "Output_section_element_input *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "Output_section_element *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x15fe6b;" (assignment_expression "uStack_14 = 0x15fe6b" identifier = number_literal) ;) (expression_statement "this_00 = (Output_section_element_input *)operator_new(0x4c);" (assignment_expression "this_00 = (Output_section_element_input *)operator_new(0x4c)" identifier = (cast_expression "(Output_section_element_input *)operator_new(0x4c)" ( (type_descriptor "Output_section_element_input *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x4c)" identifier (argument_list "(0x4c)" ( number_literal ))))) ;) comment (labeled_statement "Output_section_element_input::Output_section_element_input(this_00,spec,keep);" statement_identifier : (ERROR ":" :) (expression_statement "Output_section_element_input(this_00,spec,keep);" (call_expression "Output_section_element_input(this_00,spec,keep)" identifier (argument_list "(this_00,spec,keep)" ( identifier , identifier , identifier ))) ;)) (expression_statement "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n       ._M_impl._M_finish;" (field_expression "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n       ._M_impl._M_finish" (field_expression "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n       ._M_impl" (binary_expression "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold::Output_section_element*,_std" (assignment_expression "__position._M_current =\n       (this->elements_).\n       super__Vector_base<gold" (field_expression "__position._M_current" identifier . field_identifier) = (binary_expression "(this->elements_).\n       super__Vector_base<gold" (field_expression "(this->elements_).\n       super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_end_of_storage) {\n    *__position._M_current = (Output_section_element *)this_00;\n    (this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1;\n    return;\n  }" if (parenthesized_expression "(__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_end_of_storage)" ( (field_expression "__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl._M_end_of_storage" (field_expression "__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n      ._M_impl" (binary_expression "__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold::Output_section_element*,_std" (binary_expression "__position._M_current !=\n      (this->elements_).\n      super__Vector_base<gold" (field_expression "__position._M_current" identifier . field_identifier) != (binary_expression "(this->elements_).\n      super__Vector_base<gold" (field_expression "(this->elements_).\n      super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    *__position._M_current = (Output_section_element *)this_00;\n    (this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1;\n    return;\n  }" { (expression_statement "*__position._M_current = (Output_section_element *)this_00;" (assignment_expression "*__position._M_current = (Output_section_element *)this_00" (pointer_expression "*__position._M_current" * (field_expression "__position._M_current" identifier . field_identifier)) = (cast_expression "(Output_section_element *)this_00" ( (type_descriptor "Output_section_element *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1;" (assignment_expression "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish = __position._M_current + 1" (field_expression "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl._M_finish" (field_expression "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n    ._M_impl" (binary_expression "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "(this->elements_).\n    super__Vector_base<gold::Output_section_element*,_std" (binary_expression "(this->elements_).\n    super__Vector_base<gold" (field_expression "(this->elements_).\n    super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) = (binary_expression "__position._M_current + 1" (field_expression "__position._M_current" identifier . field_identifier) + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "p = (Output_section_element *)this_00;" (assignment_expression "p = (Output_section_element *)this_00" identifier = (cast_expression "(Output_section_element *)this_00" ( (type_descriptor "Output_section_element *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (ERROR "std::vector<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>::\n  _M_realloc_insert<gold::" (comma_expression "std::vector<gold::Output_section_element*,_std" identifier (ERROR "::vector<gold::Output_section_element*" : : (binary_expression "vector<gold" identifier < identifier) : : identifier *) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : : (binary_expression "Output_section_element*>_>::\n  _M_realloc_insert<gold" (binary_expression "Output_section_element*>_>::\n  _M_realloc_insert" (binary_expression "Output_section_element*>_" identifier * (ERROR ">" >) identifier) > (ERROR "::" : :) identifier) < identifier) : :) (expression_statement "Output_section_element*_const&>(&this->elements_,__position,&p);" (binary_expression "Output_section_element*_const&>(&this->elements_,__position,&p)" (binary_expression "Output_section_element*_const" identifier * identifier) (ERROR "&" &) > (parenthesized_expression "(&this->elements_,__position,&p)" ( (comma_expression "&this->elements_,__position,&p" (pointer_expression "&this->elements_" & (field_expression "this->elements_" identifier -> field_identifier)) , (comma_expression "__position,&p" identifier , (pointer_expression "&p" & identifier))) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0015fe60(int param_1,undefined4 param_2,undefined1 param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15fe6b;\n  uVar2 = FUN_001e5200(0x4c);\n                    \n  FUN_0015fb40(uVar2,param_2,param_3);\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = uVar2;\n  FUN_001633a0(param_1 + 0x38,puVar1,local_20);\n  return;\n}\n\n" (function_definition "void FUN_0015fe60(int param_1,undefined4 param_2,undefined1 param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15fe6b;\n  uVar2 = FUN_001e5200(0x4c);\n                    \n  FUN_0015fb40(uVar2,param_2,param_3);\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = uVar2;\n  FUN_001633a0(param_1 + 0x38,puVar1,local_20);\n  return;\n}" primitive_type (function_declarator "FUN_0015fe60(int param_1,undefined4 param_2,undefined1 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined1 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined1 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15fe6b;\n  uVar2 = FUN_001e5200(0x4c);\n                    \n  FUN_0015fb40(uVar2,param_2,param_3);\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = uVar2;\n  FUN_001633a0(param_1 + 0x38,puVar1,local_20);\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 local_20 [3];" type_identifier (array_declarator "local_20 [3]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x15fe6b;" (assignment_expression "uStack_14 = 0x15fe6b" identifier = number_literal) ;) (expression_statement "uVar2 = FUN_001e5200(0x4c);" (assignment_expression "uVar2 = FUN_001e5200(0x4c)" identifier = (call_expression "FUN_001e5200(0x4c)" identifier (argument_list "(0x4c)" ( number_literal )))) ;) (expression_statement "FUN_0015fb40(uVar2,param_2,param_3);" (call_expression "FUN_0015fb40(uVar2,param_2,param_3)" identifier (argument_list "(uVar2,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar1 = *(undefined4 **)(param_1 + 0x3c);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x3c)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar1 != *(undefined4 **)(param_1 + 0x40))" ( (binary_expression "puVar1 != *(undefined4 **)(param_1 + 0x40)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x40)" * (cast_expression "(undefined4 **)(param_1 + 0x40)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) ))))) )) (compound_statement "{\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;" (assignment_expression "*(undefined4 **)(param_1 + 0x3c) = puVar1 + 1" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "local_20[0] = uVar2;" (assignment_expression "local_20[0] = uVar2" (subscript_expression "local_20[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_001633a0(param_1 + 0x38,puVar1,local_20);" (call_expression "FUN_001633a0(param_1 + 0x38,puVar1,local_20)" identifier (argument_list "(param_1 + 0x38,puVar1,local_20)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0015fe60(int param_1,undefined4 param_2,undefined1 param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15fe6b;\n  uVar2 = FUN_001e5200(0x4c);\n                    \n  FUN_0015fb40(uVar2,param_2,param_3);\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = uVar2;\n  FUN_001633a0(param_1 + 0x38,puVar1,local_20);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0015fe60(int param_1,undefined4 param_2,undefined1 param_3)" (identifier "FUN_0015fe60") (parameter_list "(int param_1,undefined4 param_2,undefined1 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined1 param_3" (type_identifier "undefined1") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  undefined4 local_20 [3];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x15fe6b;\n  uVar2 = FUN_001e5200(0x4c);\n                    \n  FUN_0015fb40(uVar2,param_2,param_3);\n  puVar1 = *(undefined4 **)(param_1 + 0x3c);\n  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }\n  local_20[0] = uVar2;\n  FUN_001633a0(param_1 + 0x38,puVar1,local_20);\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 local_20 [3];" (type_identifier "undefined4") (array_declarator "local_20 [3]" (identifier "local_20") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x15fe6b;" (assignment_expression "uStack_14 = 0x15fe6b" (identifier "uStack_14") (= "=") (number_literal "0x15fe6b")) (; ";")) (expression_statement "uVar2 = FUN_001e5200(0x4c);" (assignment_expression "uVar2 = FUN_001e5200(0x4c)" (identifier "uVar2") (= "=") (call_expression "FUN_001e5200(0x4c)" (identifier "FUN_001e5200") (argument_list "(0x4c)" (( "(") (number_literal "0x4c") () ")")))) (; ";")) (expression_statement "FUN_0015fb40(uVar2,param_2,param_3);" (call_expression "FUN_0015fb40(uVar2,param_2,param_3)" (identifier "FUN_0015fb40") (argument_list "(uVar2,param_2,param_3)" (( "(") (identifier "uVar2") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "puVar1 = *(undefined4 **)(param_1 + 0x3c);" (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x3c)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (if_statement "if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }" (if "if") (parenthesized_expression "(puVar1 != *(undefined4 **)(param_1 + 0x40))" (( "(") (binary_expression "puVar1 != *(undefined4 **)(param_1 + 0x40)" (identifier "puVar1") (!= "!=") (pointer_expression "*(undefined4 **)(param_1 + 0x40)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x40)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")"))))) () ")")) (compound_statement "{\n    *puVar1 = uVar2;\n    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;\n    return;\n  }" ({ "{") (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;" (assignment_expression "*(undefined4 **)(param_1 + 0x3c) = puVar1 + 1" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_20[0] = uVar2;" (assignment_expression "local_20[0] = uVar2" (subscript_expression "local_20[0]" (identifier "local_20") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "FUN_001633a0(param_1 + 0x38,puVar1,local_20);" (call_expression "FUN_001633a0(param_1 + 0x38,puVar1,local_20)" (identifier "FUN_001633a0") (argument_list "(param_1 + 0x38,puVar1,local_20)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) (, ",") (identifier "puVar1") (, ",") (identifier "local_20") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void add_input_section(Output_section_definition * this,
   Input_section_spec * spec, bool keep) */

void __thiscall
var_2::type_1::function_1
          (type_1 *this,type_2 *spec,bool keep)

{
  type_3 __position;
  type_4 *this_00;
  type_5 *p;
  type_6 uStack_14;
  
  uStack_14 = 0x15fe6b;
  this_00 = (type_4 *)var_1(0x4c);
                    /* try { // try from 0015fe95 to 0015fe99 has its CatchHandler @ 0015fedc */
  Output_section_element_input::type_4(this_00,spec,keep);
  __position._M_current =
       (this->elements_).
       super__Vector_base<var_2::type_5*,var_3::allocator<var_2::type_5*>var_4>
       ._M_impl._M_finish;
  if (__position._M_current !=
      (this->elements_).
      super__Vector_base<var_2::type_5*,var_3::allocator<var_2::type_5*>var_4>
      ._M_impl._M_end_of_storage) {
    *__position._M_current = (type_5 *)this_00;
    (this->elements_).
    super__Vector_base<var_2::type_5*,var_3::allocator<var_2::type_5*>var_4>
    ._M_impl._M_finish = __position._M_current + 1;
    return;
  }
  p = (type_5 *)this_00;
  std::vector<var_2::type_5*,var_3::allocator<var_2::type_5*>var_4>::
  _M_realloc_insert<var_2::type_5*var_5&>(&this->elements_,__position,&p);
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (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: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))) (return_statement))) (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)) (identifier) (identifier)))) (return_statement))))

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

void MASKED(int param_1,undefined4 param_2,undefined1 param_3)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  undefined4 local_20 [3];
  undefined4 uStack_14;
  
  uStack_14 = 0x15fe6b;
  uVar2 = FUN_001e5200(0x4c);
                    /* try { // try from 0015fe95 to 0015fe99 has its CatchHandler @ 0015fedc */
  FUN_0015fb40(uVar2,param_2,param_3);
  puVar1 = *(undefined4 **)(param_1 + 0x3c);
  if (puVar1 != *(undefined4 **)(param_1 + 0x40)) {
    *puVar1 = uVar2;
    *(undefined4 **)(param_1 + 0x3c) = puVar1 + 1;
    return;
  }
  local_20[0] = uVar2;
  FUN_001633a0(param_1 + 0x38,puVar1,local_20);
  return;
}

