
/* DWARF original prototype: bool initialize(Initialize_lock * this) */

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

{
  if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {
    Once::run_once(&this->super_Once,(void *)0x0);
    return true;
  }
  return false;
}



/* gold::Initialize_lock::initialize() */

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

{
  if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {
    Once::run_once((Once *)this,(void *)0x0);
    return 1;
  }
  return 0;
}


lui gp,0x35
addiu gp,gp,-0x4a18
addu gp,gp,t9
lw v0,-0x75f0(gp)
addiu sp,sp,-0x20
sw gp,0x10(sp)
lw v0,0x0(v0)
sw ra,0x1c(sp)
lw v0,0x8(v0)
beq v0,zero,0x000eec2c
_lw t9,-0x6c9c(gp)
bal 0x000ee9c8
_or a1,zero,zero
li v0,0x1
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
lw ra,0x1c(sp)
or v0,zero,zero
jr ra
_addiu sp,sp,0x20
(translation_unit "/* gold::Initialize_lock::initialize() */\n\nundefined4 __thiscall gold::Initialize_lock::initialize(Initialize_lock *this)\n\n{\n  if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 __thiscall gold::Initialize_lock::initialize(Initialize_lock *this)\n\n{\n  if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }\n  return 0;\n}" type_identifier (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 (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }\n  return 0;\n}" { (if_statement "if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }" if (parenthesized_expression "(*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0)" ( (binary_expression "*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0" (pointer_expression "*(int *)(*(int *)PTR_parameters_00432be0 + 8)" * (cast_expression "(int *)(*(int *)PTR_parameters_00432be0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_parameters_00432be0 + 8)" ( (binary_expression "*(int *)PTR_parameters_00432be0 + 8" (pointer_expression "*(int *)PTR_parameters_00432be0" * (cast_expression "(int *)PTR_parameters_00432be0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) != number_literal) )) (compound_statement "{\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }" { (labeled_statement "Once::run_once((Once *)this,(void *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "run_once((Once *)this,(void *)0x0);" (call_expression "run_once((Once *)this,(void *)0x0)" identifier (argument_list "((Once *)this,(void *)0x0)" ( (cast_expression "(Once *)this" ( (type_descriptor "Once *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* DWARF original prototype: bool initialize(Initialize_lock * this) */\n\nbool __thiscall gold::Initialize_lock::initialize(Initialize_lock *this)\n\n{\n  if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once(&this->super_Once,(void *)0x0);\n    return true;\n  }\n  return false;\n}\n\n" comment (function_definition "bool __thiscall gold::Initialize_lock::initialize(Initialize_lock *this)\n\n{\n  if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\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 (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once(&this->super_Once,(void *)0x0);\n    return true;\n  }\n  return false;\n}" { (if_statement "if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once(&this->super_Once,(void *)0x0);\n    return true;\n  }" if (parenthesized_expression "(*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0)" ( (binary_expression "*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0" (pointer_expression "*(int *)(*(int *)PTR_parameters_00432be0 + 8)" * (cast_expression "(int *)(*(int *)PTR_parameters_00432be0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_parameters_00432be0 + 8)" ( (binary_expression "*(int *)PTR_parameters_00432be0 + 8" (pointer_expression "*(int *)PTR_parameters_00432be0" * (cast_expression "(int *)PTR_parameters_00432be0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) != 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 __thiscall gold::Initialize_lock::initialize(Initialize_lock *this)\n\n{\n  if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 __thiscall gold::Initialize_lock::initialize(Initialize_lock *this)\n\n{\n  if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }\n  return 0;\n}" type_identifier (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 (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }\n  return 0;\n}" { (if_statement "if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }" if (parenthesized_expression "(*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0)" ( (binary_expression "*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0" (pointer_expression "*(int *)(*(int *)PTR_parameters_00432be0 + 8)" * (cast_expression "(int *)(*(int *)PTR_parameters_00432be0 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)PTR_parameters_00432be0 + 8)" ( (binary_expression "*(int *)PTR_parameters_00432be0 + 8" (pointer_expression "*(int *)PTR_parameters_00432be0" * (cast_expression "(int *)PTR_parameters_00432be0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) != number_literal) )) (compound_statement "{\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }" { (labeled_statement "Once::run_once((Once *)this,(void *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "run_once((Once *)this,(void *)0x0);" (call_expression "run_once((Once *)this,(void *)0x0)" identifier (argument_list "((Once *)this,(void *)0x0)" ( (cast_expression "(Once *)this" ( (type_descriptor "Once *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) (return_statement "return 1;" return number_literal ;) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) + LIT) )))) != LIT) )) (compound_statement { (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ))) ;)) (return_statement return LIT ;) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __thiscall gold::Initialize_lock::initialize(Initialize_lock *this)\n\n{\n  if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }\n  return 0;\n}" (type_identifier "undefined4") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "gold::Initialize_lock::" (identifier "gold") (: ":") (: ":") (identifier "Initialize_lock") (: ":") (: ":")) (function_declarator "initialize(Initialize_lock *this)" (identifier "initialize") (parameter_list "(Initialize_lock *this)" (( "(") (parameter_declaration "Initialize_lock *this" (type_identifier "Initialize_lock") (pointer_declarator "*this" (* "*") (identifier "this"))) () ")"))) (compound_statement "{\n  if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }\n  return 0;\n}" ({ "{") (if_statement "if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }" (if "if") (parenthesized_expression "(*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0)" (( "(") (binary_expression "*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0" (pointer_expression "*(int *)(*(int *)PTR_parameters_00432be0 + 8)" (* "*") (cast_expression "(int *)(*(int *)PTR_parameters_00432be0 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)PTR_parameters_00432be0 + 8)" (( "(") (binary_expression "*(int *)PTR_parameters_00432be0 + 8" (pointer_expression "*(int *)PTR_parameters_00432be0" (* "*") (cast_expression "(int *)PTR_parameters_00432be0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_parameters_00432be0"))) (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    Once::run_once((Once *)this,(void *)0x0);\n    return 1;\n  }" ({ "{") (labeled_statement "Once::run_once((Once *)this,(void *)0x0);" (statement_identifier "Once") (: ":") (ERROR ":" (: ":")) (expression_statement "run_once((Once *)this,(void *)0x0);" (call_expression "run_once((Once *)this,(void *)0x0)" (identifier "run_once") (argument_list "((Once *)this,(void *)0x0)" (( "(") (cast_expression "(Once *)this" (( "(") (type_descriptor "Once *" (type_identifier "Once") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this")) (, ",") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) () ")"))) (; ";"))) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* DWARF original prototype: bool initialize(Initialize_lock * this) */

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

{
  if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {
    Once::var_1(&this->super_Once,(void *)0x0);
    return true;
  }
  return false;
}


(translation_unit (function_definition type: (type_identifier) (ms_call_modifier) (ERROR (identifier) (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (ERROR) (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) (return_statement (number_literal)))) (return_statement (number_literal)))))

/* gold::Initialize_lock::MASKED() */

undefined4 __thiscall gold::Initialize_lock::MASKED(Initialize_lock *this)

{
  if (*(int *)(*(int *)PTR_parameters_00432be0 + 8) != 0) {
    Once::run_once((Once *)this,(void *)0x0);
    return 1;
  }
  return 0;
}

