
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* DWARF original prototype: void start_output_section(Script_sections * this, char * name, size_t
   namelen, Parser_output_section_header * header) */

void __thiscall
gold::Script_sections::start_output_section
          (Script_sections *this,char *name,size_t namelen,Parser_output_section_header *header)

{
  Output_section_definition *this_00;
  int iVar1;
  Output_section_definition *pOVar2;
  undefined *puVar3;
  Sections_elements *pSVar4;
  
  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);
                    /* try { // try from 0020e478 to 0020e47f has its CatchHandler @ 0020e4fc */
  Output_section_definition::Output_section_definition(this_00,name,namelen,header);
  pSVar4 = this->sections_elements_;
  iVar1 = (*(code *)PTR_operator_new_0043233c)(0xc);
  puVar3 = PTR__M_hook_00432dd0;
  *(Output_section_definition **)(iVar1 + 8) = this_00;
  (*(code *)puVar3)(iVar1,pSVar4);
  pOVar2 = this->output_section_;
  (pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).
  _M_impl._M_node._M_size =
       (pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)
       ._M_impl._M_node._M_size + 1;
  if (pOVar2 == (Output_section_definition *)0x0) {
    this->output_section_ = this_00;
    return;
  }
  puVar3 = PTR_s__0043226c + -0x5d54;
  (*(code *)PTR_do_gold_unreachable_004323c4)(puVar3,0xd75,PTR_s__0043226c + -0x541c);
                    /* catch() { ... } // from try @ 0020e478 with catch @ 0020e4fc */
  (*(code *)PTR_operator_delete_004323c0)(this_00,0x68);
  (*(code *)PTR__Unwind_Resume_00432258)(puVar3);
  return;
}



/* gold::Script_sections::start_output_section(char const*, unsigned int,
   gold::Parser_output_section_header const*) */

void __thiscall
gold::Script_sections::start_output_section
          (Script_sections *this,char *param_1,uint param_2,Parser_output_section_header *param_3)

{
  undefined *puVar1;
  Output_section_definition *this_00;
  int iVar2;
  int iVar3;
  
  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);
                    /* try { // try from 0020e478 to 0020e47f has its CatchHandler @ 0020e4fc */
  Output_section_definition::Output_section_definition(this_00,param_1,param_2,param_3);
  iVar3 = *(int *)(this + 4);
  iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc);
  puVar1 = PTR__M_hook_00432dd0;
  *(Output_section_definition **)(iVar2 + 8) = this_00;
  (*(code *)puVar1)(iVar2,iVar3);
  iVar2 = *(int *)(this + 8);
  *(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1;
  if (iVar2 == 0) {
    *(Output_section_definition **)(this + 8) = this_00;
    return;
  }
  (*(code *)PTR_do_gold_unreachable_004323c4)
            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c);
  return;
}


