
/* DWARF original prototype: void do_run_once(Initialize_lock * this, void * param_1) */

void __thiscall gold::Initialize_lock::do_run_once(Initialize_lock *this,void *param_2)

{
  Lock *this_00;
  
  __x86_get_pc_thunk_di();
  this_00 = (Lock *)operator_new(4);
                    /* try { // try from 0007ff02 to 0007ff06 has its CatchHandler @ 0007ff1a */
  Lock::Lock(this_00);
  *this->pplock_ = this_00;
  return;
}



void FUN_0007fee0(int param_1)

{
  undefined4 uVar1;
  
  FUN_000644be();
  uVar1 = FUN_001fd480(4);
                    /* try { // try from 0007ff02 to 0007ff06 has its CatchHandler @ 0007ff1a */
  FUN_0007fe40(uVar1);
  **(undefined4 **)(param_1 + 0x10) = uVar1;
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x000644be
ADD EDI,0x32f117
PUSH ESI
PUSH EBX
SUB ESP,0x28
PUSH 0x4
MOV EBX,EDI
CALL 0x001fd480
MOV ESI,EAX
MOV dword ptr [ESP],EAX
CALL 0x0007fe40
MOV EAX,dword ptr [EBP + 0x8]
ADD ESP,0x10
MOV EAX,dword ptr [EAX + 0x10]
MOV dword ptr [EAX],ESI
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_0007fee0(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  FUN_000644be();\n  uVar1 = FUN_001fd480(4);\n                    /* try { // try from 0007ff02 to 0007ff06 has its CatchHandler @ 0007ff1a */\n  FUN_0007fe40(uVar1);\n  **(undefined4 **)(param_1 + 0x10) = uVar1;\n  return;\n}\n\n" (function_definition "void FUN_0007fee0(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  FUN_000644be();\n  uVar1 = FUN_001fd480(4);\n                    /* try { // try from 0007ff02 to 0007ff06 has its CatchHandler @ 0007ff1a */\n  FUN_0007fe40(uVar1);\n  **(undefined4 **)(param_1 + 0x10) = uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_0007fee0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  FUN_000644be();\n  uVar1 = FUN_001fd480(4);\n                    /* try { // try from 0007ff02 to 0007ff06 has its CatchHandler @ 0007ff1a */\n  FUN_0007fe40(uVar1);\n  **(undefined4 **)(param_1 + 0x10) = uVar1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "FUN_000644be();" (call_expression "FUN_000644be()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar1 = FUN_001fd480(4);" (assignment_expression "uVar1 = FUN_001fd480(4)" identifier = (call_expression "FUN_001fd480(4)" identifier (argument_list "(4)" ( number_literal )))) ;) comment (expression_statement "FUN_0007fe40(uVar1);" (call_expression "FUN_0007fe40(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "**(undefined4 **)(param_1 + 0x10) = uVar1;" (assignment_expression "**(undefined4 **)(param_1 + 0x10) = uVar1" (pointer_expression "**(undefined4 **)(param_1 + 0x10)" * (pointer_expression "*(undefined4 **)(param_1 + 0x10)" * (cast_expression "(undefined4 **)(param_1 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void do_run_once(Initialize_lock * this, void * param_1) */\n\nvoid __thiscall gold::Initialize_lock::do_run_once(Initialize_lock *this,void *param_2)\n\n{\n  Lock *this_00;\n  \n  __x86_get_pc_thunk_di();\n  this_00 = (Lock *)operator_new(4);\n                    /* try { // try from 0007ff02 to 0007ff06 has its CatchHandler @ 0007ff1a */\n  Lock::Lock(this_00);\n  *this->pplock_ = this_00;\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Initialize_lock::do_run_once(Initialize_lock *this,void *param_2)\n\n{\n  Lock *this_00;\n  \n  __x86_get_pc_thunk_di();\n  this_00 = (Lock *)operator_new(4);\n                    /* try { // try from 0007ff02 to 0007ff06 has its CatchHandler @ 0007ff1a */\n  Lock::Lock(this_00);\n  *this->pplock_ = this_00;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Initialize_lock::" identifier : : identifier : :) (function_declarator "do_run_once(Initialize_lock *this,void *param_2)" identifier (parameter_list "(Initialize_lock *this,void *param_2)" ( (parameter_declaration "Initialize_lock *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "void *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  Lock *this_00;\n  \n  __x86_get_pc_thunk_di();\n  this_00 = (Lock *)operator_new(4);\n                    /* try { // try from 0007ff02 to 0007ff06 has its CatchHandler @ 0007ff1a */\n  Lock::Lock(this_00);\n  *this->pplock_ = this_00;\n  return;\n}" { (declaration "Lock *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "this_00 = (Lock *)operator_new(4);" (assignment_expression "this_00 = (Lock *)operator_new(4)" identifier = (cast_expression "(Lock *)operator_new(4)" ( (type_descriptor "Lock *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(4)" identifier (argument_list "(4)" ( number_literal ))))) ;) comment (labeled_statement "Lock::Lock(this_00);" statement_identifier : (ERROR ":" :) (expression_statement "Lock(this_00);" (call_expression "Lock(this_00)" identifier (argument_list "(this_00)" ( identifier ))) ;)) (expression_statement "*this->pplock_ = this_00;" (assignment_expression "*this->pplock_ = this_00" (pointer_expression "*this->pplock_" * (field_expression "this->pplock_" identifier -> field_identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0007fee0(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  FUN_000644be();\n  uVar1 = FUN_001fd480(4);\n                    \n  FUN_0007fe40(uVar1);\n  **(undefined4 **)(param_1 + 0x10) = uVar1;\n  return;\n}\n\n" (function_definition "void FUN_0007fee0(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  FUN_000644be();\n  uVar1 = FUN_001fd480(4);\n                    \n  FUN_0007fe40(uVar1);\n  **(undefined4 **)(param_1 + 0x10) = uVar1;\n  return;\n}" primitive_type (function_declarator "FUN_0007fee0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  FUN_000644be();\n  uVar1 = FUN_001fd480(4);\n                    \n  FUN_0007fe40(uVar1);\n  **(undefined4 **)(param_1 + 0x10) = uVar1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "FUN_000644be();" (call_expression "FUN_000644be()" identifier (argument_list "()" ( ))) ;) (expression_statement "uVar1 = FUN_001fd480(4);" (assignment_expression "uVar1 = FUN_001fd480(4)" identifier = (call_expression "FUN_001fd480(4)" identifier (argument_list "(4)" ( number_literal )))) ;) (expression_statement "FUN_0007fe40(uVar1);" (call_expression "FUN_0007fe40(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (expression_statement "**(undefined4 **)(param_1 + 0x10) = uVar1;" (assignment_expression "**(undefined4 **)(param_1 + 0x10) = uVar1" (pointer_expression "**(undefined4 **)(param_1 + 0x10)" * (pointer_expression "*(undefined4 **)(param_1 + 0x10)" * (cast_expression "(undefined4 **)(param_1 + 0x10)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0007fee0(int param_1)\n\n{\n  undefined4 uVar1;\n  \n  FUN_000644be();\n  uVar1 = FUN_001fd480(4);\n                    \n  FUN_0007fe40(uVar1);\n  **(undefined4 **)(param_1 + 0x10) = uVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0007fee0(int param_1)" (identifier "FUN_0007fee0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  FUN_000644be();\n  uVar1 = FUN_001fd480(4);\n                    \n  FUN_0007fe40(uVar1);\n  **(undefined4 **)(param_1 + 0x10) = uVar1;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "FUN_000644be();" (call_expression "FUN_000644be()" (identifier "FUN_000644be") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "uVar1 = FUN_001fd480(4);" (assignment_expression "uVar1 = FUN_001fd480(4)" (identifier "uVar1") (= "=") (call_expression "FUN_001fd480(4)" (identifier "FUN_001fd480") (argument_list "(4)" (( "(") (number_literal "4") () ")")))) (; ";")) (expression_statement "FUN_0007fe40(uVar1);" (call_expression "FUN_0007fe40(uVar1)" (identifier "FUN_0007fe40") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (expression_statement "**(undefined4 **)(param_1 + 0x10) = uVar1;" (assignment_expression "**(undefined4 **)(param_1 + 0x10) = uVar1" (pointer_expression "**(undefined4 **)(param_1 + 0x10)" (* "*") (pointer_expression "*(undefined4 **)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (= "=") (identifier "uVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void do_run_once(Initialize_lock * this, void * param_1) */

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

{
  type_2 *this_00;
  
  var_1();
  this_00 = (type_2 *)var_2(4);
                    /* try { // try from 0007ff02 to 0007ff06 has its CatchHandler @ 0007ff1a */
  Lock::type_2(this_00);
  *this->pplock_ = this_00;
  return;
}


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

void MASKED(int param_1)

{
  undefined4 uVar1;
  
  FUN_000644be();
  uVar1 = FUN_001fd480(4);
                    /* try { // try from 0007ff02 to 0007ff06 has its CatchHandler @ 0007ff1a */
  FUN_0007fe40(uVar1);
  **(undefined4 **)(param_1 + 0x10) = uVar1;
  return;
}

