
/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: bool get_output_section_info(Script_sections * this, char * name,
   uint64_t * address, uint64_t * load_address, uint64_t * addralign, uint64_t * size) */

bool __thiscall
gold::Script_sections::get_output_section_info
          (Script_sections *this,char *name,uint64_t *address,uint64_t *load_address,
          uint64_t *addralign,uint64_t *size)

{
  char cVar1;
  _List_node_base *p_Var2;
  
  if ((this->saw_sections_clause_ != false) &&
     (p_Var2 = (this->sections_elements_->
               super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>).
               _M_impl._M_node.super__List_node_base._M_next,
     p_Var2 != (_List_node_base *)this->sections_elements_)) {
    do {
      cVar1 = (**(code **)(*(int *)p_Var2[1]._M_next + 0x34))
                        (p_Var2[1]._M_next,name,address,load_address,addralign,size);
      if (cVar1 != '\0') {
        return (bool)cVar1;
      }
      p_Var2 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)
                &p_Var2->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;
    } while ((_List_node_base *)this->sections_elements_ != p_Var2);
  }
  return false;
}



undefined4
FUN_0015d960(char *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5,undefined4 param_6)

{
  undefined4 uVar1;
  int *piVar2;
  
  if ((*param_1 != '\0') &&
     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))) {
    do {
      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))
                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);
      if ((char)uVar1 != '\0') {
        return uVar1;
      }
      piVar2 = (int *)*piVar2;
    } while ((int *)*(int *)(param_1 + 4) != piVar2);
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
MOV EBX,dword ptr [ESP + 0x20]
MOV EDI,dword ptr [ESP + 0x30]
MOV EBP,dword ptr [ESP + 0x34]
CMP byte ptr [EBX],0x0
JZ 0x0015d9c0
MOV EAX,dword ptr [EBX + 0x4]
MOV ESI,dword ptr [EAX]
CMP ESI,EAX
JZ 0x0015d9c0
MOV EBX,ESI
MOV ESI,dword ptr [ESP + 0x20]
JMP 0x0015d997
MOV EBX,dword ptr [EBX]
CMP dword ptr [ESI + 0x4],EBX
JZ 0x0015d9c0
MOV EAX,dword ptr [EBX + 0x8]
SUB ESP,0x8
MOV ECX,dword ptr [EAX]
PUSH EBP
PUSH EDI
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x3c]
PUSH EAX
CALL dword ptr [ECX + 0x34]
ADD ESP,0x20
TEST AL,AL
JZ 0x0015d990
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "undefined4\nFUN_0015d960(char *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  if ((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))) {\n    do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4\nFUN_0015d960(char *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  if ((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))) {\n    do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0015d960(char *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(char *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" ( (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) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  if ((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))) {\n    do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (if_statement "if ((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))) {\n    do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }" if (parenthesized_expression "((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4)))" ( (binary_expression "(*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))" (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))" ( (comma_expression "piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4)" (assignment_expression "piVar2 = (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) ))))))) , (binary_expression "piVar2 != *(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      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }" { (do_statement "do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);" do (compound_statement "{\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    }" { (expression_statement "uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);" (assignment_expression "uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6)" identifier = (call_expression "(**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6)" (parenthesized_expression "(**(code **)(*(int *)piVar2[2] + 0x34))" ( (pointer_expression "**(code **)(*(int *)piVar2[2] + 0x34)" * (pointer_expression "*(code **)(*(int *)piVar2[2] + 0x34)" * (cast_expression "(code **)(*(int *)piVar2[2] + 0x34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)piVar2[2] + 0x34)" ( (binary_expression "*(int *)piVar2[2] + 0x34" (pointer_expression "*(int *)piVar2[2]" * (cast_expression "(int *)piVar2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6)" ( (cast_expression "(int *)piVar2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ])) , identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if ((char)uVar1 != '\0') {\n        return uVar1;\n      }" if (parenthesized_expression "((char)uVar1 != '\0')" ( (binary_expression "(char)uVar1 != '\0'" (cast_expression "(char)uVar1" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return uVar1;\n      }" { (return_statement "return uVar1;" return identifier ;) })) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) }) while (parenthesized_expression "((int *)*(int *)(param_1 + 4) != piVar2)" ( (binary_expression "(int *)*(int *)(param_1 + 4) != piVar2" (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 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Type propagation algorithm not settling */\n/* DWARF original prototype: bool get_output_section_info(Script_sections * this, char * name,\n   uint64_t * address, uint64_t * load_address, uint64_t * addralign, uint64_t * size) */\n\nbool __thiscall\ngold::Script_sections::get_output_section_info\n          (Script_sections *this,char *name,uint64_t *address,uint64_t *load_address,\n          uint64_t *addralign,uint64_t *size)\n\n{\n  char cVar1;\n  _List_node_base *p_Var2;\n  \n  if ((this->saw_sections_clause_ != false) &&\n     (p_Var2 = (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     p_Var2 != (_List_node_base *)this->sections_elements_)) {\n    do {\n      cVar1 = (**(code **)(*(int *)p_Var2[1]._M_next + 0x34))\n                        (p_Var2[1]._M_next,name,address,load_address,addralign,size);\n      if (cVar1 != '\0') {\n        return (bool)cVar1;\n      }\n      p_Var2 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n    } while ((_List_node_base *)this->sections_elements_ != p_Var2);\n  }\n  return false;\n}\n\n" comment comment (function_definition "bool __thiscall\ngold::Script_sections::get_output_section_info\n          (Script_sections *this,char *name,uint64_t *address,uint64_t *load_address,\n          uint64_t *addralign,uint64_t *size)\n\n{\n  char cVar1;\n  _List_node_base *p_Var2;\n  \n  if ((this->saw_sections_clause_ != false) &&\n     (p_Var2 = (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     p_Var2 != (_List_node_base *)this->sections_elements_)) {\n    do {\n      cVar1 = (**(code **)(*(int *)p_Var2[1]._M_next + 0x34))\n                        (p_Var2[1]._M_next,name,address,load_address,addralign,size);\n      if (cVar1 != '\0') {\n        return (bool)cVar1;\n      }\n      p_Var2 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n    } while ((_List_node_base *)this->sections_elements_ != p_Var2);\n  }\n  return false;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Script_sections::" identifier : : identifier : :) (function_declarator "get_output_section_info\n          (Script_sections *this,char *name,uint64_t *address,uint64_t *load_address,\n          uint64_t *addralign,uint64_t *size)" identifier (parameter_list "(Script_sections *this,char *name,uint64_t *address,uint64_t *load_address,\n          uint64_t *addralign,uint64_t *size)" ( (parameter_declaration "Script_sections *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "uint64_t *address" primitive_type (pointer_declarator "*address" * identifier)) , (parameter_declaration "uint64_t *load_address" primitive_type (pointer_declarator "*load_address" * identifier)) , (parameter_declaration "uint64_t *addralign" primitive_type (pointer_declarator "*addralign" * identifier)) , (parameter_declaration "uint64_t *size" primitive_type (pointer_declarator "*size" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  _List_node_base *p_Var2;\n  \n  if ((this->saw_sections_clause_ != false) &&\n     (p_Var2 = (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     p_Var2 != (_List_node_base *)this->sections_elements_)) {\n    do {\n      cVar1 = (**(code **)(*(int *)p_Var2[1]._M_next + 0x34))\n                        (p_Var2[1]._M_next,name,address,load_address,addralign,size);\n      if (cVar1 != '\0') {\n        return (bool)cVar1;\n      }\n      p_Var2 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n    } while ((_List_node_base *)this->sections_elements_ != p_Var2);\n  }\n  return false;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "_List_node_base *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (if_statement "if ((this->saw_sections_clause_ != false) &&\n     (p_Var2 = (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     p_Var2 != (_List_node_base *)this->sections_elements_)) {\n    do {\n      cVar1 = (**(code **)(*(int *)p_Var2[1]._M_next + 0x34))\n                        (p_Var2[1]._M_next,name,address,load_address,addralign,size);\n      if (cVar1 != '\0') {\n        return (bool)cVar1;\n      }\n      p_Var2 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n    } while ((_List_node_base *)this->sections_elements_ != p_Var2);\n  }" if (parenthesized_expression "((this->saw_sections_clause_ != false) &&\n     (p_Var2 = (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     p_Var2 != (_List_node_base *)this->sections_elements_))" ( (binary_expression "(this->saw_sections_clause_ != false) &&\n     (p_Var2 = (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     p_Var2 != (_List_node_base *)this->sections_elements_)" (parenthesized_expression "(this->saw_sections_clause_ != false)" ( (binary_expression "this->saw_sections_clause_ != false" (field_expression "this->saw_sections_clause_" identifier -> field_identifier) != false) )) && (parenthesized_expression "(p_Var2 = (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     p_Var2 != (_List_node_base *)this->sections_elements_)" ( (comma_expression "p_Var2 = (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     p_Var2 != (_List_node_base *)this->sections_elements_" (assignment_expression "p_Var2 = (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*>_>)" ( (binary_expression "this->sections_elements_->\n               super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_>" (binary_expression "this->sections_elements_->\n               super__List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_" (binary_expression "this->sections_elements_->\n               super__List_base<gold::Sections_element*,_std::allocator<gold" (binary_expression "this->sections_elements_->\n               super__List_base<gold::Sections_element*,_std" (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) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Sections_element" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) . field_identifier) . field_identifier)) , (binary_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)))) ))) )) (compound_statement "{\n    do {\n      cVar1 = (**(code **)(*(int *)p_Var2[1]._M_next + 0x34))\n                        (p_Var2[1]._M_next,name,address,load_address,addralign,size);\n      if (cVar1 != '\0') {\n        return (bool)cVar1;\n      }\n      p_Var2 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n    } while ((_List_node_base *)this->sections_elements_ != p_Var2);\n  }" { (do_statement "do {\n      cVar1 = (**(code **)(*(int *)p_Var2[1]._M_next + 0x34))\n                        (p_Var2[1]._M_next,name,address,load_address,addralign,size);\n      if (cVar1 != '\0') {\n        return (bool)cVar1;\n      }\n      p_Var2 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n    } while ((_List_node_base *)this->sections_elements_ != p_Var2);" do (compound_statement "{\n      cVar1 = (**(code **)(*(int *)p_Var2[1]._M_next + 0x34))\n                        (p_Var2[1]._M_next,name,address,load_address,addralign,size);\n      if (cVar1 != '\0') {\n        return (bool)cVar1;\n      }\n      p_Var2 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;\n    }" { (expression_statement "cVar1 = (**(code **)(*(int *)p_Var2[1]._M_next + 0x34))\n                        (p_Var2[1]._M_next,name,address,load_address,addralign,size);" (assignment_expression "cVar1 = (**(code **)(*(int *)p_Var2[1]._M_next + 0x34))\n                        (p_Var2[1]._M_next,name,address,load_address,addralign,size)" identifier = (call_expression "(**(code **)(*(int *)p_Var2[1]._M_next + 0x34))\n                        (p_Var2[1]._M_next,name,address,load_address,addralign,size)" (parenthesized_expression "(**(code **)(*(int *)p_Var2[1]._M_next + 0x34))" ( (pointer_expression "**(code **)(*(int *)p_Var2[1]._M_next + 0x34)" * (pointer_expression "*(code **)(*(int *)p_Var2[1]._M_next + 0x34)" * (cast_expression "(code **)(*(int *)p_Var2[1]._M_next + 0x34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)p_Var2[1]._M_next + 0x34)" ( (binary_expression "*(int *)p_Var2[1]._M_next + 0x34" (pointer_expression "*(int *)p_Var2[1]._M_next" * (cast_expression "(int *)p_Var2[1]._M_next" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "p_Var2[1]._M_next" (subscript_expression "p_Var2[1]" identifier [ number_literal ]) . field_identifier))) + number_literal) ))))) )) (argument_list "(p_Var2[1]._M_next,name,address,load_address,addralign,size)" ( (field_expression "p_Var2[1]._M_next" (subscript_expression "p_Var2[1]" identifier [ number_literal ]) . field_identifier) , identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (cVar1 != '\0') {\n        return (bool)cVar1;\n      }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return (bool)cVar1;\n      }" { (return_statement "return (bool)cVar1;" return (cast_expression "(bool)cVar1" ( (type_descriptor "bool" primitive_type) ) identifier) ;) })) (expression_statement "p_Var2 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;" (assignment_expression "p_Var2 = (((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_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_Var2->_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_Var2->_M_next)->_M_impl)._M_node.super__List_node_base" (field_expression "(((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_M_next)->_M_impl)._M_node" (parenthesized_expression "(((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_M_next)->_M_impl)" ( (field_expression "((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_M_next)->_M_impl" (parenthesized_expression "((_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_M_next)" ( (binary_expression "(_List_base<gold::Sections_element*,_std::allocator<gold::Sections_element*>_> *)\n                &p_Var2->_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_Var2->_M_next" identifier -> field_identifier)) )) -> field_identifier) )) . field_identifier) . field_identifier) . field_identifier)) ;) }) while (parenthesized_expression "((_List_node_base *)this->sections_elements_ != p_Var2)" ( (binary_expression "(_List_node_base *)this->sections_elements_ != p_Var2" (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 false;" return false ;) })))
(translation_unit "undefined4\nFUN_0015d960(char *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  if ((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))) {\n    do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4\nFUN_0015d960(char *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  if ((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))) {\n    do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_0015d960(char *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(char *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" ( (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) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  if ((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))) {\n    do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }\n  return 0;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (if_statement "if ((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))) {\n    do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }" if (parenthesized_expression "((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4)))" ( (binary_expression "(*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))" (parenthesized_expression "(*param_1 != '\0')" ( (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))" ( (comma_expression "piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4)" (assignment_expression "piVar2 = (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) ))))))) , (binary_expression "piVar2 != *(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      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }" { (do_statement "do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);" do (compound_statement "{\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    }" { (expression_statement "uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);" (assignment_expression "uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6)" identifier = (call_expression "(**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6)" (parenthesized_expression "(**(code **)(*(int *)piVar2[2] + 0x34))" ( (pointer_expression "**(code **)(*(int *)piVar2[2] + 0x34)" * (pointer_expression "*(code **)(*(int *)piVar2[2] + 0x34)" * (cast_expression "(code **)(*(int *)piVar2[2] + 0x34)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)piVar2[2] + 0x34)" ( (binary_expression "*(int *)piVar2[2] + 0x34" (pointer_expression "*(int *)piVar2[2]" * (cast_expression "(int *)piVar2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6)" ( (cast_expression "(int *)piVar2[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[2]" identifier [ number_literal ])) , identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if ((char)uVar1 != '\0') {\n        return uVar1;\n      }" if (parenthesized_expression "((char)uVar1 != '\0')" ( (binary_expression "(char)uVar1 != '\0'" (cast_expression "(char)uVar1" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        return uVar1;\n      }" { (return_statement "return uVar1;" return identifier ;) })) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) }) while (parenthesized_expression "((int *)*(int *)(param_1 + 4) != piVar2)" ( (binary_expression "(int *)*(int *)(param_1 + 4) != piVar2" (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 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (comma_expression (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) ))))))) , (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 (assignment_expression IDENT = (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 , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return 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 LIT ;) })))
(function_definition "undefined4\nFUN_0015d960(char *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)\n\n{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  if ((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))) {\n    do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_0015d960(char *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" (identifier "FUN_0015d960") (parameter_list "(char *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,\n            undefined4 param_5,undefined4 param_6)" (( "(") (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")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int *piVar2;\n  \n  if ((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))) {\n    do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (if_statement "if ((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))) {\n    do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }" (if "if") (parenthesized_expression "((*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4)))" (( "(") (binary_expression "(*param_1 != '\0') &&\n     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))" (parenthesized_expression "(*param_1 != '\0')" (( "(") (binary_expression "*param_1 != '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))" (( "(") (comma_expression "piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4)" (assignment_expression "piVar2 = (int *)**(int **)(param_1 + 4)" (identifier "piVar2") (= "=") (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")) () ")"))))))) (, ",") (binary_expression "piVar2 != *(int **)(param_1 + 4)" (identifier "piVar2") (!= "!=") (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      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);\n  }" ({ "{") (do_statement "do {\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    } while ((int *)*(int *)(param_1 + 4) != piVar2);" (do "do") (compound_statement "{\n      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);\n      if ((char)uVar1 != '\0') {\n        return uVar1;\n      }\n      piVar2 = (int *)*piVar2;\n    }" ({ "{") (expression_statement "uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);" (assignment_expression "uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6)" (identifier "uVar1") (= "=") (call_expression "(**(code **)(*(int *)piVar2[2] + 0x34))\n                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6)" (parenthesized_expression "(**(code **)(*(int *)piVar2[2] + 0x34))" (( "(") (pointer_expression "**(code **)(*(int *)piVar2[2] + 0x34)" (* "*") (pointer_expression "*(code **)(*(int *)piVar2[2] + 0x34)" (* "*") (cast_expression "(code **)(*(int *)piVar2[2] + 0x34)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)piVar2[2] + 0x34)" (( "(") (binary_expression "*(int *)piVar2[2] + 0x34" (pointer_expression "*(int *)piVar2[2]" (* "*") (cast_expression "(int *)piVar2[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")))) (+ "+") (number_literal "0x34")) () ")"))))) () ")")) (argument_list "((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6)" (( "(") (cast_expression "(int *)piVar2[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]"))) (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") () ")")))) (; ";")) (if_statement "if ((char)uVar1 != '\0') {\n        return uVar1;\n      }" (if "if") (parenthesized_expression "((char)uVar1 != '\0')" (( "(") (binary_expression "(char)uVar1 != '\0'" (cast_expression "(char)uVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar1")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        return uVar1;\n      }" ({ "{") (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int *)*(int *)(param_1 + 4) != piVar2)" (( "(") (binary_expression "(int *)*(int *)(param_1 + 4) != piVar2" (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 "piVar2")) () ")")) (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Type propagation algorithm not settling */
/* DWARF original prototype: bool get_output_section_info(Script_sections * this, char * name,
   uint64_t * address, uint64_t * load_address, uint64_t * addralign, uint64_t * size) */

bool __thiscall
var_1::type_1::function_1
          (type_1 *this,char *name,uint64_t *address,uint64_t *load_address,
          uint64_t *addralign,uint64_t *size)

{
  char var_6;
  type_2 *var_5;
  
  if ((this->saw_sections_clause_ != false) &&
     (var_5 = (this->sections_elements_->
               super__List_base<var_1::var_7*,var_2::allocator<var_1::var_7*>var_3>var_4).
               _M_impl._M_node.super__List_node_base._M_next,
     var_5 != (type_2 *)this->sections_elements_)) {
    do {
      var_6 = (**(type_3 **)(*(int *)var_5[1]._M_next + 0x34))
                        (var_5[1]._M_next,name,address,load_address,addralign,size);
      if (var_6 != '\0') {
        return (bool)var_6;
      }
      var_5 = (((_List_base<var_1::var_7*,var_2::allocator<var_1::var_7*>var_3> *var_4)
                &var_5->_M_next)->_M_impl)._M_node.super__List_node_base._M_next;
    } while ((type_2 *)this->sections_elements_ != var_5);
  }
  return false;
}


(translation_unit (function_definition type: (type_identifier) 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)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (comma_expression left: (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)))))))) right: (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 (assignment_expression left: (identifier) right: (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) (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement (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 (number_literal)))))

undefined4
MASKED(char *param_1,undefined4 param_2,undefined4 param_3,undefined4 param_4,
            undefined4 param_5,undefined4 param_6)

{
  undefined4 uVar1;
  int *piVar2;
  
  if ((*param_1 != '\0') &&
     (piVar2 = (int *)**(int **)(param_1 + 4), piVar2 != *(int **)(param_1 + 4))) {
    do {
      uVar1 = (**(code **)(*(int *)piVar2[2] + 0x34))
                        ((int *)piVar2[2],param_2,param_3,param_4,param_5,param_6);
      if ((char)uVar1 != '\0') {
        return uVar1;
      }
      piVar2 = (int *)*piVar2;
    } while ((int *)*(int *)(param_1 + 4) != piVar2);
  }
  return 0;
}

