
/* WARNING: Struct "Output_section_data": ignoring overlapping field "output_section_" */
/* WARNING: Struct "Output_section": ignoring overlapping field "name_" */
/* DWARF original prototype: void add_dot_assignment(Script_sections * this, Expression * val) */

void __thiscall gold::Script_sections::add_dot_assignment(Script_sections *this,Expression *val)

{
  undefined *puVar1;
  undefined4 *puVar2;
  int iVar3;
  _List_node_base *p_Var4;
  Sections_elements *pSVar5;
  
  if (this->output_section_ != (Output_section_definition *)0x0) {
    Output_section_definition::add_dot_assignment(this->output_section_,val);
    return;
  }
  if (this->sections_elements_ == (Sections_elements *)0x0) {
    p_Var4 = (_List_node_base *)(*(code *)PTR_operator_new_004c13a8)(0xc);
    this->sections_elements_ = (Sections_elements *)p_Var4;
    p_Var4->_M_prev = p_Var4;
    p_Var4->_M_next = p_Var4;
    p_Var4[1]._M_next = (_List_node_base *)0x0;
    this->saw_sections_clause_ = true;
  }
  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);
  puVar2[1] = val;
  puVar1 = PTR_operator_new_004c13a8;
  pSVar5 = this->sections_elements_;
  *puVar2 = PTR_vtable_004c4728 + 8;
  iVar3 = (*(code *)puVar1)(0xc);
  puVar1 = PTR__M_hook_004c1c80;
  *(undefined4 **)(iVar3 + 8) = puVar2;
  (*(code *)puVar1)(iVar3,pSVar5);
  (pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).
  _M_impl._M_node._M_size =
       (pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)
       ._M_impl._M_node._M_size + 1;
  return;
}



/* gold::Script_sections::add_dot_assignment(gold::Expression*) */

void __thiscall gold::Script_sections::add_dot_assignment(Script_sections *this,Expression *param_1)

{
  undefined *puVar1;
  undefined4 *puVar2;
  int iVar3;
  int iVar4;
  
  if (*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0) {
    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)
    ;
    return;
  }
  if (*(int *)(this + 4) == 0) {
    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);
    *(int *)(this + 4) = iVar3;
    *(int *)(iVar3 + 4) = iVar3;
    *(int *)iVar3 = iVar3;
    *(undefined4 *)(iVar3 + 8) = 0;
    *this = (Script_sections)0x1;
  }
  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);
  puVar2[1] = param_1;
  puVar1 = PTR_operator_new_004c13a8;
  iVar4 = *(int *)(this + 4);
  *puVar2 = PTR_vtable_004c4728 + 8;
  iVar3 = (*(code *)puVar1)(0xc);
  puVar1 = PTR__M_hook_004c1c80;
  *(undefined4 **)(iVar3 + 8) = puVar2;
  (*(code *)puVar1)(iVar3,iVar4);
  *(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1;
  return;
}


