
/* DWARF original prototype: void print_section_list_to_mapfile(Output_segment * this, Mapfile *
   mapfile, Output_data_list * pdl) */

void __thiscall
gold::Output_segment::print_section_list_to_mapfile
          (Output_segment *this,Mapfile *mapfile,Output_data_list *pdl)

{
  Output_data *pOVar1;
  pointer ppOVar2;
  
  ppOVar2 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).
            _M_impl._M_start;
  if (ppOVar2 !=
      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.
      _M_finish) {
    do {
      pOVar1 = *ppOVar2;
      ppOVar2 = ppOVar2 + 1;
      (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);
    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).
             _M_impl._M_finish != ppOVar2);
  }
  return;
}



void FUN_00107290(undefined4 param_1,undefined4 param_2,int *param_3)

{
  int *piVar1;
  undefined4 *puVar2;
  
  puVar2 = (undefined4 *)*param_3;
  if (puVar2 != (undefined4 *)param_3[1]) {
    do {
      piVar1 = (int *)*puVar2;
      puVar2 = puVar2 + 1;
      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);
    } while ((undefined4 *)param_3[1] != puVar2);
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x18]
MOV EDI,dword ptr [ESP + 0x14]
MOV EBX,dword ptr [ESI]
CMP EBX,dword ptr [ESI + 0x4]
JZ 0x001072bf
LEA ESI,[ESI]
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 + 0x4],EBX
JNZ 0x001072a8
POP EBX
POP ESI
POP EDI
RET
(translation_unit "void FUN_00107290(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)*param_3;\n  if (puVar2 != (undefined4 *)param_3[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00107290(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)*param_3;\n  if (puVar2 != (undefined4 *)param_3[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00107290(undefined4 param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)*param_3;\n  if (puVar2 != (undefined4 *)param_3[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = (undefined4 *)*param_3;" (assignment_expression "puVar2 = (undefined4 *)*param_3" identifier = (cast_expression "(undefined4 *)*param_3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (if_statement "if (puVar2 != (undefined4 *)param_3[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\n  }" if (parenthesized_expression "(puVar2 != (undefined4 *)param_3[1])" ( (binary_expression "puVar2 != (undefined4 *)param_3[1]" identifier != (cast_expression "(undefined4 *)param_3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\n  }" { (do_statement "do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != 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 *)param_3[1] != puVar2)" ( (binary_expression "(undefined4 *)param_3[1] != puVar2" (cast_expression "(undefined4 *)param_3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void print_section_list_to_mapfile(Output_segment * this, Mapfile *\n   mapfile, Output_data_list * pdl) */\n\nvoid __thiscall\ngold::Output_segment::print_section_list_to_mapfile\n          (Output_segment *this,Mapfile *mapfile,Output_data_list *pdl)\n\n{\n  Output_data *pOVar1;\n  pointer ppOVar2;\n  \n  ppOVar2 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish) {\n    do {\n      pOVar1 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2);\n  }\n  return;\n}\n\n" comment (function_definition "void __thiscall\ngold::Output_segment::print_section_list_to_mapfile\n          (Output_segment *this,Mapfile *mapfile,Output_data_list *pdl)\n\n{\n  Output_data *pOVar1;\n  pointer ppOVar2;\n  \n  ppOVar2 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish) {\n    do {\n      pOVar1 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2);\n  }\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Output_segment::" identifier : : identifier : :) (function_declarator "print_section_list_to_mapfile\n          (Output_segment *this,Mapfile *mapfile,Output_data_list *pdl)" identifier (parameter_list "(Output_segment *this,Mapfile *mapfile,Output_data_list *pdl)" ( (parameter_declaration "Output_segment *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Mapfile *mapfile" type_identifier (pointer_declarator "*mapfile" * identifier)) , (parameter_declaration "Output_data_list *pdl" type_identifier (pointer_declarator "*pdl" * identifier)) ))) (compound_statement "{\n  Output_data *pOVar1;\n  pointer ppOVar2;\n  \n  ppOVar2 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;\n  if (ppOVar2 !=\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish) {\n    do {\n      pOVar1 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2);\n  }\n  return;\n}" { (declaration "Output_data *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "pointer ppOVar2;" type_identifier identifier ;) (expression_statement "ppOVar2 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start;" (assignment_expression "ppOVar2 = (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start" identifier = (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl._M_start" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n            _M_impl" (parenthesized_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)" ( (ERROR "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::" (comma_expression "pdl->super__Vector_base<gold::Output_data*,_std" (binary_expression "pdl->super__Vector_base<gold::Output_data*" (binary_expression "pdl->super__Vector_base<gold" (field_expression "pdl->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_data" : : identifier) * identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Output_data*>_>" (binary_expression "Output_data*>_" identifier * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if (ppOVar2 !=\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish) {\n    do {\n      pOVar1 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2);\n  }" if (parenthesized_expression "(ppOVar2 !=\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish)" ( (binary_expression "ppOVar2 !=\n      (pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish" identifier != (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl.\n      _M_finish" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)._M_impl" (parenthesized_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)" ( (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std" (binary_expression "pdl->super__Vector_base<gold" (field_expression "pdl->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) )) (compound_statement "{\n    do {\n      pOVar1 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2);\n  }" { (do_statement "do {\n      pOVar1 = *ppOVar2;\n      ppOVar2 = ppOVar2 + 1;\n      (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);\n    } while ((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != 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 "((pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2)" ( (binary_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish != ppOVar2" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl._M_finish" (field_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>).\n             _M_impl" (parenthesized_expression "(pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>)" ( (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_>" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold::Output_data*>_" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std::allocator<gold" (binary_expression "pdl->super__Vector_base<gold::Output_data*,_std" (binary_expression "pdl->super__Vector_base<gold" (field_expression "pdl->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_data" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00107290(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)*param_3;\n  if (puVar2 != (undefined4 *)param_3[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00107290(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)*param_3;\n  if (puVar2 != (undefined4 *)param_3[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00107290(undefined4 param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)*param_3;\n  if (puVar2 != (undefined4 *)param_3[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = (undefined4 *)*param_3;" (assignment_expression "puVar2 = (undefined4 *)*param_3" identifier = (cast_expression "(undefined4 *)*param_3" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) ;) (if_statement "if (puVar2 != (undefined4 *)param_3[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\n  }" if (parenthesized_expression "(puVar2 != (undefined4 *)param_3[1])" ( (binary_expression "puVar2 != (undefined4 *)param_3[1]" identifier != (cast_expression "(undefined4 *)param_3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" identifier [ number_literal ]))) )) (compound_statement "{\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\n  }" { (do_statement "do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != 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 *)param_3[1] != puVar2)" ( (binary_expression "(undefined4 *)param_3[1] != puVar2" (cast_expression "(undefined4 *)param_3[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_3[1]" 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) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_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))) ;) (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 *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00107290(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)*param_3;\n  if (puVar2 != (undefined4 *)param_3[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00107290(undefined4 param_1,undefined4 param_2,int *param_3)" (identifier "FUN_00107290") (parameter_list "(undefined4 param_1,undefined4 param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = (undefined4 *)*param_3;\n  if (puVar2 != (undefined4 *)param_3[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\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")) (; ";")) (expression_statement "puVar2 = (undefined4 *)*param_3;" (assignment_expression "puVar2 = (undefined4 *)*param_3" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)*param_3" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) (; ";")) (if_statement "if (puVar2 != (undefined4 *)param_3[1]) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\n  }" (if "if") (parenthesized_expression "(puVar2 != (undefined4 *)param_3[1])" (( "(") (binary_expression "puVar2 != (undefined4 *)param_3[1]" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)param_3[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")))) () ")")) (compound_statement "{\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != puVar2);\n  }" ({ "{") (do_statement "do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while ((undefined4 *)param_3[1] != 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 *)param_3[1] != puVar2)" (( "(") (binary_expression "(undefined4 *)param_3[1] != puVar2" (cast_expression "(undefined4 *)param_3[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (identifier "puVar2")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void print_section_list_to_mapfile(Output_segment * this, Mapfile *
   mapfile, Output_data_list * pdl) */

void __thiscall
var_4::type_1::function_1
          (type_1 *this,type_2 *mapfile,type_3 *pdl)

{
  type_4 *pOVar1;
  type_5 var_3;
  
  var_3 = (pdl->super__Vector_base<var_4::type_4*var_2,var_5::allocator<var_4::type_4*>var_1>var_2).
            _M_impl._M_start;
  if (var_3 !=
      (pdl->super__Vector_base<var_4::type_4*,var_5::allocator<var_4::type_4*>var_1>var_2)._M_impl.
      _M_finish) {
    do {
      pOVar1 = *var_3;
      var_3 = var_3 + 1;
      (*pOVar1->_vptr_Output_data[0x13])(pOVar1,mapfile);
    } while ((pdl->super__Vector_base<var_4::type_4*,var_5::allocator<var_4::type_4*>var_1>var_2).
             _M_impl._M_finish != var_3);
  }
  return;
}


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

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

{
  int *piVar1;
  undefined4 *puVar2;
  
  puVar2 = (undefined4 *)*param_3;
  if (puVar2 != (undefined4 *)param_3[1]) {
    do {
      piVar1 = (int *)*puVar2;
      puVar2 = puVar2 + 1;
      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);
    } while ((undefined4 *)param_3[1] != puVar2);
  }
  return;
}

