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

void __thiscall gold::Layout::print_to_mapfile(Layout *this,Mapfile *mapfile)

{
}



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

void FUN_0010aab0(int param_1,undefined4 param_2)

{
  int *piVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  
  puVar2 = *(undefined4 **)(param_1 + 0x124);
  if (puVar2 != *(undefined4 **)(param_1 + 0x128)) {
    do {
      puVar3 = puVar2 + 1;
      FUN_0015fd90(*puVar2,param_2);
      puVar2 = puVar3;
    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);
  }
  puVar2 = *(undefined4 **)(param_1 + 0x13c);
  if (puVar2 != *(undefined4 **)(param_1 + 0x140)) {
    do {
      piVar1 = (int *)*puVar2;
      puVar2 = puVar2 + 1;
      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);
    } while (*(undefined4 **)(param_1 + 0x140) != puVar2);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x0003a210
ADD EBX,0x309547
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
MOV EDI,dword ptr [ESP + 0x24]
MOV EBP,dword ptr [ESI + 0x124]
CMP EBP,dword ptr [ESI + 0x128]
JZ 0x0010aafa
LEA ESI,[ESI]
NOP
SUB ESP,0x8
ADD EBP,0x4
PUSH EDI
PUSH dword ptr [EBP + -0x4]
CALL 0x0015fd90
ADD ESP,0x10
CMP dword ptr [ESI + 0x128],EBP
JNZ 0x0010aae0
MOV EBX,dword ptr [ESI + 0x13c]
CMP EBX,dword ptr [ESI + 0x140]
JZ 0x0010ab2a
LEA ESI,[ESI]
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 + 0x140],EBX
JNZ 0x0010ab10
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0010aab0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x124);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x128)) {\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }\n  puVar2 = *(undefined4 **)(param_1 + 0x13c);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x140)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != puVar2);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_0010aab0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x124);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x128)) {\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }\n  puVar2 = *(undefined4 **)(param_1 + 0x13c);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x140)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != puVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010aab0(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  undefined4 *puVar3;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x124);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x128)) {\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }\n  puVar2 = *(undefined4 **)(param_1 + 0x13c);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x140)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != puVar2);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x124);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x124)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x124)" * (cast_expression "(undefined4 **)(param_1 + 0x124)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x124)" ( (binary_expression "param_1 + 0x124" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 0x128)) {\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }" if (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 0x128))" ( (binary_expression "puVar2 != *(undefined4 **)(param_1 + 0x128)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x128)" * (cast_expression "(undefined4 **)(param_1 + 0x128)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }" { (do_statement "do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);" do (compound_statement "{\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    }" { (expression_statement "puVar3 = puVar2 + 1;" (assignment_expression "puVar3 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0015fd90(*puVar2,param_2);" (call_expression "FUN_0015fd90(*puVar2,param_2)" identifier (argument_list "(*puVar2,param_2)" ( (pointer_expression "*puVar2" * identifier) , identifier ))) ;) (expression_statement "puVar2 = puVar3;" (assignment_expression "puVar2 = puVar3" identifier = identifier) ;) }) while (parenthesized_expression "(*(undefined4 **)(param_1 + 0x128) != puVar3)" ( (binary_expression "*(undefined4 **)(param_1 + 0x128) != puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x128)" * (cast_expression "(undefined4 **)(param_1 + 0x128)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) != identifier) )) ;) })) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x13c);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x13c)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x13c)" * (cast_expression "(undefined4 **)(param_1 + 0x13c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 0x140)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != puVar2);\n  }" if (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 0x140))" ( (binary_expression "puVar2 != *(undefined4 **)(param_1 + 0x140)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x140)" * (cast_expression "(undefined4 **)(param_1 + 0x140)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" 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_1 + 0x140) != puVar2);\n  }" { (do_statement "do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != 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_1 + 0x140) != puVar2)" ( (binary_expression "*(undefined4 **)(param_1 + 0x140) != puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x140)" * (cast_expression "(undefined4 **)(param_1 + 0x140)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" identifier + number_literal) )))) != identifier) )) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void print_to_mapfile(Layout * this, Mapfile * mapfile) */\n\nvoid __thiscall gold::Layout::print_to_mapfile(Layout *this,Mapfile *mapfile)\n\n{\n}\n\n" comment comment comment (function_definition "void __thiscall gold::Layout::print_to_mapfile(Layout *this,Mapfile *mapfile)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "print_to_mapfile(Layout *this,Mapfile *mapfile)" identifier (parameter_list "(Layout *this,Mapfile *mapfile)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Mapfile *mapfile" type_identifier (pointer_declarator "*mapfile" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_0010aab0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x124);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x128)) {\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }\n  puVar2 = *(undefined4 **)(param_1 + 0x13c);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x140)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != puVar2);\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010aab0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x124);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x128)) {\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }\n  puVar2 = *(undefined4 **)(param_1 + 0x13c);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x140)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != puVar2);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010aab0(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  undefined4 *puVar3;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x124);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x128)) {\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }\n  puVar2 = *(undefined4 **)(param_1 + 0x13c);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x140)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != puVar2);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x124);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x124)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x124)" * (cast_expression "(undefined4 **)(param_1 + 0x124)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x124)" ( (binary_expression "param_1 + 0x124" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 0x128)) {\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }" if (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 0x128))" ( (binary_expression "puVar2 != *(undefined4 **)(param_1 + 0x128)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x128)" * (cast_expression "(undefined4 **)(param_1 + 0x128)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) ))))) )) (compound_statement "{\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }" { (do_statement "do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);" do (compound_statement "{\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    }" { (expression_statement "puVar3 = puVar2 + 1;" (assignment_expression "puVar3 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0015fd90(*puVar2,param_2);" (call_expression "FUN_0015fd90(*puVar2,param_2)" identifier (argument_list "(*puVar2,param_2)" ( (pointer_expression "*puVar2" * identifier) , identifier ))) ;) (expression_statement "puVar2 = puVar3;" (assignment_expression "puVar2 = puVar3" identifier = identifier) ;) }) while (parenthesized_expression "(*(undefined4 **)(param_1 + 0x128) != puVar3)" ( (binary_expression "*(undefined4 **)(param_1 + 0x128) != puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x128)" * (cast_expression "(undefined4 **)(param_1 + 0x128)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x128)" ( (binary_expression "param_1 + 0x128" identifier + number_literal) )))) != identifier) )) ;) })) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x13c);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x13c)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x13c)" * (cast_expression "(undefined4 **)(param_1 + 0x13c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x13c)" ( (binary_expression "param_1 + 0x13c" identifier + number_literal) ))))) ;) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 0x140)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != puVar2);\n  }" if (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 0x140))" ( (binary_expression "puVar2 != *(undefined4 **)(param_1 + 0x140)" identifier != (pointer_expression "*(undefined4 **)(param_1 + 0x140)" * (cast_expression "(undefined4 **)(param_1 + 0x140)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" 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_1 + 0x140) != puVar2);\n  }" { (do_statement "do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != 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_1 + 0x140) != puVar2)" ( (binary_expression "*(undefined4 **)(param_1 + 0x140) != puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x140)" * (cast_expression "(undefined4 **)(param_1 + 0x140)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x140)" ( (binary_expression "param_1 + 0x140" 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) ;) (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 = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) 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) )) ;) })) (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))) ;) (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 (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_0010aab0(int param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  undefined4 *puVar2;\n  undefined4 *puVar3;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x124);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x128)) {\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }\n  puVar2 = *(undefined4 **)(param_1 + 0x13c);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x140)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != puVar2);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010aab0(int param_1,undefined4 param_2)" (identifier "FUN_0010aab0") (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  undefined4 *puVar3;\n  \n  puVar2 = *(undefined4 **)(param_1 + 0x124);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x128)) {\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }\n  puVar2 = *(undefined4 **)(param_1 + 0x13c);\n  if (puVar2 != *(undefined4 **)(param_1 + 0x140)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != 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")) (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x124);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x124)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x124)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x124)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x124)" (( "(") (binary_expression "param_1 + 0x124" (identifier "param_1") (+ "+") (number_literal "0x124")) () ")"))))) (; ";")) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 0x128)) {\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }" (if "if") (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 0x128))" (( "(") (binary_expression "puVar2 != *(undefined4 **)(param_1 + 0x128)" (identifier "puVar2") (!= "!=") (pointer_expression "*(undefined4 **)(param_1 + 0x128)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x128)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x128)" (( "(") (binary_expression "param_1 + 0x128" (identifier "param_1") (+ "+") (number_literal "0x128")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);\n  }" ({ "{") (do_statement "do {\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);" (do "do") (compound_statement "{\n      puVar3 = puVar2 + 1;\n      FUN_0015fd90(*puVar2,param_2);\n      puVar2 = puVar3;\n    }" ({ "{") (expression_statement "puVar3 = puVar2 + 1;" (assignment_expression "puVar3 = puVar2 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0015fd90(*puVar2,param_2);" (call_expression "FUN_0015fd90(*puVar2,param_2)" (identifier "FUN_0015fd90") (argument_list "(*puVar2,param_2)" (( "(") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "puVar2 = puVar3;" (assignment_expression "puVar2 = puVar3" (identifier "puVar2") (= "=") (identifier "puVar3")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(undefined4 **)(param_1 + 0x128) != puVar3)" (( "(") (binary_expression "*(undefined4 **)(param_1 + 0x128) != puVar3" (pointer_expression "*(undefined4 **)(param_1 + 0x128)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x128)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x128)" (( "(") (binary_expression "param_1 + 0x128" (identifier "param_1") (+ "+") (number_literal "0x128")) () ")")))) (!= "!=") (identifier "puVar3")) () ")")) (; ";")) (} "}"))) (expression_statement "puVar2 = *(undefined4 **)(param_1 + 0x13c);" (assignment_expression "puVar2 = *(undefined4 **)(param_1 + 0x13c)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x13c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x13c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x13c)" (( "(") (binary_expression "param_1 + 0x13c" (identifier "param_1") (+ "+") (number_literal "0x13c")) () ")"))))) (; ";")) (if_statement "if (puVar2 != *(undefined4 **)(param_1 + 0x140)) {\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != puVar2);\n  }" (if "if") (parenthesized_expression "(puVar2 != *(undefined4 **)(param_1 + 0x140))" (( "(") (binary_expression "puVar2 != *(undefined4 **)(param_1 + 0x140)" (identifier "puVar2") (!= "!=") (pointer_expression "*(undefined4 **)(param_1 + 0x140)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x140)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")"))))) () ")")) (compound_statement "{\n    do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != puVar2);\n  }" ({ "{") (do_statement "do {\n      piVar1 = (int *)*puVar2;\n      puVar2 = puVar2 + 1;\n      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);\n    } while (*(undefined4 **)(param_1 + 0x140) != 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_1 + 0x140) != puVar2)" (( "(") (binary_expression "*(undefined4 **)(param_1 + 0x140) != puVar2" (pointer_expression "*(undefined4 **)(param_1 + 0x140)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x140)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x140)" (( "(") (binary_expression "param_1 + 0x140" (identifier "param_1") (+ "+") (number_literal "0x140")) () ")")))) (!= "!=") (identifier "puVar2")) () ")")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

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

{
}


(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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))) (return_statement))))

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

void MASKED(int param_1,undefined4 param_2)

{
  int *piVar1;
  undefined4 *puVar2;
  undefined4 *puVar3;
  
  puVar2 = *(undefined4 **)(param_1 + 0x124);
  if (puVar2 != *(undefined4 **)(param_1 + 0x128)) {
    do {
      puVar3 = puVar2 + 1;
      FUN_0015fd90(*puVar2,param_2);
      puVar2 = puVar3;
    } while (*(undefined4 **)(param_1 + 0x128) != puVar3);
  }
  puVar2 = *(undefined4 **)(param_1 + 0x13c);
  if (puVar2 != *(undefined4 **)(param_1 + 0x140)) {
    do {
      piVar1 = (int *)*puVar2;
      puVar2 = puVar2 + 1;
      (**(code **)(*piVar1 + 0x4c))(piVar1,param_2);
    } while (*(undefined4 **)(param_1 + 0x140) != puVar2);
  }
  return;
}

