
/* 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: off_t symtab_section_offset(Layout * this) */

off_t __thiscall gold::Layout::symtab_section_offset(Layout *this)

{
  Output_section *pOVar1;
  
  pOVar1 = this->symtab_section_;
  if (pOVar1 == (Output_section *)0x0) {
    return 0;
  }
  if (((pOVar1->super_Output_data).field_0x1c & 4) != 0) {
    return (pOVar1->super_Output_data).offset_;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/output.h",0xe3,"offset");
}



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

undefined8 FUN_000995e0(int param_1)

{
  int iVar1;
  
  iVar1 = *(int *)(param_1 + 0x174);
  if (iVar1 == 0) {
    return 0;
  }
  if ((*(byte *)(iVar1 + 0x1c) & 4) != 0) {
    return *(undefined8 *)(iVar1 + 0x14);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1);
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x2f5a1a
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX + 0x174]
TEST EAX,EAX
JZ 0x00099610
TEST byte ptr [EAX + 0x1c],0x4
JZ 0x00099619
MOV EDX,dword ptr [EAX + 0x18]
MOV EAX,dword ptr [EAX + 0x14]
ADD ESP,0x8
POP EBX
RET
ADD ESP,0x8
XOR EAX,EAX
XOR EDX,EDX
POP EBX
RET
PUSH EAX
LEA EAX,[EBX + 0xffefca50]
PUSH EAX
LEA EAX,[EBX + 0xffef8eac]
PUSH 0xe3
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined8 FUN_000995e0(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x174);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((*(byte *)(iVar1 + 0x1c) & 4) != 0) {\n    return *(undefined8 *)(iVar1 + 0x14);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1);\n}\n\n" comment (function_definition "undefined8 FUN_000995e0(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x174);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((*(byte *)(iVar1 + 0x1c) & 4) != 0) {\n    return *(undefined8 *)(iVar1 + 0x14);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1);\n}" type_identifier (function_declarator "FUN_000995e0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x174);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((*(byte *)(iVar1 + 0x1c) & 4) != 0) {\n    return *(undefined8 *)(iVar1 + 0x14);\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x174);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x174)" identifier = (pointer_expression "*(int *)(param_1 + 0x174)" * (cast_expression "(int *)(param_1 + 0x174)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x174)" ( (binary_expression "param_1 + 0x174" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(byte *)(iVar1 + 0x1c) & 4) != 0) {\n    return *(undefined8 *)(iVar1 + 0x14);\n  }" if (parenthesized_expression "((*(byte *)(iVar1 + 0x1c) & 4) != 0)" ( (binary_expression "(*(byte *)(iVar1 + 0x1c) & 4) != 0" (parenthesized_expression "(*(byte *)(iVar1 + 0x1c) & 4)" ( (binary_expression "*(byte *)(iVar1 + 0x1c) & 4" (pointer_expression "*(byte *)(iVar1 + 0x1c)" * (cast_expression "(byte *)(iVar1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return *(undefined8 *)(iVar1 + 0x14);\n  }" { (return_statement "return *(undefined8 *)(iVar1 + 0x14);" return (pointer_expression "*(undefined8 *)(iVar1 + 0x14)" * (cast_expression "(undefined8 *)(iVar1 + 0x14)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) ;) })) comment (expression_statement "FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1);" (call_expression "FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1)" identifier (argument_list "("../../gold/output.h",0xe3,"offset",iVar1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") , identifier ))) ;) })))
(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: off_t symtab_section_offset(Layout * this) */\n\noff_t __thiscall gold::Layout::symtab_section_offset(Layout *this)\n\n{\n  Output_section *pOVar1;\n  \n  pOVar1 = this->symtab_section_;\n  if (pOVar1 == (Output_section *)0x0) {\n    return 0;\n  }\n  if (((pOVar1->super_Output_data).field_0x1c & 4) != 0) {\n    return (pOVar1->super_Output_data).offset_;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0xe3,"offset");\n}\n\n" comment comment comment (function_definition "off_t __thiscall gold::Layout::symtab_section_offset(Layout *this)\n\n{\n  Output_section *pOVar1;\n  \n  pOVar1 = this->symtab_section_;\n  if (pOVar1 == (Output_section *)0x0) {\n    return 0;\n  }\n  if (((pOVar1->super_Output_data).field_0x1c & 4) != 0) {\n    return (pOVar1->super_Output_data).offset_;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0xe3,"offset");\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Layout::" identifier : : identifier : :) (function_declarator "symtab_section_offset(Layout *this)" identifier (parameter_list "(Layout *this)" ( (parameter_declaration "Layout *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Output_section *pOVar1;\n  \n  pOVar1 = this->symtab_section_;\n  if (pOVar1 == (Output_section *)0x0) {\n    return 0;\n  }\n  if (((pOVar1->super_Output_data).field_0x1c & 4) != 0) {\n    return (pOVar1->super_Output_data).offset_;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/output.h",0xe3,"offset");\n}" { (declaration "Output_section *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (expression_statement "pOVar1 = this->symtab_section_;" (assignment_expression "pOVar1 = this->symtab_section_" identifier = (field_expression "this->symtab_section_" identifier -> field_identifier)) ;) (if_statement "if (pOVar1 == (Output_section *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(pOVar1 == (Output_section *)0x0)" ( (binary_expression "pOVar1 == (Output_section *)0x0" identifier == (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (((pOVar1->super_Output_data).field_0x1c & 4) != 0) {\n    return (pOVar1->super_Output_data).offset_;\n  }" if (parenthesized_expression "(((pOVar1->super_Output_data).field_0x1c & 4) != 0)" ( (binary_expression "((pOVar1->super_Output_data).field_0x1c & 4) != 0" (parenthesized_expression "((pOVar1->super_Output_data).field_0x1c & 4)" ( (binary_expression "(pOVar1->super_Output_data).field_0x1c & 4" (field_expression "(pOVar1->super_Output_data).field_0x1c" (parenthesized_expression "(pOVar1->super_Output_data)" ( (field_expression "pOVar1->super_Output_data" identifier -> field_identifier) )) . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    return (pOVar1->super_Output_data).offset_;\n  }" { (return_statement "return (pOVar1->super_Output_data).offset_;" return (field_expression "(pOVar1->super_Output_data).offset_" (parenthesized_expression "(pOVar1->super_Output_data)" ( (field_expression "pOVar1->super_Output_data" identifier -> field_identifier) )) . field_identifier) ;) })) comment (expression_statement "do_gold_unreachable("../../gold/output.h",0xe3,"offset");" (call_expression "do_gold_unreachable("../../gold/output.h",0xe3,"offset")" identifier (argument_list "("../../gold/output.h",0xe3,"offset")" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") ))) ;) })))
(translation_unit "undefined8 FUN_000995e0(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x174);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((*(byte *)(iVar1 + 0x1c) & 4) != 0) {\n    return *(undefined8 *)(iVar1 + 0x14);\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1);\n}\n\n" (function_definition "undefined8 FUN_000995e0(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x174);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((*(byte *)(iVar1 + 0x1c) & 4) != 0) {\n    return *(undefined8 *)(iVar1 + 0x14);\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1);\n}" type_identifier (function_declarator "FUN_000995e0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x174);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((*(byte *)(iVar1 + 0x1c) & 4) != 0) {\n    return *(undefined8 *)(iVar1 + 0x14);\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1);\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = *(int *)(param_1 + 0x174);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x174)" identifier = (pointer_expression "*(int *)(param_1 + 0x174)" * (cast_expression "(int *)(param_1 + 0x174)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x174)" ( (binary_expression "param_1 + 0x174" identifier + number_literal) ))))) ;) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(byte *)(iVar1 + 0x1c) & 4) != 0) {\n    return *(undefined8 *)(iVar1 + 0x14);\n  }" if (parenthesized_expression "((*(byte *)(iVar1 + 0x1c) & 4) != 0)" ( (binary_expression "(*(byte *)(iVar1 + 0x1c) & 4) != 0" (parenthesized_expression "(*(byte *)(iVar1 + 0x1c) & 4)" ( (binary_expression "*(byte *)(iVar1 + 0x1c) & 4" (pointer_expression "*(byte *)(iVar1 + 0x1c)" * (cast_expression "(byte *)(iVar1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x1c)" ( (binary_expression "iVar1 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return *(undefined8 *)(iVar1 + 0x14);\n  }" { (return_statement "return *(undefined8 *)(iVar1 + 0x14);" return (pointer_expression "*(undefined8 *)(iVar1 + 0x14)" * (cast_expression "(undefined8 *)(iVar1 + 0x14)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x14)" ( (binary_expression "iVar1 + 0x14" identifier + number_literal) )))) ;) })) (expression_statement "FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1);" (call_expression "FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1)" identifier (argument_list "("../../gold/output.h",0xe3,"offset",iVar1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "undefined8 FUN_000995e0(int param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x174);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((*(byte *)(iVar1 + 0x1c) & 4) != 0) {\n    return *(undefined8 *)(iVar1 + 0x14);\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1);\n}" (type_identifier "undefined8") (function_declarator "FUN_000995e0(int param_1)" (identifier "FUN_000995e0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = *(int *)(param_1 + 0x174);\n  if (iVar1 == 0) {\n    return 0;\n  }\n  if ((*(byte *)(iVar1 + 0x1c) & 4) != 0) {\n    return *(undefined8 *)(iVar1 + 0x14);\n  }\n                    \n  FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1);\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = *(int *)(param_1 + 0x174);" (assignment_expression "iVar1 = *(int *)(param_1 + 0x174)" (identifier "iVar1") (= "=") (pointer_expression "*(int *)(param_1 + 0x174)" (* "*") (cast_expression "(int *)(param_1 + 0x174)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x174)" (( "(") (binary_expression "param_1 + 0x174" (identifier "param_1") (+ "+") (number_literal "0x174")) () ")"))))) (; ";")) (if_statement "if (iVar1 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((*(byte *)(iVar1 + 0x1c) & 4) != 0) {\n    return *(undefined8 *)(iVar1 + 0x14);\n  }" (if "if") (parenthesized_expression "((*(byte *)(iVar1 + 0x1c) & 4) != 0)" (( "(") (binary_expression "(*(byte *)(iVar1 + 0x1c) & 4) != 0" (parenthesized_expression "(*(byte *)(iVar1 + 0x1c) & 4)" (( "(") (binary_expression "*(byte *)(iVar1 + 0x1c) & 4" (pointer_expression "*(byte *)(iVar1 + 0x1c)" (* "*") (cast_expression "(byte *)(iVar1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x1c)" (( "(") (binary_expression "iVar1 + 0x1c" (identifier "iVar1") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return *(undefined8 *)(iVar1 + 0x14);\n  }" ({ "{") (return_statement "return *(undefined8 *)(iVar1 + 0x14);" (return "return") (pointer_expression "*(undefined8 *)(iVar1 + 0x14)" (* "*") (cast_expression "(undefined8 *)(iVar1 + 0x14)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x14)" (( "(") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")")))) (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1);" (call_expression "FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1)" (identifier "FUN_00069d00") (argument_list "("../../gold/output.h",0xe3,"offset",iVar1)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xe3") (, ",") (string_literal ""offset"" (" """) (string_content "offset") (" """)) (, ",") (identifier "iVar1") () ")"))) (; ";")) (} "}")))

/* 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: off_t symtab_section_offset(Layout * this) */

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

{
  type_3 *var_1;
  
  var_1 = this->symtab_section_;
  if (var_1 == (type_3 *)0x0) {
    return 0;
  }
  if (((var_1->super_Output_data).field_0x1c & 4) != 0) {
    return (var_1->super_Output_data).offset_;
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../gold/output.h",0xe3,"offset");
}


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

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

undefined8 MASKED(int param_1)

{
  int iVar1;
  
  iVar1 = *(int *)(param_1 + 0x174);
  if (iVar1 == 0) {
    return 0;
  }
  if ((*(byte *)(iVar1 + 0x1c) & 4) != 0) {
    return *(undefined8 *)(iVar1 + 0x14);
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/output.h",0xe3,"offset",iVar1);
}

