
/* DWARF original prototype: void add_data(Output_section_definition * this, int size, bool
   is_signed, Expression * val) */

void __thiscall
gold::Output_section_definition::add_data
          (Output_section_definition *this,int size,bool is_signed,Expression *val)

{
  iterator __position;
  Output_section_element *p;
  
  p = (Output_section_element *)operator_new(0x18);
  __position._M_current =
       (this->elements_).
       super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
       ._M_impl._M_finish;
  p->_vptr_Output_section_element = (_func_int_varargs **)&PTR__Output_section_element_data_003e4c18
  ;
  *(int *)&p[1]._vptr_Output_section_element = size;
  *(bool *)((long)&p[1]._vptr_Output_section_element + 4) = is_signed;
  p[2]._vptr_Output_section_element = (_func_int_varargs **)val;
  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 = p;
    (this->elements_).
    super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
    ._M_impl._M_finish = __position._M_current + 1;
    return;
  }
  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_00233040(long param_1,undefined4 param_2,undefined1 param_3,undefined8 param_4)

{
  undefined8 *puVar1;
  undefined8 *local_30 [2];
  
  local_30[0] = (undefined8 *)FUN_002a11b0(0x18);
  puVar1 = *(undefined8 **)(param_1 + 0x68);
  *local_30[0] = &PTR_FUN_003e4c18;
  *(undefined4 *)(local_30[0] + 1) = param_2;
  *(undefined1 *)((long)local_30[0] + 0xc) = param_3;
  local_30[0][2] = param_4;
  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {
    *puVar1 = local_30[0];
    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;
    return;
  }
  FUN_002377e0(param_1 + 0x60,puVar1,local_30);
  return;
}


