
/* 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;
  
  this_00 = (Output_section_element_input *)operator_new(0x78);
                    /* try { // try from 0025b0b9 to 0025b0bd has its CatchHandler @ 0025b101 */
  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;
}



void FUN_0025b090(long param_1,undefined8 param_2,undefined1 param_3)

{
  undefined8 *puVar1;
  undefined8 uVar2;
  undefined8 local_30 [2];
  
  uVar2 = FUN_002d9490(0x78);
                    /* try { // try from 0025b0b9 to 0025b0bd has its CatchHandler @ 0025b101 */
  FUN_0025adb0(uVar2,param_2,param_3);
  puVar1 = *(undefined8 **)(param_1 + 0x68);
  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {
    *puVar1 = uVar2;
    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;
    return;
  }
  local_30[0] = uVar2;
  FUN_0025dcc0(param_1 + 0x60,puVar1,local_30);
  return;
}


PUSH R13
MOV R13,RSI
PUSH R12
PUSH RBP
MOV EBP,EDX
PUSH RBX
MOV RBX,RDI
MOV EDI,0x78
SUB RSP,0x18
CALL 0x002d9490
MOVZX EDX,BPL
MOV RSI,R13
MOV RDI,RAX
MOV R12,RAX
CALL 0x0025adb0
MOV qword ptr [RSP + 0x8],R12
MOV RSI,qword ptr [RBX + 0x68]
CMP RSI,qword ptr [RBX + 0x70]
JZ 0x0025b0e8
MOV qword ptr [RSI],R12
ADD RSI,0x8
MOV qword ptr [RBX + 0x68],RSI
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
RET
LEA RDX,[RSP + 0x8]
LEA RDI,[RBX + 0x60]
CALL 0x0025dcc0
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
RET
(translation_unit "void FUN_0025b090(long param_1,undefined8 param_2,undefined1 param_3)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 local_30 [2];\n  \n  uVar2 = FUN_002d9490(0x78);\n                    /* try { // try from 0025b0b9 to 0025b0bd has its CatchHandler @ 0025b101 */\n  FUN_0025adb0(uVar2,param_2,param_3);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  local_30[0] = uVar2;\n  FUN_0025dcc0(param_1 + 0x60,puVar1,local_30);\n  return;\n}\n\n" (function_definition "void FUN_0025b090(long param_1,undefined8 param_2,undefined1 param_3)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 local_30 [2];\n  \n  uVar2 = FUN_002d9490(0x78);\n                    /* try { // try from 0025b0b9 to 0025b0bd has its CatchHandler @ 0025b101 */\n  FUN_0025adb0(uVar2,param_2,param_3);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  local_30[0] = uVar2;\n  FUN_0025dcc0(param_1 + 0x60,puVar1,local_30);\n  return;\n}" primitive_type (function_declarator "FUN_0025b090(long param_1,undefined8 param_2,undefined1 param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined1 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined1 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 local_30 [2];\n  \n  uVar2 = FUN_002d9490(0x78);\n                    /* try { // try from 0025b0b9 to 0025b0bd has its CatchHandler @ 0025b101 */\n  FUN_0025adb0(uVar2,param_2,param_3);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  local_30[0] = uVar2;\n  FUN_0025dcc0(param_1 + 0x60,puVar1,local_30);\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 local_30 [2];" type_identifier (array_declarator "local_30 [2]" identifier [ number_literal ]) ;) (expression_statement "uVar2 = FUN_002d9490(0x78);" (assignment_expression "uVar2 = FUN_002d9490(0x78)" identifier = (call_expression "FUN_002d9490(0x78)" identifier (argument_list "(0x78)" ( number_literal )))) ;) comment (expression_statement "FUN_0025adb0(uVar2,param_2,param_3);" (call_expression "FUN_0025adb0(uVar2,param_2,param_3)" identifier (argument_list "(uVar2,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar1 = *(undefined8 **)(param_1 + 0x68);" (assignment_expression "puVar1 = *(undefined8 **)(param_1 + 0x68)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x68)" * (cast_expression "(undefined8 **)(param_1 + 0x68)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) ;) (if_statement "if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar1 != *(undefined8 **)(param_1 + 0x70))" ( (binary_expression "puVar1 != *(undefined8 **)(param_1 + 0x70)" identifier != (pointer_expression "*(undefined8 **)(param_1 + 0x70)" * (cast_expression "(undefined8 **)(param_1 + 0x70)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) ))))) )) (compound_statement "{\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined8 **)(param_1 + 0x68) = puVar1 + 1;" (assignment_expression "*(undefined8 **)(param_1 + 0x68) = puVar1 + 1" (pointer_expression "*(undefined8 **)(param_1 + 0x68)" * (cast_expression "(undefined8 **)(param_1 + 0x68)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "local_30[0] = uVar2;" (assignment_expression "local_30[0] = uVar2" (subscript_expression "local_30[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_0025dcc0(param_1 + 0x60,puVar1,local_30);" (call_expression "FUN_0025dcc0(param_1 + 0x60,puVar1,local_30)" identifier (argument_list "(param_1 + 0x60,puVar1,local_30)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* 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  \n  this_00 = (Output_section_element_input *)operator_new(0x78);\n                    /* try { // try from 0025b0b9 to 0025b0bd has its CatchHandler @ 0025b101 */\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 (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  \n  this_00 = (Output_section_element_input *)operator_new(0x78);\n                    /* try { // try from 0025b0b9 to 0025b0bd has its CatchHandler @ 0025b101 */\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  \n  this_00 = (Output_section_element_input *)operator_new(0x78);\n                    /* try { // try from 0025b0b9 to 0025b0bd has its CatchHandler @ 0025b101 */\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) ;) (expression_statement "this_00 = (Output_section_element_input *)operator_new(0x78);" (assignment_expression "this_00 = (Output_section_element_input *)operator_new(0x78)" identifier = (cast_expression "(Output_section_element_input *)operator_new(0x78)" ( (type_descriptor "Output_section_element_input *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x78)" identifier (argument_list "(0x78)" ( 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_0025b090(long param_1,undefined8 param_2,undefined1 param_3)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 local_30 [2];\n  \n  uVar2 = FUN_002d9490(0x78);\n                    \n  FUN_0025adb0(uVar2,param_2,param_3);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  local_30[0] = uVar2;\n  FUN_0025dcc0(param_1 + 0x60,puVar1,local_30);\n  return;\n}\n\n" (function_definition "void FUN_0025b090(long param_1,undefined8 param_2,undefined1 param_3)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 local_30 [2];\n  \n  uVar2 = FUN_002d9490(0x78);\n                    \n  FUN_0025adb0(uVar2,param_2,param_3);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  local_30[0] = uVar2;\n  FUN_0025dcc0(param_1 + 0x60,puVar1,local_30);\n  return;\n}" primitive_type (function_declarator "FUN_0025b090(long param_1,undefined8 param_2,undefined1 param_3)" identifier (parameter_list "(long param_1,undefined8 param_2,undefined1 param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined8 param_2" type_identifier identifier) , (parameter_declaration "undefined1 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 local_30 [2];\n  \n  uVar2 = FUN_002d9490(0x78);\n                    \n  FUN_0025adb0(uVar2,param_2,param_3);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  local_30[0] = uVar2;\n  FUN_0025dcc0(param_1 + 0x60,puVar1,local_30);\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "undefined8 local_30 [2];" type_identifier (array_declarator "local_30 [2]" identifier [ number_literal ]) ;) (expression_statement "uVar2 = FUN_002d9490(0x78);" (assignment_expression "uVar2 = FUN_002d9490(0x78)" identifier = (call_expression "FUN_002d9490(0x78)" identifier (argument_list "(0x78)" ( number_literal )))) ;) (expression_statement "FUN_0025adb0(uVar2,param_2,param_3);" (call_expression "FUN_0025adb0(uVar2,param_2,param_3)" identifier (argument_list "(uVar2,param_2,param_3)" ( identifier , identifier , identifier ))) ;) (expression_statement "puVar1 = *(undefined8 **)(param_1 + 0x68);" (assignment_expression "puVar1 = *(undefined8 **)(param_1 + 0x68)" identifier = (pointer_expression "*(undefined8 **)(param_1 + 0x68)" * (cast_expression "(undefined8 **)(param_1 + 0x68)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) ))))) ;) (if_statement "if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }" if (parenthesized_expression "(puVar1 != *(undefined8 **)(param_1 + 0x70))" ( (binary_expression "puVar1 != *(undefined8 **)(param_1 + 0x70)" identifier != (pointer_expression "*(undefined8 **)(param_1 + 0x70)" * (cast_expression "(undefined8 **)(param_1 + 0x70)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) ))))) )) (compound_statement "{\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" * identifier) = identifier) ;) (expression_statement "*(undefined8 **)(param_1 + 0x68) = puVar1 + 1;" (assignment_expression "*(undefined8 **)(param_1 + 0x68) = puVar1 + 1" (pointer_expression "*(undefined8 **)(param_1 + 0x68)" * (cast_expression "(undefined8 **)(param_1 + 0x68)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x68)" ( (binary_expression "param_1 + 0x68" identifier + number_literal) )))) = (binary_expression "puVar1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })) (expression_statement "local_30[0] = uVar2;" (assignment_expression "local_30[0] = uVar2" (subscript_expression "local_30[0]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_0025dcc0(param_1 + 0x60,puVar1,local_30);" (call_expression "FUN_0025dcc0(param_1 + 0x60,puVar1,local_30)" identifier (argument_list "(param_1 + 0x60,puVar1,local_30)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) 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 ]) ;) (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_0025b090(long param_1,undefined8 param_2,undefined1 param_3)\n\n{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 local_30 [2];\n  \n  uVar2 = FUN_002d9490(0x78);\n                    \n  FUN_0025adb0(uVar2,param_2,param_3);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  local_30[0] = uVar2;\n  FUN_0025dcc0(param_1 + 0x60,puVar1,local_30);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0025b090(long param_1,undefined8 param_2,undefined1 param_3)" (identifier "FUN_0025b090") (parameter_list "(long param_1,undefined8 param_2,undefined1 param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) (, ",") (parameter_declaration "undefined1 param_3" (type_identifier "undefined1") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 uVar2;\n  undefined8 local_30 [2];\n  \n  uVar2 = FUN_002d9490(0x78);\n                    \n  FUN_0025adb0(uVar2,param_2,param_3);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  local_30[0] = uVar2;\n  FUN_0025dcc0(param_1 + 0x60,puVar1,local_30);\n  return;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined8 uVar2;" (type_identifier "undefined8") (identifier "uVar2") (; ";")) (declaration "undefined8 local_30 [2];" (type_identifier "undefined8") (array_declarator "local_30 [2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]")) (; ";")) (expression_statement "uVar2 = FUN_002d9490(0x78);" (assignment_expression "uVar2 = FUN_002d9490(0x78)" (identifier "uVar2") (= "=") (call_expression "FUN_002d9490(0x78)" (identifier "FUN_002d9490") (argument_list "(0x78)" (( "(") (number_literal "0x78") () ")")))) (; ";")) (expression_statement "FUN_0025adb0(uVar2,param_2,param_3);" (call_expression "FUN_0025adb0(uVar2,param_2,param_3)" (identifier "FUN_0025adb0") (argument_list "(uVar2,param_2,param_3)" (( "(") (identifier "uVar2") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "puVar1 = *(undefined8 **)(param_1 + 0x68);" (assignment_expression "puVar1 = *(undefined8 **)(param_1 + 0x68)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined8 **)(param_1 + 0x68)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x68)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")"))))) (; ";")) (if_statement "if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }" (if "if") (parenthesized_expression "(puVar1 != *(undefined8 **)(param_1 + 0x70))" (( "(") (binary_expression "puVar1 != *(undefined8 **)(param_1 + 0x70)" (identifier "puVar1") (!= "!=") (pointer_expression "*(undefined8 **)(param_1 + 0x70)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x70)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x70)" (( "(") (binary_expression "param_1 + 0x70" (identifier "param_1") (+ "+") (number_literal "0x70")) () ")"))))) () ")")) (compound_statement "{\n    *puVar1 = uVar2;\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }" ({ "{") (expression_statement "*puVar1 = uVar2;" (assignment_expression "*puVar1 = uVar2" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined8 **)(param_1 + 0x68) = puVar1 + 1;" (assignment_expression "*(undefined8 **)(param_1 + 0x68) = puVar1 + 1" (pointer_expression "*(undefined8 **)(param_1 + 0x68)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x68)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x68)" (( "(") (binary_expression "param_1 + 0x68" (identifier "param_1") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (binary_expression "puVar1 + 1" (identifier "puVar1") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "local_30[0] = uVar2;" (assignment_expression "local_30[0] = uVar2" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "FUN_0025dcc0(param_1 + 0x60,puVar1,local_30);" (call_expression "FUN_0025dcc0(param_1 + 0x60,puVar1,local_30)" (identifier "FUN_0025dcc0") (argument_list "(param_1 + 0x60,puVar1,local_30)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) (, ",") (identifier "puVar1") (, ",") (identifier "local_30") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* 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;
  
  this_00 = (type_4 *)var_1(0x78);
                    /* try { // try from 0025b0b9 to 0025b0bd has its CatchHandler @ 0025b101 */
  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: (sized_type_specifier) 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))) (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))))

void MASKED(long param_1,undefined8 param_2,undefined1 param_3)

{
  undefined8 *puVar1;
  undefined8 uVar2;
  undefined8 local_30 [2];
  
  uVar2 = FUN_002d9490(0x78);
                    /* try { // try from 0025b0b9 to 0025b0bd has its CatchHandler @ 0025b101 */
  FUN_0025adb0(uVar2,param_2,param_3);
  puVar1 = *(undefined8 **)(param_1 + 0x68);
  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {
    *puVar1 = uVar2;
    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;
    return;
  }
  local_30[0] = uVar2;
  FUN_0025dcc0(param_1 + 0x60,puVar1,local_30);
  return;
}

