
/* WARNING: Type propagation algorithm not settling */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void finalize_symbols(Script_sections * this, Symbol_table * symtab,
   Layout * layout) */

void __thiscall
gold::Script_sections::finalize_symbols(Script_sections *this,Symbol_table *symtab,Layout *layout)

{
  _List_node_base *p_Var1;
  uint64_t dot_value;
  
  if (this->saw_sections_clause_ != false) {
    dot_value._0_4_ = 0;
    dot_value._4_4_ = 0;
    p_Var1 = (this->sections_elements_->
             super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).
             _M_impl._M_node.super__List_node_base._M_next;
    if (p_Var1 != (_List_node_base *)this->sections_elements_) {
      do {
        (**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18))
                  (p_Var1[1]._M_next,symtab,layout,&dot_value);
        p_Var1 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)
                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;
      } while ((_List_node_base *)this->sections_elements_ != p_Var1);
    }
  }
  return;
}



void FUN_0015c5f0(char *param_1,undefined4 param_2,undefined4 param_3)

{
  int *piVar1;
  undefined4 local_24;
  undefined4 local_20;
  
  if (*param_1 != '\0') {
    local_24 = 0;
    local_20 = 0;
    piVar1 = (int *)**(int **)(param_1 + 4);
    if (piVar1 != *(int **)(param_1 + 4)) {
      do {
        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);
        piVar1 = (int *)*piVar1;
      } while ((int *)*(int *)(param_1 + 4) != piVar1);
    }
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EBX,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x38]
CMP byte ptr [EBX],0x0
JZ 0x0015c641
MOV EDX,dword ptr [EBX + 0x4]
MOV dword ptr [ESP + 0x8],0x0
MOV dword ptr [ESP + 0xc],0x0
MOV ESI,dword ptr [EDX]
CMP ESI,EDX
JZ 0x0015c641
LEA EBP,[ESP + 0x8]
LEA ESI,[ESI]
MOV EDX,dword ptr [ESI + 0x8]
MOV ECX,dword ptr [EDX]
PUSH EBP
PUSH EDI
PUSH dword ptr [ESP + 0x3c]
PUSH EDX
CALL dword ptr [ECX + 0x18]
MOV ESI,dword ptr [ESI]
ADD ESP,0x10
CMP dword ptr [EBX + 0x4],ESI
JNZ 0x0015c628
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_0015c5f0(char *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  if (*param_1 != '\0') {\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0015c5f0(char *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  if (*param_1 != '\0') {\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0015c5f0(char *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(char *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  if (*param_1 != '\0') {\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (if_statement "if (*param_1 != '\0') {\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }" if (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "piVar1 = (int *)**(int **)(param_1 + 4);" (assignment_expression "piVar1 = (int *)**(int **)(param_1 + 4)" identifier = (cast_expression "(int *)**(int **)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(param_1 + 4)" * (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))))) ;) (if_statement "if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }" if (parenthesized_expression "(piVar1 != *(int **)(param_1 + 4))" ( (binary_expression "piVar1 != *(int **)(param_1 + 4)" identifier != (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }" { (do_statement "do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);" do (compound_statement "{\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      }" { (expression_statement "(**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);" (call_expression "(**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24)" (parenthesized_expression "(**(code **)(*(int *)piVar1[2] + 0x18))" ( (pointer_expression "**(code **)(*(int *)piVar1[2] + 0x18)" * (pointer_expression "*(code **)(*(int *)piVar1[2] + 0x18)" * (cast_expression "(code **)(*(int *)piVar1[2] + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)piVar1[2] + 0x18)" ( (binary_expression "*(int *)piVar1[2] + 0x18" (pointer_expression "*(int *)piVar1[2]" * (cast_expression "(int *)piVar1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "((int *)piVar1[2],param_2,param_3,&local_24)" ( (cast_expression "(int *)piVar1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) , identifier , identifier , (pointer_expression "&local_24" & identifier) ))) ;) (expression_statement "piVar1 = (int *)*piVar1;" (assignment_expression "piVar1 = (int *)*piVar1" identifier = (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ;) }) while (parenthesized_expression "((int *)*(int *)(param_1 + 4) != piVar1)" ( (binary_expression "(int *)*(int *)(param_1 + 4) != piVar1" (cast_expression "(int *)*(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) != identifier) )) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Type propagation algorithm not settling */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void finalize_symbols(Script_sections * this, Symbol_table * symtab,\n   Layout * layout) */\n\nvoid __thiscall\ngold::Script_sections::finalize_symbols(Script_sections *this,Symbol_table *symtab,Layout *layout)\n\n{\n  _List_node_base *p_Var1;\n  uint64_t dot_value;\n  \n  if (this->saw_sections_clause_ != false) {\n    dot_value._0_4_ = 0;\n    dot_value._4_4_ = 0;\n    p_Var1 = (this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n             _M_impl._M_node.super__List_node_base._M_next;\n    if (p_Var1 != (_List_node_base *)this->sections_elements_) {\n      do {\n        (**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18))\n                  (p_Var1[1]._M_next,symtab,layout,&dot_value);\n        p_Var1 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var1);\n    }\n  }\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Script_sections::finalize_symbols(Script_sections *this,Symbol_table *symtab,Layout *layout)\n\n{\n  _List_node_base *p_Var1;\n  uint64_t dot_value;\n  \n  if (this->saw_sections_clause_ != false) {\n    dot_value._0_4_ = 0;\n    dot_value._4_4_ = 0;\n    p_Var1 = (this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n             _M_impl._M_node.super__List_node_base._M_next;\n    if (p_Var1 != (_List_node_base *)this->sections_elements_) {\n      do {\n        (**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18))\n                  (p_Var1[1]._M_next,symtab,layout,&dot_value);\n        p_Var1 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var1);\n    }\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_sections::" identifier : : identifier : :) (function_declarator "finalize_symbols(Script_sections *this,Symbol_table *symtab,Layout *layout)" identifier (parameter_list "(Script_sections *this,Symbol_table *symtab,Layout *layout)" ( (parameter_declaration "Script_sections *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Symbol_table *symtab" type_identifier (pointer_declarator "*symtab" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) ))) (compound_statement "{\n  _List_node_base *p_Var1;\n  uint64_t dot_value;\n  \n  if (this->saw_sections_clause_ != false) {\n    dot_value._0_4_ = 0;\n    dot_value._4_4_ = 0;\n    p_Var1 = (this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n             _M_impl._M_node.super__List_node_base._M_next;\n    if (p_Var1 != (_List_node_base *)this->sections_elements_) {\n      do {\n        (**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18))\n                  (p_Var1[1]._M_next,symtab,layout,&dot_value);\n        p_Var1 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var1);\n    }\n  }\n  return;\n}" { (declaration "_List_node_base *p_Var1;" type_identifier (pointer_declarator "*p_Var1" * identifier) ;) (declaration "uint64_t dot_value;" primitive_type identifier ;) (if_statement "if (this->saw_sections_clause_ != false) {\n    dot_value._0_4_ = 0;\n    dot_value._4_4_ = 0;\n    p_Var1 = (this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n             _M_impl._M_node.super__List_node_base._M_next;\n    if (p_Var1 != (_List_node_base *)this->sections_elements_) {\n      do {\n        (**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18))\n                  (p_Var1[1]._M_next,symtab,layout,&dot_value);\n        p_Var1 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var1);\n    }\n  }" if (parenthesized_expression "(this->saw_sections_clause_ != false)" ( (binary_expression "this->saw_sections_clause_ != false" (field_expression "this->saw_sections_clause_" identifier -> field_identifier) != false) )) (compound_statement "{\n    dot_value._0_4_ = 0;\n    dot_value._4_4_ = 0;\n    p_Var1 = (this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n             _M_impl._M_node.super__List_node_base._M_next;\n    if (p_Var1 != (_List_node_base *)this->sections_elements_) {\n      do {\n        (**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18))\n                  (p_Var1[1]._M_next,symtab,layout,&dot_value);\n        p_Var1 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var1);\n    }\n  }" { (expression_statement "dot_value._0_4_ = 0;" (assignment_expression "dot_value._0_4_ = 0" (field_expression "dot_value._0_4_" identifier . field_identifier) = number_literal) ;) (expression_statement "dot_value._4_4_ = 0;" (assignment_expression "dot_value._4_4_ = 0" (field_expression "dot_value._4_4_" identifier . field_identifier) = number_literal) ;) (expression_statement "p_Var1 = (this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n             _M_impl._M_node.super__List_node_base._M_next;" (assignment_expression "p_Var1 = (this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n             _M_impl._M_node.super__List_node_base._M_next" identifier = (field_expression "(this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n             _M_impl._M_node.super__List_node_base._M_next" (field_expression "(this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n             _M_impl._M_node.super__List_node_base" (field_expression "(this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n             _M_impl._M_node" (field_expression "(this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).\n             _M_impl" (parenthesized_expression "(this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>)" ( (ERROR "this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std::allocator<gold::" (comma_expression "this->sections_elements_->\n             super__List_base<gold::Sections_element*,_std" (binary_expression "this->sections_elements_->\n             super__List_base<gold::Sections_element*" (binary_expression "this->sections_elements_->\n             super__List_base<gold" (field_expression "this->sections_elements_->\n             super__List_base" (field_expression "this->sections_elements_" identifier -> field_identifier) -> field_identifier) < identifier) (ERROR "::Sections_element" : : identifier) * identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Sections_element*>_>" (binary_expression "Sections_element*>_" identifier * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier)) ;) (if_statement "if (p_Var1 != (_List_node_base *)this->sections_elements_) {\n      do {\n        (**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18))\n                  (p_Var1[1]._M_next,symtab,layout,&dot_value);\n        p_Var1 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var1);\n    }" if (parenthesized_expression "(p_Var1 != (_List_node_base *)this->sections_elements_)" ( (binary_expression "p_Var1 != (_List_node_base *)this->sections_elements_" identifier != (cast_expression "(_List_node_base *)this->sections_elements_" ( (type_descriptor "_List_node_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "this->sections_elements_" identifier -> field_identifier))) )) (compound_statement "{\n      do {\n        (**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18))\n                  (p_Var1[1]._M_next,symtab,layout,&dot_value);\n        p_Var1 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var1);\n    }" { (do_statement "do {\n        (**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18))\n                  (p_Var1[1]._M_next,symtab,layout,&dot_value);\n        p_Var1 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n      } while ((_List_node_base *)this->sections_elements_ != p_Var1);" do (compound_statement "{\n        (**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18))\n                  (p_Var1[1]._M_next,symtab,layout,&dot_value);\n        p_Var1 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n      }" { (expression_statement "(**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18))\n                  (p_Var1[1]._M_next,symtab,layout,&dot_value);" (call_expression "(**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18))\n                  (p_Var1[1]._M_next,symtab,layout,&dot_value)" (parenthesized_expression "(**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18))" ( (pointer_expression "**(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18)" * (pointer_expression "*(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18)" * (cast_expression "(code **)((int)(p_Var1[1]._M_next)->_M_next + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)(p_Var1[1]._M_next)->_M_next + 0x18)" ( (binary_expression "(int)(p_Var1[1]._M_next)->_M_next + 0x18" (cast_expression "(int)(p_Var1[1]._M_next)->_M_next" ( (type_descriptor "int" primitive_type) ) (field_expression "(p_Var1[1]._M_next)->_M_next" (parenthesized_expression "(p_Var1[1]._M_next)" ( (field_expression "p_Var1[1]._M_next" (subscript_expression "p_Var1[1]" identifier [ number_literal ]) . field_identifier) )) -> field_identifier)) + number_literal) ))))) )) (argument_list "(p_Var1[1]._M_next,symtab,layout,&dot_value)" ( (field_expression "p_Var1[1]._M_next" (subscript_expression "p_Var1[1]" identifier [ number_literal ]) . field_identifier) , identifier , identifier , (pointer_expression "&dot_value" & identifier) ))) ;) (expression_statement "p_Var1 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;" (assignment_expression "p_Var1 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base._M_next" identifier = (field_expression "(((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base._M_next" (field_expression "(((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node.super__List_node_base" (field_expression "(((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)._M_node" (parenthesized_expression "(((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl)" ( (field_expression "((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)->_M_impl" (parenthesized_expression "((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next)" ( (binary_expression "(_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                  &p_Var1->_M_next" (parenthesized_expression "(_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)" ( (ERROR "_List_base<gold::Sections_element*,_std::allocator<gold::" (binary_expression "_List_base<gold" identifier < identifier) : : (type_descriptor "Sections_element*" type_identifier (abstract_pointer_declarator "*" *)) , identifier : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Sections_element*>_> *" (binary_expression "Sections_element*>_" identifier * (ERROR ">" >) identifier) > (pointer_expression "*" * identifier)) )) & (field_expression "p_Var1->_M_next" identifier -> field_identifier)) )) -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier)) ;) }) while (parenthesized_expression "((_List_node_base *)this->sections_elements_ != p_Var1)" ( (binary_expression "(_List_node_base *)this->sections_elements_ != p_Var1" (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)) != identifier) )) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0015c5f0(char *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  if (*param_1 != '\0') {\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0015c5f0(char *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  if (*param_1 != '\0') {\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0015c5f0(char *param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(char *param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  if (*param_1 != '\0') {\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "undefined4 local_20;" type_identifier identifier ;) (if_statement "if (*param_1 != '\0') {\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }" if (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }" { (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" identifier = number_literal) ;) (expression_statement "piVar1 = (int *)**(int **)(param_1 + 4);" (assignment_expression "piVar1 = (int *)**(int **)(param_1 + 4)" identifier = (cast_expression "(int *)**(int **)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "**(int **)(param_1 + 4)" * (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))))) ;) (if_statement "if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }" if (parenthesized_expression "(piVar1 != *(int **)(param_1 + 4))" ( (binary_expression "piVar1 != *(int **)(param_1 + 4)" identifier != (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }" { (do_statement "do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);" do (compound_statement "{\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      }" { (expression_statement "(**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);" (call_expression "(**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24)" (parenthesized_expression "(**(code **)(*(int *)piVar1[2] + 0x18))" ( (pointer_expression "**(code **)(*(int *)piVar1[2] + 0x18)" * (pointer_expression "*(code **)(*(int *)piVar1[2] + 0x18)" * (cast_expression "(code **)(*(int *)piVar1[2] + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)piVar1[2] + 0x18)" ( (binary_expression "*(int *)piVar1[2] + 0x18" (pointer_expression "*(int *)piVar1[2]" * (cast_expression "(int *)piVar1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "((int *)piVar1[2],param_2,param_3,&local_24)" ( (cast_expression "(int *)piVar1[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar1[2]" identifier [ number_literal ])) , identifier , identifier , (pointer_expression "&local_24" & identifier) ))) ;) (expression_statement "piVar1 = (int *)*piVar1;" (assignment_expression "piVar1 = (int *)*piVar1" identifier = (cast_expression "(int *)*piVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar1" * identifier))) ;) }) while (parenthesized_expression "((int *)*(int *)(param_1 + 4) != piVar1)" ( (binary_expression "(int *)*(int *)(param_1 + 4) != piVar1" (cast_expression "(int *)*(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) != identifier) )) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) + LIT) ))))) )) (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) != IDENT) )) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_0015c5f0(char *param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int *piVar1;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  if (*param_1 != '\0') {\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0015c5f0(char *param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_0015c5f0") (parameter_list "(char *param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined4 local_24;\n  undefined4 local_20;\n  \n  if (*param_1 != '\0') {\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "undefined4 local_20;" (type_identifier "undefined4") (identifier "local_20") (; ";")) (if_statement "if (*param_1 != '\0') {\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }" (if "if") (parenthesized_expression "(*param_1 != '\0')" (( "(") (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    local_24 = 0;\n    local_20 = 0;\n    piVar1 = (int *)**(int **)(param_1 + 4);\n    if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }\n  }" ({ "{") (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_20 = 0;" (assignment_expression "local_20 = 0" (identifier "local_20") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar1 = (int *)**(int **)(param_1 + 4);" (assignment_expression "piVar1 = (int *)**(int **)(param_1 + 4)" (identifier "piVar1") (= "=") (cast_expression "(int *)**(int **)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "**(int **)(param_1 + 4)" (* "*") (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))))) (; ";")) (if_statement "if (piVar1 != *(int **)(param_1 + 4)) {\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }" (if "if") (parenthesized_expression "(piVar1 != *(int **)(param_1 + 4))" (( "(") (binary_expression "piVar1 != *(int **)(param_1 + 4)" (identifier "piVar1") (!= "!=") (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) () ")")) (compound_statement "{\n      do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);\n    }" ({ "{") (do_statement "do {\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      } while ((int *)*(int *)(param_1 + 4) != piVar1);" (do "do") (compound_statement "{\n        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);\n        piVar1 = (int *)*piVar1;\n      }" ({ "{") (expression_statement "(**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);" (call_expression "(**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24)" (parenthesized_expression "(**(code **)(*(int *)piVar1[2] + 0x18))" (( "(") (pointer_expression "**(code **)(*(int *)piVar1[2] + 0x18)" (* "*") (pointer_expression "*(code **)(*(int *)piVar1[2] + 0x18)" (* "*") (cast_expression "(code **)(*(int *)piVar1[2] + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)piVar1[2] + 0x18)" (( "(") (binary_expression "*(int *)piVar1[2] + 0x18" (pointer_expression "*(int *)piVar1[2]" (* "*") (cast_expression "(int *)piVar1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]")))) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "((int *)piVar1[2],param_2,param_3,&local_24)" (( "(") (cast_expression "(int *)piVar1[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar1[2]" (identifier "piVar1") ([ "[") (number_literal "2") (] "]"))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (pointer_expression "&local_24" (& "&") (identifier "local_24")) () ")"))) (; ";")) (expression_statement "piVar1 = (int *)*piVar1;" (assignment_expression "piVar1 = (int *)*piVar1" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar1" (* "*") (identifier "piVar1")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int *)*(int *)(param_1 + 4) != piVar1)" (( "(") (binary_expression "(int *)*(int *)(param_1 + 4) != piVar1" (cast_expression "(int *)*(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (!= "!=") (identifier "piVar1")) () ")")) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Type propagation algorithm not settling */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void finalize_symbols(Script_sections * this, Symbol_table * symtab,
   Layout * layout) */

void __thiscall
gold::type_1::function_1(type_1 *this,type_2 *symtab,type_3 *layout)

{
  type_4 *var_4;
  uint64_t dot_value;
  
  if (this->saw_sections_clause_ != false) {
    dot_value._0_4_ = 0;
    dot_value._4_4_ = 0;
    var_4 = (this->sections_elements_->
             super__List_base<gold::var_1*var_3,_std::allocator<gold::var_1*>var_2>var_3).
             _M_impl._M_node.super__List_node_base._M_next;
    if (var_4 != (type_4 *)this->sections_elements_) {
      do {
        (**(type_5 **)((int)(var_4[1]._M_next)->_M_next + 0x18))
                  (var_4[1]._M_next,symtab,layout,&dot_value);
        var_4 = (((_List_base<gold::var_1*,_std::allocator<gold::var_1*>var_2> *var_3)
                  &var_4->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;
      } while ((type_4 *)this->sections_elements_ != var_4);
    }
  }
  return;
}


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

void MASKED(char *param_1,undefined4 param_2,undefined4 param_3)

{
  int *piVar1;
  undefined4 local_24;
  undefined4 local_20;
  
  if (*param_1 != '\0') {
    local_24 = 0;
    local_20 = 0;
    piVar1 = (int *)**(int **)(param_1 + 4);
    if (piVar1 != *(int **)(param_1 + 4)) {
      do {
        (**(code **)(*(int *)piVar1[2] + 0x18))((int *)piVar1[2],param_2,param_3,&local_24);
        piVar1 = (int *)*piVar1;
      } while ((int *)*(int *)(param_1 + 4) != piVar1);
    }
  }
  return;
}