PUSH R13
MOV R13D,ESI
PUSH R12
MOV R12D,EDX
PUSH RBP
MOV RBP,RCX
PUSH RBX
MOV RBX,RDI
MOV EDI,0x18
SUB RSP,0x18
CALL 0x002a11b0
LEA RCX,[0x3e4c18]
MOV RSI,qword ptr [RBX + 0x68]
MOV qword ptr [RAX],RCX
MOV dword ptr [RAX + 0x8],R13D
MOV byte ptr [RAX + 0xc],R12B
MOV qword ptr [RAX + 0x10],RBP
MOV qword ptr [RSP + 0x8],RAX
CMP RSI,qword ptr [RBX + 0x70]
JZ 0x002330a0
MOV qword ptr [RSI],RAX
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 0x002377e0
ADD RSP,0x18
POP RBX
POP RBP
POP R12
POP R13
RET
(translation_unit "void FUN_00233040(long param_1,undefined4 param_2,undefined1 param_3,undefined8 param_4)\n\n{\n  undefined8 *puVar1;\n  undefined8 *local_30 [2];\n  \n  local_30[0] = (undefined8 *)FUN_002a11b0(0x18);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  *local_30[0] = &PTR_FUN_003e4c18;\n  *(undefined4 *)(local_30[0] + 1) = param_2;\n  *(undefined1 *)((long)local_30[0] + 0xc) = param_3;\n  local_30[0][2] = param_4;\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = local_30[0];\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  FUN_002377e0(param_1 + 0x60,puVar1,local_30);\n  return;\n}\n\n" (function_definition "void FUN_00233040(long param_1,undefined4 param_2,undefined1 param_3,undefined8 param_4)\n\n{\n  undefined8 *puVar1;\n  undefined8 *local_30 [2];\n  \n  local_30[0] = (undefined8 *)FUN_002a11b0(0x18);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  *local_30[0] = &PTR_FUN_003e4c18;\n  *(undefined4 *)(local_30[0] + 1) = param_2;\n  *(undefined1 *)((long)local_30[0] + 0xc) = param_3;\n  local_30[0][2] = param_4;\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = local_30[0];\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  FUN_002377e0(param_1 + 0x60,puVar1,local_30);\n  return;\n}" primitive_type (function_declarator "FUN_00233040(long param_1,undefined4 param_2,undefined1 param_3,undefined8 param_4)" identifier (parameter_list "(long param_1,undefined4 param_2,undefined1 param_3,undefined8 param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined1 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 *local_30 [2];\n  \n  local_30[0] = (undefined8 *)FUN_002a11b0(0x18);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  *local_30[0] = &PTR_FUN_003e4c18;\n  *(undefined4 *)(local_30[0] + 1) = param_2;\n  *(undefined1 *)((long)local_30[0] + 0xc) = param_3;\n  local_30[0][2] = param_4;\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = local_30[0];\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  FUN_002377e0(param_1 + 0x60,puVar1,local_30);\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 *local_30 [2];" type_identifier (pointer_declarator "*local_30 [2]" * (array_declarator "local_30 [2]" identifier [ number_literal ])) ;) (expression_statement "local_30[0] = (undefined8 *)FUN_002a11b0(0x18);" (assignment_expression "local_30[0] = (undefined8 *)FUN_002a11b0(0x18)" (subscript_expression "local_30[0]" identifier [ number_literal ]) = (cast_expression "(undefined8 *)FUN_002a11b0(0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002a11b0(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (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) ))))) ;) (expression_statement "*local_30[0] = &PTR_FUN_003e4c18;" (assignment_expression "*local_30[0] = &PTR_FUN_003e4c18" (pointer_expression "*local_30[0]" * (subscript_expression "local_30[0]" identifier [ number_literal ])) = (pointer_expression "&PTR_FUN_003e4c18" & identifier)) ;) (expression_statement "*(undefined4 *)(local_30[0] + 1) = param_2;" (assignment_expression "*(undefined4 *)(local_30[0] + 1) = param_2" (pointer_expression "*(undefined4 *)(local_30[0] + 1)" * (cast_expression "(undefined4 *)(local_30[0] + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30[0] + 1)" ( (binary_expression "local_30[0] + 1" (subscript_expression "local_30[0]" identifier [ number_literal ]) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)((long)local_30[0] + 0xc) = param_3;" (assignment_expression "*(undefined1 *)((long)local_30[0] + 0xc) = param_3" (pointer_expression "*(undefined1 *)((long)local_30[0] + 0xc)" * (cast_expression "(undefined1 *)((long)local_30[0] + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)local_30[0] + 0xc)" ( (binary_expression "(long)local_30[0] + 0xc" (cast_expression "(long)local_30[0]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (subscript_expression "local_30[0]" identifier [ number_literal ])) + number_literal) )))) = identifier) ;) (expression_statement "local_30[0][2] = param_4;" (assignment_expression "local_30[0][2] = param_4" (subscript_expression "local_30[0][2]" (subscript_expression "local_30[0]" identifier [ number_literal ]) [ number_literal ]) = identifier) ;) (if_statement "if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = local_30[0];\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 = local_30[0];\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar1 = local_30[0];" (assignment_expression "*puVar1 = local_30[0]" (pointer_expression "*puVar1" * identifier) = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) (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 "FUN_002377e0(param_1 + 0x60,puVar1,local_30);" (call_expression "FUN_002377e0(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_data(Output_section_definition * this, int size, bool\n   is_signed, Expression * val) */\n\nvoid __thiscall\ngold::Output_section_definition::add_data\n          (Output_section_definition *this,int size,bool is_signed,Expression *val)\n\n{\n  iterator __position;\n  Output_section_element *p;\n  \n  p = (Output_section_element *)operator_new(0x18);\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  p->_vptr_Output_section_element = (_func_int_varargs **)&PTR__Output_section_element_data_003e4c18\n  ;\n  *(int *)&p[1]._vptr_Output_section_element = size;\n  *(bool *)((long)&p[1]._vptr_Output_section_element + 4) = is_signed;\n  p[2]._vptr_Output_section_element = (_func_int_varargs **)val;\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 = p;\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  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_data\n          (Output_section_definition *this,int size,bool is_signed,Expression *val)\n\n{\n  iterator __position;\n  Output_section_element *p;\n  \n  p = (Output_section_element *)operator_new(0x18);\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  p->_vptr_Output_section_element = (_func_int_varargs **)&PTR__Output_section_element_data_003e4c18\n  ;\n  *(int *)&p[1]._vptr_Output_section_element = size;\n  *(bool *)((long)&p[1]._vptr_Output_section_element + 4) = is_signed;\n  p[2]._vptr_Output_section_element = (_func_int_varargs **)val;\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 = p;\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  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_data\n          (Output_section_definition *this,int size,bool is_signed,Expression *val)" identifier (parameter_list "(Output_section_definition *this,int size,bool is_signed,Expression *val)" ( (parameter_declaration "Output_section_definition *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "int size" primitive_type identifier) , (parameter_declaration "bool is_signed" primitive_type identifier) , (parameter_declaration "Expression *val" type_identifier (pointer_declarator "*val" * identifier)) ))) (compound_statement "{\n  iterator __position;\n  Output_section_element *p;\n  \n  p = (Output_section_element *)operator_new(0x18);\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  p->_vptr_Output_section_element = (_func_int_varargs **)&PTR__Output_section_element_data_003e4c18\n  ;\n  *(int *)&p[1]._vptr_Output_section_element = size;\n  *(bool *)((long)&p[1]._vptr_Output_section_element + 4) = is_signed;\n  p[2]._vptr_Output_section_element = (_func_int_varargs **)val;\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 = p;\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  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 *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (expression_statement "p = (Output_section_element *)operator_new(0x18);" (assignment_expression "p = (Output_section_element *)operator_new(0x18)" identifier = (cast_expression "(Output_section_element *)operator_new(0x18)" ( (type_descriptor "Output_section_element *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (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) ;) (expression_statement "p->_vptr_Output_section_element = (_func_int_varargs **)&PTR__Output_section_element_data_003e4c18\n  ;" (assignment_expression "p->_vptr_Output_section_element = (_func_int_varargs **)&PTR__Output_section_element_data_003e4c18" (field_expression "p->_vptr_Output_section_element" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)&PTR__Output_section_element_data_003e4c18" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&PTR__Output_section_element_data_003e4c18" & identifier))) ;) (expression_statement "*(int *)&p[1]._vptr_Output_section_element = size;" (assignment_expression "*(int *)&p[1]._vptr_Output_section_element = size" (pointer_expression "*(int *)&p[1]._vptr_Output_section_element" * (cast_expression "(int *)&p[1]._vptr_Output_section_element" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p[1]._vptr_Output_section_element" & (field_expression "p[1]._vptr_Output_section_element" (subscript_expression "p[1]" identifier [ number_literal ]) . field_identifier)))) = identifier) ;) (expression_statement "*(bool *)((long)&p[1]._vptr_Output_section_element + 4) = is_signed;" (assignment_expression "*(bool *)((long)&p[1]._vptr_Output_section_element + 4) = is_signed" (pointer_expression "*(bool *)((long)&p[1]._vptr_Output_section_element + 4)" * (cast_expression "(bool *)((long)&p[1]._vptr_Output_section_element + 4)" ( (type_descriptor "bool *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&p[1]._vptr_Output_section_element + 4)" ( (binary_expression "(long)&p[1]._vptr_Output_section_element + 4" (cast_expression "(long)&p[1]._vptr_Output_section_element" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&p[1]._vptr_Output_section_element" & (field_expression "p[1]._vptr_Output_section_element" (subscript_expression "p[1]" identifier [ number_literal ]) . field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "p[2]._vptr_Output_section_element = (_func_int_varargs **)val;" (assignment_expression "p[2]._vptr_Output_section_element = (_func_int_varargs **)val" (field_expression "p[2]._vptr_Output_section_element" (subscript_expression "p[2]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(_func_int_varargs **)val" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) 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 = p;\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 = p;\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 = p;" (assignment_expression "*__position._M_current = p" (pointer_expression "*__position._M_current" * (field_expression "__position._M_current" identifier . field_identifier)) = 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 ;) })) (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_00233040(long param_1,undefined4 param_2,undefined1 param_3,undefined8 param_4)\n\n{\n  undefined8 *puVar1;\n  undefined8 *local_30 [2];\n  \n  local_30[0] = (undefined8 *)FUN_002a11b0(0x18);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  *local_30[0] = &PTR_FUN_003e4c18;\n  *(undefined4 *)(local_30[0] + 1) = param_2;\n  *(undefined1 *)((long)local_30[0] + 0xc) = param_3;\n  local_30[0][2] = param_4;\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = local_30[0];\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  FUN_002377e0(param_1 + 0x60,puVar1,local_30);\n  return;\n}\n\n" (function_definition "void FUN_00233040(long param_1,undefined4 param_2,undefined1 param_3,undefined8 param_4)\n\n{\n  undefined8 *puVar1;\n  undefined8 *local_30 [2];\n  \n  local_30[0] = (undefined8 *)FUN_002a11b0(0x18);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  *local_30[0] = &PTR_FUN_003e4c18;\n  *(undefined4 *)(local_30[0] + 1) = param_2;\n  *(undefined1 *)((long)local_30[0] + 0xc) = param_3;\n  local_30[0][2] = param_4;\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = local_30[0];\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  FUN_002377e0(param_1 + 0x60,puVar1,local_30);\n  return;\n}" primitive_type (function_declarator "FUN_00233040(long param_1,undefined4 param_2,undefined1 param_3,undefined8 param_4)" identifier (parameter_list "(long param_1,undefined4 param_2,undefined1 param_3,undefined8 param_4)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined1 param_3" type_identifier identifier) , (parameter_declaration "undefined8 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 *local_30 [2];\n  \n  local_30[0] = (undefined8 *)FUN_002a11b0(0x18);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  *local_30[0] = &PTR_FUN_003e4c18;\n  *(undefined4 *)(local_30[0] + 1) = param_2;\n  *(undefined1 *)((long)local_30[0] + 0xc) = param_3;\n  local_30[0][2] = param_4;\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = local_30[0];\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  FUN_002377e0(param_1 + 0x60,puVar1,local_30);\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined8 *local_30 [2];" type_identifier (pointer_declarator "*local_30 [2]" * (array_declarator "local_30 [2]" identifier [ number_literal ])) ;) (expression_statement "local_30[0] = (undefined8 *)FUN_002a11b0(0x18);" (assignment_expression "local_30[0] = (undefined8 *)FUN_002a11b0(0x18)" (subscript_expression "local_30[0]" identifier [ number_literal ]) = (cast_expression "(undefined8 *)FUN_002a11b0(0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_002a11b0(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (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) ))))) ;) (expression_statement "*local_30[0] = &PTR_FUN_003e4c18;" (assignment_expression "*local_30[0] = &PTR_FUN_003e4c18" (pointer_expression "*local_30[0]" * (subscript_expression "local_30[0]" identifier [ number_literal ])) = (pointer_expression "&PTR_FUN_003e4c18" & identifier)) ;) (expression_statement "*(undefined4 *)(local_30[0] + 1) = param_2;" (assignment_expression "*(undefined4 *)(local_30[0] + 1) = param_2" (pointer_expression "*(undefined4 *)(local_30[0] + 1)" * (cast_expression "(undefined4 *)(local_30[0] + 1)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30[0] + 1)" ( (binary_expression "local_30[0] + 1" (subscript_expression "local_30[0]" identifier [ number_literal ]) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)((long)local_30[0] + 0xc) = param_3;" (assignment_expression "*(undefined1 *)((long)local_30[0] + 0xc) = param_3" (pointer_expression "*(undefined1 *)((long)local_30[0] + 0xc)" * (cast_expression "(undefined1 *)((long)local_30[0] + 0xc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)local_30[0] + 0xc)" ( (binary_expression "(long)local_30[0] + 0xc" (cast_expression "(long)local_30[0]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (subscript_expression "local_30[0]" identifier [ number_literal ])) + number_literal) )))) = identifier) ;) (expression_statement "local_30[0][2] = param_4;" (assignment_expression "local_30[0][2] = param_4" (subscript_expression "local_30[0][2]" (subscript_expression "local_30[0]" identifier [ number_literal ]) [ number_literal ]) = identifier) ;) (if_statement "if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = local_30[0];\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 = local_30[0];\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }" { (expression_statement "*puVar1 = local_30[0];" (assignment_expression "*puVar1 = local_30[0]" (pointer_expression "*puVar1" * identifier) = (subscript_expression "local_30[0]" identifier [ number_literal ])) ;) (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 "FUN_002377e0(param_1 + 0x60,puVar1,local_30);" (call_expression "FUN_002377e0(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) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (array_declarator IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (subscript_expression IDENT [ LIT ])) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (subscript_expression IDENT [ LIT ])) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression (subscript_expression IDENT [ LIT ]) [ LIT ]) = IDENT) ;) (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) = (subscript_expression IDENT [ LIT ])) ;) (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 (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00233040(long param_1,undefined4 param_2,undefined1 param_3,undefined8 param_4)\n\n{\n  undefined8 *puVar1;\n  undefined8 *local_30 [2];\n  \n  local_30[0] = (undefined8 *)FUN_002a11b0(0x18);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  *local_30[0] = &PTR_FUN_003e4c18;\n  *(undefined4 *)(local_30[0] + 1) = param_2;\n  *(undefined1 *)((long)local_30[0] + 0xc) = param_3;\n  local_30[0][2] = param_4;\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = local_30[0];\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  FUN_002377e0(param_1 + 0x60,puVar1,local_30);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00233040(long param_1,undefined4 param_2,undefined1 param_3,undefined8 param_4)" (identifier "FUN_00233040") (parameter_list "(long param_1,undefined4 param_2,undefined1 param_3,undefined8 param_4)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (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")) (, ",") (parameter_declaration "undefined8 param_4" (type_identifier "undefined8") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined8 *local_30 [2];\n  \n  local_30[0] = (undefined8 *)FUN_002a11b0(0x18);\n  puVar1 = *(undefined8 **)(param_1 + 0x68);\n  *local_30[0] = &PTR_FUN_003e4c18;\n  *(undefined4 *)(local_30[0] + 1) = param_2;\n  *(undefined1 *)((long)local_30[0] + 0xc) = param_3;\n  local_30[0][2] = param_4;\n  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = local_30[0];\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }\n  FUN_002377e0(param_1 + 0x60,puVar1,local_30);\n  return;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined8 *local_30 [2];" (type_identifier "undefined8") (pointer_declarator "*local_30 [2]" (* "*") (array_declarator "local_30 [2]" (identifier "local_30") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "local_30[0] = (undefined8 *)FUN_002a11b0(0x18);" (assignment_expression "local_30[0] = (undefined8 *)FUN_002a11b0(0x18)" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (= "=") (cast_expression "(undefined8 *)FUN_002a11b0(0x18)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_002a11b0(0x18)" (identifier "FUN_002a11b0") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")"))))) (; ";")) (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")) () ")"))))) (; ";")) (expression_statement "*local_30[0] = &PTR_FUN_003e4c18;" (assignment_expression "*local_30[0] = &PTR_FUN_003e4c18" (pointer_expression "*local_30[0]" (* "*") (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]"))) (= "=") (pointer_expression "&PTR_FUN_003e4c18" (& "&") (identifier "PTR_FUN_003e4c18"))) (; ";")) (expression_statement "*(undefined4 *)(local_30[0] + 1) = param_2;" (assignment_expression "*(undefined4 *)(local_30[0] + 1) = param_2" (pointer_expression "*(undefined4 *)(local_30[0] + 1)" (* "*") (cast_expression "(undefined4 *)(local_30[0] + 1)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_30[0] + 1)" (( "(") (binary_expression "local_30[0] + 1" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) (+ "+") (number_literal "1")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined1 *)((long)local_30[0] + 0xc) = param_3;" (assignment_expression "*(undefined1 *)((long)local_30[0] + 0xc) = param_3" (pointer_expression "*(undefined1 *)((long)local_30[0] + 0xc)" (* "*") (cast_expression "(undefined1 *)((long)local_30[0] + 0xc)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)local_30[0] + 0xc)" (( "(") (binary_expression "(long)local_30[0] + 0xc" (cast_expression "(long)local_30[0]" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]"))) (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (expression_statement "local_30[0][2] = param_4;" (assignment_expression "local_30[0][2] = param_4" (subscript_expression "local_30[0][2]" (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]")) ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "param_4")) (; ";")) (if_statement "if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {\n    *puVar1 = local_30[0];\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 = local_30[0];\n    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;\n    return;\n  }" ({ "{") (expression_statement "*puVar1 = local_30[0];" (assignment_expression "*puVar1 = local_30[0]" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (subscript_expression "local_30[0]" (identifier "local_30") ([ "[") (number_literal "0") (] "]"))) (; ";")) (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 "FUN_002377e0(param_1 + 0x60,puVar1,local_30);" (call_expression "FUN_002377e0(param_1 + 0x60,puVar1,local_30)" (identifier "FUN_002377e0") (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_data(Output_section_definition * this, int size, bool
   is_signed, Expression * val) */

void __thiscall
var_2::type_1::function_1
          (type_1 *this,int size,bool is_signed,type_2 *val)

{
  type_3 __position;
  type_4 *p;
  
  p = (type_4 *)var_1(0x18);
  __position._M_current =
       (this->elements_).
       super__Vector_base<var_2::type_4*,var_3::allocator<var_2::type_4*>var_4>
       ._M_impl._M_finish;
  p->_vptr_Output_section_element = (type_5 **)&PTR__Output_section_element_data_003e4c18
  ;
  *(int *)&p[1]._vptr_Output_section_element = size;
  *(bool *)((long)&p[1]._vptr_Output_section_element + 4) = is_signed;
  p[2]._vptr_Output_section_element = (type_5 **)val;
  if (__position._M_current !=
      (this->elements_).
      super__Vector_base<var_2::type_4*,var_3::allocator<var_2::type_4*>var_4>
      ._M_impl._M_end_of_storage) {
    *__position._M_current = p;
    (this->elements_).
    super__Vector_base<var_2::type_4*,var_3::allocator<var_2::type_4*>var_4>
    ._M_impl._M_finish = __position._M_current + 1;
    return;
  }
  std::vector<var_2::type_4*,var_3::allocator<var_2::type_4*>var_4>::
  _M_realloc_insert<var_2::type_4*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)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (array_declarator declarator: (identifier) size: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (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))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (subscript_expression argument: (identifier) index: (number_literal))) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (subscript_expression argument: (identifier) index: (number_literal)) index: (number_literal)) right: (identifier))) (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: (subscript_expression argument: (identifier) index: (number_literal)))) (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 (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier)))) (return_statement))))

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

{
  undefined8 *puVar1;
  undefined8 *local_30 [2];
  
  local_30[0] = (undefined8 *)FUN_002a11b0(0x18);
  puVar1 = *(undefined8 **)(param_1 + 0x68);
  *local_30[0] = &PTR_FUN_003e4c18;
  *(undefined4 *)(local_30[0] + 1) = param_2;
  *(undefined1 *)((long)local_30[0] + 0xc) = param_3;
  local_30[0][2] = param_4;
  if (puVar1 != *(undefined8 **)(param_1 + 0x70)) {
    *puVar1 = local_30[0];
    *(undefined8 **)(param_1 + 0x68) = puVar1 + 1;
    return;
  }
  FUN_002377e0(param_1 + 0x60,puVar1,local_30);
  return;
}

