
/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* 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)

{
  _List_node_base *p_Var1;
  Output_section_definition *this_00;
  _List_node_base *this_01;
  
  this_00 = (Output_section_definition *)operator_new(0x68);
                    /* try { // try from 0015e0bc to 0015e0c0 has its CatchHandler @ 0015e11f */
  Output_section_definition::Output_section_definition(this_00,name,namelen,header);
  p_Var1 = (_List_node_base *)this->sections_elements_;
  this_01 = (_List_node_base *)operator_new(0xc);
  this_01[1]._M_next = (_List_node_base *)this_00;
  std::__detail::_List_node_base::_M_hook(this_01,p_Var1);
  p_Var1 = p_Var1 + 1;
  p_Var1->_M_next = (_List_node_base *)((int)&p_Var1->_M_next->_M_next + 1);
  if (this->output_section_ == (Output_section_definition *)0x0) {
    this->output_section_ = this_00;
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/script-sections.cc",0xd75,"start_output_section");
}



/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

void FUN_0015e090(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)

{
  int *piVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 extraout_ECX;
  
  uVar3 = FUN_001e5200(0x68);
                    /* try { // try from 0015e0bc to 0015e0c0 has its CatchHandler @ 0015e11f */
  FUN_0015dfd0(uVar3,param_2,param_3,param_4);
  iVar2 = *(int *)(param_1 + 4);
  iVar4 = FUN_001e5200(0xc);
  *(undefined4 *)(iVar4 + 8) = uVar3;
  FUN_001e9f70(iVar4,iVar2);
  piVar1 = (int *)(iVar2 + 8);
  *piVar1 = *piVar1 + 1;
  if (*(int *)(param_1 + 8) == 0) {
    *(undefined4 *)(param_1 + 8) = uVar3;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX);
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
CALL 0x000559ea
ADD ESI,0x230f66
PUSH EBX
SUB ESP,0x28
PUSH 0x68
MOV EBX,ESI
CALL 0x001e5200
ADD ESP,0x10
PUSH dword ptr [EBP + 0x14]
PUSH dword ptr [EBP + 0x10]
MOV EDI,EAX
PUSH dword ptr [EBP + 0xc]
PUSH EAX
CALL 0x0015dfd0
MOV EAX,dword ptr [EBP + 0x8]
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [ESP],0xc
MOV dword ptr [EBP + -0x1c],EAX
CALL 0x001e5200
MOV dword ptr [EAX + 0x8],EDI
POP EDX
POP ECX
PUSH dword ptr [EBP + -0x1c]
PUSH EAX
CALL 0x001e9f70
MOV EAX,dword ptr [EBP + -0x1c]
ADD ESP,0x10
ADD dword ptr [EAX + 0x8],0x1
MOV EAX,dword ptr [EBP + 0x8]
MOV EAX,dword ptr [EAX + 0x8]
TEST EAX,EAX
JNZ 0x0015e106
MOV EAX,dword ptr [EBP + 0x8]
MOV dword ptr [EAX + 0x8],EDI
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EAX,[ESI + 0xfff08944]
PUSH ECX
PUSH EAX
LEA EAX,[ESI + 0xfff08093]
PUSH 0xd75
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\n\nvoid FUN_0015e090(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  \n  uVar3 = FUN_001e5200(0x68);\n                    /* try { // try from 0015e0bc to 0015e0c0 has its CatchHandler @ 0015e11f */\n  FUN_0015dfd0(uVar3,param_2,param_3,param_4);\n  iVar2 = *(int *)(param_1 + 4);\n  iVar4 = FUN_001e5200(0xc);\n  *(undefined4 *)(iVar4 + 8) = uVar3;\n  FUN_001e9f70(iVar4,iVar2);\n  piVar1 = (int *)(iVar2 + 8);\n  *piVar1 = *piVar1 + 1;\n  if (*(int *)(param_1 + 8) == 0) {\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX);\n}\n\n" comment (function_definition "void FUN_0015e090(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  \n  uVar3 = FUN_001e5200(0x68);\n                    /* try { // try from 0015e0bc to 0015e0c0 has its CatchHandler @ 0015e11f */\n  FUN_0015dfd0(uVar3,param_2,param_3,param_4);\n  iVar2 = *(int *)(param_1 + 4);\n  iVar4 = FUN_001e5200(0xc);\n  *(undefined4 *)(iVar4 + 8) = uVar3;\n  FUN_001e9f70(iVar4,iVar2);\n  piVar1 = (int *)(iVar2 + 8);\n  *piVar1 = *piVar1 + 1;\n  if (*(int *)(param_1 + 8) == 0) {\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX);\n}" primitive_type (function_declarator "FUN_0015e090(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  \n  uVar3 = FUN_001e5200(0x68);\n                    /* try { // try from 0015e0bc to 0015e0c0 has its CatchHandler @ 0015e11f */\n  FUN_0015dfd0(uVar3,param_2,param_3,param_4);\n  iVar2 = *(int *)(param_1 + 4);\n  iVar4 = FUN_001e5200(0xc);\n  *(undefined4 *)(iVar4 + 8) = uVar3;\n  FUN_001e9f70(iVar4,iVar2);\n  piVar1 = (int *)(iVar2 + 8);\n  *piVar1 = *piVar1 + 1;\n  if (*(int *)(param_1 + 8) == 0) {\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (expression_statement "uVar3 = FUN_001e5200(0x68);" (assignment_expression "uVar3 = FUN_001e5200(0x68)" identifier = (call_expression "FUN_001e5200(0x68)" identifier (argument_list "(0x68)" ( number_literal )))) ;) comment (expression_statement "FUN_0015dfd0(uVar3,param_2,param_3,param_4);" (call_expression "FUN_0015dfd0(uVar3,param_2,param_3,param_4)" identifier (argument_list "(uVar3,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = FUN_001e5200(0xc);" (assignment_expression "iVar4 = FUN_001e5200(0xc)" identifier = (call_expression "FUN_001e5200(0xc)" identifier (argument_list "(0xc)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar4 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_001e9f70(iVar4,iVar2);" (call_expression "FUN_001e9f70(iVar4,iVar2)" identifier (argument_list "(iVar4,iVar2)" ( identifier , identifier ))) ;) (expression_statement "piVar1 = (int *)(iVar2 + 8);" (assignment_expression "piVar1 = (int *)(iVar2 + 8)" identifier = (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) ;) (expression_statement "*piVar1 = *piVar1 + 1;" (assignment_expression "*piVar1 = *piVar1 + 1" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) (if_statement "if (*(int *)(param_1 + 8) == 0) {\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" ( (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 8) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) comment (expression_statement "FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX);" (call_expression "FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX)" identifier (argument_list "("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX)" ( (string_literal ""../../gold/script-sections.cc"" " string_content ") , number_literal , (string_literal ""start_output_section"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */\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  _List_node_base *p_Var1;\n  Output_section_definition *this_00;\n  _List_node_base *this_01;\n  \n  this_00 = (Output_section_definition *)operator_new(0x68);\n                    /* try { // try from 0015e0bc to 0015e0c0 has its CatchHandler @ 0015e11f */\n  Output_section_definition::Output_section_definition(this_00,name,namelen,header);\n  p_Var1 = (_List_node_base *)this->sections_elements_;\n  this_01 = (_List_node_base *)operator_new(0xc);\n  this_01[1]._M_next = (_List_node_base *)this_00;\n  std::__detail::_List_node_base::_M_hook(this_01,p_Var1);\n  p_Var1 = p_Var1 + 1;\n  p_Var1->_M_next = (_List_node_base *)((int)&p_Var1->_M_next->_M_next + 1);\n  if (this->output_section_ == (Output_section_definition *)0x0) {\n    this->output_section_ = this_00;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/script-sections.cc",0xd75,"start_output_section");\n}\n\n" 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  _List_node_base *p_Var1;\n  Output_section_definition *this_00;\n  _List_node_base *this_01;\n  \n  this_00 = (Output_section_definition *)operator_new(0x68);\n                    /* try { // try from 0015e0bc to 0015e0c0 has its CatchHandler @ 0015e11f */\n  Output_section_definition::Output_section_definition(this_00,name,namelen,header);\n  p_Var1 = (_List_node_base *)this->sections_elements_;\n  this_01 = (_List_node_base *)operator_new(0xc);\n  this_01[1]._M_next = (_List_node_base *)this_00;\n  std::__detail::_List_node_base::_M_hook(this_01,p_Var1);\n  p_Var1 = p_Var1 + 1;\n  p_Var1->_M_next = (_List_node_base *)((int)&p_Var1->_M_next->_M_next + 1);\n  if (this->output_section_ == (Output_section_definition *)0x0) {\n    this->output_section_ = this_00;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/script-sections.cc",0xd75,"start_output_section");\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  _List_node_base *p_Var1;\n  Output_section_definition *this_00;\n  _List_node_base *this_01;\n  \n  this_00 = (Output_section_definition *)operator_new(0x68);\n                    /* try { // try from 0015e0bc to 0015e0c0 has its CatchHandler @ 0015e11f */\n  Output_section_definition::Output_section_definition(this_00,name,namelen,header);\n  p_Var1 = (_List_node_base *)this->sections_elements_;\n  this_01 = (_List_node_base *)operator_new(0xc);\n  this_01[1]._M_next = (_List_node_base *)this_00;\n  std::__detail::_List_node_base::_M_hook(this_01,p_Var1);\n  p_Var1 = p_Var1 + 1;\n  p_Var1->_M_next = (_List_node_base *)((int)&p_Var1->_M_next->_M_next + 1);\n  if (this->output_section_ == (Output_section_definition *)0x0) {\n    this->output_section_ = this_00;\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/script-sections.cc",0xd75,"start_output_section");\n}" { (declaration "_List_node_base *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "Output_section_definition *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "_List_node_base *this_01;" type_identifier (pointer_declarator "*this_01" * identifier) ;) (expression_statement "this_00 = (Output_section_definition *)operator_new(0x68);" (assignment_expression "this_00 = (Output_section_definition *)operator_new(0x68)" identifier = (cast_expression "(Output_section_definition *)operator_new(0x68)" ( (type_descriptor "Output_section_definition *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x68)" 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 "p_Var1 = (_List_node_base *)this->sections_elements_;" (assignment_expression "p_Var1 = (_List_node_base *)this->sections_elements_" identifier = (cast_expression "(_List_node_base *)this->sections_elements_" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->sections_elements_" identifier -> field_identifier))) ;) (expression_statement "this_01 = (_List_node_base *)operator_new(0xc);" (assignment_expression "this_01 = (_List_node_base *)operator_new(0xc)" identifier = (cast_expression "(_List_node_base *)operator_new(0xc)" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0xc)" identifier (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "this_01[1]._M_next = (_List_node_base *)this_00;" (assignment_expression "this_01[1]._M_next = (_List_node_base *)this_00" (field_expression "this_01[1]._M_next" (subscript_expression "this_01[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(_List_node_base *)this_00" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (labeled_statement "std::__detail::_List_node_base::_M_hook(this_01,p_Var1);" statement_identifier : (ERROR ":" :) (labeled_statement "__detail::_List_node_base::_M_hook(this_01,p_Var1);" statement_identifier : (ERROR ":" :) (labeled_statement "_List_node_base::_M_hook(this_01,p_Var1);" statement_identifier : (ERROR ":" :) (expression_statement "_M_hook(this_01,p_Var1);" (call_expression "_M_hook(this_01,p_Var1)" identifier (argument_list "(this_01,p_Var1)" ( identifier , identifier ))) ;)))) (expression_statement "p_Var1 = p_Var1 + 1;" (assignment_expression "p_Var1 = p_Var1 + 1" identifier = (binary_expression "p_Var1 + 1" identifier + number_literal)) ;) (expression_statement "p_Var1->_M_next = (_List_node_base *)((int)&p_Var1->_M_next->_M_next + 1);" (assignment_expression "p_Var1->_M_next = (_List_node_base *)((int)&p_Var1->_M_next->_M_next + 1)" (field_expression "p_Var1->_M_next" identifier -> field_identifier) = (cast_expression "(_List_node_base *)((int)&p_Var1->_M_next->_M_next + 1)" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&p_Var1->_M_next->_M_next + 1)" ( (binary_expression "(int)&p_Var1->_M_next->_M_next + 1" (cast_expression "(int)&p_Var1->_M_next->_M_next" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&p_Var1->_M_next->_M_next" & (field_expression "p_Var1->_M_next->_M_next" (field_expression "p_Var1->_M_next" identifier -> field_identifier) -> field_identifier))) + number_literal) )))) ;) (if_statement "if (this->output_section_ == (Output_section_definition *)0x0) {\n    this->output_section_ = this_00;\n    return;\n  }" if (parenthesized_expression "(this->output_section_ == (Output_section_definition *)0x0)" ( (binary_expression "this->output_section_ == (Output_section_definition *)0x0" (field_expression "this->output_section_" identifier -> field_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 ;) })) comment (expression_statement "do_gold_unreachable("../../gold/script-sections.cc",0xd75,"start_output_section");" (call_expression "do_gold_unreachable("../../gold/script-sections.cc",0xd75,"start_output_section")" identifier (argument_list "("../../gold/script-sections.cc",0xd75,"start_output_section")" ( (string_literal ""../../gold/script-sections.cc"" " string_content ") , number_literal , (string_literal ""start_output_section"" " string_content ") ))) ;) })))
(translation_unit "void FUN_0015e090(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  \n  uVar3 = FUN_001e5200(0x68);\n                    \n  FUN_0015dfd0(uVar3,param_2,param_3,param_4);\n  iVar2 = *(int *)(param_1 + 4);\n  iVar4 = FUN_001e5200(0xc);\n  *(undefined4 *)(iVar4 + 8) = uVar3;\n  FUN_001e9f70(iVar4,iVar2);\n  piVar1 = (int *)(iVar2 + 8);\n  *piVar1 = *piVar1 + 1;\n  if (*(int *)(param_1 + 8) == 0) {\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX);\n}\n\n" (function_definition "void FUN_0015e090(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  \n  uVar3 = FUN_001e5200(0x68);\n                    \n  FUN_0015dfd0(uVar3,param_2,param_3,param_4);\n  iVar2 = *(int *)(param_1 + 4);\n  iVar4 = FUN_001e5200(0xc);\n  *(undefined4 *)(iVar4 + 8) = uVar3;\n  FUN_001e9f70(iVar4,iVar2);\n  piVar1 = (int *)(iVar2 + 8);\n  *piVar1 = *piVar1 + 1;\n  if (*(int *)(param_1 + 8) == 0) {\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX);\n}" primitive_type (function_declarator "FUN_0015e090(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  \n  uVar3 = FUN_001e5200(0x68);\n                    \n  FUN_0015dfd0(uVar3,param_2,param_3,param_4);\n  iVar2 = *(int *)(param_1 + 4);\n  iVar4 = FUN_001e5200(0xc);\n  *(undefined4 *)(iVar4 + 8) = uVar3;\n  FUN_001e9f70(iVar4,iVar2);\n  piVar1 = (int *)(iVar2 + 8);\n  *piVar1 = *piVar1 + 1;\n  if (*(int *)(param_1 + 8) == 0) {\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 extraout_ECX;" type_identifier identifier ;) (expression_statement "uVar3 = FUN_001e5200(0x68);" (assignment_expression "uVar3 = FUN_001e5200(0x68)" identifier = (call_expression "FUN_001e5200(0x68)" identifier (argument_list "(0x68)" ( number_literal )))) ;) (expression_statement "FUN_0015dfd0(uVar3,param_2,param_3,param_4);" (call_expression "FUN_0015dfd0(uVar3,param_2,param_3,param_4)" identifier (argument_list "(uVar3,param_2,param_3,param_4)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "iVar4 = FUN_001e5200(0xc);" (assignment_expression "iVar4 = FUN_001e5200(0xc)" identifier = (call_expression "FUN_001e5200(0xc)" identifier (argument_list "(0xc)" ( number_literal )))) ;) (expression_statement "*(undefined4 *)(iVar4 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 8)" * (cast_expression "(undefined4 *)(iVar4 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_001e9f70(iVar4,iVar2);" (call_expression "FUN_001e9f70(iVar4,iVar2)" identifier (argument_list "(iVar4,iVar2)" ( identifier , identifier ))) ;) (expression_statement "piVar1 = (int *)(iVar2 + 8);" (assignment_expression "piVar1 = (int *)(iVar2 + 8)" identifier = (cast_expression "(int *)(iVar2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 8)" ( (binary_expression "iVar2 + 8" identifier + number_literal) )))) ;) (expression_statement "*piVar1 = *piVar1 + 1;" (assignment_expression "*piVar1 = *piVar1 + 1" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" * identifier) + number_literal)) ;) (if_statement "if (*(int *)(param_1 + 8) == 0) {\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" ( (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }" { (expression_statement "*(undefined4 *)(param_1 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 8) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX);" (call_expression "FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX)" identifier (argument_list "("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX)" ( (string_literal ""../../gold/script-sections.cc"" " string_content ") , number_literal , (string_literal ""start_output_section"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (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 IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_0015e090(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)\n\n{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  \n  uVar3 = FUN_001e5200(0x68);\n                    \n  FUN_0015dfd0(uVar3,param_2,param_3,param_4);\n  iVar2 = *(int *)(param_1 + 4);\n  iVar4 = FUN_001e5200(0xc);\n  *(undefined4 *)(iVar4 + 8) = uVar3;\n  FUN_001e9f70(iVar4,iVar2);\n  piVar1 = (int *)(iVar2 + 8);\n  *piVar1 = *piVar1 + 1;\n  if (*(int *)(param_1 + 8) == 0) {\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX);\n}" (primitive_type "void") (function_declarator "FUN_0015e090(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (identifier "FUN_0015e090") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int iVar4;\n  undefined4 extraout_ECX;\n  \n  uVar3 = FUN_001e5200(0x68);\n                    \n  FUN_0015dfd0(uVar3,param_2,param_3,param_4);\n  iVar2 = *(int *)(param_1 + 4);\n  iVar4 = FUN_001e5200(0xc);\n  *(undefined4 *)(iVar4 + 8) = uVar3;\n  FUN_001e9f70(iVar4,iVar2);\n  piVar1 = (int *)(iVar2 + 8);\n  *piVar1 = *piVar1 + 1;\n  if (*(int *)(param_1 + 8) == 0) {\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }\n                    \n  FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX);\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 extraout_ECX;" (type_identifier "undefined4") (identifier "extraout_ECX") (; ";")) (expression_statement "uVar3 = FUN_001e5200(0x68);" (assignment_expression "uVar3 = FUN_001e5200(0x68)" (identifier "uVar3") (= "=") (call_expression "FUN_001e5200(0x68)" (identifier "FUN_001e5200") (argument_list "(0x68)" (( "(") (number_literal "0x68") () ")")))) (; ";")) (expression_statement "FUN_0015dfd0(uVar3,param_2,param_3,param_4);" (call_expression "FUN_0015dfd0(uVar3,param_2,param_3,param_4)" (identifier "FUN_0015dfd0") (argument_list "(uVar3,param_2,param_3,param_4)" (( "(") (identifier "uVar3") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "iVar4 = FUN_001e5200(0xc);" (assignment_expression "iVar4 = FUN_001e5200(0xc)" (identifier "iVar4") (= "=") (call_expression "FUN_001e5200(0xc)" (identifier "FUN_001e5200") (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(iVar4 + 8) = uVar3" (pointer_expression "*(undefined4 *)(iVar4 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "FUN_001e9f70(iVar4,iVar2);" (call_expression "FUN_001e9f70(iVar4,iVar2)" (identifier "FUN_001e9f70") (argument_list "(iVar4,iVar2)" (( "(") (identifier "iVar4") (, ",") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "piVar1 = (int *)(iVar2 + 8);" (assignment_expression "piVar1 = (int *)(iVar2 + 8)" (identifier "piVar1") (= "=") (cast_expression "(int *)(iVar2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 8)" (( "(") (binary_expression "iVar2 + 8" (identifier "iVar2") (+ "+") (number_literal "8")) () ")")))) (; ";")) (expression_statement "*piVar1 = *piVar1 + 1;" (assignment_expression "*piVar1 = *piVar1 + 1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (binary_expression "*piVar1 + 1" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(int *)(param_1 + 8) == 0) {\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 8) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 8) == 0" (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(param_1 + 8) = uVar3;\n    return;\n  }" ({ "{") (expression_statement "*(undefined4 *)(param_1 + 8) = uVar3;" (assignment_expression "*(undefined4 *)(param_1 + 8) = uVar3" (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX);" (call_expression "FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX)" (identifier "FUN_00069d00") (argument_list "("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX)" (( "(") (string_literal ""../../gold/script-sections.cc"" (" """) (string_content "../../gold/script-sections.cc") (" """)) (, ",") (number_literal "0xd75") (, ",") (string_literal ""start_output_section"" (" """) (string_content "start_output_section") (" """)) (, ",") (identifier "extraout_ECX") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.si replaced with injection: get_pc_thunk_si */
/* DWARF original prototype: void start_output_section(Script_sections * this, char * name, size_t
   namelen, Parser_output_section_header * header) */

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

{
  type_3 *var_3;
  type_4 *this_00;
  type_3 *this_01;
  
  this_00 = (type_4 *)var_1(0x68);
                    /* try { // try from 0015e0bc to 0015e0c0 has its CatchHandler @ 0015e11f */
  Output_section_definition::type_4(this_00,name,namelen,header);
  var_3 = (type_3 *)this->sections_elements_;
  this_01 = (type_3 *)var_1(0xc);
  this_01[1]._M_next = (type_3 *)this_00;
  std::__detail::_List_node_base::var_2(this_01,var_3);
  var_3 = var_3 + 1;
  var_3->_M_next = (type_3 *)((int)&var_3->_M_next->_M_next + 1);
  if (this->output_section_ == (type_4 *)0x0) {
    this->output_section_ = this_00;
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_4("../../gold/script-sections.cc",0xd75,"start_output_section");
}


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

/* WARNING: Function: __i686.get_pc_thunk.si replaced with injection: get_pc_thunk_si */

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

{
  int *piVar1;
  int iVar2;
  undefined4 uVar3;
  int iVar4;
  undefined4 extraout_ECX;
  
  uVar3 = FUN_001e5200(0x68);
                    /* try { // try from 0015e0bc to 0015e0c0 has its CatchHandler @ 0015e11f */
  FUN_0015dfd0(uVar3,param_2,param_3,param_4);
  iVar2 = *(int *)(param_1 + 4);
  iVar4 = FUN_001e5200(0xc);
  *(undefined4 *)(iVar4 + 8) = uVar3;
  FUN_001e9f70(iVar4,iVar2);
  piVar1 = (int *)(iVar2 + 8);
  *piVar1 = *piVar1 + 1;
  if (*(int *)(param_1 + 8) == 0) {
    *(undefined4 *)(param_1 + 8) = uVar3;
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/script-sections.cc",0xd75,"start_output_section",extraout_ECX);
}