lui gp,0x23
addiu gp,gp,0x28d4
addu gp,gp,t9
addiu sp,sp,-0x28
lw v0,0x8(a0)
sw gp,0x10(sp)
sw ra,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
beq v0,zero,0x002969b8
_sw s0,0x18(sp)
lw ra,0x24(sp)
or a0,v0,zero
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
lw t9,-0x4b1c(gp)
b 0x002968d0
_addiu sp,sp,0x28
lw v0,0x4(a0)
or s2,a1,zero
beq v0,zero,0x00296a38
_or s0,a0,zero
lw t9,-0x7e98(gp)
jalr t9
_li a0,0x8
li a0,0xc
lw gp,0x10(sp)
or s1,v0,zero
sw s2,0x4(v0)
lw s0,0x4(s0)
lw v0,-0x4b18(gp)
lw t9,-0x7e98(gp)
addiu v0,v0,0x8
jalr t9
_sw v0,0x0(s1)
or a1,s0,zero
lw gp,0x10(sp)
or a0,v0,zero
lw t9,-0x75c0(gp)
jalr t9
_sw s1,0x8(v0)
lw v0,0x8(s0)
lw ra,0x24(sp)
lw s2,0x20(sp)
addiu v0,v0,0x1
lw s1,0x1c(sp)
sw v0,0x8(s0)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x28
lw t9,-0x7e98(gp)
jalr t9
_li a0,0xc
lw gp,0x10(sp)
sw v0,0x4(s0)
sw v0,0x4(v0)
sw v0,0x0(v0)
sw zero,0x8(v0)
li v0,0x1
b 0x002969c8
_sb v0,0x0(s0)
(translation_unit "/* gold::Script_sections::add_dot_assignment(gold::Expression*) */\n\nvoid __thiscall gold::Script_sections::add_dot_assignment(Script_sections *this,Expression *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }\n  if (*(int *)(this + 4) == 0) {\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);\n  puVar2[1] = param_1;\n  puVar1 = PTR_operator_new_004c13a8;\n  iVar4 = *(int *)(this + 4);\n  *puVar2 = PTR_vtable_004c4728 + 8;\n  iVar3 = (*(code *)puVar1)(0xc);\n  puVar1 = PTR__M_hook_004c1c80;\n  *(undefined4 **)(iVar3 + 8) = puVar2;\n  (*(code *)puVar1)(iVar3,iVar4);\n  *(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1;\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Script_sections::add_dot_assignment(Script_sections *this,Expression *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }\n  if (*(int *)(this + 4) == 0) {\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);\n  puVar2[1] = param_1;\n  puVar1 = PTR_operator_new_004c13a8;\n  iVar4 = *(int *)(this + 4);\n  *puVar2 = PTR_vtable_004c4728 + 8;\n  iVar3 = (*(code *)puVar1)(0xc);\n  puVar1 = PTR__M_hook_004c1c80;\n  *(undefined4 **)(iVar3 + 8) = puVar2;\n  (*(code *)puVar1)(iVar3,iVar4);\n  *(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_sections::" identifier : : identifier : :) (function_declarator "add_dot_assignment(Script_sections *this,Expression *param_1)" identifier (parameter_list "(Script_sections *this,Expression *param_1)" ( (parameter_declaration "Script_sections *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Expression *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }\n  if (*(int *)(this + 4) == 0) {\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);\n  puVar2[1] = param_1;\n  puVar1 = PTR_operator_new_004c13a8;\n  iVar4 = *(int *)(this + 4);\n  *puVar2 = PTR_vtable_004c4728 + 8;\n  iVar3 = (*(code *)puVar1)(0xc);\n  puVar1 = PTR__M_hook_004c1c80;\n  *(undefined4 **)(iVar3 + 8) = puVar2;\n  (*(code *)puVar1)(iVar3,iVar4);\n  *(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }" if (parenthesized_expression "(*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0)" ( (binary_expression "*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0" (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) )))) != (cast_expression "(Output_section_definition *)0x0" ( (type_descriptor "Output_section_definition *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }" { (labeled_statement "Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;" statement_identifier : (ERROR ":" :) (expression_statement "add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;" (call_expression "add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)" identifier (argument_list "(*(Output_section_definition **)(this + 8),param_1)" ( (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 ;) })) (if_statement "if (*(int *)(this + 4) == 0) {\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }" if (parenthesized_expression "(*(int *)(this + 4) == 0)" ( (binary_expression "*(int *)(this + 4) == 0" (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) )))) == number_literal) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }" { (expression_statement "iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);" (assignment_expression "iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc)" identifier = (call_expression "(*(code *)PTR_operator_new_004c13a8)(0xc)" (parenthesized_expression "(*(code *)PTR_operator_new_004c13a8)" ( (pointer_expression "*(code *)PTR_operator_new_004c13a8" * (cast_expression "(code *)PTR_operator_new_004c13a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal )))) ;) (expression_statement "*(int *)(this + 4) = iVar3;" (assignment_expression "*(int *)(this + 4) = iVar3" (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) )))) = identifier) ;) (expression_statement "*(int *)(iVar3 + 4) = iVar3;" (assignment_expression "*(int *)(iVar3 + 4) = iVar3" (pointer_expression "*(int *)(iVar3 + 4)" * (cast_expression "(int *)(iVar3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)iVar3 = iVar3;" (assignment_expression "*(int *)iVar3 = iVar3" (pointer_expression "*(int *)iVar3" * (cast_expression "(int *)iVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(iVar3 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*this = (Script_sections)0x1;" (assignment_expression "*this = (Script_sections)0x1" (pointer_expression "*this" * identifier) = (cast_expression "(Script_sections)0x1" ( (type_descriptor "Script_sections" type_identifier) ) number_literal)) ;) })) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_operator_new_004c13a8)(8)" (parenthesized_expression "(*(code *)PTR_operator_new_004c13a8)" ( (pointer_expression "*(code *)PTR_operator_new_004c13a8" * (cast_expression "(code *)PTR_operator_new_004c13a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar2[1] = param_1;" (assignment_expression "puVar2[1] = param_1" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_operator_new_004c13a8;" (assignment_expression "puVar1 = PTR_operator_new_004c13a8" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)(this + 4);" (assignment_expression "iVar4 = *(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 "*puVar2 = PTR_vtable_004c4728 + 8;" (assignment_expression "*puVar2 = PTR_vtable_004c4728 + 8" (pointer_expression "*puVar2" * identifier) = (binary_expression "PTR_vtable_004c4728 + 8" identifier + number_literal)) ;) (expression_statement "iVar3 = (*(code *)puVar1)(0xc);" (assignment_expression "iVar3 = (*(code *)puVar1)(0xc)" identifier = (call_expression "(*(code *)puVar1)(0xc)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal )))) ;) (expression_statement "puVar1 = PTR__M_hook_004c1c80;" (assignment_expression "puVar1 = PTR__M_hook_004c1c80" identifier = identifier) ;) (expression_statement "*(undefined4 **)(iVar3 + 8) = puVar2;" (assignment_expression "*(undefined4 **)(iVar3 + 8) = puVar2" (pointer_expression "*(undefined4 **)(iVar3 + 8)" * (cast_expression "(undefined4 **)(iVar3 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)(iVar3,iVar4);" (call_expression "(*(code *)puVar1)(iVar3,iVar4)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,iVar4)" ( identifier , identifier ))) ;) (expression_statement "*(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1;" (assignment_expression "*(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1" (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar4 + 8) + 1" (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) + 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 add_dot_assignment(Script_sections * this, Expression * val) */\n\nvoid __thiscall gold::Script_sections::add_dot_assignment(Script_sections *this,Expression *val)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  _List_node_base *p_Var4;\n  Sections_elements *pSVar5;\n  \n  if (this->output_section_ != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(this->output_section_,val);\n    return;\n  }\n  if (this->sections_elements_ == (Sections_elements *)0x0) {\n    p_Var4 = (_List_node_base *)(*(code *)PTR_operator_new_004c13a8)(0xc);\n    this->sections_elements_ = (Sections_elements *)p_Var4;\n    p_Var4->_M_prev = p_Var4;\n    p_Var4->_M_next = p_Var4;\n    p_Var4[1]._M_next = (_List_node_base *)0x0;\n    this->saw_sections_clause_ = true;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);\n  puVar2[1] = val;\n  puVar1 = PTR_operator_new_004c13a8;\n  pSVar5 = this->sections_elements_;\n  *puVar2 = PTR_vtable_004c4728 + 8;\n  iVar3 = (*(code *)puVar1)(0xc);\n  puVar1 = PTR__M_hook_004c1c80;\n  *(undefined4 **)(iVar3 + 8) = puVar2;\n  (*(code *)puVar1)(iVar3,pSVar5);\n  (pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node._M_size =\n       (pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size + 1;\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall gold::Script_sections::add_dot_assignment(Script_sections *this,Expression *val)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  _List_node_base *p_Var4;\n  Sections_elements *pSVar5;\n  \n  if (this->output_section_ != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(this->output_section_,val);\n    return;\n  }\n  if (this->sections_elements_ == (Sections_elements *)0x0) {\n    p_Var4 = (_List_node_base *)(*(code *)PTR_operator_new_004c13a8)(0xc);\n    this->sections_elements_ = (Sections_elements *)p_Var4;\n    p_Var4->_M_prev = p_Var4;\n    p_Var4->_M_next = p_Var4;\n    p_Var4[1]._M_next = (_List_node_base *)0x0;\n    this->saw_sections_clause_ = true;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);\n  puVar2[1] = val;\n  puVar1 = PTR_operator_new_004c13a8;\n  pSVar5 = this->sections_elements_;\n  *puVar2 = PTR_vtable_004c4728 + 8;\n  iVar3 = (*(code *)puVar1)(0xc);\n  puVar1 = PTR__M_hook_004c1c80;\n  *(undefined4 **)(iVar3 + 8) = puVar2;\n  (*(code *)puVar1)(iVar3,pSVar5);\n  (pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node._M_size =\n       (pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size + 1;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_sections::" identifier : : identifier : :) (function_declarator "add_dot_assignment(Script_sections *this,Expression *val)" identifier (parameter_list "(Script_sections *this,Expression *val)" ( (parameter_declaration "Script_sections *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Expression *val" type_identifier (pointer_declarator "*val" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  _List_node_base *p_Var4;\n  Sections_elements *pSVar5;\n  \n  if (this->output_section_ != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(this->output_section_,val);\n    return;\n  }\n  if (this->sections_elements_ == (Sections_elements *)0x0) {\n    p_Var4 = (_List_node_base *)(*(code *)PTR_operator_new_004c13a8)(0xc);\n    this->sections_elements_ = (Sections_elements *)p_Var4;\n    p_Var4->_M_prev = p_Var4;\n    p_Var4->_M_next = p_Var4;\n    p_Var4[1]._M_next = (_List_node_base *)0x0;\n    this->saw_sections_clause_ = true;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);\n  puVar2[1] = val;\n  puVar1 = PTR_operator_new_004c13a8;\n  pSVar5 = this->sections_elements_;\n  *puVar2 = PTR_vtable_004c4728 + 8;\n  iVar3 = (*(code *)puVar1)(0xc);\n  puVar1 = PTR__M_hook_004c1c80;\n  *(undefined4 **)(iVar3 + 8) = puVar2;\n  (*(code *)puVar1)(iVar3,pSVar5);\n  (pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node._M_size =\n       (pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size + 1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "_List_node_base *p_Var4;" type_identifier (pointer_declarator "*p_Var4" * identifier) ;) (declaration "Sections_elements *pSVar5;" type_identifier (pointer_declarator "*pSVar5" * identifier) ;) (if_statement "if (this->output_section_ != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(this->output_section_,val);\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    Output_section_definition::add_dot_assignment(this->output_section_,val);\n    return;\n  }" { (labeled_statement "Output_section_definition::add_dot_assignment(this->output_section_,val);" statement_identifier : (ERROR ":" :) (expression_statement "add_dot_assignment(this->output_section_,val);" (call_expression "add_dot_assignment(this->output_section_,val)" identifier (argument_list "(this->output_section_,val)" ( (field_expression "this->output_section_" identifier -> field_identifier) , identifier ))) ;)) (return_statement "return;" return ;) })) (if_statement "if (this->sections_elements_ == (Sections_elements *)0x0) {\n    p_Var4 = (_List_node_base *)(*(code *)PTR_operator_new_004c13a8)(0xc);\n    this->sections_elements_ = (Sections_elements *)p_Var4;\n    p_Var4->_M_prev = p_Var4;\n    p_Var4->_M_next = p_Var4;\n    p_Var4[1]._M_next = (_List_node_base *)0x0;\n    this->saw_sections_clause_ = true;\n  }" if (parenthesized_expression "(this->sections_elements_ == (Sections_elements *)0x0)" ( (binary_expression "this->sections_elements_ == (Sections_elements *)0x0" (field_expression "this->sections_elements_" identifier -> field_identifier) == (cast_expression "(Sections_elements *)0x0" ( (type_descriptor "Sections_elements *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    p_Var4 = (_List_node_base *)(*(code *)PTR_operator_new_004c13a8)(0xc);\n    this->sections_elements_ = (Sections_elements *)p_Var4;\n    p_Var4->_M_prev = p_Var4;\n    p_Var4->_M_next = p_Var4;\n    p_Var4[1]._M_next = (_List_node_base *)0x0;\n    this->saw_sections_clause_ = true;\n  }" { (expression_statement "p_Var4 = (_List_node_base *)(*(code *)PTR_operator_new_004c13a8)(0xc);" (assignment_expression "p_Var4 = (_List_node_base *)(*(code *)PTR_operator_new_004c13a8)(0xc)" identifier = (cast_expression "(_List_node_base *)(*(code *)PTR_operator_new_004c13a8)(0xc)" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_operator_new_004c13a8)(0xc)" (parenthesized_expression "(*(code *)PTR_operator_new_004c13a8)" ( (pointer_expression "*(code *)PTR_operator_new_004c13a8" * (cast_expression "(code *)PTR_operator_new_004c13a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal ))))) ;) (expression_statement "this->sections_elements_ = (Sections_elements *)p_Var4;" (assignment_expression "this->sections_elements_ = (Sections_elements *)p_Var4" (field_expression "this->sections_elements_" identifier -> field_identifier) = (cast_expression "(Sections_elements *)p_Var4" ( (type_descriptor "Sections_elements *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "p_Var4->_M_prev = p_Var4;" (assignment_expression "p_Var4->_M_prev = p_Var4" (field_expression "p_Var4->_M_prev" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var4->_M_next = p_Var4;" (assignment_expression "p_Var4->_M_next = p_Var4" (field_expression "p_Var4->_M_next" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var4[1]._M_next = (_List_node_base *)0x0;" (assignment_expression "p_Var4[1]._M_next = (_List_node_base *)0x0" (field_expression "p_Var4[1]._M_next" (subscript_expression "p_Var4[1]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(_List_node_base *)0x0" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "this->saw_sections_clause_ = true;" (assignment_expression "this->saw_sections_clause_ = true" (field_expression "this->saw_sections_clause_" identifier -> field_identifier) = true) ;) })) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_operator_new_004c13a8)(8)" (parenthesized_expression "(*(code *)PTR_operator_new_004c13a8)" ( (pointer_expression "*(code *)PTR_operator_new_004c13a8" * (cast_expression "(code *)PTR_operator_new_004c13a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar2[1] = val;" (assignment_expression "puVar2[1] = val" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_operator_new_004c13a8;" (assignment_expression "puVar1 = PTR_operator_new_004c13a8" identifier = identifier) ;) (expression_statement "pSVar5 = this->sections_elements_;" (assignment_expression "pSVar5 = this->sections_elements_" identifier = (field_expression "this->sections_elements_" identifier -> field_identifier)) ;) (expression_statement "*puVar2 = PTR_vtable_004c4728 + 8;" (assignment_expression "*puVar2 = PTR_vtable_004c4728 + 8" (pointer_expression "*puVar2" * identifier) = (binary_expression "PTR_vtable_004c4728 + 8" identifier + number_literal)) ;) (expression_statement "iVar3 = (*(code *)puVar1)(0xc);" (assignment_expression "iVar3 = (*(code *)puVar1)(0xc)" identifier = (call_expression "(*(code *)puVar1)(0xc)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal )))) ;) (expression_statement "puVar1 = PTR__M_hook_004c1c80;" (assignment_expression "puVar1 = PTR__M_hook_004c1c80" identifier = identifier) ;) (expression_statement "*(undefined4 **)(iVar3 + 8) = puVar2;" (assignment_expression "*(undefined4 **)(iVar3 + 8) = puVar2" (pointer_expression "*(undefined4 **)(iVar3 + 8)" * (cast_expression "(undefined4 **)(iVar3 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)(iVar3,pSVar5);" (call_expression "(*(code *)puVar1)(iVar3,pSVar5)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,pSVar5)" ( identifier , identifier ))) ;) (expression_statement "(pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node._M_size =\n       (pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size + 1;" (assignment_expression "(pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node._M_size =\n       (pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size + 1" (field_expression "(pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node._M_size" (field_expression "(pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl._M_node" (field_expression "(pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n  _M_impl" (parenthesized_expression "(pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)" ( (binary_expression "pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>" (binary_expression "pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_" (binary_expression "pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold" (binary_expression "pSVar5->super__List_base<gold::Sections_element*,_std" (binary_expression "pSVar5->super__List_base<gold" (field_expression "pSVar5->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 "(pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size + 1" (field_expression "(pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node._M_size" (field_expression "(pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl._M_node" (field_expression "(pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)\n       ._M_impl" (parenthesized_expression "(pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)" ( (binary_expression "pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>" (binary_expression "pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_" (binary_expression "pSVar5->super__List_base<gold::Sections_element*,_std::allocator<gold" (binary_expression "pSVar5->super__List_base<gold::Sections_element*,_std" (binary_expression "pSVar5->super__List_base<gold" (field_expression "pSVar5->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)) ;) (return_statement "return;" return ;) })))
(translation_unit "void __thiscall gold::Script_sections::add_dot_assignment(Script_sections *this,Expression *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }\n  if (*(int *)(this + 4) == 0) {\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);\n  puVar2[1] = param_1;\n  puVar1 = PTR_operator_new_004c13a8;\n  iVar4 = *(int *)(this + 4);\n  *puVar2 = PTR_vtable_004c4728 + 8;\n  iVar3 = (*(code *)puVar1)(0xc);\n  puVar1 = PTR__M_hook_004c1c80;\n  *(undefined4 **)(iVar3 + 8) = puVar2;\n  (*(code *)puVar1)(iVar3,iVar4);\n  *(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1;\n  return;\n}\n\n" (function_definition "void __thiscall gold::Script_sections::add_dot_assignment(Script_sections *this,Expression *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }\n  if (*(int *)(this + 4) == 0) {\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);\n  puVar2[1] = param_1;\n  puVar1 = PTR_operator_new_004c13a8;\n  iVar4 = *(int *)(this + 4);\n  *puVar2 = PTR_vtable_004c4728 + 8;\n  iVar3 = (*(code *)puVar1)(0xc);\n  puVar1 = PTR__M_hook_004c1c80;\n  *(undefined4 **)(iVar3 + 8) = puVar2;\n  (*(code *)puVar1)(iVar3,iVar4);\n  *(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_sections::" identifier : : identifier : :) (function_declarator "add_dot_assignment(Script_sections *this,Expression *param_1)" identifier (parameter_list "(Script_sections *this,Expression *param_1)" ( (parameter_declaration "Script_sections *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Expression *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }\n  if (*(int *)(this + 4) == 0) {\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);\n  puVar2[1] = param_1;\n  puVar1 = PTR_operator_new_004c13a8;\n  iVar4 = *(int *)(this + 4);\n  *puVar2 = PTR_vtable_004c4728 + 8;\n  iVar3 = (*(code *)puVar1)(0xc);\n  puVar1 = PTR__M_hook_004c1c80;\n  *(undefined4 **)(iVar3 + 8) = puVar2;\n  (*(code *)puVar1)(iVar3,iVar4);\n  *(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1;\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }" if (parenthesized_expression "(*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0)" ( (binary_expression "*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0" (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) )))) != (cast_expression "(Output_section_definition *)0x0" ( (type_descriptor "Output_section_definition *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }" { (labeled_statement "Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;" statement_identifier : (ERROR ":" :) (expression_statement "add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;" (call_expression "add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)" identifier (argument_list "(*(Output_section_definition **)(this + 8),param_1)" ( (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 ;) })) (if_statement "if (*(int *)(this + 4) == 0) {\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }" if (parenthesized_expression "(*(int *)(this + 4) == 0)" ( (binary_expression "*(int *)(this + 4) == 0" (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) )))) == number_literal) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }" { (expression_statement "iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);" (assignment_expression "iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc)" identifier = (call_expression "(*(code *)PTR_operator_new_004c13a8)(0xc)" (parenthesized_expression "(*(code *)PTR_operator_new_004c13a8)" ( (pointer_expression "*(code *)PTR_operator_new_004c13a8" * (cast_expression "(code *)PTR_operator_new_004c13a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal )))) ;) (expression_statement "*(int *)(this + 4) = iVar3;" (assignment_expression "*(int *)(this + 4) = iVar3" (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) )))) = identifier) ;) (expression_statement "*(int *)(iVar3 + 4) = iVar3;" (assignment_expression "*(int *)(iVar3 + 4) = iVar3" (pointer_expression "*(int *)(iVar3 + 4)" * (cast_expression "(int *)(iVar3 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 4)" ( (binary_expression "iVar3 + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)iVar3 = iVar3;" (assignment_expression "*(int *)iVar3 = iVar3" (pointer_expression "*(int *)iVar3" * (cast_expression "(int *)iVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(iVar3 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 8)" * (cast_expression "(undefined4 *)(iVar3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*this = (Script_sections)0x1;" (assignment_expression "*this = (Script_sections)0x1" (pointer_expression "*this" * identifier) = (cast_expression "(Script_sections)0x1" ( (type_descriptor "Script_sections" type_identifier) ) number_literal)) ;) })) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_operator_new_004c13a8)(8)" (parenthesized_expression "(*(code *)PTR_operator_new_004c13a8)" ( (pointer_expression "*(code *)PTR_operator_new_004c13a8" * (cast_expression "(code *)PTR_operator_new_004c13a8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(8)" ( number_literal ))))) ;) (expression_statement "puVar2[1] = param_1;" (assignment_expression "puVar2[1] = param_1" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar1 = PTR_operator_new_004c13a8;" (assignment_expression "puVar1 = PTR_operator_new_004c13a8" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)(this + 4);" (assignment_expression "iVar4 = *(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 "*puVar2 = PTR_vtable_004c4728 + 8;" (assignment_expression "*puVar2 = PTR_vtable_004c4728 + 8" (pointer_expression "*puVar2" * identifier) = (binary_expression "PTR_vtable_004c4728 + 8" identifier + number_literal)) ;) (expression_statement "iVar3 = (*(code *)puVar1)(0xc);" (assignment_expression "iVar3 = (*(code *)puVar1)(0xc)" identifier = (call_expression "(*(code *)puVar1)(0xc)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0xc)" ( number_literal )))) ;) (expression_statement "puVar1 = PTR__M_hook_004c1c80;" (assignment_expression "puVar1 = PTR__M_hook_004c1c80" identifier = identifier) ;) (expression_statement "*(undefined4 **)(iVar3 + 8) = puVar2;" (assignment_expression "*(undefined4 **)(iVar3 + 8) = puVar2" (pointer_expression "*(undefined4 **)(iVar3 + 8)" * (cast_expression "(undefined4 **)(iVar3 + 8)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar3 + 8)" ( (binary_expression "iVar3 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar1)(iVar3,iVar4);" (call_expression "(*(code *)puVar1)(iVar3,iVar4)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar3,iVar4)" ( identifier , identifier ))) ;) (expression_statement "*(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1;" (assignment_expression "*(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1" (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar4 + 8) + 1" (pointer_expression "*(int *)(iVar4 + 8)" * (cast_expression "(int *)(iVar4 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 8)" ( (binary_expression "iVar4 + 8" identifier + number_literal) )))) + 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)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;)) (return_statement return ;) })) (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 IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) LIT)) ;) })) (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 ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression 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 * IDENT) = (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 (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)) ;) (return_statement return ;) })))
(function_definition "void __thiscall gold::Script_sections::add_dot_assignment(Script_sections *this,Expression *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }\n  if (*(int *)(this + 4) == 0) {\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);\n  puVar2[1] = param_1;\n  puVar1 = PTR_operator_new_004c13a8;\n  iVar4 = *(int *)(this + 4);\n  *puVar2 = PTR_vtable_004c4728 + 8;\n  iVar3 = (*(code *)puVar1)(0xc);\n  puVar1 = PTR__M_hook_004c1c80;\n  *(undefined4 **)(iVar3 + 8) = puVar2;\n  (*(code *)puVar1)(iVar3,iVar4);\n  *(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1;\n  return;\n}" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::Script_sections::" (identifier "gold") (: ":") (: ":") (identifier "Script_sections") (: ":") (: ":")) (function_declarator "add_dot_assignment(Script_sections *this,Expression *param_1)" (identifier "add_dot_assignment") (parameter_list "(Script_sections *this,Expression *param_1)" (( "(") (parameter_declaration "Script_sections *this" (type_identifier "Script_sections") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "Expression *param_1" (type_identifier "Expression") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int iVar4;\n  \n  if (*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }\n  if (*(int *)(this + 4) == 0) {\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }\n  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);\n  puVar2[1] = param_1;\n  puVar1 = PTR_operator_new_004c13a8;\n  iVar4 = *(int *)(this + 4);\n  *puVar2 = PTR_vtable_004c4728 + 8;\n  iVar3 = (*(code *)puVar1)(0xc);\n  puVar1 = PTR__M_hook_004c1c80;\n  *(undefined4 **)(iVar3 + 8) = puVar2;\n  (*(code *)puVar1)(iVar3,iVar4);\n  *(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1;\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (if_statement "if (*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0) {\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }" (if "if") (parenthesized_expression "(*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0)" (( "(") (binary_expression "*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0" (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")) () ")")))) (!= "!=") (cast_expression "(Output_section_definition *)0x0" (( "(") (type_descriptor "Output_section_definition *" (type_identifier "Output_section_definition") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;\n    return;\n  }" ({ "{") (labeled_statement "Output_section_definition::add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;" (statement_identifier "Output_section_definition") (: ":") (ERROR ":" (: ":")) (expression_statement "add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)\n    ;" (call_expression "add_dot_assignment(*(Output_section_definition **)(this + 8),param_1)" (identifier "add_dot_assignment") (argument_list "(*(Output_section_definition **)(this + 8),param_1)" (( "(") (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 "param_1") () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*(int *)(this + 4) == 0) {\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }" (if "if") (parenthesized_expression "(*(int *)(this + 4) == 0)" (( "(") (binary_expression "*(int *)(this + 4) == 0" (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")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);\n    *(int *)(this + 4) = iVar3;\n    *(int *)(iVar3 + 4) = iVar3;\n    *(int *)iVar3 = iVar3;\n    *(undefined4 *)(iVar3 + 8) = 0;\n    *this = (Script_sections)0x1;\n  }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);" (assignment_expression "iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_operator_new_004c13a8)(0xc)" (parenthesized_expression "(*(code *)PTR_operator_new_004c13a8)" (( "(") (pointer_expression "*(code *)PTR_operator_new_004c13a8" (* "*") (cast_expression "(code *)PTR_operator_new_004c13a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_operator_new_004c13a8"))) () ")")) (argument_list "(0xc)" (( "(") (number_literal "0xc") () ")")))) (; ";")) (expression_statement "*(int *)(this + 4) = iVar3;" (assignment_expression "*(int *)(this + 4) = 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")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)(iVar3 + 4) = iVar3;" (assignment_expression "*(int *)(iVar3 + 4) = iVar3" (pointer_expression "*(int *)(iVar3 + 4)" (* "*") (cast_expression "(int *)(iVar3 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 4)" (( "(") (binary_expression "iVar3 + 4" (identifier "iVar3") (+ "+") (number_literal "4")) () ")")))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)iVar3 = iVar3;" (assignment_expression "*(int *)iVar3 = iVar3" (pointer_expression "*(int *)iVar3" (* "*") (cast_expression "(int *)iVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "iVar3"))) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 8) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 8) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*this = (Script_sections)0x1;" (assignment_expression "*this = (Script_sections)0x1" (pointer_expression "*this" (* "*") (identifier "this")) (= "=") (cast_expression "(Script_sections)0x1" (( "(") (type_descriptor "Script_sections" (type_identifier "Script_sections")) () ")") (number_literal "0x1"))) (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);" (assignment_expression "puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_operator_new_004c13a8)(8)" (parenthesized_expression "(*(code *)PTR_operator_new_004c13a8)" (( "(") (pointer_expression "*(code *)PTR_operator_new_004c13a8" (* "*") (cast_expression "(code *)PTR_operator_new_004c13a8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_operator_new_004c13a8"))) () ")")) (argument_list "(8)" (( "(") (number_literal "8") () ")"))))) (; ";")) (expression_statement "puVar2[1] = param_1;" (assignment_expression "puVar2[1] = param_1" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "puVar1 = PTR_operator_new_004c13a8;" (assignment_expression "puVar1 = PTR_operator_new_004c13a8" (identifier "puVar1") (= "=") (identifier "PTR_operator_new_004c13a8")) (; ";")) (expression_statement "iVar4 = *(int *)(this + 4);" (assignment_expression "iVar4 = *(int *)(this + 4)" (identifier "iVar4") (= "=") (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 "*puVar2 = PTR_vtable_004c4728 + 8;" (assignment_expression "*puVar2 = PTR_vtable_004c4728 + 8" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (binary_expression "PTR_vtable_004c4728 + 8" (identifier "PTR_vtable_004c4728") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "iVar3 = (*(code *)puVar1)(0xc);" (assignment_expression "iVar3 = (*(code *)puVar1)(0xc)" (identifier "iVar3") (= "=") (call_expression "(*(code *)puVar1)(0xc)" (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 "(0xc)" (( "(") (number_literal "0xc") () ")")))) (; ";")) (expression_statement "puVar1 = PTR__M_hook_004c1c80;" (assignment_expression "puVar1 = PTR__M_hook_004c1c80" (identifier "puVar1") (= "=") (identifier "PTR__M_hook_004c1c80")) (; ";")) (expression_statement "*(undefined4 **)(iVar3 + 8) = puVar2;" (assignment_expression "*(undefined4 **)(iVar3 + 8) = puVar2" (pointer_expression "*(undefined4 **)(iVar3 + 8)" (* "*") (cast_expression "(undefined4 **)(iVar3 + 8)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar3 + 8)" (( "(") (binary_expression "iVar3 + 8" (identifier "iVar3") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "(*(code *)puVar1)(iVar3,iVar4);" (call_expression "(*(code *)puVar1)(iVar3,iVar4)" (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 "(iVar3,iVar4)" (( "(") (identifier "iVar3") (, ",") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "*(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1;" (assignment_expression "*(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1" (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "*(int *)(iVar4 + 8) + 1" (pointer_expression "*(int *)(iVar4 + 8)" (* "*") (cast_expression "(int *)(iVar4 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 8)" (( "(") (binary_expression "iVar4 + 8" (identifier "iVar4") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "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: (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)) (if_statement condition: (parenthesized_expression (binary_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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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))))) (identifier))))) (return_statement))) (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: (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: (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: (identifier))) (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: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal)))))) (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)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier)) right: (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: (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)))) (return_statement))))

/* gold::Script_sections::MASKED(gold::Expression*) */

void __thiscall gold::Script_sections::MASKED(Script_sections *this,Expression *param_1)

{
  undefined *puVar1;
  undefined4 *puVar2;
  int iVar3;
  int iVar4;
  
  if (*(Output_section_definition **)(this + 8) != (Output_section_definition *)0x0) {
    Output_section_definition::MASKED(*(Output_section_definition **)(this + 8),param_1)
    ;
    return;
  }
  if (*(int *)(this + 4) == 0) {
    iVar3 = (*(code *)PTR_operator_new_004c13a8)(0xc);
    *(int *)(this + 4) = iVar3;
    *(int *)(iVar3 + 4) = iVar3;
    *(int *)iVar3 = iVar3;
    *(undefined4 *)(iVar3 + 8) = 0;
    *this = (Script_sections)0x1;
  }
  puVar2 = (undefined4 *)(*(code *)PTR_operator_new_004c13a8)(8);
  puVar2[1] = param_1;
  puVar1 = PTR_operator_new_004c13a8;
  iVar4 = *(int *)(this + 4);
  *puVar2 = PTR_vtable_004c4728 + 8;
  iVar3 = (*(code *)puVar1)(0xc);
  puVar1 = PTR__M_hook_004c1c80;
  *(undefined4 **)(iVar3 + 8) = puVar2;
  (*(code *)puVar1)(iVar3,iVar4);
  *(int *)(iVar4 + 8) = *(int *)(iVar4 + 8) + 1;
  return;
}

