
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void write_output_sections(Layout * this, Output_file * of) */

void __thiscall gold::Layout::write_output_sections(Layout *this,Output_file *of)

{
  Output_section *pOVar1;
  pointer ppOVar2;
  
  ppOVar2 = (this->section_list_).
            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.
            _M_impl._M_start;
  if (ppOVar2 !=
      (this->section_list_).
      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.
      _M_finish) {
    do {
      pOVar1 = *ppOVar2;
      if ((pOVar1->field_0x90 & 0x10) == 0) {
        (*(pOVar1->super_Output_data)._vptr_Output_data[2])(pOVar1,of);
      }
      ppOVar2 = ppOVar2 + 1;
    } while ((this->section_list_).
             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.
             _M_impl._M_finish != ppOVar2);
  }
  return;
}



void FUN_000ae460(int param_1,undefined4 param_2)

{
  int *piVar1;
  int *piVar2;
  
  piVar2 = *(int **)(param_1 + 0x130);
  if (piVar2 != *(int **)(param_1 + 0x134)) {
    do {
      piVar1 = (int *)*piVar2;
      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {
        (**(code **)(*piVar1 + 8))(piVar1,param_2);
      }
      piVar2 = piVar2 + 1;
    } while (*(int **)(param_1 + 0x134) != piVar2);
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
MOV ESI,dword ptr [ESP + 0x14]
MOV EBX,dword ptr [EDI + 0x130]
CMP EBX,dword ptr [EDI + 0x134]
JZ 0x000ae4a3
LEA ESI,[ESI]
MOV EAX,dword ptr [EBX]
TEST byte ptr [EAX + 0x90],0x10
JNZ 0x000ae498
SUB ESP,0x8
MOV EDX,dword ptr [EAX]
PUSH ESI
PUSH EAX
CALL dword ptr [EDX + 0x8]
ADD ESP,0x10
ADD EBX,0x4
CMP dword ptr [EDI + 0x134],EBX
JNZ 0x000ae480
POP EBX
POP ESI
POP EDI
RET
(translation_unit "void FUN_000ae460(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x130);\n  if (piVar2 != *(int **)(param_1 + 0x134)) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000ae460(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x130);\n  if (piVar2 != *(int **)(param_1 + 0x134)) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000ae460(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  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x130);\n  if (piVar2 != *(int **)(param_1 + 0x134)) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x130);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x130)" identifier = (pointer_expression "*(int **)(param_1 + 0x130)" * (cast_expression "(int **)(param_1 + 0x130)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 != *(int **)(param_1 + 0x134)) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }" if (parenthesized_expression "(piVar2 != *(int **)(param_1 + 0x134))" ( (binary_expression "piVar2 != *(int **)(param_1 + 0x134)" identifier != (pointer_expression "*(int **)(param_1 + 0x134)" * (cast_expression "(int **)(param_1 + 0x134)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }" { (do_statement "do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);" do (compound_statement "{\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    }" { (expression_statement "piVar1 = (int *)*piVar2;" (assignment_expression "piVar1 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }" if (parenthesized_expression "((*(byte *)(piVar1 + 0x24) & 0x10) == 0)" ( (binary_expression "(*(byte *)(piVar1 + 0x24) & 0x10) == 0" (parenthesized_expression "(*(byte *)(piVar1 + 0x24) & 0x10)" ( (binary_expression "*(byte *)(piVar1 + 0x24) & 0x10" (pointer_expression "*(byte *)(piVar1 + 0x24)" * (cast_expression "(byte *)(piVar1 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 0x24)" ( (binary_expression "piVar1 + 0x24" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }" { (expression_statement "(**(code **)(*piVar1 + 8))(piVar1,param_2);" (call_expression "(**(code **)(*piVar1 + 8))(piVar1,param_2)" (parenthesized_expression "(**(code **)(*piVar1 + 8))" ( (pointer_expression "**(code **)(*piVar1 + 8)" * (pointer_expression "*(code **)(*piVar1 + 8)" * (cast_expression "(code **)(*piVar1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 8)" ( (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,param_2)" ( identifier , identifier ))) ;) })) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int **)(param_1 + 0x134) != piVar2)" ( (binary_expression "*(int **)(param_1 + 0x134) != piVar2" (pointer_expression "*(int **)(param_1 + 0x134)" * (cast_expression "(int **)(param_1 + 0x134)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void write_output_sections(Layout * this, Output_file * of) */\n\nvoid __thiscall gold::Layout::write_output_sections(Layout *this,Output_file *of)\n\n{\n  Output_section *pOVar1;\n  pointer ppOVar2;\n  \n  ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      pOVar1 = *ppOVar2;\n      if ((pOVar1->field_0x90 & 0x10) == 0) {\n        (*(pOVar1->super_Output_data)._vptr_Output_data[2])(pOVar1,of);\n      }\n      ppOVar2 = ppOVar2 + 1;\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Layout::write_output_sections(Layout *this,Output_file *of)\n\n{\n  Output_section *pOVar1;\n  pointer ppOVar2;\n  \n  ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      pOVar1 = *ppOVar2;\n      if ((pOVar1->field_0x90 & 0x10) == 0) {\n        (*(pOVar1->super_Output_data)._vptr_Output_data[2])(pOVar1,of);\n      }\n      ppOVar2 = ppOVar2 + 1;\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "write_output_sections(Layout *this,Output_file *of)" identifier (parameter_list "(Layout *this,Output_file *of)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_file *of" type_identifier (pointer_declarator "*of" * identifier)) ))) (compound_statement "{\n  Output_section *pOVar1;\n  pointer ppOVar2;\n  \n  ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      pOVar1 = *ppOVar2;\n      if ((pOVar1->field_0x90 & 0x10) == 0) {\n        (*(pOVar1->super_Output_data)._vptr_Output_data[2])(pOVar1,of);\n      }\n      ppOVar2 = ppOVar2 + 1;\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }\n  return;\n}" { (declaration "Output_section *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "pointer ppOVar2;" type_identifier identifier ;) (expression_statement "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start;" (field_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl._M_start" (field_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n            _M_impl" (binary_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold::Output_section*,_std" (assignment_expression "ppOVar2 = (this->section_list_).\n            super__Vector_base<gold" identifier = (binary_expression "(this->section_list_).\n            super__Vector_base<gold" (field_expression "(this->section_list_).\n            super__Vector_base" (parenthesized_expression "(this->section_list_)" ( (field_expression "this->section_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish) {\n    do {\n      pOVar1 = *ppOVar2;\n      if ((pOVar1->field_0x90 & 0x10) == 0) {\n        (*(pOVar1->super_Output_data)._vptr_Output_data[2])(pOVar1,of);\n      }\n      ppOVar2 = ppOVar2 + 1;\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }" if (parenthesized_expression "(ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish)" ( (field_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl.\n      _M_finish" (field_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>._M_impl" (binary_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold::Output_section*,_std" (binary_expression "ppOVar2 !=\n      (this->section_list_).\n      super__Vector_base<gold" identifier != (binary_expression "(this->section_list_).\n      super__Vector_base<gold" (field_expression "(this->section_list_).\n      super__Vector_base" (parenthesized_expression "(this->section_list_)" ( (field_expression "this->section_list_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) )) (compound_statement "{\n    do {\n      pOVar1 = *ppOVar2;\n      if ((pOVar1->field_0x90 & 0x10) == 0) {\n        (*(pOVar1->super_Output_data)._vptr_Output_data[2])(pOVar1,of);\n      }\n      ppOVar2 = ppOVar2 + 1;\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);\n  }" { (do_statement "do {\n      pOVar1 = *ppOVar2;\n      if ((pOVar1->field_0x90 & 0x10) == 0) {\n        (*(pOVar1->super_Output_data)._vptr_Output_data[2])(pOVar1,of);\n      }\n      ppOVar2 = ppOVar2 + 1;\n    } while ((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2);" do (compound_statement "{\n      pOVar1 = *ppOVar2;\n      if ((pOVar1->field_0x90 & 0x10) == 0) {\n        (*(pOVar1->super_Output_data)._vptr_Output_data[2])(pOVar1,of);\n      }\n      ppOVar2 = ppOVar2 + 1;\n    }" { (expression_statement "pOVar1 = *ppOVar2;" (assignment_expression "pOVar1 = *ppOVar2" identifier = (pointer_expression "*ppOVar2" * identifier)) ;) (if_statement "if ((pOVar1->field_0x90 & 0x10) == 0) {\n        (*(pOVar1->super_Output_data)._vptr_Output_data[2])(pOVar1,of);\n      }" if (parenthesized_expression "((pOVar1->field_0x90 & 0x10) == 0)" ( (binary_expression "(pOVar1->field_0x90 & 0x10) == 0" (parenthesized_expression "(pOVar1->field_0x90 & 0x10)" ( (binary_expression "pOVar1->field_0x90 & 0x10" (field_expression "pOVar1->field_0x90" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n        (*(pOVar1->super_Output_data)._vptr_Output_data[2])(pOVar1,of);\n      }" { (expression_statement "(*(pOVar1->super_Output_data)._vptr_Output_data[2])(pOVar1,of);" (call_expression "(*(pOVar1->super_Output_data)._vptr_Output_data[2])(pOVar1,of)" (parenthesized_expression "(*(pOVar1->super_Output_data)._vptr_Output_data[2])" ( (pointer_expression "*(pOVar1->super_Output_data)._vptr_Output_data[2]" * (subscript_expression "(pOVar1->super_Output_data)._vptr_Output_data[2]" (field_expression "(pOVar1->super_Output_data)._vptr_Output_data" (parenthesized_expression "(pOVar1->super_Output_data)" ( (field_expression "pOVar1->super_Output_data" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) )) (argument_list "(pOVar1,of)" ( identifier , identifier ))) ;) })) (expression_statement "ppOVar2 = ppOVar2 + 1;" (assignment_expression "ppOVar2 = ppOVar2 + 1" identifier = (binary_expression "ppOVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2)" ( (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish != ppOVar2" (field_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl._M_finish" (field_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_>.\n             _M_impl" (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold::Output_section*>_" (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std::allocator<gold" (binary_expression "(this->section_list_).\n             super__Vector_base<gold::Output_section*,_std" (binary_expression "(this->section_list_).\n             super__Vector_base<gold" (field_expression "(this->section_list_).\n             super__Vector_base" (parenthesized_expression "(this->section_list_)" ( (field_expression "this->section_list_" identifier -> field_identifier) )) . field_identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000ae460(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x130);\n  if (piVar2 != *(int **)(param_1 + 0x134)) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_000ae460(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x130);\n  if (piVar2 != *(int **)(param_1 + 0x134)) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000ae460(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  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x130);\n  if (piVar2 != *(int **)(param_1 + 0x134)) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = *(int **)(param_1 + 0x130);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x130)" identifier = (pointer_expression "*(int **)(param_1 + 0x130)" * (cast_expression "(int **)(param_1 + 0x130)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x130)" ( (binary_expression "param_1 + 0x130" identifier + number_literal) ))))) ;) (if_statement "if (piVar2 != *(int **)(param_1 + 0x134)) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }" if (parenthesized_expression "(piVar2 != *(int **)(param_1 + 0x134))" ( (binary_expression "piVar2 != *(int **)(param_1 + 0x134)" identifier != (pointer_expression "*(int **)(param_1 + 0x134)" * (cast_expression "(int **)(param_1 + 0x134)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }" { (do_statement "do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);" do (compound_statement "{\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    }" { (expression_statement "piVar1 = (int *)*piVar2;" (assignment_expression "piVar1 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }" if (parenthesized_expression "((*(byte *)(piVar1 + 0x24) & 0x10) == 0)" ( (binary_expression "(*(byte *)(piVar1 + 0x24) & 0x10) == 0" (parenthesized_expression "(*(byte *)(piVar1 + 0x24) & 0x10)" ( (binary_expression "*(byte *)(piVar1 + 0x24) & 0x10" (pointer_expression "*(byte *)(piVar1 + 0x24)" * (cast_expression "(byte *)(piVar1 + 0x24)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 0x24)" ( (binary_expression "piVar1 + 0x24" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }" { (expression_statement "(**(code **)(*piVar1 + 8))(piVar1,param_2);" (call_expression "(**(code **)(*piVar1 + 8))(piVar1,param_2)" (parenthesized_expression "(**(code **)(*piVar1 + 8))" ( (pointer_expression "**(code **)(*piVar1 + 8)" * (pointer_expression "*(code **)(*piVar1 + 8)" * (cast_expression "(code **)(*piVar1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 8)" ( (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,param_2)" ( identifier , identifier ))) ;) })) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" identifier = (binary_expression "piVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(*(int **)(param_1 + 0x134) != piVar2)" ( (binary_expression "*(int **)(param_1 + 0x134) != piVar2" (pointer_expression "*(int **)(param_1 + 0x134)" * (cast_expression "(int **)(param_1 + 0x134)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x134)" ( (binary_expression "param_1 + 0x134" 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 (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (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) )) == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) })) (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_000ae460(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x130);\n  if (piVar2 != *(int **)(param_1 + 0x134)) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000ae460(int param_1,undefined4 param_2)" (identifier "FUN_000ae460") (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  int *piVar1;\n  int *piVar2;\n  \n  piVar2 = *(int **)(param_1 + 0x130);\n  if (piVar2 != *(int **)(param_1 + 0x134)) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "piVar2 = *(int **)(param_1 + 0x130);" (assignment_expression "piVar2 = *(int **)(param_1 + 0x130)" (identifier "piVar2") (= "=") (pointer_expression "*(int **)(param_1 + 0x130)" (* "*") (cast_expression "(int **)(param_1 + 0x130)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x130)" (( "(") (binary_expression "param_1 + 0x130" (identifier "param_1") (+ "+") (number_literal "0x130")) () ")"))))) (; ";")) (if_statement "if (piVar2 != *(int **)(param_1 + 0x134)) {\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }" (if "if") (parenthesized_expression "(piVar2 != *(int **)(param_1 + 0x134))" (( "(") (binary_expression "piVar2 != *(int **)(param_1 + 0x134)" (identifier "piVar2") (!= "!=") (pointer_expression "*(int **)(param_1 + 0x134)" (* "*") (cast_expression "(int **)(param_1 + 0x134)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x134)" (( "(") (binary_expression "param_1 + 0x134" (identifier "param_1") (+ "+") (number_literal "0x134")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);\n  }" ({ "{") (do_statement "do {\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    } while (*(int **)(param_1 + 0x134) != piVar2);" (do "do") (compound_statement "{\n      piVar1 = (int *)*piVar2;\n      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }\n      piVar2 = piVar2 + 1;\n    }" ({ "{") (expression_statement "piVar1 = (int *)*piVar2;" (assignment_expression "piVar1 = (int *)*piVar2" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (if_statement "if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }" (if "if") (parenthesized_expression "((*(byte *)(piVar1 + 0x24) & 0x10) == 0)" (( "(") (binary_expression "(*(byte *)(piVar1 + 0x24) & 0x10) == 0" (parenthesized_expression "(*(byte *)(piVar1 + 0x24) & 0x10)" (( "(") (binary_expression "*(byte *)(piVar1 + 0x24) & 0x10" (pointer_expression "*(byte *)(piVar1 + 0x24)" (* "*") (cast_expression "(byte *)(piVar1 + 0x24)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar1 + 0x24)" (( "(") (binary_expression "piVar1 + 0x24" (identifier "piVar1") (+ "+") (number_literal "0x24")) () ")")))) (& "&") (number_literal "0x10")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        (**(code **)(*piVar1 + 8))(piVar1,param_2);\n      }" ({ "{") (expression_statement "(**(code **)(*piVar1 + 8))(piVar1,param_2);" (call_expression "(**(code **)(*piVar1 + 8))(piVar1,param_2)" (parenthesized_expression "(**(code **)(*piVar1 + 8))" (( "(") (pointer_expression "**(code **)(*piVar1 + 8)" (* "*") (pointer_expression "*(code **)(*piVar1 + 8)" (* "*") (cast_expression "(code **)(*piVar1 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 8)" (( "(") (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(piVar1,param_2)" (( "(") (identifier "piVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (expression_statement "piVar2 = piVar2 + 1;" (assignment_expression "piVar2 = piVar2 + 1" (identifier "piVar2") (= "=") (binary_expression "piVar2 + 1" (identifier "piVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(int **)(param_1 + 0x134) != piVar2)" (( "(") (binary_expression "*(int **)(param_1 + 0x134) != piVar2" (pointer_expression "*(int **)(param_1 + 0x134)" (* "*") (cast_expression "(int **)(param_1 + 0x134)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x134)" (( "(") (binary_expression "param_1 + 0x134" (identifier "param_1") (+ "+") (number_literal "0x134")) () ")")))) (!= "!=") (identifier "piVar2")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void write_output_sections(Layout * this, Output_file * of) */

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

{
  type_3 *pOVar1;
  type_4 var_4;
  
  var_4 = (this->section_list_).
            super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_3>.
            _M_impl._M_start;
  if (var_4 !=
      (this->section_list_).
      super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_3>._M_impl.
      _M_finish) {
    do {
      pOVar1 = *var_4;
      if ((pOVar1->field_0x90 & 0x10) == 0) {
        (*(pOVar1->super_Output_data)._vptr_Output_data[2])(pOVar1,of);
      }
      var_4 = var_4 + 1;
    } while ((this->section_list_).
             super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier)))))) (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: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (return_statement))))

void MASKED(int param_1,undefined4 param_2)

{
  int *piVar1;
  int *piVar2;
  
  piVar2 = *(int **)(param_1 + 0x130);
  if (piVar2 != *(int **)(param_1 + 0x134)) {
    do {
      piVar1 = (int *)*piVar2;
      if ((*(byte *)(piVar1 + 0x24) & 0x10) == 0) {
        (**(code **)(*piVar1 + 8))(piVar1,param_2);
      }
      piVar2 = piVar2 + 1;
    } while (*(int **)(param_1 + 0x134) != piVar2);
  }
  return;
}

