
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: bool initialize(Initialize_lock * this) */

bool __thiscall gold::Initialize_lock::initialize(Initialize_lock *this)

{
  if (parameters->options_ != (General_options *)0x0) {
    Once::run_once(&this->super_Once,(void *)0x0);
    return true;
  }
  return false;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 FUN_000622e0(undefined4 param_1)

{
  if (*(int *)(DAT_00302378 + 8) != 0) {
    FUN_00062170(param_1,0);
    return 1;
  }
  return 0;
}


CALL 0x0004fb76
ADD EAX,0x29fd1b
LEA EAX,[EAX + 0x378]
MOV EDX,dword ptr [EAX]
MOV EAX,dword ptr [EDX + 0x8]
TEST EAX,EAX
JZ 0x00062310
SUB ESP,0x14
PUSH 0x0
PUSH dword ptr [ESP + 0x1c]
CALL 0x00062170
MOV EAX,0x1
ADD ESP,0x1c
RET
XOR EAX,EAX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nundefined4 FUN_000622e0(undefined4 param_1)\n\n{\n  if (*(int *)(DAT_00302378 + 8) != 0) {\n    FUN_00062170(param_1,0);\n    return 1;\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_000622e0(undefined4 param_1)\n\n{\n  if (*(int *)(DAT_00302378 + 8) != 0) {\n    FUN_00062170(param_1,0);\n    return 1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_000622e0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  if (*(int *)(DAT_00302378 + 8) != 0) {\n    FUN_00062170(param_1,0);\n    return 1;\n  }\n  return 0;\n}" { (if_statement "if (*(int *)(DAT_00302378 + 8) != 0) {\n    FUN_00062170(param_1,0);\n    return 1;\n  }" if (parenthesized_expression "(*(int *)(DAT_00302378 + 8) != 0)" ( (binary_expression "*(int *)(DAT_00302378 + 8) != 0" (pointer_expression "*(int *)(DAT_00302378 + 8)" * (cast_expression "(int *)(DAT_00302378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 8)" ( (binary_expression "DAT_00302378 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00062170(param_1,0);\n    return 1;\n  }" { (expression_statement "FUN_00062170(param_1,0);" (call_expression "FUN_00062170(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: bool initialize(Initialize_lock * this) */\n\nbool __thiscall gold::Initialize_lock::initialize(Initialize_lock *this)\n\n{\n  if (parameters->options_ != (General_options *)0x0) {\n    Once::run_once(&this->super_Once,(void *)0x0);\n    return true;\n  }\n  return false;\n}\n\n" comment comment comment (function_definition "bool __thiscall gold::Initialize_lock::initialize(Initialize_lock *this)\n\n{\n  if (parameters->options_ != (General_options *)0x0) {\n    Once::run_once(&this->super_Once,(void *)0x0);\n    return true;\n  }\n  return false;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Initialize_lock::" identifier : : identifier : :) (function_declarator "initialize(Initialize_lock *this)" identifier (parameter_list "(Initialize_lock *this)" ( (parameter_declaration "Initialize_lock *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  if (parameters->options_ != (General_options *)0x0) {\n    Once::run_once(&this->super_Once,(void *)0x0);\n    return true;\n  }\n  return false;\n}" { (if_statement "if (parameters->options_ != (General_options *)0x0) {\n    Once::run_once(&this->super_Once,(void *)0x0);\n    return true;\n  }" if (parenthesized_expression "(parameters->options_ != (General_options *)0x0)" ( (binary_expression "parameters->options_ != (General_options *)0x0" (field_expression "parameters->options_" identifier -> field_identifier) != (cast_expression "(General_options *)0x0" ( (type_descriptor "General_options *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    Once::run_once(&this->super_Once,(void *)0x0);\n    return true;\n  }" { (labeled_statement "Once::run_once(&this->super_Once,(void *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "run_once(&this->super_Once,(void *)0x0);" (call_expression "run_once(&this->super_Once,(void *)0x0)" identifier (argument_list "(&this->super_Once,(void *)0x0)" ( (pointer_expression "&this->super_Once" & (field_expression "this->super_Once" identifier -> field_identifier)) , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) (return_statement "return true;" return true ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4 FUN_000622e0(undefined4 param_1)\n\n{\n  if (*(int *)(DAT_00302378 + 8) != 0) {\n    FUN_00062170(param_1,0);\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_000622e0(undefined4 param_1)\n\n{\n  if (*(int *)(DAT_00302378 + 8) != 0) {\n    FUN_00062170(param_1,0);\n    return 1;\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_000622e0(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  if (*(int *)(DAT_00302378 + 8) != 0) {\n    FUN_00062170(param_1,0);\n    return 1;\n  }\n  return 0;\n}" { (if_statement "if (*(int *)(DAT_00302378 + 8) != 0) {\n    FUN_00062170(param_1,0);\n    return 1;\n  }" if (parenthesized_expression "(*(int *)(DAT_00302378 + 8) != 0)" ( (binary_expression "*(int *)(DAT_00302378 + 8) != 0" (pointer_expression "*(int *)(DAT_00302378 + 8)" * (cast_expression "(int *)(DAT_00302378 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_00302378 + 8)" ( (binary_expression "DAT_00302378 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    FUN_00062170(param_1,0);\n    return 1;\n  }" { (expression_statement "FUN_00062170(param_1,0);" (call_expression "FUN_00062170(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (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 , LIT ))) ;) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_000622e0(undefined4 param_1)\n\n{\n  if (*(int *)(DAT_00302378 + 8) != 0) {\n    FUN_00062170(param_1,0);\n    return 1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_000622e0(undefined4 param_1)" (identifier "FUN_000622e0") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (*(int *)(DAT_00302378 + 8) != 0) {\n    FUN_00062170(param_1,0);\n    return 1;\n  }\n  return 0;\n}" ({ "{") (if_statement "if (*(int *)(DAT_00302378 + 8) != 0) {\n    FUN_00062170(param_1,0);\n    return 1;\n  }" (if "if") (parenthesized_expression "(*(int *)(DAT_00302378 + 8) != 0)" (( "(") (binary_expression "*(int *)(DAT_00302378 + 8) != 0" (pointer_expression "*(int *)(DAT_00302378 + 8)" (* "*") (cast_expression "(int *)(DAT_00302378 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_00302378 + 8)" (( "(") (binary_expression "DAT_00302378 + 8" (identifier "DAT_00302378") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00062170(param_1,0);\n    return 1;\n  }" ({ "{") (expression_statement "FUN_00062170(param_1,0);" (call_expression "FUN_00062170(param_1,0)" (identifier "FUN_00062170") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: bool initialize(Initialize_lock * this) */

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

{
  if (parameters->options_ != (type_2 *)0x0) {
    Once::var_1(&this->super_Once,(void *)0x0);
    return true;
  }
  return false;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) 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) (number_literal)))) (return_statement (number_literal)))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

undefined4 MASKED(undefined4 param_1)

{
  if (*(int *)(DAT_00302378 + 8) != 0) {
    FUN_00062170(param_1,0);
    return 1;
  }
  return 0;
}

