
/* 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)

{
  _List_node_base *p_Var1;
  _List_node_base *this_00;
  _List_node_base *p_Var2;
  
  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_Var2 = (_List_node_base *)operator_new(0x18);
    this->saw_sections_clause_ = true;
    p_Var2->_M_prev = p_Var2;
    p_Var2->_M_next = p_Var2;
    p_Var2[1]._M_next = (_List_node_base *)0x0;
    this->sections_elements_ = (Sections_elements *)p_Var2;
  }
  p_Var1 = (_List_node_base *)operator_new(0x10);
  p_Var2 = (_List_node_base *)this->sections_elements_;
  p_Var1->_M_prev = (_List_node_base *)val;
  p_Var1->_M_next = (_List_node_base *)&PTR__Sections_element_dot_assignment_003ad258;
  this_00 = (_List_node_base *)operator_new(0x18);
  this_00[1]._M_next = p_Var1;
  std::__detail::_List_node_base::_M_hook(this_00,p_Var2);
  p_Var2 = p_Var2 + 1;
  p_Var2->_M_next = (_List_node_base *)((long)&p_Var2->_M_next->_M_next + 1);
  return;
}



void FUN_00206cb0(undefined1 *param_1,undefined8 param_2)

{
  long *plVar1;
  undefined8 *puVar2;
  long lVar3;
  long lVar4;
  
  if (*(long *)(param_1 + 0x10) != 0) {
    FUN_00206c50(*(long *)(param_1 + 0x10));
    return;
  }
  if (*(long *)(param_1 + 8) == 0) {
    lVar4 = FUN_00275550(0x18);
    *param_1 = 1;
    *(long *)(lVar4 + 8) = lVar4;
    *(long *)lVar4 = lVar4;
    *(undefined8 *)(lVar4 + 0x10) = 0;
    *(long *)(param_1 + 8) = lVar4;
  }
  puVar2 = (undefined8 *)FUN_00275550(0x10);
  lVar4 = *(long *)(param_1 + 8);
  puVar2[1] = param_2;
  *puVar2 = &PTR_FUN_003ad258;
  lVar3 = FUN_00275550(0x18);
  *(undefined8 **)(lVar3 + 0x10) = puVar2;
  FUN_00279bc0(lVar3,lVar4);
  plVar1 = (long *)(lVar4 + 0x10);
  *plVar1 = *plVar1 + 1;
  return;
}


MOV RAX,qword ptr [RDI + 0x10]
TEST RAX,RAX
JZ 0x00206cc0
MOV RDI,RAX
JMP 0x00206c50
PUSH R12
PUSH RBP
MOV RBP,RSI
PUSH RBX
CMP qword ptr [RDI + 0x8],0x0
MOV RBX,RDI
JZ 0x00206d18
MOV EDI,0x10
CALL 0x00275550
MOV EDI,0x18
MOV RBX,qword ptr [RBX + 0x8]
MOV R12,RAX
LEA RAX,[0x3ad258]
MOV qword ptr [R12 + 0x8],RBP
MOV qword ptr [R12],RAX
CALL 0x00275550
MOV RSI,RBX
MOV qword ptr [RAX + 0x10],R12
MOV RDI,RAX
CALL 0x00279bc0
ADD qword ptr [RBX + 0x10],0x1
POP RBX
POP RBP
POP R12
RET
MOV EDI,0x18
CALL 0x00275550
MOV byte ptr [RBX],0x1
MOV qword ptr [RAX + 0x8],RAX
MOV qword ptr [RAX],RAX
MOV qword ptr [RAX + 0x10],0x0
MOV qword ptr [RBX + 0x8],RAX
JMP 0x00206cd1
(translation_unit "void FUN_00206cb0(undefined1 *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  undefined8 *puVar2;\n  long lVar3;\n  long lVar4;\n  \n  if (*(long *)(param_1 + 0x10) != 0) {\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }\n  if (*(long *)(param_1 + 8) == 0) {\n    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }\n  puVar2 = (undefined8 *)FUN_00275550(0x10);\n  lVar4 = *(long *)(param_1 + 8);\n  puVar2[1] = param_2;\n  *puVar2 = &PTR_FUN_003ad258;\n  lVar3 = FUN_00275550(0x18);\n  *(undefined8 **)(lVar3 + 0x10) = puVar2;\n  FUN_00279bc0(lVar3,lVar4);\n  plVar1 = (long *)(lVar4 + 0x10);\n  *plVar1 = *plVar1 + 1;\n  return;\n}\n\n" (function_definition "void FUN_00206cb0(undefined1 *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  undefined8 *puVar2;\n  long lVar3;\n  long lVar4;\n  \n  if (*(long *)(param_1 + 0x10) != 0) {\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }\n  if (*(long *)(param_1 + 8) == 0) {\n    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }\n  puVar2 = (undefined8 *)FUN_00275550(0x10);\n  lVar4 = *(long *)(param_1 + 8);\n  puVar2[1] = param_2;\n  *puVar2 = &PTR_FUN_003ad258;\n  lVar3 = FUN_00275550(0x18);\n  *(undefined8 **)(lVar3 + 0x10) = puVar2;\n  FUN_00279bc0(lVar3,lVar4);\n  plVar1 = (long *)(lVar4 + 0x10);\n  *plVar1 = *plVar1 + 1;\n  return;\n}" primitive_type (function_declarator "FUN_00206cb0(undefined1 *param_1,undefined8 param_2)" identifier (parameter_list "(undefined1 *param_1,undefined8 param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  long *plVar1;\n  undefined8 *puVar2;\n  long lVar3;\n  long lVar4;\n  \n  if (*(long *)(param_1 + 0x10) != 0) {\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }\n  if (*(long *)(param_1 + 8) == 0) {\n    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }\n  puVar2 = (undefined8 *)FUN_00275550(0x10);\n  lVar4 = *(long *)(param_1 + 8);\n  puVar2[1] = param_2;\n  *puVar2 = &PTR_FUN_003ad258;\n  lVar3 = FUN_00275550(0x18);\n  *(undefined8 **)(lVar3 + 0x10) = puVar2;\n  FUN_00279bc0(lVar3,lVar4);\n  plVar1 = (long *)(lVar4 + 0x10);\n  *plVar1 = *plVar1 + 1;\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (*(long *)(param_1 + 0x10) != 0) {\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x10) != 0)" ( (binary_expression "*(long *)(param_1 + 0x10) != 0" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }" { (expression_statement "FUN_00206c50(*(long *)(param_1 + 0x10));" (call_expression "FUN_00206c50(*(long *)(param_1 + 0x10))" identifier (argument_list "(*(long *)(param_1 + 0x10))" ( (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (*(long *)(param_1 + 8) == 0) {\n    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 8) == 0)" ( (binary_expression "*(long *)(param_1 + 8) == 0" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }" { (expression_statement "lVar4 = FUN_00275550(0x18);" (assignment_expression "lVar4 = FUN_00275550(0x18)" identifier = (call_expression "FUN_00275550(0x18)" identifier (argument_list "(0x18)" ( number_literal )))) ;) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "*(long *)(lVar4 + 8) = lVar4;" (assignment_expression "*(long *)(lVar4 + 8) = lVar4" (pointer_expression "*(long *)(lVar4 + 8)" * (cast_expression "(long *)(lVar4 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 8)" ( (binary_expression "lVar4 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(long *)lVar4 = lVar4;" (assignment_expression "*(long *)lVar4 = lVar4" (pointer_expression "*(long *)lVar4" * (cast_expression "(long *)lVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined8 *)(lVar4 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(lVar4 + 0x10) = 0" (pointer_expression "*(undefined8 *)(lVar4 + 0x10)" * (cast_expression "(undefined8 *)(lVar4 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x10)" ( (binary_expression "lVar4 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(long *)(param_1 + 8) = lVar4;" (assignment_expression "*(long *)(param_1 + 8) = lVar4" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "puVar2 = (undefined8 *)FUN_00275550(0x10);" (assignment_expression "puVar2 = (undefined8 *)FUN_00275550(0x10)" identifier = (cast_expression "(undefined8 *)FUN_00275550(0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00275550(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "lVar4 = *(long *)(param_1 + 8);" (assignment_expression "lVar4 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = &PTR_FUN_003ad258;" (assignment_expression "*puVar2 = &PTR_FUN_003ad258" (pointer_expression "*puVar2" * identifier) = (pointer_expression "&PTR_FUN_003ad258" & identifier)) ;) (expression_statement "lVar3 = FUN_00275550(0x18);" (assignment_expression "lVar3 = FUN_00275550(0x18)" identifier = (call_expression "FUN_00275550(0x18)" identifier (argument_list "(0x18)" ( number_literal )))) ;) (expression_statement "*(undefined8 **)(lVar3 + 0x10) = puVar2;" (assignment_expression "*(undefined8 **)(lVar3 + 0x10) = puVar2" (pointer_expression "*(undefined8 **)(lVar3 + 0x10)" * (cast_expression "(undefined8 **)(lVar3 + 0x10)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_00279bc0(lVar3,lVar4);" (call_expression "FUN_00279bc0(lVar3,lVar4)" identifier (argument_list "(lVar3,lVar4)" ( identifier , identifier ))) ;) (expression_statement "plVar1 = (long *)(lVar4 + 0x10);" (assignment_expression "plVar1 = (long *)(lVar4 + 0x10)" identifier = (cast_expression "(long *)(lVar4 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x10)" ( (binary_expression "lVar4 + 0x10" identifier + number_literal) )))) ;) (expression_statement "*plVar1 = *plVar1 + 1;" (assignment_expression "*plVar1 = *plVar1 + 1" (pointer_expression "*plVar1" * identifier) = (binary_expression "*plVar1 + 1" (pointer_expression "*plVar1" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* 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  _List_node_base *p_Var1;\n  _List_node_base *this_00;\n  _List_node_base *p_Var2;\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_Var2 = (_List_node_base *)operator_new(0x18);\n    this->saw_sections_clause_ = true;\n    p_Var2->_M_prev = p_Var2;\n    p_Var2->_M_next = p_Var2;\n    p_Var2[1]._M_next = (_List_node_base *)0x0;\n    this->sections_elements_ = (Sections_elements *)p_Var2;\n  }\n  p_Var1 = (_List_node_base *)operator_new(0x10);\n  p_Var2 = (_List_node_base *)this->sections_elements_;\n  p_Var1->_M_prev = (_List_node_base *)val;\n  p_Var1->_M_next = (_List_node_base *)&PTR__Sections_element_dot_assignment_003ad258;\n  this_00 = (_List_node_base *)operator_new(0x18);\n  this_00[1]._M_next = p_Var1;\n  std::__detail::_List_node_base::_M_hook(this_00,p_Var2);\n  p_Var2 = p_Var2 + 1;\n  p_Var2->_M_next = (_List_node_base *)((long)&p_Var2->_M_next->_M_next + 1);\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Script_sections::add_dot_assignment(Script_sections *this,Expression *val)\n\n{\n  _List_node_base *p_Var1;\n  _List_node_base *this_00;\n  _List_node_base *p_Var2;\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_Var2 = (_List_node_base *)operator_new(0x18);\n    this->saw_sections_clause_ = true;\n    p_Var2->_M_prev = p_Var2;\n    p_Var2->_M_next = p_Var2;\n    p_Var2[1]._M_next = (_List_node_base *)0x0;\n    this->sections_elements_ = (Sections_elements *)p_Var2;\n  }\n  p_Var1 = (_List_node_base *)operator_new(0x10);\n  p_Var2 = (_List_node_base *)this->sections_elements_;\n  p_Var1->_M_prev = (_List_node_base *)val;\n  p_Var1->_M_next = (_List_node_base *)&PTR__Sections_element_dot_assignment_003ad258;\n  this_00 = (_List_node_base *)operator_new(0x18);\n  this_00[1]._M_next = p_Var1;\n  std::__detail::_List_node_base::_M_hook(this_00,p_Var2);\n  p_Var2 = p_Var2 + 1;\n  p_Var2->_M_next = (_List_node_base *)((long)&p_Var2->_M_next->_M_next + 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  _List_node_base *p_Var1;\n  _List_node_base *this_00;\n  _List_node_base *p_Var2;\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_Var2 = (_List_node_base *)operator_new(0x18);\n    this->saw_sections_clause_ = true;\n    p_Var2->_M_prev = p_Var2;\n    p_Var2->_M_next = p_Var2;\n    p_Var2[1]._M_next = (_List_node_base *)0x0;\n    this->sections_elements_ = (Sections_elements *)p_Var2;\n  }\n  p_Var1 = (_List_node_base *)operator_new(0x10);\n  p_Var2 = (_List_node_base *)this->sections_elements_;\n  p_Var1->_M_prev = (_List_node_base *)val;\n  p_Var1->_M_next = (_List_node_base *)&PTR__Sections_element_dot_assignment_003ad258;\n  this_00 = (_List_node_base *)operator_new(0x18);\n  this_00[1]._M_next = p_Var1;\n  std::__detail::_List_node_base::_M_hook(this_00,p_Var2);\n  p_Var2 = p_Var2 + 1;\n  p_Var2->_M_next = (_List_node_base *)((long)&p_Var2->_M_next->_M_next + 1);\n  return;\n}" { (declaration "_List_node_base *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "_List_node_base *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "_List_node_base *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * 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_Var2 = (_List_node_base *)operator_new(0x18);\n    this->saw_sections_clause_ = true;\n    p_Var2->_M_prev = p_Var2;\n    p_Var2->_M_next = p_Var2;\n    p_Var2[1]._M_next = (_List_node_base *)0x0;\n    this->sections_elements_ = (Sections_elements *)p_Var2;\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_Var2 = (_List_node_base *)operator_new(0x18);\n    this->saw_sections_clause_ = true;\n    p_Var2->_M_prev = p_Var2;\n    p_Var2->_M_next = p_Var2;\n    p_Var2[1]._M_next = (_List_node_base *)0x0;\n    this->sections_elements_ = (Sections_elements *)p_Var2;\n  }" { (expression_statement "p_Var2 = (_List_node_base *)operator_new(0x18);" (assignment_expression "p_Var2 = (_List_node_base *)operator_new(0x18)" identifier = (cast_expression "(_List_node_base *)operator_new(0x18)" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x18)" identifier (argument_list "(0x18)" ( 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 "p_Var2->_M_prev = p_Var2;" (assignment_expression "p_Var2->_M_prev = p_Var2" (field_expression "p_Var2->_M_prev" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var2->_M_next = p_Var2;" (assignment_expression "p_Var2->_M_next = p_Var2" (field_expression "p_Var2->_M_next" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var2[1]._M_next = (_List_node_base *)0x0;" (assignment_expression "p_Var2[1]._M_next = (_List_node_base *)0x0" (field_expression "p_Var2[1]._M_next" (subscript_expression "p_Var2[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->sections_elements_ = (Sections_elements *)p_Var2;" (assignment_expression "this->sections_elements_ = (Sections_elements *)p_Var2" (field_expression "this->sections_elements_" identifier -> field_identifier) = (cast_expression "(Sections_elements *)p_Var2" ( (type_descriptor "Sections_elements *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "p_Var1 = (_List_node_base *)operator_new(0x10);" (assignment_expression "p_Var1 = (_List_node_base *)operator_new(0x10)" identifier = (cast_expression "(_List_node_base *)operator_new(0x10)" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "p_Var2 = (_List_node_base *)this->sections_elements_;" (assignment_expression "p_Var2 = (_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 "p_Var1->_M_prev = (_List_node_base *)val;" (assignment_expression "p_Var1->_M_prev = (_List_node_base *)val" (field_expression "p_Var1->_M_prev" identifier -> field_identifier) = (cast_expression "(_List_node_base *)val" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "p_Var1->_M_next = (_List_node_base *)&PTR__Sections_element_dot_assignment_003ad258;" (assignment_expression "p_Var1->_M_next = (_List_node_base *)&PTR__Sections_element_dot_assignment_003ad258" (field_expression "p_Var1->_M_next" identifier -> field_identifier) = (cast_expression "(_List_node_base *)&PTR__Sections_element_dot_assignment_003ad258" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&PTR__Sections_element_dot_assignment_003ad258" & identifier))) ;) (expression_statement "this_00 = (_List_node_base *)operator_new(0x18);" (assignment_expression "this_00 = (_List_node_base *)operator_new(0x18)" identifier = (cast_expression "(_List_node_base *)operator_new(0x18)" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(0x18)" identifier (argument_list "(0x18)" ( number_literal ))))) ;) (expression_statement "this_00[1]._M_next = p_Var1;" (assignment_expression "this_00[1]._M_next = p_Var1" (field_expression "this_00[1]._M_next" (subscript_expression "this_00[1]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (labeled_statement "std::__detail::_List_node_base::_M_hook(this_00,p_Var2);" statement_identifier : (ERROR ":" :) (labeled_statement "__detail::_List_node_base::_M_hook(this_00,p_Var2);" statement_identifier : (ERROR ":" :) (labeled_statement "_List_node_base::_M_hook(this_00,p_Var2);" statement_identifier : (ERROR ":" :) (expression_statement "_M_hook(this_00,p_Var2);" (call_expression "_M_hook(this_00,p_Var2)" identifier (argument_list "(this_00,p_Var2)" ( identifier , identifier ))) ;)))) (expression_statement "p_Var2 = p_Var2 + 1;" (assignment_expression "p_Var2 = p_Var2 + 1" identifier = (binary_expression "p_Var2 + 1" identifier + number_literal)) ;) (expression_statement "p_Var2->_M_next = (_List_node_base *)((long)&p_Var2->_M_next->_M_next + 1);" (assignment_expression "p_Var2->_M_next = (_List_node_base *)((long)&p_Var2->_M_next->_M_next + 1)" (field_expression "p_Var2->_M_next" identifier -> field_identifier) = (cast_expression "(_List_node_base *)((long)&p_Var2->_M_next->_M_next + 1)" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&p_Var2->_M_next->_M_next + 1)" ( (binary_expression "(long)&p_Var2->_M_next->_M_next + 1" (cast_expression "(long)&p_Var2->_M_next->_M_next" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&p_Var2->_M_next->_M_next" & (field_expression "p_Var2->_M_next->_M_next" (field_expression "p_Var2->_M_next" identifier -> field_identifier) -> field_identifier))) + number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00206cb0(undefined1 *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  undefined8 *puVar2;\n  long lVar3;\n  long lVar4;\n  \n  if (*(long *)(param_1 + 0x10) != 0) {\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }\n  if (*(long *)(param_1 + 8) == 0) {\n    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }\n  puVar2 = (undefined8 *)FUN_00275550(0x10);\n  lVar4 = *(long *)(param_1 + 8);\n  puVar2[1] = param_2;\n  *puVar2 = &PTR_FUN_003ad258;\n  lVar3 = FUN_00275550(0x18);\n  *(undefined8 **)(lVar3 + 0x10) = puVar2;\n  FUN_00279bc0(lVar3,lVar4);\n  plVar1 = (long *)(lVar4 + 0x10);\n  *plVar1 = *plVar1 + 1;\n  return;\n}\n\n" (function_definition "void FUN_00206cb0(undefined1 *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  undefined8 *puVar2;\n  long lVar3;\n  long lVar4;\n  \n  if (*(long *)(param_1 + 0x10) != 0) {\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }\n  if (*(long *)(param_1 + 8) == 0) {\n    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }\n  puVar2 = (undefined8 *)FUN_00275550(0x10);\n  lVar4 = *(long *)(param_1 + 8);\n  puVar2[1] = param_2;\n  *puVar2 = &PTR_FUN_003ad258;\n  lVar3 = FUN_00275550(0x18);\n  *(undefined8 **)(lVar3 + 0x10) = puVar2;\n  FUN_00279bc0(lVar3,lVar4);\n  plVar1 = (long *)(lVar4 + 0x10);\n  *plVar1 = *plVar1 + 1;\n  return;\n}" primitive_type (function_declarator "FUN_00206cb0(undefined1 *param_1,undefined8 param_2)" identifier (parameter_list "(undefined1 *param_1,undefined8 param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined8 param_2" type_identifier identifier) ))) (compound_statement "{\n  long *plVar1;\n  undefined8 *puVar2;\n  long lVar3;\n  long lVar4;\n  \n  if (*(long *)(param_1 + 0x10) != 0) {\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }\n  if (*(long *)(param_1 + 8) == 0) {\n    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }\n  puVar2 = (undefined8 *)FUN_00275550(0x10);\n  lVar4 = *(long *)(param_1 + 8);\n  puVar2[1] = param_2;\n  *puVar2 = &PTR_FUN_003ad258;\n  lVar3 = FUN_00275550(0x18);\n  *(undefined8 **)(lVar3 + 0x10) = puVar2;\n  FUN_00279bc0(lVar3,lVar4);\n  plVar1 = (long *)(lVar4 + 0x10);\n  *plVar1 = *plVar1 + 1;\n  return;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (if_statement "if (*(long *)(param_1 + 0x10) != 0) {\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 0x10) != 0)" ( (binary_expression "*(long *)(param_1 + 0x10) != 0" (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }" { (expression_statement "FUN_00206c50(*(long *)(param_1 + 0x10));" (call_expression "FUN_00206c50(*(long *)(param_1 + 0x10))" identifier (argument_list "(*(long *)(param_1 + 0x10))" ( (pointer_expression "*(long *)(param_1 + 0x10)" * (cast_expression "(long *)(param_1 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) ))) ;) (return_statement "return;" return ;) })) (if_statement "if (*(long *)(param_1 + 8) == 0) {\n    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }" if (parenthesized_expression "(*(long *)(param_1 + 8) == 0)" ( (binary_expression "*(long *)(param_1 + 8) == 0" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }" { (expression_statement "lVar4 = FUN_00275550(0x18);" (assignment_expression "lVar4 = FUN_00275550(0x18)" identifier = (call_expression "FUN_00275550(0x18)" identifier (argument_list "(0x18)" ( number_literal )))) ;) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "*(long *)(lVar4 + 8) = lVar4;" (assignment_expression "*(long *)(lVar4 + 8) = lVar4" (pointer_expression "*(long *)(lVar4 + 8)" * (cast_expression "(long *)(lVar4 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 8)" ( (binary_expression "lVar4 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(long *)lVar4 = lVar4;" (assignment_expression "*(long *)lVar4 = lVar4" (pointer_expression "*(long *)lVar4" * (cast_expression "(long *)lVar4" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined8 *)(lVar4 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(lVar4 + 0x10) = 0" (pointer_expression "*(undefined8 *)(lVar4 + 0x10)" * (cast_expression "(undefined8 *)(lVar4 + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x10)" ( (binary_expression "lVar4 + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(long *)(param_1 + 8) = lVar4;" (assignment_expression "*(long *)(param_1 + 8) = lVar4" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "puVar2 = (undefined8 *)FUN_00275550(0x10);" (assignment_expression "puVar2 = (undefined8 *)FUN_00275550(0x10)" identifier = (cast_expression "(undefined8 *)FUN_00275550(0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00275550(0x10)" identifier (argument_list "(0x10)" ( number_literal ))))) ;) (expression_statement "lVar4 = *(long *)(param_1 + 8);" (assignment_expression "lVar4 = *(long *)(param_1 + 8)" identifier = (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar2 = &PTR_FUN_003ad258;" (assignment_expression "*puVar2 = &PTR_FUN_003ad258" (pointer_expression "*puVar2" * identifier) = (pointer_expression "&PTR_FUN_003ad258" & identifier)) ;) (expression_statement "lVar3 = FUN_00275550(0x18);" (assignment_expression "lVar3 = FUN_00275550(0x18)" identifier = (call_expression "FUN_00275550(0x18)" identifier (argument_list "(0x18)" ( number_literal )))) ;) (expression_statement "*(undefined8 **)(lVar3 + 0x10) = puVar2;" (assignment_expression "*(undefined8 **)(lVar3 + 0x10) = puVar2" (pointer_expression "*(undefined8 **)(lVar3 + 0x10)" * (cast_expression "(undefined8 **)(lVar3 + 0x10)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(lVar3 + 0x10)" ( (binary_expression "lVar3 + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "FUN_00279bc0(lVar3,lVar4);" (call_expression "FUN_00279bc0(lVar3,lVar4)" identifier (argument_list "(lVar3,lVar4)" ( identifier , identifier ))) ;) (expression_statement "plVar1 = (long *)(lVar4 + 0x10);" (assignment_expression "plVar1 = (long *)(lVar4 + 0x10)" identifier = (cast_expression "(long *)(lVar4 + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x10)" ( (binary_expression "lVar4 + 0x10" identifier + number_literal) )))) ;) (expression_statement "*plVar1 = *plVar1 + 1;" (assignment_expression "*plVar1 = *plVar1 + 1" (pointer_expression "*plVar1" * identifier) = (binary_expression "*plVar1 + 1" (pointer_expression "*plVar1" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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 * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (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 * (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (return_statement return ;) })))
(function_definition "void FUN_00206cb0(undefined1 *param_1,undefined8 param_2)\n\n{\n  long *plVar1;\n  undefined8 *puVar2;\n  long lVar3;\n  long lVar4;\n  \n  if (*(long *)(param_1 + 0x10) != 0) {\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }\n  if (*(long *)(param_1 + 8) == 0) {\n    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }\n  puVar2 = (undefined8 *)FUN_00275550(0x10);\n  lVar4 = *(long *)(param_1 + 8);\n  puVar2[1] = param_2;\n  *puVar2 = &PTR_FUN_003ad258;\n  lVar3 = FUN_00275550(0x18);\n  *(undefined8 **)(lVar3 + 0x10) = puVar2;\n  FUN_00279bc0(lVar3,lVar4);\n  plVar1 = (long *)(lVar4 + 0x10);\n  *plVar1 = *plVar1 + 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00206cb0(undefined1 *param_1,undefined8 param_2)" (identifier "FUN_00206cb0") (parameter_list "(undefined1 *param_1,undefined8 param_2)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined8 param_2" (type_identifier "undefined8") (identifier "param_2")) () ")"))) (compound_statement "{\n  long *plVar1;\n  undefined8 *puVar2;\n  long lVar3;\n  long lVar4;\n  \n  if (*(long *)(param_1 + 0x10) != 0) {\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }\n  if (*(long *)(param_1 + 8) == 0) {\n    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }\n  puVar2 = (undefined8 *)FUN_00275550(0x10);\n  lVar4 = *(long *)(param_1 + 8);\n  puVar2[1] = param_2;\n  *puVar2 = &PTR_FUN_003ad258;\n  lVar3 = FUN_00275550(0x18);\n  *(undefined8 **)(lVar3 + 0x10) = puVar2;\n  FUN_00279bc0(lVar3,lVar4);\n  plVar1 = (long *)(lVar4 + 0x10);\n  *plVar1 = *plVar1 + 1;\n  return;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "undefined8 *puVar2;" (type_identifier "undefined8") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (if_statement "if (*(long *)(param_1 + 0x10) != 0) {\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x10) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x10) != 0" (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00206c50(*(long *)(param_1 + 0x10));\n    return;\n  }" ({ "{") (expression_statement "FUN_00206c50(*(long *)(param_1 + 0x10));" (call_expression "FUN_00206c50(*(long *)(param_1 + 0x10))" (identifier "FUN_00206c50") (argument_list "(*(long *)(param_1 + 0x10))" (( "(") (pointer_expression "*(long *)(param_1 + 0x10)" (* "*") (cast_expression "(long *)(param_1 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (*(long *)(param_1 + 8) == 0) {\n    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 8) == 0)" (( "(") (binary_expression "*(long *)(param_1 + 8) == 0" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (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    lVar4 = FUN_00275550(0x18);\n    *param_1 = 1;\n    *(long *)(lVar4 + 8) = lVar4;\n    *(long *)lVar4 = lVar4;\n    *(undefined8 *)(lVar4 + 0x10) = 0;\n    *(long *)(param_1 + 8) = lVar4;\n  }" ({ "{") (expression_statement "lVar4 = FUN_00275550(0x18);" (assignment_expression "lVar4 = FUN_00275550(0x18)" (identifier "lVar4") (= "=") (call_expression "FUN_00275550(0x18)" (identifier "FUN_00275550") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")")))) (; ";")) (expression_statement "*param_1 = 1;" (assignment_expression "*param_1 = 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(long *)(lVar4 + 8) = lVar4;" (assignment_expression "*(long *)(lVar4 + 8) = lVar4" (pointer_expression "*(long *)(lVar4 + 8)" (* "*") (cast_expression "(long *)(lVar4 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 8)" (( "(") (binary_expression "lVar4 + 8" (identifier "lVar4") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "lVar4")) (; ";")) (expression_statement "*(long *)lVar4 = lVar4;" (assignment_expression "*(long *)lVar4 = lVar4" (pointer_expression "*(long *)lVar4" (* "*") (cast_expression "(long *)lVar4" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "lVar4"))) (= "=") (identifier "lVar4")) (; ";")) (expression_statement "*(undefined8 *)(lVar4 + 0x10) = 0;" (assignment_expression "*(undefined8 *)(lVar4 + 0x10) = 0" (pointer_expression "*(undefined8 *)(lVar4 + 0x10)" (* "*") (cast_expression "(undefined8 *)(lVar4 + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x10)" (( "(") (binary_expression "lVar4 + 0x10" (identifier "lVar4") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(long *)(param_1 + 8) = lVar4;" (assignment_expression "*(long *)(param_1 + 8) = lVar4" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "lVar4")) (; ";")) (} "}"))) (expression_statement "puVar2 = (undefined8 *)FUN_00275550(0x10);" (assignment_expression "puVar2 = (undefined8 *)FUN_00275550(0x10)" (identifier "puVar2") (= "=") (cast_expression "(undefined8 *)FUN_00275550(0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00275550(0x10)" (identifier "FUN_00275550") (argument_list "(0x10)" (( "(") (number_literal "0x10") () ")"))))) (; ";")) (expression_statement "lVar4 = *(long *)(param_1 + 8);" (assignment_expression "lVar4 = *(long *)(param_1 + 8)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*puVar2 = &PTR_FUN_003ad258;" (assignment_expression "*puVar2 = &PTR_FUN_003ad258" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (pointer_expression "&PTR_FUN_003ad258" (& "&") (identifier "PTR_FUN_003ad258"))) (; ";")) (expression_statement "lVar3 = FUN_00275550(0x18);" (assignment_expression "lVar3 = FUN_00275550(0x18)" (identifier "lVar3") (= "=") (call_expression "FUN_00275550(0x18)" (identifier "FUN_00275550") (argument_list "(0x18)" (( "(") (number_literal "0x18") () ")")))) (; ";")) (expression_statement "*(undefined8 **)(lVar3 + 0x10) = puVar2;" (assignment_expression "*(undefined8 **)(lVar3 + 0x10) = puVar2" (pointer_expression "*(undefined8 **)(lVar3 + 0x10)" (* "*") (cast_expression "(undefined8 **)(lVar3 + 0x10)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(lVar3 + 0x10)" (( "(") (binary_expression "lVar3 + 0x10" (identifier "lVar3") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "puVar2")) (; ";")) (expression_statement "FUN_00279bc0(lVar3,lVar4);" (call_expression "FUN_00279bc0(lVar3,lVar4)" (identifier "FUN_00279bc0") (argument_list "(lVar3,lVar4)" (( "(") (identifier "lVar3") (, ",") (identifier "lVar4") () ")"))) (; ";")) (expression_statement "plVar1 = (long *)(lVar4 + 0x10);" (assignment_expression "plVar1 = (long *)(lVar4 + 0x10)" (identifier "plVar1") (= "=") (cast_expression "(long *)(lVar4 + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x10)" (( "(") (binary_expression "lVar4 + 0x10" (identifier "lVar4") (+ "+") (number_literal "0x10")) () ")")))) (; ";")) (expression_statement "*plVar1 = *plVar1 + 1;" (assignment_expression "*plVar1 = *plVar1 + 1" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (= "=") (binary_expression "*plVar1 + 1" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void add_dot_assignment(Script_sections * this, Expression * val) */

