
/* DWARF original prototype: void print_sections_to_mapfile(Output_segment * this, Mapfile *
   mapfile) */

void __thiscall
gold::Output_segment::print_sections_to_mapfile(Output_segment *this,Mapfile *mapfile)

{
  Output_data *pOVar1;
  pointer ppOVar2;
  pointer *pppOVar3;
  
  if (this->type_ == 1) {
    pppOVar3 = &this->output_lists_[0].
                super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.
                _M_finish;
    do {
      ppOVar2 = ((_Vector_impl *)(pppOVar3 + -1))->_M_start;
      if (ppOVar2 != *pppOVar3) {
        do {
          pOVar1 = *ppOVar2;
          ppOVar2 = ppOVar2 + 1;
          (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);
        } while (*pppOVar3 != ppOVar2);
      }
      pppOVar3 = pppOVar3 + 3;
    } while (pppOVar3 != (pointer *)((int)&this->vaddr_ + 4));
  }
  return;
}



void FUN_000f15f0(int param_1,undefined4 param_2)

{
  int *piVar1;
  undefined4 *puVar2;
  int *piVar3;
  
  if (*(int *)(param_1 + 0x194) == 1) {
    piVar3 = (int *)(param_1 + 4);
    do {
      puVar2 = (undefined4 *)piVar3[-1];
      if (puVar2 != (undefined4 *)*piVar3) {
        do {
          piVar1 = (int *)*puVar2;
          puVar2 = puVar2 + 1;
          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);
        } while ((undefined4 *)*piVar3 != puVar2);
      }
      piVar3 = piVar3 + 3;
    } while (piVar3 != (int *)(param_1 + 0x160));
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x20]
MOV EDI,dword ptr [ESP + 0x24]
CMP dword ptr [EBP + 0x194],0x1
JNZ 0x000f163d
LEA ESI,[EBP + 0x4]
ADD EBP,0x160
LEA ESI,[ESI]
MOV EBX,dword ptr [ESI + -0x4]
CMP EBX,dword ptr [ESI]
JZ 0x000f1636
NOP
MOV EAX,dword ptr [EBX]
SUB ESP,0x8
ADD EBX,0x4
MOV EDX,dword ptr [EAX]
PUSH EDI
PUSH EAX
CALL dword ptr [EDX + 0x4c]
ADD ESP,0x10
CMP dword ptr [ESI],EBX
JNZ 0x000f1620
ADD ESI,0xc
CMP ESI,EBP
JNZ 0x000f1618
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_000f15f0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  \n  if (*(int *)(param_1 + 0x194) == 1) {\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }\n  return;\n}\n\n" (function_definition "void FUN_000f15f0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  \n  if (*(int *)(param_1 + 0x194) == 1) {\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000f15f0(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  undefined4 *puVar2;\n  int *piVar3;\n  \n  if (*(int *)(param_1 + 0x194) == 1) {\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (if_statement "if (*(int *)(param_1 + 0x194) == 1) {\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x194) == 1)" ( (binary_expression "*(int *)(param_1 + 0x194) == 1" (pointer_expression "*(int *)(param_1 + 0x194)" * (cast_expression "(int *)(param_1 + 0x194)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x194)" ( (binary_expression "param_1 + 0x194" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }" { (expression_statement "piVar3 = (int *)(param_1 + 4);" (assignment_expression "piVar3 = (int *)(param_1 + 4)" identifier = (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) ;) (do_statement "do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));" do (compound_statement "{\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    }" { (expression_statement "puVar2 = (undefined4 *)piVar3[-1];" (assignment_expression "puVar2 = (undefined4 *)piVar3[-1]" identifier = (cast_expression "(undefined4 *)piVar3[-1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[-1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }" if (parenthesized_expression "(puVar2 != (undefined4 *)*piVar3)" ( (binary_expression "puVar2 != (undefined4 *)*piVar3" identifier != (cast_expression "(undefined4 *)*piVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) )) (compound_statement "{\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }" { (do_statement "do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);" do (compound_statement "{\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        }" { (expression_statement "piVar1 = (int *)*puVar2;" (assignment_expression "piVar1 = (int *)*puVar2" identifier = (cast_expression "(int *)*puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "(**(code **)(*piVar1 + 0x4c))(piVar1,param_2);" (call_expression "(**(code **)(*piVar1 + 0x4c))(piVar1,param_2)" (parenthesized_expression "(**(code **)(*piVar1 + 0x4c))" ( (pointer_expression "**(code **)(*piVar1 + 0x4c)" * (pointer_expression "*(code **)(*piVar1 + 0x4c)" * (cast_expression "(code **)(*piVar1 + 0x4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x4c)" ( (binary_expression "*piVar1 + 0x4c" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,param_2)" ( identifier , identifier ))) ;) }) while (parenthesized_expression "((undefined4 *)*piVar3 != puVar2)" ( (binary_expression "(undefined4 *)*piVar3 != puVar2" (cast_expression "(undefined4 *)*piVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier)) != identifier) )) ;) })) (expression_statement "piVar3 = piVar3 + 3;" (assignment_expression "piVar3 = piVar3 + 3" identifier = (binary_expression "piVar3 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar3 != (int *)(param_1 + 0x160))" ( (binary_expression "piVar3 != (int *)(param_1 + 0x160)" identifier != (cast_expression "(int *)(param_1 + 0x160)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x160)" ( (binary_expression "param_1 + 0x160" identifier + number_literal) )))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void print_sections_to_mapfile(Output_segment * this, Mapfile *\n   mapfile) */\n\nvoid __thiscall\ngold::Output_segment::print_sections_to_mapfile(Output_segment *this,Mapfile *mapfile)\n\n{\n  Output_data *pOVar1;\n  pointer ppOVar2;\n  pointer *pppOVar3;\n  \n  if (this->type_ == 1) {\n    pppOVar3 = &this->output_lists_[0].\n                super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n                _M_finish;\n    do {\n      ppOVar2 = ((_Vector_impl *)(pppOVar3 + -1))->_M_start;\n      if (ppOVar2 != *pppOVar3) {\n        do {\n          pOVar1 = *ppOVar2;\n          ppOVar2 = ppOVar2 + 1;\n          (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n        } while (*pppOVar3 != ppOVar2);\n      }\n      pppOVar3 = pppOVar3 + 3;\n    } while (pppOVar3 != (pointer *)((int)&this->vaddr_ + 4));\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall\ngold::Output_segment::print_sections_to_mapfile(Output_segment *this,Mapfile *mapfile)\n\n{\n  Output_data *pOVar1;\n  pointer ppOVar2;\n  pointer *pppOVar3;\n  \n  if (this->type_ == 1) {\n    pppOVar3 = &this->output_lists_[0].\n                super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n                _M_finish;\n    do {\n      ppOVar2 = ((_Vector_impl *)(pppOVar3 + -1))->_M_start;\n      if (ppOVar2 != *pppOVar3) {\n        do {\n          pOVar1 = *ppOVar2;\n          ppOVar2 = ppOVar2 + 1;\n          (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n        } while (*pppOVar3 != ppOVar2);\n      }\n      pppOVar3 = pppOVar3 + 3;\n    } while (pppOVar3 != (pointer *)((int)&this->vaddr_ + 4));\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_segment::" identifier : : identifier : :) (function_declarator "print_sections_to_mapfile(Output_segment *this,Mapfile *mapfile)" identifier (parameter_list "(Output_segment *this,Mapfile *mapfile)" ( (parameter_declaration "Output_segment *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Mapfile *mapfile" type_identifier (pointer_declarator "*mapfile" * identifier)) ))) (compound_statement "{\n  Output_data *pOVar1;\n  pointer ppOVar2;\n  pointer *pppOVar3;\n  \n  if (this->type_ == 1) {\n    pppOVar3 = &this->output_lists_[0].\n                super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n                _M_finish;\n    do {\n      ppOVar2 = ((_Vector_impl *)(pppOVar3 + -1))->_M_start;\n      if (ppOVar2 != *pppOVar3) {\n        do {\n          pOVar1 = *ppOVar2;\n          ppOVar2 = ppOVar2 + 1;\n          (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n        } while (*pppOVar3 != ppOVar2);\n      }\n      pppOVar3 = pppOVar3 + 3;\n    } while (pppOVar3 != (pointer *)((int)&this->vaddr_ + 4));\n  }\n  return;\n}" { (declaration "Output_data *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "pointer ppOVar2;" type_identifier identifier ;) (declaration "pointer *pppOVar3;" type_identifier (pointer_declarator "*pppOVar3" * identifier) ;) (if_statement "if (this->type_ == 1) {\n    pppOVar3 = &this->output_lists_[0].\n                super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n                _M_finish;\n    do {\n      ppOVar2 = ((_Vector_impl *)(pppOVar3 + -1))->_M_start;\n      if (ppOVar2 != *pppOVar3) {\n        do {\n          pOVar1 = *ppOVar2;\n          ppOVar2 = ppOVar2 + 1;\n          (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n        } while (*pppOVar3 != ppOVar2);\n      }\n      pppOVar3 = pppOVar3 + 3;\n    } while (pppOVar3 != (pointer *)((int)&this->vaddr_ + 4));\n  }" if (parenthesized_expression "(this->type_ == 1)" ( (binary_expression "this->type_ == 1" (field_expression "this->type_" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n    pppOVar3 = &this->output_lists_[0].\n                super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n                _M_finish;\n    do {\n      ppOVar2 = ((_Vector_impl *)(pppOVar3 + -1))->_M_start;\n      if (ppOVar2 != *pppOVar3) {\n        do {\n          pOVar1 = *ppOVar2;\n          ppOVar2 = ppOVar2 + 1;\n          (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n        } while (*pppOVar3 != ppOVar2);\n      }\n      pppOVar3 = pppOVar3 + 3;\n    } while (pppOVar3 != (pointer *)((int)&this->vaddr_ + 4));\n  }" { (expression_statement "pppOVar3 = &this->output_lists_[0].\n                super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n                _M_finish;" (field_expression "pppOVar3 = &this->output_lists_[0].\n                super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl.\n                _M_finish" (field_expression "pppOVar3 = &this->output_lists_[0].\n                super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>._M_impl" (binary_expression "pppOVar3 = &this->output_lists_[0].\n                super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_" (binary_expression "pppOVar3 = &this->output_lists_[0].\n                super__Vector_base<gold::Output_data*,_std::allocator<gold" (binary_expression "pppOVar3 = &this->output_lists_[0].\n                super__Vector_base<gold::Output_data*,_std" (assignment_expression "pppOVar3 = &this->output_lists_[0].\n                super__Vector_base<gold" identifier = (binary_expression "&this->output_lists_[0].\n                super__Vector_base<gold" (pointer_expression "&this->output_lists_[0].\n                super__Vector_base" & (field_expression "this->output_lists_[0].\n                super__Vector_base" (subscript_expression "this->output_lists_[0]" (field_expression "this->output_lists_" identifier -> field_identifier) [ number_literal ]) . field_identifier)) < identifier)) (ERROR "::Output_data" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (do_statement "do {\n      ppOVar2 = ((_Vector_impl *)(pppOVar3 + -1))->_M_start;\n      if (ppOVar2 != *pppOVar3) {\n        do {\n          pOVar1 = *ppOVar2;\n          ppOVar2 = ppOVar2 + 1;\n          (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n        } while (*pppOVar3 != ppOVar2);\n      }\n      pppOVar3 = pppOVar3 + 3;\n    } while (pppOVar3 != (pointer *)((int)&this->vaddr_ + 4));" do (compound_statement "{\n      ppOVar2 = ((_Vector_impl *)(pppOVar3 + -1))->_M_start;\n      if (ppOVar2 != *pppOVar3) {\n        do {\n          pOVar1 = *ppOVar2;\n          ppOVar2 = ppOVar2 + 1;\n          (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n        } while (*pppOVar3 != ppOVar2);\n      }\n      pppOVar3 = pppOVar3 + 3;\n    }" { (expression_statement "ppOVar2 = ((_Vector_impl *)(pppOVar3 + -1))->_M_start;" (assignment_expression "ppOVar2 = ((_Vector_impl *)(pppOVar3 + -1))->_M_start" identifier = (field_expression "((_Vector_impl *)(pppOVar3 + -1))->_M_start" (parenthesized_expression "((_Vector_impl *)(pppOVar3 + -1))" ( (cast_expression "(_Vector_impl *)(pppOVar3 + -1)" ( (type_descriptor "_Vector_impl *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pppOVar3 + -1)" ( (binary_expression "pppOVar3 + -1" identifier + number_literal) ))) )) -> field_identifier)) ;) (if_statement "if (ppOVar2 != *pppOVar3) {\n        do {\n          pOVar1 = *ppOVar2;\n          ppOVar2 = ppOVar2 + 1;\n          (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n        } while (*pppOVar3 != ppOVar2);\n      }" if (parenthesized_expression "(ppOVar2 != *pppOVar3)" ( (binary_expression "ppOVar2 != *pppOVar3" identifier != (pointer_expression "*pppOVar3" * identifier)) )) (compound_statement "{\n        do {\n          pOVar1 = *ppOVar2;\n          ppOVar2 = ppOVar2 + 1;\n          (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n        } while (*pppOVar3 != ppOVar2);\n      }" { (do_statement "do {\n          pOVar1 = *ppOVar2;\n          ppOVar2 = ppOVar2 + 1;\n          (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n        } while (*pppOVar3 != ppOVar2);" do (compound_statement "{\n          pOVar1 = *ppOVar2;\n          ppOVar2 = ppOVar2 + 1;\n          (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n        }" { (expression_statement "pOVar1 = *ppOVar2;" (assignment_expression "pOVar1 = *ppOVar2" identifier = (pointer_expression "*ppOVar2" * identifier)) ;) (expression_statement "ppOVar2 = ppOVar2 + 1;" (assignment_expression "ppOVar2 = ppOVar2 + 1" identifier = (binary_expression "ppOVar2 + 1" identifier + number_literal)) ;) (expression_statement "(*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);" (call_expression "(*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile)" (parenthesized_expression "(*pOVar1->_vptr_Output_data[0x13])" ( (pointer_expression "*pOVar1->_vptr_Output_data[0x13]" * (subscript_expression "pOVar1->_vptr_Output_data[0x13]" (field_expression "pOVar1->_vptr_Output_data" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(pOVar1,mapfile)" ( identifier , identifier ))) ;) }) while (parenthesized_expression "(*pppOVar3 != ppOVar2)" ( (binary_expression "*pppOVar3 != ppOVar2" (pointer_expression "*pppOVar3" * identifier) != identifier) )) ;) })) (expression_statement "pppOVar3 = pppOVar3 + 3;" (assignment_expression "pppOVar3 = pppOVar3 + 3" identifier = (binary_expression "pppOVar3 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(pppOVar3 != (pointer *)((int)&this->vaddr_ + 4))" ( (binary_expression "pppOVar3 != (pointer *)((int)&this->vaddr_ + 4)" identifier != (cast_expression "(pointer *)((int)&this->vaddr_ + 4)" ( (type_descriptor "pointer *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&this->vaddr_ + 4)" ( (binary_expression "(int)&this->vaddr_ + 4" (cast_expression "(int)&this->vaddr_" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&this->vaddr_" & (field_expression "this->vaddr_" identifier -> field_identifier))) + number_literal) )))) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000f15f0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  \n  if (*(int *)(param_1 + 0x194) == 1) {\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }\n  return;\n}\n\n" (function_definition "void FUN_000f15f0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  \n  if (*(int *)(param_1 + 0x194) == 1) {\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000f15f0(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  undefined4 *puVar2;\n  int *piVar3;\n  \n  if (*(int *)(param_1 + 0x194) == 1) {\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (if_statement "if (*(int *)(param_1 + 0x194) == 1) {\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x194) == 1)" ( (binary_expression "*(int *)(param_1 + 0x194) == 1" (pointer_expression "*(int *)(param_1 + 0x194)" * (cast_expression "(int *)(param_1 + 0x194)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x194)" ( (binary_expression "param_1 + 0x194" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }" { (expression_statement "piVar3 = (int *)(param_1 + 4);" (assignment_expression "piVar3 = (int *)(param_1 + 4)" identifier = (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) ;) (do_statement "do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));" do (compound_statement "{\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    }" { (expression_statement "puVar2 = (undefined4 *)piVar3[-1];" (assignment_expression "puVar2 = (undefined4 *)piVar3[-1]" identifier = (cast_expression "(undefined4 *)piVar3[-1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar3[-1]" identifier [ number_literal ]))) ;) (if_statement "if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }" if (parenthesized_expression "(puVar2 != (undefined4 *)*piVar3)" ( (binary_expression "puVar2 != (undefined4 *)*piVar3" identifier != (cast_expression "(undefined4 *)*piVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier))) )) (compound_statement "{\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }" { (do_statement "do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);" do (compound_statement "{\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        }" { (expression_statement "piVar1 = (int *)*puVar2;" (assignment_expression "piVar1 = (int *)*puVar2" identifier = (cast_expression "(int *)*puVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "(**(code **)(*piVar1 + 0x4c))(piVar1,param_2);" (call_expression "(**(code **)(*piVar1 + 0x4c))(piVar1,param_2)" (parenthesized_expression "(**(code **)(*piVar1 + 0x4c))" ( (pointer_expression "**(code **)(*piVar1 + 0x4c)" * (pointer_expression "*(code **)(*piVar1 + 0x4c)" * (cast_expression "(code **)(*piVar1 + 0x4c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x4c)" ( (binary_expression "*piVar1 + 0x4c" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1,param_2)" ( identifier , identifier ))) ;) }) while (parenthesized_expression "((undefined4 *)*piVar3 != puVar2)" ( (binary_expression "(undefined4 *)*piVar3 != puVar2" (cast_expression "(undefined4 *)*piVar3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar3" * identifier)) != identifier) )) ;) })) (expression_statement "piVar3 = piVar3 + 3;" (assignment_expression "piVar3 = piVar3 + 3" identifier = (binary_expression "piVar3 + 3" identifier + number_literal)) ;) }) while (parenthesized_expression "(piVar3 != (int *)(param_1 + 0x160))" ( (binary_expression "piVar3 != (int *)(param_1 + 0x160)" identifier != (cast_expression "(int *)(param_1 + 0x160)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x160)" ( (binary_expression "param_1 + 0x160" identifier + number_literal) )))) )) ;) })) (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) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (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 ))) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000f15f0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  int *piVar3;\n  \n  if (*(int *)(param_1 + 0x194) == 1) {\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000f15f0(int param_1,undefined4 param_2)" (identifier "FUN_000f15f0") (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  undefined4 *puVar2;\n  int *piVar3;\n  \n  if (*(int *)(param_1 + 0x194) == 1) {\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (if_statement "if (*(int *)(param_1 + 0x194) == 1) {\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x194) == 1)" (( "(") (binary_expression "*(int *)(param_1 + 0x194) == 1" (pointer_expression "*(int *)(param_1 + 0x194)" (* "*") (cast_expression "(int *)(param_1 + 0x194)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x194)" (( "(") (binary_expression "param_1 + 0x194" (identifier "param_1") (+ "+") (number_literal "0x194")) () ")")))) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n    piVar3 = (int *)(param_1 + 4);\n    do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));\n  }" ({ "{") (expression_statement "piVar3 = (int *)(param_1 + 4);" (assignment_expression "piVar3 = (int *)(param_1 + 4)" (identifier "piVar3") (= "=") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (; ";")) (do_statement "do {\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    } while (piVar3 != (int *)(param_1 + 0x160));" (do "do") (compound_statement "{\n      puVar2 = (undefined4 *)piVar3[-1];\n      if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }\n      piVar3 = piVar3 + 3;\n    }" ({ "{") (expression_statement "puVar2 = (undefined4 *)piVar3[-1];" (assignment_expression "puVar2 = (undefined4 *)piVar3[-1]" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)piVar3[-1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar3[-1]" (identifier "piVar3") ([ "[") (number_literal "-1") (] "]")))) (; ";")) (if_statement "if (puVar2 != (undefined4 *)*piVar3) {\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }" (if "if") (parenthesized_expression "(puVar2 != (undefined4 *)*piVar3)" (( "(") (binary_expression "puVar2 != (undefined4 *)*piVar3" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)*piVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3")))) () ")")) (compound_statement "{\n        do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);\n      }" ({ "{") (do_statement "do {\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        } while ((undefined4 *)*piVar3 != puVar2);" (do "do") (compound_statement "{\n          piVar1 = (int *)*puVar2;\n          puVar2 = puVar2 + 1;\n          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n        }" ({ "{") (expression_statement "piVar1 = (int *)*puVar2;" (assignment_expression "piVar1 = (int *)*puVar2" (identifier "piVar1") (= "=") (cast_expression "(int *)*puVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(**(code **)(*piVar1 + 0x4c))(piVar1,param_2);" (call_expression "(**(code **)(*piVar1 + 0x4c))(piVar1,param_2)" (parenthesized_expression "(**(code **)(*piVar1 + 0x4c))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x4c)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x4c)" (* "*") (cast_expression "(code **)(*piVar1 + 0x4c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x4c)" (( "(") (binary_expression "*piVar1 + 0x4c" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x4c")) () ")"))))) () ")")) (argument_list "(piVar1,param_2)" (( "(") (identifier "piVar1") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((undefined4 *)*piVar3 != puVar2)" (( "(") (binary_expression "(undefined4 *)*piVar3 != puVar2" (cast_expression "(undefined4 *)*piVar3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (!= "!=") (identifier "puVar2")) () ")")) (; ";")) (} "}"))) (expression_statement "piVar3 = piVar3 + 3;" (assignment_expression "piVar3 = piVar3 + 3" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 3" (identifier "piVar3") (+ "+") (number_literal "3"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar3 != (int *)(param_1 + 0x160))" (( "(") (binary_expression "piVar3 != (int *)(param_1 + 0x160)" (identifier "piVar3") (!= "!=") (cast_expression "(int *)(param_1 + 0x160)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x160)" (( "(") (binary_expression "param_1 + 0x160" (identifier "param_1") (+ "+") (number_literal "0x160")) () ")")))) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void print_sections_to_mapfile(Output_segment * this, Mapfile *
   mapfile) */

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

{
  type_3 *pOVar1;
  type_4 var_5;
  type_4 *var_4;
  
  if (this->type_ == 1) {
    var_4 = &this->output_lists_[0].
                super__Vector_base<var_1::type_3*,var_2::allocator<var_1::type_3*>var_3>._M_impl.
                _M_finish;
    do {
      var_5 = ((type_5 *)(var_4 + -1))->_M_start;
      if (var_5 != *var_4) {
        do {
          pOVar1 = *var_5;
          var_5 = var_5 + 1;
          (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);
        } while (*var_4 != var_5);
      }
      var_4 = var_4 + 3;
    } while (var_4 != (type_4 *)((int)&this->vaddr_ + 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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (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))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) 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))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (return_statement))))

void MASKED(int param_1,undefined4 param_2)

{
  int *piVar1;
  undefined4 *puVar2;
  int *piVar3;
  
  if (*(int *)(param_1 + 0x194) == 1) {
    piVar3 = (int *)(param_1 + 4);
    do {
      puVar2 = (undefined4 *)piVar3[-1];
      if (puVar2 != (undefined4 *)*piVar3) {
        do {
          piVar1 = (int *)*puVar2;
          puVar2 = puVar2 + 1;
          (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);
        } while ((undefined4 *)*piVar3 != puVar2);
      }
      piVar3 = piVar3 + 3;
    } while (piVar3 != (int *)(param_1 + 0x160));
  }
  return;
}

