
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void create_sections(Output_section_definition * this, Layout * layout)
    */

void __thiscall
gold::Output_section_definition::create_sections(Output_section_definition *this,Layout *layout)

{
  int iVar1;
  Section_type section_type;
  Output_section *pOVar2;
  Output_section_definition *unaff_EBX;
  pointer ppOVar3;
  
  if ((this->output_section_ == (Output_section *)0x0) &&
     (ppOVar3 = (this->elements_).
                super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
                ._M_impl._M_start,
     ppOVar3 !=
     (this->elements_).
     super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
     ._M_impl._M_finish)) {
    do {
      iVar1 = (*(*ppOVar3)->_vptr_Output_section_element[2])(*ppOVar3);
      if ((char)iVar1 != '\0') {
        section_type = this->script_section_type_;
        if ((section_type != ST_NOLOAD) && (section_type != ST_NONE)) {
          if (5 < section_type) {
                    /* WARNING: Subroutine does not return */
            Output_section_definition::section_type(unaff_EBX);
          }
          section_type = ST_NONE;
        }
        pOVar2 = Layout::make_output_section_for_script
                           (layout,(this->name_)._M_dataplus._M_p,section_type);
        this->output_section_ = pOVar2;
        return;
      }
      ppOVar3 = ppOVar3 + 1;
    } while ((this->elements_).
             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>
             ._M_impl._M_finish != ppOVar3);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_0016de50(int param_1,undefined4 param_2)

{
  char cVar1;
  uint uVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  
  uVar4 = 0x16de5c;
  if ((*(int *)(param_1 + 0x44) == 0) &&
     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))) {
    do {
      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);
      if (cVar1 != '\0') {
        uVar2 = *(uint *)(param_1 + 100);
        if ((uVar2 != 1) && (uVar2 != 0)) {
          if (5 < uVar2) {
                    /* WARNING: Subroutine does not return */
            FUN_0016dd50();
          }
          uVar2 = 0;
        }
        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);
        *(undefined4 *)(param_1 + 0x44) = uVar4;
        return;
      }
      puVar3 = puVar3 + 1;
    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x00036f20
ADD EBX,0x2411a4
MOV EAX,dword ptr [EDI + 0x44]
TEST EAX,EAX
JZ 0x0016de70
POP EBX
POP ESI
POP EDI
RET
MOV ESI,dword ptr [EDI + 0x38]
CMP ESI,dword ptr [EDI + 0x3c]
JNZ 0x0016de88
JMP 0x0016de69
ADD ESI,0x4
CMP dword ptr [EDI + 0x3c],ESI
JZ 0x0016de69
MOV EAX,dword ptr [ESI]
SUB ESP,0xc
MOV EDX,dword ptr [EAX]
PUSH EAX
CALL dword ptr [EDX + 0x8]
ADD ESP,0x10
TEST AL,AL
JZ 0x0016de80
MOV EAX,dword ptr [EDI + 0x64]
MOV EDX,dword ptr [EDI + 0x4]
CMP EAX,0x1
JZ 0x0016deb0
TEST EAX,EAX
JZ 0x0016deb0
CMP EAX,0x5
JA 0x0016dec8
XOR EAX,EAX
SUB ESP,0x4
PUSH EAX
PUSH EDX
PUSH dword ptr [ESP + 0x20]
CALL 0x000b1070
ADD ESP,0x10
MOV dword ptr [EDI + 0x44],EAX
POP EBX
POP ESI
POP EDI
RET
CALL 0x0016dd50
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0016de50(int param_1,undefined4 param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  uVar4 = 0x16de5c;\n  if ((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))) {\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0016de50(int param_1,undefined4 param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  uVar4 = 0x16de5c;\n  if ((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))) {\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0016de50(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  uVar4 = 0x16de5c;\n  if ((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))) {\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "uVar4 = 0x16de5c;" (assignment_expression "uVar4 = 0x16de5c" identifier = number_literal) ;) (if_statement "if ((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))) {\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c)))" ( (binary_expression "(*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))" (parenthesized_expression "(*(int *)(param_1 + 0x44) == 0)" ( (binary_expression "*(int *)(param_1 + 0x44) == 0" (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))" ( (comma_expression "puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c)" (assignment_expression "puVar3 = *(undefined4 **)(param_1 + 0x38)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x38)" * (cast_expression "(undefined4 **)(param_1 + 0x38)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) , (binary_expression "puVar3 != *(undefined4 **)(param_1 + 0x3c)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))))) ))) )) (compound_statement "{\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }" { (do_statement "do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);" do (compound_statement "{\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    }" { (expression_statement "cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);" (assignment_expression "cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3)" identifier = (call_expression "(**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3)" (parenthesized_expression "(**(code **)(*(int *)*puVar3 + 8))" ( (pointer_expression "**(code **)(*(int *)*puVar3 + 8)" * (pointer_expression "*(code **)(*(int *)*puVar3 + 8)" * (cast_expression "(code **)(*(int *)*puVar3 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)*puVar3 + 8)" ( (binary_expression "*(int *)*puVar3 + 8" (pointer_expression "*(int *)*puVar3" * (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) + number_literal) ))))) )) (argument_list "((int *)*puVar3)" ( (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) )))) ;) (if_statement "if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }" { (expression_statement "uVar2 = *(uint *)(param_1 + 100);" (assignment_expression "uVar2 = *(uint *)(param_1 + 100)" identifier = (pointer_expression "*(uint *)(param_1 + 100)" * (cast_expression "(uint *)(param_1 + 100)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 100)" ( (binary_expression "param_1 + 100" identifier + number_literal) ))))) ;) (if_statement "if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }" if (parenthesized_expression "((uVar2 != 1) && (uVar2 != 0))" ( (binary_expression "(uVar2 != 1) && (uVar2 != 0)" (parenthesized_expression "(uVar2 != 1)" ( (binary_expression "uVar2 != 1" identifier != number_literal) )) && (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) ))) )) (compound_statement "{\n          if (5 < uVar2) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }" { (if_statement "if (5 < uVar2) {\n                    /* WARNING: Subroutine does not return */\n            FUN_0016dd50();\n          }" if (parenthesized_expression "(5 < uVar2)" ( (binary_expression "5 < uVar2" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n            FUN_0016dd50();\n          }" { comment (expression_statement "FUN_0016dd50();" (call_expression "FUN_0016dd50()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) })) (expression_statement "uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);" (assignment_expression "uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4)" identifier = (call_expression "FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4)" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x44) = uVar4;" (assignment_expression "*(undefined4 *)(param_1 + 0x44) = uVar4" (pointer_expression "*(undefined4 *)(param_1 + 0x44)" * (cast_expression "(undefined4 *)(param_1 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(undefined4 **)(param_1 + 0x3c) != puVar3)" ( (binary_expression "*(undefined4 **)(param_1 + 0x3c) != puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void create_sections(Output_section_definition * this, Layout * layout)\n    */\n\nvoid __thiscall\ngold::Output_section_definition::create_sections(Output_section_definition *this,Layout *layout)\n\n{\n  int iVar1;\n  Section_type section_type;\n  Output_section *pOVar2;\n  Output_section_definition *unaff_EBX;\n  pointer ppOVar3;\n  \n  if ((this->output_section_ == (Output_section *)0x0) &&\n     (ppOVar3 = (this->elements_).\n                super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n                ._M_impl._M_start,\n     ppOVar3 !=\n     (this->elements_).\n     super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n     ._M_impl._M_finish)) {\n    do {\n      iVar1 = (*(*ppOVar3)->_vptr_Output_section_element[2])(*ppOVar3);\n      if ((char)iVar1 != '\0') {\n        section_type = this->script_section_type_;\n        if ((section_type != ST_NOLOAD) && (section_type != ST_NONE)) {\n          if (5 < section_type) {\n                    /* WARNING: Subroutine does not return */\n            Output_section_definition::section_type(unaff_EBX);\n          }\n          section_type = ST_NONE;\n        }\n        pOVar2 = Layout::make_output_section_for_script\n                           (layout,(this->name_)._M_dataplus._M_p,section_type);\n        this->output_section_ = pOVar2;\n        return;\n      }\n      ppOVar3 = ppOVar3 + 1;\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3);\n  }\n  return;\n}\n\n" comment comment comment (function_definition "void __thiscall\ngold::Output_section_definition::create_sections(Output_section_definition *this,Layout *layout)\n\n{\n  int iVar1;\n  Section_type section_type;\n  Output_section *pOVar2;\n  Output_section_definition *unaff_EBX;\n  pointer ppOVar3;\n  \n  if ((this->output_section_ == (Output_section *)0x0) &&\n     (ppOVar3 = (this->elements_).\n                super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n                ._M_impl._M_start,\n     ppOVar3 !=\n     (this->elements_).\n     super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n     ._M_impl._M_finish)) {\n    do {\n      iVar1 = (*(*ppOVar3)->_vptr_Output_section_element[2])(*ppOVar3);\n      if ((char)iVar1 != '\0') {\n        section_type = this->script_section_type_;\n        if ((section_type != ST_NOLOAD) && (section_type != ST_NONE)) {\n          if (5 < section_type) {\n                    /* WARNING: Subroutine does not return */\n            Output_section_definition::section_type(unaff_EBX);\n          }\n          section_type = ST_NONE;\n        }\n        pOVar2 = Layout::make_output_section_for_script\n                           (layout,(this->name_)._M_dataplus._M_p,section_type);\n        this->output_section_ = pOVar2;\n        return;\n      }\n      ppOVar3 = ppOVar3 + 1;\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_section_definition::" identifier : : identifier : :) (function_declarator "create_sections(Output_section_definition *this,Layout *layout)" identifier (parameter_list "(Output_section_definition *this,Layout *layout)" ( (parameter_declaration "Output_section_definition *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Layout *layout" type_identifier (pointer_declarator "*layout" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  Section_type section_type;\n  Output_section *pOVar2;\n  Output_section_definition *unaff_EBX;\n  pointer ppOVar3;\n  \n  if ((this->output_section_ == (Output_section *)0x0) &&\n     (ppOVar3 = (this->elements_).\n                super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n                ._M_impl._M_start,\n     ppOVar3 !=\n     (this->elements_).\n     super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n     ._M_impl._M_finish)) {\n    do {\n      iVar1 = (*(*ppOVar3)->_vptr_Output_section_element[2])(*ppOVar3);\n      if ((char)iVar1 != '\0') {\n        section_type = this->script_section_type_;\n        if ((section_type != ST_NOLOAD) && (section_type != ST_NONE)) {\n          if (5 < section_type) {\n                    /* WARNING: Subroutine does not return */\n            Output_section_definition::section_type(unaff_EBX);\n          }\n          section_type = ST_NONE;\n        }\n        pOVar2 = Layout::make_output_section_for_script\n                           (layout,(this->name_)._M_dataplus._M_p,section_type);\n        this->output_section_ = pOVar2;\n        return;\n      }\n      ppOVar3 = ppOVar3 + 1;\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3);\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "Section_type section_type;" type_identifier identifier ;) (declaration "Output_section *pOVar2;" type_identifier (pointer_declarator "*pOVar2" * identifier) ;) (declaration "Output_section_definition *unaff_EBX;" type_identifier (pointer_declarator "*unaff_EBX" * identifier) ;) (declaration "pointer ppOVar3;" type_identifier identifier ;) (if_statement "if ((this->output_section_ == (Output_section *)0x0) &&\n     (ppOVar3 = (this->elements_).\n                super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n                ._M_impl._M_start,\n     ppOVar3 !=\n     (this->elements_).\n     super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n     ._M_impl._M_finish)) {\n    do {\n      iVar1 = (*(*ppOVar3)->_vptr_Output_section_element[2])(*ppOVar3);\n      if ((char)iVar1 != '\0') {\n        section_type = this->script_section_type_;\n        if ((section_type != ST_NOLOAD) && (section_type != ST_NONE)) {\n          if (5 < section_type) {\n                    /* WARNING: Subroutine does not return */\n            Output_section_definition::section_type(unaff_EBX);\n          }\n          section_type = ST_NONE;\n        }\n        pOVar2 = Layout::make_output_section_for_script\n                           (layout,(this->name_)._M_dataplus._M_p,section_type);\n        this->output_section_ = pOVar2;\n        return;\n      }\n      ppOVar3 = ppOVar3 + 1;\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3);\n  }" if (parenthesized_expression "((this->output_section_ == (Output_section *)0x0) &&\n     (ppOVar3 = (this->elements_).\n                super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n                ._M_impl._M_start,\n     ppOVar3 !=\n     (this->elements_).\n     super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n     ._M_impl._M_finish))" ( (binary_expression "(this->output_section_ == (Output_section *)0x0) &&\n     (ppOVar3 = (this->elements_).\n                super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n                ._M_impl._M_start,\n     ppOVar3 !=\n     (this->elements_).\n     super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n     ._M_impl._M_finish)" (parenthesized_expression "(this->output_section_ == (Output_section *)0x0)" ( (binary_expression "this->output_section_ == (Output_section *)0x0" (field_expression "this->output_section_" identifier -> field_identifier) == (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(ppOVar3 = (this->elements_).\n                super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n                ._M_impl._M_start,\n     ppOVar3 !=\n     (this->elements_).\n     super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n     ._M_impl._M_finish)" ( (comma_expression "ppOVar3 = (this->elements_).\n                super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n                ._M_impl._M_start,\n     ppOVar3 !=\n     (this->elements_).\n     super__Vector_base<gold" (field_expression "ppOVar3 = (this->elements_).\n                super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n                ._M_impl._M_start" (field_expression "ppOVar3 = (this->elements_).\n                super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n                ._M_impl" (binary_expression "ppOVar3 = (this->elements_).\n                super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "ppOVar3 = (this->elements_).\n                super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "ppOVar3 = (this->elements_).\n                super__Vector_base<gold::Output_section_element*,_std" (assignment_expression "ppOVar3 = (this->elements_).\n                super__Vector_base<gold" identifier = (binary_expression "(this->elements_).\n                super__Vector_base<gold" (field_expression "(this->elements_).\n                super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) , (binary_expression "ppOVar3 !=\n     (this->elements_).\n     super__Vector_base<gold" identifier != (binary_expression "(this->elements_).\n     super__Vector_base<gold" (field_expression "(this->elements_).\n     super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier))) (ERROR "::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n     ._M_impl._M_finish" : : identifier * , identifier : : identifier < identifier : : identifier * > identifier > . identifier . identifier) ))) )) (compound_statement "{\n    do {\n      iVar1 = (*(*ppOVar3)->_vptr_Output_section_element[2])(*ppOVar3);\n      if ((char)iVar1 != '\0') {\n        section_type = this->script_section_type_;\n        if ((section_type != ST_NOLOAD) && (section_type != ST_NONE)) {\n          if (5 < section_type) {\n                    /* WARNING: Subroutine does not return */\n            Output_section_definition::section_type(unaff_EBX);\n          }\n          section_type = ST_NONE;\n        }\n        pOVar2 = Layout::make_output_section_for_script\n                           (layout,(this->name_)._M_dataplus._M_p,section_type);\n        this->output_section_ = pOVar2;\n        return;\n      }\n      ppOVar3 = ppOVar3 + 1;\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3);\n  }" { (do_statement "do {\n      iVar1 = (*(*ppOVar3)->_vptr_Output_section_element[2])(*ppOVar3);\n      if ((char)iVar1 != '\0') {\n        section_type = this->script_section_type_;\n        if ((section_type != ST_NOLOAD) && (section_type != ST_NONE)) {\n          if (5 < section_type) {\n                    /* WARNING: Subroutine does not return */\n            Output_section_definition::section_type(unaff_EBX);\n          }\n          section_type = ST_NONE;\n        }\n        pOVar2 = Layout::make_output_section_for_script\n                           (layout,(this->name_)._M_dataplus._M_p,section_type);\n        this->output_section_ = pOVar2;\n        return;\n      }\n      ppOVar3 = ppOVar3 + 1;\n    } while ((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3);" do (compound_statement "{\n      iVar1 = (*(*ppOVar3)->_vptr_Output_section_element[2])(*ppOVar3);\n      if ((char)iVar1 != '\0') {\n        section_type = this->script_section_type_;\n        if ((section_type != ST_NOLOAD) && (section_type != ST_NONE)) {\n          if (5 < section_type) {\n                    /* WARNING: Subroutine does not return */\n            Output_section_definition::section_type(unaff_EBX);\n          }\n          section_type = ST_NONE;\n        }\n        pOVar2 = Layout::make_output_section_for_script\n                           (layout,(this->name_)._M_dataplus._M_p,section_type);\n        this->output_section_ = pOVar2;\n        return;\n      }\n      ppOVar3 = ppOVar3 + 1;\n    }" { (expression_statement "iVar1 = (*(*ppOVar3)->_vptr_Output_section_element[2])(*ppOVar3);" (assignment_expression "iVar1 = (*(*ppOVar3)->_vptr_Output_section_element[2])(*ppOVar3)" identifier = (call_expression "(*(*ppOVar3)->_vptr_Output_section_element[2])(*ppOVar3)" (parenthesized_expression "(*(*ppOVar3)->_vptr_Output_section_element[2])" ( (pointer_expression "*(*ppOVar3)->_vptr_Output_section_element[2]" * (subscript_expression "(*ppOVar3)->_vptr_Output_section_element[2]" (field_expression "(*ppOVar3)->_vptr_Output_section_element" (parenthesized_expression "(*ppOVar3)" ( (pointer_expression "*ppOVar3" * identifier) )) -> field_identifier) [ number_literal ])) )) (argument_list "(*ppOVar3)" ( (pointer_expression "*ppOVar3" * identifier) )))) ;) (if_statement "if ((char)iVar1 != '\0') {\n        section_type = this->script_section_type_;\n        if ((section_type != ST_NOLOAD) && (section_type != ST_NONE)) {\n          if (5 < section_type) {\n                    /* WARNING: Subroutine does not return */\n            Output_section_definition::section_type(unaff_EBX);\n          }\n          section_type = ST_NONE;\n        }\n        pOVar2 = Layout::make_output_section_for_script\n                           (layout,(this->name_)._M_dataplus._M_p,section_type);\n        this->output_section_ = pOVar2;\n        return;\n      }" if (parenthesized_expression "((char)iVar1 != '\0')" ( (binary_expression "(char)iVar1 != '\0'" (cast_expression "(char)iVar1" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        section_type = this->script_section_type_;\n        if ((section_type != ST_NOLOAD) && (section_type != ST_NONE)) {\n          if (5 < section_type) {\n                    /* WARNING: Subroutine does not return */\n            Output_section_definition::section_type(unaff_EBX);\n          }\n          section_type = ST_NONE;\n        }\n        pOVar2 = Layout::make_output_section_for_script\n                           (layout,(this->name_)._M_dataplus._M_p,section_type);\n        this->output_section_ = pOVar2;\n        return;\n      }" { (expression_statement "section_type = this->script_section_type_;" (assignment_expression "section_type = this->script_section_type_" identifier = (field_expression "this->script_section_type_" identifier -> field_identifier)) ;) (if_statement "if ((section_type != ST_NOLOAD) && (section_type != ST_NONE)) {\n          if (5 < section_type) {\n                    /* WARNING: Subroutine does not return */\n            Output_section_definition::section_type(unaff_EBX);\n          }\n          section_type = ST_NONE;\n        }" if (parenthesized_expression "((section_type != ST_NOLOAD) && (section_type != ST_NONE))" ( (binary_expression "(section_type != ST_NOLOAD) && (section_type != ST_NONE)" (parenthesized_expression "(section_type != ST_NOLOAD)" ( (binary_expression "section_type != ST_NOLOAD" identifier != identifier) )) && (parenthesized_expression "(section_type != ST_NONE)" ( (binary_expression "section_type != ST_NONE" identifier != identifier) ))) )) (compound_statement "{\n          if (5 < section_type) {\n                    /* WARNING: Subroutine does not return */\n            Output_section_definition::section_type(unaff_EBX);\n          }\n          section_type = ST_NONE;\n        }" { (if_statement "if (5 < section_type) {\n                    /* WARNING: Subroutine does not return */\n            Output_section_definition::section_type(unaff_EBX);\n          }" if (parenthesized_expression "(5 < section_type)" ( (binary_expression "5 < section_type" number_literal < identifier) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n            Output_section_definition::section_type(unaff_EBX);\n          }" { comment (labeled_statement "Output_section_definition::section_type(unaff_EBX);" statement_identifier : (ERROR ":" :) (expression_statement "section_type(unaff_EBX);" (call_expression "section_type(unaff_EBX)" identifier (argument_list "(unaff_EBX)" ( identifier ))) ;)) })) (expression_statement "section_type = ST_NONE;" (assignment_expression "section_type = ST_NONE" identifier = identifier) ;) })) (ERROR "pOVar2 = Layout::" (assignment_expression "pOVar2 = Layout" identifier = identifier) : :) (expression_statement "make_output_section_for_script\n                           (layout,(this->name_)._M_dataplus._M_p,section_type);" (call_expression "make_output_section_for_script\n                           (layout,(this->name_)._M_dataplus._M_p,section_type)" identifier (argument_list "(layout,(this->name_)._M_dataplus._M_p,section_type)" ( identifier , (field_expression "(this->name_)._M_dataplus._M_p" (field_expression "(this->name_)._M_dataplus" (parenthesized_expression "(this->name_)" ( (field_expression "this->name_" identifier -> field_identifier) )) . field_identifier) . field_identifier) , identifier ))) ;) (expression_statement "this->output_section_ = pOVar2;" (assignment_expression "this->output_section_ = pOVar2" (field_expression "this->output_section_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "ppOVar3 = ppOVar3 + 1;" (assignment_expression "ppOVar3 = ppOVar3 + 1" identifier = (binary_expression "ppOVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3)" ( (binary_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish != ppOVar3" (field_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl._M_finish" (field_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_>\n             ._M_impl" (binary_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold::Output_section_element*>_" (binary_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std::allocator<gold" (binary_expression "(this->elements_).\n             super__Vector_base<gold::Output_section_element*,_std" (binary_expression "(this->elements_).\n             super__Vector_base<gold" (field_expression "(this->elements_).\n             super__Vector_base" (parenthesized_expression "(this->elements_)" ( (field_expression "this->elements_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_element" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0016de50(int param_1,undefined4 param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  uVar4 = 0x16de5c;\n  if ((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))) {\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0016de50(int param_1,undefined4 param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  uVar4 = 0x16de5c;\n  if ((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))) {\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0016de50(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  uVar4 = 0x16de5c;\n  if ((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))) {\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }\n  return;\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (expression_statement "uVar4 = 0x16de5c;" (assignment_expression "uVar4 = 0x16de5c" identifier = number_literal) ;) (if_statement "if ((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))) {\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c)))" ( (binary_expression "(*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))" (parenthesized_expression "(*(int *)(param_1 + 0x44) == 0)" ( (binary_expression "*(int *)(param_1 + 0x44) == 0" (pointer_expression "*(int *)(param_1 + 0x44)" * (cast_expression "(int *)(param_1 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))" ( (comma_expression "puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c)" (assignment_expression "puVar3 = *(undefined4 **)(param_1 + 0x38)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x38)" * (cast_expression "(undefined4 **)(param_1 + 0x38)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) , (binary_expression "puVar3 != *(undefined4 **)(param_1 + 0x3c)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))))) ))) )) (compound_statement "{\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }" { (do_statement "do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);" do (compound_statement "{\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    }" { (expression_statement "cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);" (assignment_expression "cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3)" identifier = (call_expression "(**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3)" (parenthesized_expression "(**(code **)(*(int *)*puVar3 + 8))" ( (pointer_expression "**(code **)(*(int *)*puVar3 + 8)" * (pointer_expression "*(code **)(*(int *)*puVar3 + 8)" * (cast_expression "(code **)(*(int *)*puVar3 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)*puVar3 + 8)" ( (binary_expression "*(int *)*puVar3 + 8" (pointer_expression "*(int *)*puVar3" * (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) + number_literal) ))))) )) (argument_list "((int *)*puVar3)" ( (cast_expression "(int *)*puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier)) )))) ;) (if_statement "if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }" if (parenthesized_expression "(cVar1 != '\0')" ( (binary_expression "cVar1 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }" { (expression_statement "uVar2 = *(uint *)(param_1 + 100);" (assignment_expression "uVar2 = *(uint *)(param_1 + 100)" identifier = (pointer_expression "*(uint *)(param_1 + 100)" * (cast_expression "(uint *)(param_1 + 100)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 100)" ( (binary_expression "param_1 + 100" identifier + number_literal) ))))) ;) (if_statement "if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }" if (parenthesized_expression "((uVar2 != 1) && (uVar2 != 0))" ( (binary_expression "(uVar2 != 1) && (uVar2 != 0)" (parenthesized_expression "(uVar2 != 1)" ( (binary_expression "uVar2 != 1" identifier != number_literal) )) && (parenthesized_expression "(uVar2 != 0)" ( (binary_expression "uVar2 != 0" identifier != number_literal) ))) )) (compound_statement "{\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }" { (if_statement "if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }" if (parenthesized_expression "(5 < uVar2)" ( (binary_expression "5 < uVar2" number_literal < identifier) )) (compound_statement "{\n                    \n            FUN_0016dd50();\n          }" { (expression_statement "FUN_0016dd50();" (call_expression "FUN_0016dd50()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) })) (expression_statement "uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);" (assignment_expression "uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4)" identifier = (call_expression "FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4)" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) , identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(param_1 + 0x44) = uVar4;" (assignment_expression "*(undefined4 *)(param_1 + 0x44) = uVar4" (pointer_expression "*(undefined4 *)(param_1 + 0x44)" * (cast_expression "(undefined4 *)(param_1 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(undefined4 **)(param_1 + 0x3c) != puVar3)" ( (binary_expression "*(undefined4 **)(param_1 + 0x3c) != puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" * (cast_expression "(undefined4 **)(param_1 + 0x3c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (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 *)) ) (pointer_expression * IDENT))) + LIT) ))))) )) (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_0016de50(int param_1,undefined4 param_2)\n\n{\n  char cVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  uVar4 = 0x16de5c;\n  if ((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))) {\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0016de50(int param_1,undefined4 param_2)" (identifier "FUN_0016de50") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  char cVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  undefined4 uVar4;\n  \n  uVar4 = 0x16de5c;\n  if ((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))) {\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }\n  return;\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (expression_statement "uVar4 = 0x16de5c;" (assignment_expression "uVar4 = 0x16de5c" (identifier "uVar4") (= "=") (number_literal "0x16de5c")) (; ";")) (if_statement "if ((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))) {\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c)))" (( "(") (binary_expression "(*(int *)(param_1 + 0x44) == 0) &&\n     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))" (parenthesized_expression "(*(int *)(param_1 + 0x44) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x44) == 0" (pointer_expression "*(int *)(param_1 + 0x44)" (* "*") (cast_expression "(int *)(param_1 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))" (( "(") (comma_expression "puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c)" (assignment_expression "puVar3 = *(undefined4 **)(param_1 + 0x38)" (identifier "puVar3") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x38)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x38)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (, ",") (binary_expression "puVar3 != *(undefined4 **)(param_1 + 0x3c)" (identifier "puVar3") (!= "!=") (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n    do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);\n  }" ({ "{") (do_statement "do {\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);" (do "do") (compound_statement "{\n      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);\n      if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }\n      puVar3 = puVar3 + 1;\n    }" ({ "{") (expression_statement "cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);" (assignment_expression "cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3)" (identifier "cVar1") (= "=") (call_expression "(**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3)" (parenthesized_expression "(**(code **)(*(int *)*puVar3 + 8))" (( "(") (pointer_expression "**(code **)(*(int *)*puVar3 + 8)" (* "*") (pointer_expression "*(code **)(*(int *)*puVar3 + 8)" (* "*") (cast_expression "(code **)(*(int *)*puVar3 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)*puVar3 + 8)" (( "(") (binary_expression "*(int *)*puVar3 + 8" (pointer_expression "*(int *)*puVar3" (* "*") (cast_expression "(int *)*puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3")))) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "((int *)*puVar3)" (( "(") (cast_expression "(int *)*puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar3" (* "*") (identifier "puVar3"))) () ")")))) (; ";")) (if_statement "if (cVar1 != '\0') {\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }" (if "if") (parenthesized_expression "(cVar1 != '\0')" (( "(") (binary_expression "cVar1 != '\0'" (identifier "cVar1") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        uVar2 = *(uint *)(param_1 + 100);\n        if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }\n        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);\n        *(undefined4 *)(param_1 + 0x44) = uVar4;\n        return;\n      }" ({ "{") (expression_statement "uVar2 = *(uint *)(param_1 + 100);" (assignment_expression "uVar2 = *(uint *)(param_1 + 100)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 100)" (* "*") (cast_expression "(uint *)(param_1 + 100)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 100)" (( "(") (binary_expression "param_1 + 100" (identifier "param_1") (+ "+") (number_literal "100")) () ")"))))) (; ";")) (if_statement "if ((uVar2 != 1) && (uVar2 != 0)) {\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }" (if "if") (parenthesized_expression "((uVar2 != 1) && (uVar2 != 0))" (( "(") (binary_expression "(uVar2 != 1) && (uVar2 != 0)" (parenthesized_expression "(uVar2 != 1)" (( "(") (binary_expression "uVar2 != 1" (identifier "uVar2") (!= "!=") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(uVar2 != 0)" (( "(") (binary_expression "uVar2 != 0" (identifier "uVar2") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n          if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }\n          uVar2 = 0;\n        }" ({ "{") (if_statement "if (5 < uVar2) {\n                    \n            FUN_0016dd50();\n          }" (if "if") (parenthesized_expression "(5 < uVar2)" (( "(") (binary_expression "5 < uVar2" (number_literal "5") (< "<") (identifier "uVar2")) () ")")) (compound_statement "{\n                    \n            FUN_0016dd50();\n          }" ({ "{") (expression_statement "FUN_0016dd50();" (call_expression "FUN_0016dd50()" (identifier "FUN_0016dd50") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);" (assignment_expression "uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4)" (identifier "uVar4") (= "=") (call_expression "FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4)" (identifier "FUN_000b1070") (argument_list "(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4)" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "uVar2") (, ",") (identifier "uVar4") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x44) = uVar4;" (assignment_expression "*(undefined4 *)(param_1 + 0x44) = uVar4" (pointer_expression "*(undefined4 *)(param_1 + 0x44)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + 1" (identifier "puVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(undefined4 **)(param_1 + 0x3c) != puVar3)" (( "(") (binary_expression "*(undefined4 **)(param_1 + 0x3c) != puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x3c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x3c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")")))) (!= "!=") (identifier "puVar3")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void create_sections(Output_section_definition * this, Layout * layout)
    */

void __thiscall
var_1::type_1::function_1(type_1 *this,type_2 *layout)

{
  int iVar1;
  type_3 var_5;
  type_4 *pOVar2;
  type_1 *unaff_EBX;
  type_5 var_4;
  
  if ((this->output_section_ == (type_4 *)0x0) &&
     (var_4 = (this->elements_).
                super__Vector_base<var_1::Output_section_element*,var_2::allocator<var_1::Output_section_element*>var_3>
                ._M_impl._M_start,
     var_4 !=
     (this->elements_).
     super__Vector_base<var_1::Output_section_element*,var_2::allocator<var_1::Output_section_element*>var_3>
     ._M_impl._M_finish)) {
    do {
      iVar1 = (*(*var_4)->_vptr_Output_section_element[2])(*var_4);
      if ((char)iVar1 != '\0') {
        var_5 = this->script_section_type_;
        if ((var_5 != var_6) && (var_5 != var_7)) {
          if (5 < var_5) {
                    /* WARNING: Subroutine does not return */
            Output_section_definition::var_5(unaff_EBX);
          }
          var_5 = var_7;
        }
        pOVar2 = type_2::var_8
                           (layout,(this->name_)._M_dataplus._M_p,var_5);
        this->output_section_ = pOVar2;
        return;
      }
      var_4 = var_4 + 1;
    } while ((this->elements_).
             super__Vector_base<var_1::Output_section_element*,var_2::allocator<var_1::Output_section_element*>var_3>
             ._M_impl._M_finish != var_4);
  }
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int param_1,undefined4 param_2)

{
  char cVar1;
  uint uVar2;
  undefined4 *puVar3;
  undefined4 uVar4;
  
  uVar4 = 0x16de5c;
  if ((*(int *)(param_1 + 0x44) == 0) &&
     (puVar3 = *(undefined4 **)(param_1 + 0x38), puVar3 != *(undefined4 **)(param_1 + 0x3c))) {
    do {
      cVar1 = (**(code **)(*(int *)*puVar3 + 8))((int *)*puVar3);
      if (cVar1 != '\0') {
        uVar2 = *(uint *)(param_1 + 100);
        if ((uVar2 != 1) && (uVar2 != 0)) {
          if (5 < uVar2) {
                    /* WARNING: Subroutine does not return */
            FUN_0016dd50();
          }
          uVar2 = 0;
        }
        uVar4 = FUN_000b1070(param_2,*(undefined4 *)(param_1 + 4),uVar2,uVar4);
        *(undefined4 *)(param_1 + 0x44) = uVar4;
        return;
      }
      puVar3 = puVar3 + 1;
    } while (*(undefined4 **)(param_1 + 0x3c) != puVar3);
  }
  return;
}