void __thiscall gold::type_1::function_1(type_1 *this,type_2 *val)

{
  type_3 *p_Var1;
  type_3 *this_00;
  type_3 *var_3;
  
  if (this->output_section_ != (type_4 *)0x0) {
    Output_section_definition::function_1(this->output_section_,val);
    return;
  }
  if (this->sections_elements_ == (type_5 *)0x0) {
    var_3 = (type_3 *)var_1(0x18);
    this->saw_sections_clause_ = true;
    var_3->_M_prev = var_3;
    var_3->_M_next = var_3;
    var_3[1]._M_next = (type_3 *)0x0;
    this->sections_elements_ = (type_5 *)var_3;
  }
  p_Var1 = (type_3 *)var_1(0x10);
  var_3 = (type_3 *)this->sections_elements_;
  p_Var1->_M_prev = (type_3 *)val;
  p_Var1->_M_next = (type_3 *)&PTR__Sections_element_dot_assignment_003ad258;
  this_00 = (type_3 *)var_1(0x18);
  this_00[1]._M_next = p_Var1;
  std::__detail::_List_node_base::var_2(this_00,var_3);
  var_3 = var_3 + 1;
  var_3->_M_next = (type_3 *)((long)&var_3->_M_next->_M_next + 1);
  return;
}


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

void MASKED(undefined1 *param_1,undefined8 param_2)

{
  long *plVar1;
  undefined8 *puVar2;
  long lVar3;
  long lVar4;
  
  if (*(long *)(param_1 + 0x10) != 0) {
    FUN_00206c50(*(long *)(param_1 + 0x10));
    return;
  }
  if (*(long *)(param_1 + 8) == 0) {
    lVar4 = FUN_00275550(0x18);
    *param_1 = 1;
    *(long *)(lVar4 + 8) = lVar4;
    *(long *)lVar4 = lVar4;
    *(undefined8 *)(lVar4 + 0x10) = 0;
    *(long *)(param_1 + 8) = lVar4;
  }
  puVar2 = (undefined8 *)FUN_00275550(0x10);
  lVar4 = *(long *)(param_1 + 8);
  puVar2[1] = param_2;
  *puVar2 = &PTR_FUN_003ad258;
  lVar3 = FUN_00275550(0x18);
  *(undefined8 **)(lVar3 + 0x10) = puVar2;
  FUN_00279bc0(lVar3,lVar4);
  plVar1 = (long *)(lVar4 + 0x10);
  *plVar1 = *plVar1 + 1;
  return;
}

