
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Timespec do_get_mtime(Object * this) */

Timespec __thiscall gold::Object::do_get_mtime(Object *this)

{
  Timespec TVar1;
  time_t in_stack_00000004;
  
  if (this->input_file_ != (Input_file *)0x0) {
    TVar1 = File_read::get_mtime(&this->input_file_->file_);
    TVar1.seconds = in_stack_00000004;
    return TVar1;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");
}



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

undefined4 FUN_00049390(undefined4 param_1,int param_2)

{
  if (*(int *)(param_2 + 0x1c) != 0) {
    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x345c69
SUB ESP,0x4
MOV EAX,dword ptr [ESP + 0x14]
MOV ESI,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX + 0x1c]
TEST EAX,EAX
JZ 0x000493c6
SUB ESP,0x8
ADD EAX,0x1c
PUSH EAX
PUSH ESI
CALL 0x00067c30
MOV EAX,ESI
ADD ESP,0x10
POP EBX
POP ESI
RET 0x4
PUSH EAX
LEA EAX,[EBX + 0xffef24bc]
PUSH EAX
LEA EAX,[EBX + 0xffef101a]
PUSH 0x1e3
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00049390(undefined4 param_1,int param_2)\n\n{\n  if (*(int *)(param_2 + 0x1c) != 0) {\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n}\n\n" comment (function_definition "undefined4 FUN_00049390(undefined4 param_1,int param_2)\n\n{\n  if (*(int *)(param_2 + 0x1c) != 0) {\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n}" type_identifier (function_declarator "FUN_00049390(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*(int *)(param_2 + 0x1c) != 0) {\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n}" { (if_statement "if (*(int *)(param_2 + 0x1c) != 0) {\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x1c) != 0)" ( (binary_expression "*(int *)(param_2 + 0x1c) != 0" (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }" { (expression_statement "FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);" (call_expression "FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c)" identifier (argument_list "(param_1,*(int *)(param_2 + 0x1c) + 0x1c)" ( identifier , (binary_expression "*(int *)(param_2 + 0x1c) + 0x1c" (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) + number_literal) ))) ;) (return_statement "return param_1;" return identifier ;) })) comment (expression_statement "FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);" (call_expression "FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0)" identifier (argument_list "("../../gold/object.h",0x1e3,"input_file",0)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""input_file"" " string_content ") , number_literal ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: Timespec do_get_mtime(Object * this) */\n\nTimespec __thiscall gold::Object::do_get_mtime(Object *this)\n\n{\n  Timespec TVar1;\n  time_t in_stack_00000004;\n  \n  if (this->input_file_ != (Input_file *)0x0) {\n    TVar1 = File_read::get_mtime(&this->input_file_->file_);\n    TVar1.seconds = in_stack_00000004;\n    return TVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");\n}\n\n" comment comment (function_definition "Timespec __thiscall gold::Object::do_get_mtime(Object *this)\n\n{\n  Timespec TVar1;\n  time_t in_stack_00000004;\n  \n  if (this->input_file_ != (Input_file *)0x0) {\n    TVar1 = File_read::get_mtime(&this->input_file_->file_);\n    TVar1.seconds = in_stack_00000004;\n    return TVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");\n}" type_identifier (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Object::" identifier : : identifier : :) (function_declarator "do_get_mtime(Object *this)" identifier (parameter_list "(Object *this)" ( (parameter_declaration "Object *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Timespec TVar1;\n  time_t in_stack_00000004;\n  \n  if (this->input_file_ != (Input_file *)0x0) {\n    TVar1 = File_read::get_mtime(&this->input_file_->file_);\n    TVar1.seconds = in_stack_00000004;\n    return TVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");\n}" { (declaration "Timespec TVar1;" type_identifier identifier ;) (declaration "time_t in_stack_00000004;" type_identifier identifier ;) (if_statement "if (this->input_file_ != (Input_file *)0x0) {\n    TVar1 = File_read::get_mtime(&this->input_file_->file_);\n    TVar1.seconds = in_stack_00000004;\n    return TVar1;\n  }" if (parenthesized_expression "(this->input_file_ != (Input_file *)0x0)" ( (binary_expression "this->input_file_ != (Input_file *)0x0" (field_expression "this->input_file_" identifier -> field_identifier) != (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    TVar1 = File_read::get_mtime(&this->input_file_->file_);\n    TVar1.seconds = in_stack_00000004;\n    return TVar1;\n  }" { (ERROR "TVar1 = File_read::" (assignment_expression "TVar1 = File_read" identifier = identifier) : :) (expression_statement "get_mtime(&this->input_file_->file_);" (call_expression "get_mtime(&this->input_file_->file_)" identifier (argument_list "(&this->input_file_->file_)" ( (pointer_expression "&this->input_file_->file_" & (field_expression "this->input_file_->file_" (field_expression "this->input_file_" identifier -> field_identifier) -> field_identifier)) ))) ;) (expression_statement "TVar1.seconds = in_stack_00000004;" (assignment_expression "TVar1.seconds = in_stack_00000004" (field_expression "TVar1.seconds" identifier . field_identifier) = identifier) ;) (return_statement "return TVar1;" return identifier ;) })) comment (expression_statement "do_gold_unreachable("../../gold/object.h",0x1e3,"input_file");" (call_expression "do_gold_unreachable("../../gold/object.h",0x1e3,"input_file")" identifier (argument_list "("../../gold/object.h",0x1e3,"input_file")" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""input_file"" " string_content ") ))) ;) })))
(translation_unit "undefined4 FUN_00049390(undefined4 param_1,int param_2)\n\n{\n  if (*(int *)(param_2 + 0x1c) != 0) {\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }\n                    \n  FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n}\n\n" (function_definition "undefined4 FUN_00049390(undefined4 param_1,int param_2)\n\n{\n  if (*(int *)(param_2 + 0x1c) != 0) {\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }\n                    \n  FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n}" type_identifier (function_declarator "FUN_00049390(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  if (*(int *)(param_2 + 0x1c) != 0) {\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }\n                    \n  FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n}" { (if_statement "if (*(int *)(param_2 + 0x1c) != 0) {\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }" if (parenthesized_expression "(*(int *)(param_2 + 0x1c) != 0)" ( (binary_expression "*(int *)(param_2 + 0x1c) != 0" (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }" { (expression_statement "FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);" (call_expression "FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c)" identifier (argument_list "(param_1,*(int *)(param_2 + 0x1c) + 0x1c)" ( identifier , (binary_expression "*(int *)(param_2 + 0x1c) + 0x1c" (pointer_expression "*(int *)(param_2 + 0x1c)" * (cast_expression "(int *)(param_2 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x1c)" ( (binary_expression "param_2 + 0x1c" identifier + number_literal) )))) + number_literal) ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);" (call_expression "FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0)" identifier (argument_list "("../../gold/object.h",0x1e3,"input_file",0)" ( (string_literal ""../../gold/object.h"" " string_content ") , number_literal , (string_literal ""input_file"" " string_content ") , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "undefined4 FUN_00049390(undefined4 param_1,int param_2)\n\n{\n  if (*(int *)(param_2 + 0x1c) != 0) {\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }\n                    \n  FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n}" (type_identifier "undefined4") (function_declarator "FUN_00049390(undefined4 param_1,int param_2)" (identifier "FUN_00049390") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  if (*(int *)(param_2 + 0x1c) != 0) {\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }\n                    \n  FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);\n}" ({ "{") (if_statement "if (*(int *)(param_2 + 0x1c) != 0) {\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x1c) != 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x1c) != 0" (pointer_expression "*(int *)(param_2 + 0x1c)" (* "*") (cast_expression "(int *)(param_2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);\n    return param_1;\n  }" ({ "{") (expression_statement "FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);" (call_expression "FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c)" (identifier "FUN_00067c30") (argument_list "(param_1,*(int *)(param_2 + 0x1c) + 0x1c)" (( "(") (identifier "param_1") (, ",") (binary_expression "*(int *)(param_2 + 0x1c) + 0x1c" (pointer_expression "*(int *)(param_2 + 0x1c)" (* "*") (cast_expression "(int *)(param_2 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x1c)" (( "(") (binary_expression "param_2 + 0x1c" (identifier "param_2") (+ "+") (number_literal "0x1c")) () ")")))) (+ "+") (number_literal "0x1c")) () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);" (call_expression "FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0)" (identifier "FUN_00069d00") (argument_list "("../../gold/object.h",0x1e3,"input_file",0)" (( "(") (string_literal ""../../gold/object.h"" (" """) (string_content "../../gold/object.h") (" """)) (, ",") (number_literal "0x1e3") (, ",") (string_literal ""input_file"" (" """) (string_content "input_file") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Timespec do_get_mtime(Object * this) */

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

{
  type_1 TVar1;
  type_3 in_stack_00000004;
  
  if (this->input_file_ != (type_4 *)0x0) {
    TVar1 = File_read::var_1(&this->input_file_->file_);
    TVar1.seconds = in_stack_00000004;
    return TVar1;
  }
                    /* WARNING: Subroutine does not return */
  var_2("../../gold/object.h",0x1e3,"input_file");
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (return_statement (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (number_literal) (string_literal (string_content)) (number_literal)))))))

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

undefined4 MASKED(undefined4 param_1,int param_2)

{
  if (*(int *)(param_2 + 0x1c) != 0) {
    FUN_00067c30(param_1,*(int *)(param_2 + 0x1c) + 0x1c);
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/object.h",0x1e3,"input_file",0);
}