lui gp,0x23
addiu gp,gp,-0x4250
addu gp,gp,t9
addiu sp,sp,-0x28
lw t9,-0x7e94(gp)
sw s2,0x20(sp)
or s2,a0,zero
li a0,0x68
sw gp,0x10(sp)
sw s0,0x18(sp)
sw a1,0x2c(sp)
sw a2,0x30(sp)
sw a3,0x34(sp)
sw ra,0x24(sp)
jalr t9
_sw s1,0x1c(sp)
lw gp,0x10(sp)
or a0,v0,zero
lw a3,0x34(sp)
or s0,v0,zero
lw a2,0x30(sp)
lw t9,-0x5138(gp)
bal 0x0020e34c
_lw a1,0x2c(sp)
lw gp,0x10(sp)
li a0,0xc
lw t9,-0x7e94(gp)
jalr t9
_lw s1,0x4(s2)
or a1,s1,zero
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x7400(gp)
jalr t9
_sw s0,0x8(v0)
lw v0,0x8(s1)
lw v1,0x8(s2)
lw gp,0x10(sp)
addiu v0,v0,0x1
bne v1,zero,0x0020e4e0
_sw v0,0x8(s1)
lw ra,0x24(sp)
lw s1,0x1c(sp)
sw s0,0x8(s2)
lw s2,0x20(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw a2,-0x7f64(gp)
li a1,0xd75
lw a0,-0x7f64(gp)
lw t9,-0x7e0c(gp)
addiu a2,a2,-0x541c
jalr t9
_addiu a0,a0,-0x5d54
(translation_unit "/* gold::Script_sections::start_output_section(char const*, unsigned int,\n   gold::Parser_output_section_header const*) */\n\nvoid __thiscall\ngold::Script_sections::start_output_section\n          (Script_sections *this,char *param_1,uint param_2,Parser_output_section_header *param_3)\n\n{\n  undefined *puVar1;\n  Output_section_definition *this_00;\n  int iVar2;\n  int iVar3;\n  \n  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);\n                    /* try { // try from 0020e478 to 0020e47f has its CatchHandler @ 0020e4fc */\n  Output_section_definition::Output_section_definition(this_00,param_1,param_2,param_3);\n  iVar3 = *(int *)(this + 4);\n  iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc);\n  puVar1 = PTR__M_hook_00432dd0;\n  *(Output_section_definition **)(iVar2 + 8) = this_00;\n  (*(code *)puVar1)(iVar2,iVar3);\n  iVar2 = *(int *)(this + 8);\n  *(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1;\n  if (iVar2 == 0) {\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c);\n  return;\n}\n\n" comment (function_definition "void __thiscall\ngold::Script_sections::start_output_section\n          (Script_sections *this,char *param_1,uint param_2,Parser_output_section_header *param_3)\n\n{\n  undefined *puVar1;\n  Output_section_definition *this_00;\n  int iVar2;\n  int iVar3;\n  \n  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);\n                    /* try { // try from 0020e478 to 0020e47f has its CatchHandler @ 0020e4fc */\n  Output_section_definition::Output_section_definition(this_00,param_1,param_2,param_3);\n  iVar3 = *(int *)(this + 4);\n  iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc);\n  puVar1 = PTR__M_hook_00432dd0;\n  *(Output_section_definition **)(iVar2 + 8) = this_00;\n  (*(code *)puVar1)(iVar2,iVar3);\n  iVar2 = *(int *)(this + 8);\n  *(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1;\n  if (iVar2 == 0) {\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_sections::" identifier : : identifier : :) (function_declarator "start_output_section\n          (Script_sections *this,char *param_1,uint param_2,Parser_output_section_header *param_3)" identifier (parameter_list "(Script_sections *this,char *param_1,uint param_2,Parser_output_section_header *param_3)" ( (parameter_declaration "Script_sections *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "Parser_output_section_header *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  Output_section_definition *this_00;\n  int iVar2;\n  int iVar3;\n  \n  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);\n                    /* try { // try from 0020e478 to 0020e47f has its CatchHandler @ 0020e4fc */\n  Output_section_definition::Output_section_definition(this_00,param_1,param_2,param_3);\n  iVar3 = *(int *)(this + 4);\n  iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc);\n  puVar1 = PTR__M_hook_00432dd0;\n  *(Output_section_definition **)(iVar2 + 8) = this_00;\n  (*(code *)puVar1)(iVar2,iVar3);\n  iVar2 = *(int *)(this + 8);\n  *(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1;\n  if (iVar2 == 0) {\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "Output_section_definition *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);" (assignment_expression "this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68)" identifier = (cast_expression "(Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68)" ( (type_descriptor "Output_section_definition *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_operator_new_0043233c)(0x68)" (parenthesized_expression "(*(code *)PTR_operator_new_0043233c)" ( (pointer_expression "*(code *)PTR_operator_new_0043233c" * (cast_expression "(code *)PTR_operator_new_0043233c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x68)" ( number_literal ))))) ;) comment (labeled_statement "Output_section_definition::Output_section_definition(this_00,param_1,param_2,param_3);" statement_identifier : (ERROR ":" :) (expression_statement "Output_section_definition(this_00,param_1,param_2,param_3);" (call_expression "Output_section_definition(this_00,param_1,param_2,param_3)" identifier (argument_list "(this_00,param_1,param_2,param_3)" ( identifier , identifier , identifier , identifier ))) ;)) (expression_statement "iVar3 = *(int *)(this + 4);" (assignment_expression "iVar3 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc);" (assignment_expression "iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc)" identifier = (call_expression "(*(code *)PTR_operator_new_0043233c)(0xc)" (parenthesized_expression "(*(code *)PTR_operator_new_0043233c)" ( (pointer_expression "*(code *)PTR_operator_new_0043233c" * (cast_expression "(code *)PTR_operator_new_0043233c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal )))) ;) (expression_statement "puVar1 = PTR__M_hook_00432dd0;" (assignment_expression "puVar1 = PTR__M_hook_00432dd0" identifier = identifier) ;) (expression_statement "*(Output_section_definition **)(iVar2 + 8) = this_00;" (assignment_expression "*(Output_section_definition **)(iVar2 + 8) = this_00" (pointer_expression "*(Output_section_definition **)(iVar2 + 8)" * (cast_expression "(Output_section_definition **)(iVar2 + 8)" ( (type_descriptor "Output_section_definition **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)(iVar2,iVar3);" (call_expression "(*(code *)puVar1)(iVar2,iVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,iVar3)" ( identifier , identifier ))) ;) (expression_statement "iVar2 = *(int *)(this + 8);" (assignment_expression "iVar2 = *(int *)(this + 8)" identifier = (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1;" (assignment_expression "*(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 8) + 1" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (iVar2 == 0) {\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }" { (expression_statement "*(Output_section_definition **)(this + 8) = this_00;" (assignment_expression "*(Output_section_definition **)(this + 8) = this_00" (pointer_expression "*(Output_section_definition **)(this + 8)" * (cast_expression "(Output_section_definition **)(this + 8)" ( (type_descriptor "Output_section_definition **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c);" (call_expression "(*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004323c4)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004323c4" * (cast_expression "(code *)PTR_do_gold_unreachable_004323c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c)" ( (binary_expression "PTR_DAT_0043226c + -0x5d54" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0043226c + -0x541c" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */\n/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */\n/* DWARF original prototype: void start_output_section(Script_sections * this, char * name, size_t\n   namelen, Parser_output_section_header * header) */\n\nvoid __thiscall\ngold::Script_sections::start_output_section\n          (Script_sections *this,char *name,size_t namelen,Parser_output_section_header *header)\n\n{\n  Output_section_definition *this_00;\n  int iVar1;\n  Output_section_definition *pOVar2;\n  undefined *puVar3;\n  Sections_elements *pSVar4;\n  \n  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);\n                    /* try { // try from 0020e478 to 0020e47f has its CatchHandler @ 0020e4fc */\n  Output_section_definition::Output_section_definition(this_00,name,namelen,header);\n  pSVar4 = this->sections_elements_;\n  iVar1 = (*(code *)PTR_operator_new_0043233c)(0xc);\n  puVar3 = PTR__M_hook_00432dd0;\n  *(Output_section_definition **)(iVar1 + 8) = this_00;\n  (*(code *)puVar3)(iVar1,pSVar4);\n  pOVar2 = this->output_section_;\n  (pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node._M_size =\n       (pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size + 1;\n  if (pOVar2 == (Output_section_definition *)0x0) {\n    this->output_section_ = this_00;\n    return;\n  }\n  puVar3 = PTR_s__0043226c + -0x5d54;\n  (*(code *)PTR_do_gold_unreachable_004323c4)(puVar3,0xd75,PTR_s__0043226c + -0x541c);\n                    /* catch() { ... } // from try @ 0020e478 with catch @ 0020e4fc */\n  (*(code *)PTR_operator_delete_004323c0)(this_00,0x68);\n  (*(code *)PTR__Unwind_Resume_00432258)(puVar3);\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Script_sections::start_output_section\n          (Script_sections *this,char *name,size_t namelen,Parser_output_section_header *header)\n\n{\n  Output_section_definition *this_00;\n  int iVar1;\n  Output_section_definition *pOVar2;\n  undefined *puVar3;\n  Sections_elements *pSVar4;\n  \n  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);\n                    /* try { // try from 0020e478 to 0020e47f has its CatchHandler @ 0020e4fc */\n  Output_section_definition::Output_section_definition(this_00,name,namelen,header);\n  pSVar4 = this->sections_elements_;\n  iVar1 = (*(code *)PTR_operator_new_0043233c)(0xc);\n  puVar3 = PTR__M_hook_00432dd0;\n  *(Output_section_definition **)(iVar1 + 8) = this_00;\n  (*(code *)puVar3)(iVar1,pSVar4);\n  pOVar2 = this->output_section_;\n  (pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node._M_size =\n       (pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size + 1;\n  if (pOVar2 == (Output_section_definition *)0x0) {\n    this->output_section_ = this_00;\n    return;\n  }\n  puVar3 = PTR_s__0043226c + -0x5d54;\n  (*(code *)PTR_do_gold_unreachable_004323c4)(puVar3,0xd75,PTR_s__0043226c + -0x541c);\n                    /* catch() { ... } // from try @ 0020e478 with catch @ 0020e4fc */\n  (*(code *)PTR_operator_delete_004323c0)(this_00,0x68);\n  (*(code *)PTR__Unwind_Resume_00432258)(puVar3);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_sections::" identifier : : identifier : :) (function_declarator "start_output_section\n          (Script_sections *this,char *name,size_t namelen,Parser_output_section_header *header)" identifier (parameter_list "(Script_sections *this,char *name,size_t namelen,Parser_output_section_header *header)" ( (parameter_declaration "Script_sections *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "size_t namelen" primitive_type identifier) , (parameter_declaration "Parser_output_section_header *header" type_identifier (pointer_declarator "*header" * identifier)) ))) (compound_statement "{\n  Output_section_definition *this_00;\n  int iVar1;\n  Output_section_definition *pOVar2;\n  undefined *puVar3;\n  Sections_elements *pSVar4;\n  \n  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);\n                    /* try { // try from 0020e478 to 0020e47f has its CatchHandler @ 0020e4fc */\n  Output_section_definition::Output_section_definition(this_00,name,namelen,header);\n  pSVar4 = this->sections_elements_;\n  iVar1 = (*(code *)PTR_operator_new_0043233c)(0xc);\n  puVar3 = PTR__M_hook_00432dd0;\n  *(Output_section_definition **)(iVar1 + 8) = this_00;\n  (*(code *)puVar3)(iVar1,pSVar4);\n  pOVar2 = this->output_section_;\n  (pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node._M_size =\n       (pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size + 1;\n  if (pOVar2 == (Output_section_definition *)0x0) {\n    this->output_section_ = this_00;\n    return;\n  }\n  puVar3 = PTR_s__0043226c + -0x5d54;\n  (*(code *)PTR_do_gold_unreachable_004323c4)(puVar3,0xd75,PTR_s__0043226c + -0x541c);\n                    /* catch() { ... } // from try @ 0020e478 with catch @ 0020e4fc */\n  (*(code *)PTR_operator_delete_004323c0)(this_00,0x68);\n  (*(code *)PTR__Unwind_Resume_00432258)(puVar3);\n  return;\n}" { (declaration "Output_section_definition *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "Output_section_definition *pOVar2;" type_identifier (pointer_declarator "*pOVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "Sections_elements *pSVar4;" type_identifier (pointer_declarator "*pSVar4" * identifier) ;) (expression_statement "this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);" (assignment_expression "this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68)" identifier = (cast_expression "(Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68)" ( (type_descriptor "Output_section_definition *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_operator_new_0043233c)(0x68)" (parenthesized_expression "(*(code *)PTR_operator_new_0043233c)" ( (pointer_expression "*(code *)PTR_operator_new_0043233c" * (cast_expression "(code *)PTR_operator_new_0043233c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x68)" ( number_literal ))))) ;) comment (labeled_statement "Output_section_definition::Output_section_definition(this_00,name,namelen,header);" statement_identifier : (ERROR ":" :) (expression_statement "Output_section_definition(this_00,name,namelen,header);" (call_expression "Output_section_definition(this_00,name,namelen,header)" identifier (argument_list "(this_00,name,namelen,header)" ( identifier , identifier , identifier , identifier ))) ;)) (expression_statement "pSVar4 = this->sections_elements_;" (assignment_expression "pSVar4 = this->sections_elements_" identifier = (field_expression "this->sections_elements_" identifier -> field_identifier)) ;) (expression_statement "iVar1 = (*(code *)PTR_operator_new_0043233c)(0xc);" (assignment_expression "iVar1 = (*(code *)PTR_operator_new_0043233c)(0xc)" identifier = (call_expression "(*(code *)PTR_operator_new_0043233c)(0xc)" (parenthesized_expression "(*(code *)PTR_operator_new_0043233c)" ( (pointer_expression "*(code *)PTR_operator_new_0043233c" * (cast_expression "(code *)PTR_operator_new_0043233c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal )))) ;) (expression_statement "puVar3 = PTR__M_hook_00432dd0;" (assignment_expression "puVar3 = PTR__M_hook_00432dd0" identifier = identifier) ;) (expression_statement "*(Output_section_definition **)(iVar1 + 8) = this_00;" (assignment_expression "*(Output_section_definition **)(iVar1 + 8) = this_00" (pointer_expression "*(Output_section_definition **)(iVar1 + 8)" * (cast_expression "(Output_section_definition **)(iVar1 + 8)" ( (type_descriptor "Output_section_definition **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar3)(iVar1,pSVar4);" (call_expression "(*(code *)puVar3)(iVar1,pSVar4)" (parenthesized_expression "(*(code *)puVar3)" ( (pointer_expression "*(code *)puVar3" * (cast_expression "(code *)puVar3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar1,pSVar4)" ( identifier , identifier ))) ;) (expression_statement "pOVar2 = this->output_section_;" (assignment_expression "pOVar2 = this->output_section_" identifier = (field_expression "this->output_section_" identifier -> field_identifier)) ;) (expression_statement "(pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node._M_size =\n       (pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size + 1;" (assignment_expression "(pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node._M_size =\n       (pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size + 1" (field_expression "(pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node._M_size" (field_expression "(pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node" (field_expression "(pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl" (parenthesized_expression "(pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)" ( (binary_expression "pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>" (binary_expression "pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_" (binary_expression "pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold" (binary_expression "pSVar4->super__List_base<gold::Sections_element*,_std" (binary_expression "pSVar4->super__List_base<gold" (field_expression "pSVar4->super__List_base" identifier -> field_identifier) < identifier) (ERROR "::Sections_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Sections_element" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) = (binary_expression "(pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size + 1" (field_expression "(pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size" (field_expression "(pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node" (field_expression "(pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl" (parenthesized_expression "(pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)" ( (binary_expression "pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>" (binary_expression "pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_" (binary_expression "pSVar4->super__List_base<gold::Sections_element*,_std::allocator<gold" (binary_expression "pSVar4->super__List_base<gold::Sections_element*,_std" (binary_expression "pSVar4->super__List_base<gold" (field_expression "pSVar4->super__List_base" identifier -> field_identifier) < identifier) (ERROR "::Sections_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Sections_element" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) + number_literal)) ;) (if_statement "if (pOVar2 == (Output_section_definition *)0x0) {\n    this->output_section_ = this_00;\n    return;\n  }" if (parenthesized_expression "(pOVar2 == (Output_section_definition *)0x0)" ( (binary_expression "pOVar2 == (Output_section_definition *)0x0" identifier == (cast_expression "(Output_section_definition *)0x0" ( (type_descriptor "Output_section_definition *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    this->output_section_ = this_00;\n    return;\n  }" { (expression_statement "this->output_section_ = this_00;" (assignment_expression "this->output_section_ = this_00" (field_expression "this->output_section_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "puVar3 = PTR_s__0043226c + -0x5d54;" (assignment_expression "puVar3 = PTR_s__0043226c + -0x5d54" identifier = (binary_expression "PTR_s__0043226c + -0x5d54" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_do_gold_unreachable_004323c4)(puVar3,0xd75,PTR_s__0043226c + -0x541c);" (call_expression "(*(code *)PTR_do_gold_unreachable_004323c4)(puVar3,0xd75,PTR_s__0043226c + -0x541c)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004323c4)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004323c4" * (cast_expression "(code *)PTR_do_gold_unreachable_004323c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3,0xd75,PTR_s__0043226c + -0x541c)" ( identifier , number_literal , (binary_expression "PTR_s__0043226c + -0x541c" identifier + number_literal) ))) ;) comment (expression_statement "(*(code *)PTR_operator_delete_004323c0)(this_00,0x68);" (call_expression "(*(code *)PTR_operator_delete_004323c0)(this_00,0x68)" (parenthesized_expression "(*(code *)PTR_operator_delete_004323c0)" ( (pointer_expression "*(code *)PTR_operator_delete_004323c0" * (cast_expression "(code *)PTR_operator_delete_004323c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(this_00,0x68)" ( identifier , number_literal ))) ;) (expression_statement "(*(code *)PTR__Unwind_Resume_00432258)(puVar3);" (call_expression "(*(code *)PTR__Unwind_Resume_00432258)(puVar3)" (parenthesized_expression "(*(code *)PTR__Unwind_Resume_00432258)" ( (pointer_expression "*(code *)PTR__Unwind_Resume_00432258" * (cast_expression "(code *)PTR__Unwind_Resume_00432258" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar3)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __thiscall\ngold::Script_sections::start_output_section\n          (Script_sections *this,char *param_1,uint param_2,Parser_output_section_header *param_3)\n\n{\n  undefined *puVar1;\n  Output_section_definition *this_00;\n  int iVar2;\n  int iVar3;\n  \n  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);\n                    \n  Output_section_definition::Output_section_definition(this_00,param_1,param_2,param_3);\n  iVar3 = *(int *)(this + 4);\n  iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc);\n  puVar1 = PTR__M_hook_00432dd0;\n  *(Output_section_definition **)(iVar2 + 8) = this_00;\n  (*(code *)puVar1)(iVar2,iVar3);\n  iVar2 = *(int *)(this + 8);\n  *(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1;\n  if (iVar2 == 0) {\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c);\n  return;\n}\n\n" (function_definition "void __thiscall\ngold::Script_sections::start_output_section\n          (Script_sections *this,char *param_1,uint param_2,Parser_output_section_header *param_3)\n\n{\n  undefined *puVar1;\n  Output_section_definition *this_00;\n  int iVar2;\n  int iVar3;\n  \n  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);\n                    \n  Output_section_definition::Output_section_definition(this_00,param_1,param_2,param_3);\n  iVar3 = *(int *)(this + 4);\n  iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc);\n  puVar1 = PTR__M_hook_00432dd0;\n  *(Output_section_definition **)(iVar2 + 8) = this_00;\n  (*(code *)puVar1)(iVar2,iVar3);\n  iVar2 = *(int *)(this + 8);\n  *(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1;\n  if (iVar2 == 0) {\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_sections::" identifier : : identifier : :) (function_declarator "start_output_section\n          (Script_sections *this,char *param_1,uint param_2,Parser_output_section_header *param_3)" identifier (parameter_list "(Script_sections *this,char *param_1,uint param_2,Parser_output_section_header *param_3)" ( (parameter_declaration "Script_sections *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "Parser_output_section_header *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  Output_section_definition *this_00;\n  int iVar2;\n  int iVar3;\n  \n  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);\n                    \n  Output_section_definition::Output_section_definition(this_00,param_1,param_2,param_3);\n  iVar3 = *(int *)(this + 4);\n  iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc);\n  puVar1 = PTR__M_hook_00432dd0;\n  *(Output_section_definition **)(iVar2 + 8) = this_00;\n  (*(code *)puVar1)(iVar2,iVar3);\n  iVar2 = *(int *)(this + 8);\n  *(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1;\n  if (iVar2 == 0) {\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "Output_section_definition *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);" (assignment_expression "this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68)" identifier = (cast_expression "(Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68)" ( (type_descriptor "Output_section_definition *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_operator_new_0043233c)(0x68)" (parenthesized_expression "(*(code *)PTR_operator_new_0043233c)" ( (pointer_expression "*(code *)PTR_operator_new_0043233c" * (cast_expression "(code *)PTR_operator_new_0043233c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x68)" ( number_literal ))))) ;) (labeled_statement "Output_section_definition::Output_section_definition(this_00,param_1,param_2,param_3);" statement_identifier : (ERROR ":" :) (expression_statement "Output_section_definition(this_00,param_1,param_2,param_3);" (call_expression "Output_section_definition(this_00,param_1,param_2,param_3)" identifier (argument_list "(this_00,param_1,param_2,param_3)" ( identifier , identifier , identifier , identifier ))) ;)) (expression_statement "iVar3 = *(int *)(this + 4);" (assignment_expression "iVar3 = *(int *)(this + 4)" identifier = (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc);" (assignment_expression "iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc)" identifier = (call_expression "(*(code *)PTR_operator_new_0043233c)(0xc)" (parenthesized_expression "(*(code *)PTR_operator_new_0043233c)" ( (pointer_expression "*(code *)PTR_operator_new_0043233c" * (cast_expression "(code *)PTR_operator_new_0043233c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal )))) ;) (expression_statement "puVar1 = PTR__M_hook_00432dd0;" (assignment_expression "puVar1 = PTR__M_hook_00432dd0" identifier = identifier) ;) (expression_statement "*(Output_section_definition **)(iVar2 + 8) = this_00;" (assignment_expression "*(Output_section_definition **)(iVar2 + 8) = this_00" (pointer_expression "*(Output_section_definition **)(iVar2 + 8)" * (cast_expression "(Output_section_definition **)(iVar2 + 8)" ( (type_descriptor "Output_section_definition **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)(iVar2,iVar3);" (call_expression "(*(code *)puVar1)(iVar2,iVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar2,iVar3)" ( identifier , identifier ))) ;) (expression_statement "iVar2 = *(int *)(this + 8);" (assignment_expression "iVar2 = *(int *)(this + 8)" identifier = (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1;" (assignment_expression "*(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 8) + 1" (pointer_expression "*(int *)(iVar3 + 8)" * (cast_expression "(int *)(iVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) + number_literal)) ;) (if_statement "if (iVar2 == 0) {\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }" { (expression_statement "*(Output_section_definition **)(this + 8) = this_00;" (assignment_expression "*(Output_section_definition **)(this + 8) = this_00" (pointer_expression "*(Output_section_definition **)(this + 8)" * (cast_expression "(Output_section_definition **)(this + 8)" ( (type_descriptor "Output_section_definition **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "(*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c);" (call_expression "(*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004323c4)" ( (pointer_expression "*(code *)PTR_do_gold_unreachable_004323c4" * (cast_expression "(code *)PTR_do_gold_unreachable_004323c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c)" ( (binary_expression "PTR_DAT_0043226c + -0x5d54" identifier + number_literal) , number_literal , (binary_expression "PTR_DAT_0043226c + -0x541c" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT ))))) ;) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT )))) ;) (expression_statement (assignment_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) )))) = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void __thiscall\ngold::Script_sections::start_output_section\n          (Script_sections *this,char *param_1,uint param_2,Parser_output_section_header *param_3)\n\n{\n  undefined *puVar1;\n  Output_section_definition *this_00;\n  int iVar2;\n  int iVar3;\n  \n  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);\n                    \n  Output_section_definition::Output_section_definition(this_00,param_1,param_2,param_3);\n  iVar3 = *(int *)(this + 4);\n  iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc);\n  puVar1 = PTR__M_hook_00432dd0;\n  *(Output_section_definition **)(iVar2 + 8) = this_00;\n  (*(code *)puVar1)(iVar2,iVar3);\n  iVar2 = *(int *)(this + 8);\n  *(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1;\n  if (iVar2 == 0) {\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c);\n  return;\n}" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::Script_sections::" (identifier "gold") (: ":") (: ":") (identifier "Script_sections") (: ":") (: ":")) (function_declarator "start_output_section\n          (Script_sections *this,char *param_1,uint param_2,Parser_output_section_header *param_3)" (identifier "start_output_section") (parameter_list "(Script_sections *this,char *param_1,uint param_2,Parser_output_section_header *param_3)" (( "(") (parameter_declaration "Script_sections *this" (type_identifier "Script_sections") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "Parser_output_section_header *param_3" (type_identifier "Parser_output_section_header") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  Output_section_definition *this_00;\n  int iVar2;\n  int iVar3;\n  \n  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);\n                    \n  Output_section_definition::Output_section_definition(this_00,param_1,param_2,param_3);\n  iVar3 = *(int *)(this + 4);\n  iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc);\n  puVar1 = PTR__M_hook_00432dd0;\n  *(Output_section_definition **)(iVar2 + 8) = this_00;\n  (*(code *)puVar1)(iVar2,iVar3);\n  iVar2 = *(int *)(this + 8);\n  *(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1;\n  if (iVar2 == 0) {\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }\n  (*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "Output_section_definition *this_00;" (type_identifier "Output_section_definition") (pointer_declarator "*this_00" (* "*") (identifier "this_00")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);" (assignment_expression "this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68)" (identifier "this_00") (= "=") (cast_expression "(Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68)" (( "(") (type_descriptor "Output_section_definition *" (type_identifier "Output_section_definition") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_operator_new_0043233c)(0x68)" (parenthesized_expression "(*(code *)PTR_operator_new_0043233c)" (( "(") (pointer_expression "*(code *)PTR_operator_new_0043233c" (* "*") (cast_expression "(code *)PTR_operator_new_0043233c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_operator_new_0043233c"))) () ")")) (argument_list "(0x68)" (( "(") (number_literal "0x68") () ")"))))) (; ";")) (labeled_statement "Output_section_definition::Output_section_definition(this_00,param_1,param_2,param_3);" (statement_identifier "Output_section_definition") (: ":") (ERROR ":" (: ":")) (expression_statement "Output_section_definition(this_00,param_1,param_2,param_3);" (call_expression "Output_section_definition(this_00,param_1,param_2,param_3)" (identifier "Output_section_definition") (argument_list "(this_00,param_1,param_2,param_3)" (( "(") (identifier "this_00") (, ",") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";"))) (expression_statement "iVar3 = *(int *)(this + 4);" (assignment_expression "iVar3 = *(int *)(this + 4)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(this + 4)" (* "*") (cast_expression "(int *)(this + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc);" (assignment_expression "iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc)" (identifier "iVar2") (= "=") (call_expression "(*(code *)PTR_operator_new_0043233c)(0xc)" (parenthesized_expression "(*(code *)PTR_operator_new_0043233c)" (( "(") (pointer_expression "*(code *)PTR_operator_new_0043233c" (* "*") (cast_expression "(code *)PTR_operator_new_0043233c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_operator_new_0043233c"))) () ")")) (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")")))) (; ";")) (expression_statement "puVar1 = PTR__M_hook_00432dd0;" (assignment_expression "puVar1 = PTR__M_hook_00432dd0" (identifier "puVar1") (= "=") (identifier "PTR__M_hook_00432dd0")) (; ";")) (expression_statement "*(Output_section_definition **)(iVar2 + 8) = this_00;" (assignment_expression "*(Output_section_definition **)(iVar2 + 8) = this_00" (pointer_expression "*(Output_section_definition **)(iVar2 + 8)" (* "*") (cast_expression "(Output_section_definition **)(iVar2 + 8)" (( "(") (type_descriptor "Output_section_definition **" (type_identifier "Output_section_definition") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "this_00")) (; ";")) (expression_statement "(*(code *)puVar1)(iVar2,iVar3);" (call_expression "(*(code *)puVar1)(iVar2,iVar3)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(iVar2,iVar3)" (( "(") (identifier "iVar2") (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(this + 8);" (assignment_expression "iVar2 = *(int *)(this + 8)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(this + 8)" (* "*") (cast_expression "(int *)(this + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1;" (assignment_expression "*(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1" (pointer_expression "*(int *)(iVar3 + 8)" (* "*") (cast_expression "(int *)(iVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(int *)(iVar3 + 8) + 1" (pointer_expression "*(int *)(iVar3 + 8)" (* "*") (cast_expression "(int *)(iVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar2 == 0) {\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(Output_section_definition **)(this + 8) = this_00;\n    return;\n  }" ({ "{") (expression_statement "*(Output_section_definition **)(this + 8) = this_00;" (assignment_expression "*(Output_section_definition **)(this + 8) = this_00" (pointer_expression "*(Output_section_definition **)(this + 8)" (* "*") (cast_expression "(Output_section_definition **)(this + 8)" (( "(") (type_descriptor "Output_section_definition **" (type_identifier "Output_section_definition") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "this_00")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c);" (call_expression "(*(code *)PTR_do_gold_unreachable_004323c4)\n            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c)" (parenthesized_expression "(*(code *)PTR_do_gold_unreachable_004323c4)" (( "(") (pointer_expression "*(code *)PTR_do_gold_unreachable_004323c4" (* "*") (cast_expression "(code *)PTR_do_gold_unreachable_004323c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_do_gold_unreachable_004323c4"))) () ")")) (argument_list "(PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c)" (( "(") (binary_expression "PTR_DAT_0043226c + -0x5d54" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "-0x5d54")) (, ",") (number_literal "0xd75") (, ",") (binary_expression "PTR_DAT_0043226c + -0x541c" (identifier "PTR_DAT_0043226c") (+ "+") (number_literal "-0x541c")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* DWARF original prototype: void start_output_section(Script_sections * this, char * name, size_t
   namelen, Parser_output_section_header * header) */

void __thiscall
var_2::type_1::function_1
          (type_1 *this,char *name,size_t namelen,type_2 *header)

{
  type_3 *this_00;
  int var_1;
  type_3 *var_6;
  type_4 *puVar3;
  type_5 *pSVar4;
  
  this_00 = (type_3 *)(*(type_6 *)PTR_operator_new_0043233c)(0x68);
                    /* try { // try from 0020e478 to 0020e47f has its CatchHandler @ 0020e4fc */
  Output_section_definition::type_3(this_00,name,namelen,header);
  pSVar4 = this->sections_elements_;
  var_1 = (*(type_6 *)PTR_operator_new_0043233c)(0xc);
  puVar3 = PTR__M_hook_00432dd0;
  *(type_3 **)(var_1 + 8) = this_00;
  (*(type_6 *)puVar3)(var_1,pSVar4);
  var_6 = this->output_section_;
  (pSVar4->super__List_base<var_2::Sections_element*,var_3::allocator<var_2::Sections_element*>var_4>var_5).
  _M_impl._M_node._M_size =
       (pSVar4->super__List_base<var_2::Sections_element*,var_3::allocator<var_2::Sections_element*>var_4>var_5)
       ._M_impl._M_node._M_size + 1;
  if (var_6 == (type_3 *)0x0) {
    this->output_section_ = this_00;
    return;
  }
  puVar3 = var_7 + -0x5d54;
  (*(type_6 *)PTR_do_gold_unreachable_004323c4)(puVar3,0xd75,var_7 + -0x541c);
                    /* catch() { ... } // from try @ 0020e478 with catch @ 0020e4fc */
  (*(type_6 *)PTR_operator_delete_004323c0)(this_00,0x68);
  (*(type_6 *)PTR__Unwind_Resume_00432258)(puVar3);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ms_call_modifier) (ERROR (identifier) (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal)))))) (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal))))) (expression_statement (assignment_expression left: (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: (identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (identifier))) (return_statement))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

/* gold::Script_sections::MASKED(char const*, unsigned int,
   gold::Parser_output_section_header const*) */

void __thiscall
gold::Script_sections::MASKED
          (Script_sections *this,char *param_1,uint param_2,Parser_output_section_header *param_3)

{
  undefined *puVar1;
  Output_section_definition *this_00;
  int iVar2;
  int iVar3;
  
  this_00 = (Output_section_definition *)(*(code *)PTR_operator_new_0043233c)(0x68);
                    /* try { // try from 0020e478 to 0020e47f has its CatchHandler @ 0020e4fc */
  Output_section_definition::Output_section_definition(this_00,param_1,param_2,param_3);
  iVar3 = *(int *)(this + 4);
  iVar2 = (*(code *)PTR_operator_new_0043233c)(0xc);
  puVar1 = PTR__M_hook_00432dd0;
  *(Output_section_definition **)(iVar2 + 8) = this_00;
  (*(code *)puVar1)(iVar2,iVar3);
  iVar2 = *(int *)(this + 8);
  *(int *)(iVar3 + 8) = *(int *)(iVar3 + 8) + 1;
  if (iVar2 == 0) {
    *(Output_section_definition **)(this + 8) = this_00;
    return;
  }
  (*(code *)PTR_do_gold_unreachable_004323c4)
            (PTR_DAT_0043226c + -0x5d54,0xd75,PTR_DAT_0043226c + -0x541c);
  return;
}

