
/* WARNING: Enum "DT": Some values do not have unique names */
/* gold::Layout::read_layout_from_file() [clone .cold.741] */

void __thiscall gold::Layout::read_layout_from_file(Layout *this)

{
  int unaff_EBP;
  void *unaff_ESI;
  
  __cxa_begin_catch();
  if (*(void **)(unaff_EBP + -0x18c) != *(void **)((int)unaff_ESI + 4)) {
    operator_delete(*(void **)((int)unaff_ESI + 4));
  }
  operator_delete(unaff_ESI);
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0004603f to 00046043 has its CatchHandler @ 000460b0 */
  __cxa_rethrow();
}



void __regparm3 FUN_00045ffc(undefined4 param_1)

{
  int unaff_EBP;
  int unaff_ESI;
  
  FUN_003ad790(param_1);
  if (*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)) {
    FUN_003ae080(*(int *)(unaff_ESI + 4));
  }
  FUN_003ae080();
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0004603f to 00046043 has its CatchHandler @ 000460b0 */
  FUN_003ac950();
}


SUB ESP,0xc
MOV EBX,dword ptr [EBP + 0xfffffe9c]
PUSH EAX
CALL 0x003ad790
MOV EAX,dword ptr [ESI + 0x4]
ADD ESP,0x10
CMP dword ptr [EBP + 0xfffffe74],EAX
JZ 0x0004602b
SUB ESP,0xc
MOV EBX,dword ptr [EBP + 0xfffffe9c]
PUSH EAX
CALL 0x003ae080
ADD ESP,0x10
SUB ESP,0xc
MOV EDI,dword ptr [EBP + 0xfffffe9c]
PUSH ESI
MOV EBX,EDI
CALL 0x003ae080
ADD ESP,0x10
CALL 0x003ac950
(translation_unit "void __regparm3 FUN_00045ffc(undefined4 param_1)\n\n{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_003ad790(param_1);\n  if (*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)) {\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }\n  FUN_003ae080();\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0004603f to 00046043 has its CatchHandler @ 000460b0 */\n  FUN_003ac950();\n}\n\n" (function_definition "void __regparm3 FUN_00045ffc(undefined4 param_1)\n\n{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_003ad790(param_1);\n  if (*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)) {\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }\n  FUN_003ae080();\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0004603f to 00046043 has its CatchHandler @ 000460b0 */\n  FUN_003ac950();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00045ffc(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_003ad790(param_1);\n  if (*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)) {\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }\n  FUN_003ae080();\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0004603f to 00046043 has its CatchHandler @ 000460b0 */\n  FUN_003ac950();\n}" { (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int unaff_ESI;" primitive_type identifier ;) (expression_statement "FUN_003ad790(param_1);" (call_expression "FUN_003ad790(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)) {\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }" if (parenthesized_expression "(*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4))" ( (binary_expression "*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)" (pointer_expression "*(int *)(unaff_EBP + -0x18c)" * (cast_expression "(int *)(unaff_EBP + -0x18c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x18c)" ( (binary_expression "unaff_EBP + -0x18c" identifier + number_literal) )))) != (pointer_expression "*(int *)(unaff_ESI + 4)" * (cast_expression "(int *)(unaff_ESI + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_ESI + 4)" ( (binary_expression "unaff_ESI + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }" { (expression_statement "FUN_003ae080(*(int *)(unaff_ESI + 4));" (call_expression "FUN_003ae080(*(int *)(unaff_ESI + 4))" identifier (argument_list "(*(int *)(unaff_ESI + 4))" ( (pointer_expression "*(int *)(unaff_ESI + 4)" * (cast_expression "(int *)(unaff_ESI + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_ESI + 4)" ( (binary_expression "unaff_ESI + 4" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_003ae080();" (call_expression "FUN_003ae080()" identifier (argument_list "()" ( ))) ;) comment comment (expression_statement "FUN_003ac950();" (call_expression "FUN_003ac950()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* gold::Layout::read_layout_from_file() [clone .cold.741] */\n\nvoid __thiscall gold::Layout::read_layout_from_file(Layout *this)\n\n{\n  int unaff_EBP;\n  void *unaff_ESI;\n  \n  __cxa_begin_catch();\n  if (*(void **)(unaff_EBP + -0x18c) != *(void **)((int)unaff_ESI + 4)) {\n    operator_delete(*(void **)((int)unaff_ESI + 4));\n  }\n  operator_delete(unaff_ESI);\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0004603f to 00046043 has its CatchHandler @ 000460b0 */\n  __cxa_rethrow();\n}\n\n" comment comment (function_definition "void __thiscall gold::Layout::read_layout_from_file(Layout *this)\n\n{\n  int unaff_EBP;\n  void *unaff_ESI;\n  \n  __cxa_begin_catch();\n  if (*(void **)(unaff_EBP + -0x18c) != *(void **)((int)unaff_ESI + 4)) {\n    operator_delete(*(void **)((int)unaff_ESI + 4));\n  }\n  operator_delete(unaff_ESI);\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0004603f to 00046043 has its CatchHandler @ 000460b0 */\n  __cxa_rethrow();\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "read_layout_from_file(Layout *this)" identifier (parameter_list "(Layout *this)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  int unaff_EBP;\n  void *unaff_ESI;\n  \n  __cxa_begin_catch();\n  if (*(void **)(unaff_EBP + -0x18c) != *(void **)((int)unaff_ESI + 4)) {\n    operator_delete(*(void **)((int)unaff_ESI + 4));\n  }\n  operator_delete(unaff_ESI);\n                    /* WARNING: Subroutine does not return */\n                    /* try { // try from 0004603f to 00046043 has its CatchHandler @ 000460b0 */\n  __cxa_rethrow();\n}" { (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "void *unaff_ESI;" primitive_type (pointer_declarator "*unaff_ESI" * identifier) ;) (expression_statement "__cxa_begin_catch();" (call_expression "__cxa_begin_catch()" identifier (argument_list "()" ( ))) ;) (if_statement "if (*(void **)(unaff_EBP + -0x18c) != *(void **)((int)unaff_ESI + 4)) {\n    operator_delete(*(void **)((int)unaff_ESI + 4));\n  }" if (parenthesized_expression "(*(void **)(unaff_EBP + -0x18c) != *(void **)((int)unaff_ESI + 4))" ( (binary_expression "*(void **)(unaff_EBP + -0x18c) != *(void **)((int)unaff_ESI + 4)" (pointer_expression "*(void **)(unaff_EBP + -0x18c)" * (cast_expression "(void **)(unaff_EBP + -0x18c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBP + -0x18c)" ( (binary_expression "unaff_EBP + -0x18c" identifier + number_literal) )))) != (pointer_expression "*(void **)((int)unaff_ESI + 4)" * (cast_expression "(void **)((int)unaff_ESI + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)unaff_ESI + 4)" ( (binary_expression "(int)unaff_ESI + 4" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) )) (compound_statement "{\n    operator_delete(*(void **)((int)unaff_ESI + 4));\n  }" { (expression_statement "operator_delete(*(void **)((int)unaff_ESI + 4));" (call_expression "operator_delete(*(void **)((int)unaff_ESI + 4))" identifier (argument_list "(*(void **)((int)unaff_ESI + 4))" ( (pointer_expression "*(void **)((int)unaff_ESI + 4)" * (cast_expression "(void **)((int)unaff_ESI + 4)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)unaff_ESI + 4)" ( (binary_expression "(int)unaff_ESI + 4" (cast_expression "(int)unaff_ESI" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;) })) (expression_statement "operator_delete(unaff_ESI);" (call_expression "operator_delete(unaff_ESI)" identifier (argument_list "(unaff_ESI)" ( identifier ))) ;) comment comment (expression_statement "__cxa_rethrow();" (call_expression "__cxa_rethrow()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "void __regparm3 FUN_00045ffc(undefined4 param_1)\n\n{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_003ad790(param_1);\n  if (*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)) {\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }\n  FUN_003ae080();\n                    \n                    \n  FUN_003ac950();\n}\n\n" (function_definition "void __regparm3 FUN_00045ffc(undefined4 param_1)\n\n{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_003ad790(param_1);\n  if (*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)) {\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }\n  FUN_003ae080();\n                    \n                    \n  FUN_003ac950();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00045ffc(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_003ad790(param_1);\n  if (*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)) {\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }\n  FUN_003ae080();\n                    \n                    \n  FUN_003ac950();\n}" { (declaration "int unaff_EBP;" primitive_type identifier ;) (declaration "int unaff_ESI;" primitive_type identifier ;) (expression_statement "FUN_003ad790(param_1);" (call_expression "FUN_003ad790(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)) {\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }" if (parenthesized_expression "(*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4))" ( (binary_expression "*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)" (pointer_expression "*(int *)(unaff_EBP + -0x18c)" * (cast_expression "(int *)(unaff_EBP + -0x18c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + -0x18c)" ( (binary_expression "unaff_EBP + -0x18c" identifier + number_literal) )))) != (pointer_expression "*(int *)(unaff_ESI + 4)" * (cast_expression "(int *)(unaff_ESI + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_ESI + 4)" ( (binary_expression "unaff_ESI + 4" identifier + number_literal) ))))) )) (compound_statement "{\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }" { (expression_statement "FUN_003ae080(*(int *)(unaff_ESI + 4));" (call_expression "FUN_003ae080(*(int *)(unaff_ESI + 4))" identifier (argument_list "(*(int *)(unaff_ESI + 4))" ( (pointer_expression "*(int *)(unaff_ESI + 4)" * (cast_expression "(int *)(unaff_ESI + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_ESI + 4)" ( (binary_expression "unaff_ESI + 4" identifier + number_literal) )))) ))) ;) })) (expression_statement "FUN_003ae080();" (call_expression "FUN_003ae080()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_003ac950();" (call_expression "FUN_003ac950()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "void __regparm3 FUN_00045ffc(undefined4 param_1)\n\n{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_003ad790(param_1);\n  if (*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)) {\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }\n  FUN_003ae080();\n                    \n                    \n  FUN_003ac950();\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00045ffc(undefined4 param_1)" (identifier "FUN_00045ffc") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int unaff_EBP;\n  int unaff_ESI;\n  \n  FUN_003ad790(param_1);\n  if (*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)) {\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }\n  FUN_003ae080();\n                    \n                    \n  FUN_003ac950();\n}" ({ "{") (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (declaration "int unaff_ESI;" (primitive_type "int") (identifier "unaff_ESI") (; ";")) (expression_statement "FUN_003ad790(param_1);" (call_expression "FUN_003ad790(param_1)" (identifier "FUN_003ad790") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (if_statement "if (*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)) {\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }" (if "if") (parenthesized_expression "(*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4))" (( "(") (binary_expression "*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)" (pointer_expression "*(int *)(unaff_EBP + -0x18c)" (* "*") (cast_expression "(int *)(unaff_EBP + -0x18c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + -0x18c)" (( "(") (binary_expression "unaff_EBP + -0x18c" (identifier "unaff_EBP") (+ "+") (number_literal "-0x18c")) () ")")))) (!= "!=") (pointer_expression "*(int *)(unaff_ESI + 4)" (* "*") (cast_expression "(int *)(unaff_ESI + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_ESI + 4)" (( "(") (binary_expression "unaff_ESI + 4" (identifier "unaff_ESI") (+ "+") (number_literal "4")) () ")"))))) () ")")) (compound_statement "{\n    FUN_003ae080(*(int *)(unaff_ESI + 4));\n  }" ({ "{") (expression_statement "FUN_003ae080(*(int *)(unaff_ESI + 4));" (call_expression "FUN_003ae080(*(int *)(unaff_ESI + 4))" (identifier "FUN_003ae080") (argument_list "(*(int *)(unaff_ESI + 4))" (( "(") (pointer_expression "*(int *)(unaff_ESI + 4)" (* "*") (cast_expression "(int *)(unaff_ESI + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_ESI + 4)" (( "(") (binary_expression "unaff_ESI + 4" (identifier "unaff_ESI") (+ "+") (number_literal "4")) () ")")))) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_003ae080();" (call_expression "FUN_003ae080()" (identifier "FUN_003ae080") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_003ac950();" (call_expression "FUN_003ac950()" (identifier "FUN_003ac950") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* gold::Layout::read_layout_from_file() [clone .cold.741] */

void __thiscall gold::type_1::function_1(type_1 *this)

{
  int var_2;
  void *unaff_ESI;
  
  var_1();
  if (*(void **)(var_2 + -0x18c) != *(void **)((int)unaff_ESI + 4)) {
    var_3(*(void **)((int)unaff_ESI + 4));
  }
  var_3(unaff_ESI);
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0004603f to 00046043 has its CatchHandler @ 000460b0 */
  var_4();
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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: (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))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (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)))))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

void __regparm3 MASKED(undefined4 param_1)

{
  int unaff_EBP;
  int unaff_ESI;
  
  FUN_003ad790(param_1);
  if (*(int *)(unaff_EBP + -0x18c) != *(int *)(unaff_ESI + 4)) {
    FUN_003ae080(*(int *)(unaff_ESI + 4));
  }
  FUN_003ae080();
                    /* WARNING: Subroutine does not return */
                    /* try { // try from 0004603f to 00046043 has its CatchHandler @ 000460b0 */
  FUN_003ac950();
}

