
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void Once(Once * this) */

void __thiscall gold::Once::Once(Once *this)

{
  Once_initialize *pOVar1;
  
  this->was_run_ = false;
  this->was_run_lock_ = 0;
  this->_vptr_Once = (_func_int_varargs **)&DAT_002fd0a8;
  pOVar1 = (Once_initialize *)operator_new(4);
  pOVar1->once_ = 0;
  this->once_ = pOVar1;
  return;
}



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

void FUN_00062130(undefined4 *param_1)

{
  undefined4 *puVar1;
  
  *(undefined1 *)(param_1 + 1) = 0;
  param_1[2] = 0;
  *param_1 = &DAT_002fd0a8;
  puVar1 = (undefined4 *)FUN_0017ebf0(4);
  *puVar1 = 0;
  param_1[3] = puVar1;
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x29fec9
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
MOV byte ptr [ESI + 0x4],0x0
LEA EAX,[EBX + 0xffffb0a8]
MOV dword ptr [ESI + 0x8],0x0
MOV dword ptr [ESI],EAX
PUSH 0x4
CALL 0x0017ebf0
MOV dword ptr [EAX],0x0
MOV dword ptr [ESI + 0xc],EAX
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00062130(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  *(undefined1 *)(param_1 + 1) = 0;\n  param_1[2] = 0;\n  *param_1 = &DAT_002fd0a8;\n  puVar1 = (undefined4 *)FUN_0017ebf0(4);\n  *puVar1 = 0;\n  param_1[3] = puVar1;\n  return;\n}\n\n" comment (function_definition "void FUN_00062130(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  *(undefined1 *)(param_1 + 1) = 0;\n  param_1[2] = 0;\n  *param_1 = &DAT_002fd0a8;\n  puVar1 = (undefined4 *)FUN_0017ebf0(4);\n  *puVar1 = 0;\n  param_1[3] = puVar1;\n  return;\n}" primitive_type (function_declarator "FUN_00062130(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  *(undefined1 *)(param_1 + 1) = 0;\n  param_1[2] = 0;\n  *param_1 = &DAT_002fd0a8;\n  puVar1 = (undefined4 *)FUN_0017ebf0(4);\n  *puVar1 = 0;\n  param_1[3] = puVar1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &DAT_002fd0a8;" (assignment_expression "*param_1 = &DAT_002fd0a8" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_002fd0a8" & identifier)) ;) (expression_statement "puVar1 = (undefined4 *)FUN_0017ebf0(4);" (assignment_expression "puVar1 = (undefined4 *)FUN_0017ebf0(4)" identifier = (cast_expression "(undefined4 *)FUN_0017ebf0(4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017ebf0(4)" identifier (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "param_1[3] = puVar1;" (assignment_expression "param_1[3] = puVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: void Once(Once * this) */\n\nvoid __thiscall gold::Once::Once(Once *this)\n\n{\n  Once_initialize *pOVar1;\n  \n  this->was_run_ = false;\n  this->was_run_lock_ = 0;\n  this->_vptr_Once = (_func_int_varargs **)&DAT_002fd0a8;\n  pOVar1 = (Once_initialize *)operator_new(4);\n  pOVar1->once_ = 0;\n  this->once_ = pOVar1;\n  return;\n}\n\n" comment comment (function_definition "void __thiscall gold::Once::Once(Once *this)\n\n{\n  Once_initialize *pOVar1;\n  \n  this->was_run_ = false;\n  this->was_run_lock_ = 0;\n  this->_vptr_Once = (_func_int_varargs **)&DAT_002fd0a8;\n  pOVar1 = (Once_initialize *)operator_new(4);\n  pOVar1->once_ = 0;\n  this->once_ = pOVar1;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Once::" identifier : : identifier : :) (function_declarator "Once(Once *this)" identifier (parameter_list "(Once *this)" ( (parameter_declaration "Once *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  Once_initialize *pOVar1;\n  \n  this->was_run_ = false;\n  this->was_run_lock_ = 0;\n  this->_vptr_Once = (_func_int_varargs **)&DAT_002fd0a8;\n  pOVar1 = (Once_initialize *)operator_new(4);\n  pOVar1->once_ = 0;\n  this->once_ = pOVar1;\n  return;\n}" { (declaration "Once_initialize *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (expression_statement "this->was_run_ = false;" (assignment_expression "this->was_run_ = false" (field_expression "this->was_run_" identifier -> field_identifier) = false) ;) (expression_statement "this->was_run_lock_ = 0;" (assignment_expression "this->was_run_lock_ = 0" (field_expression "this->was_run_lock_" identifier -> field_identifier) = number_literal) ;) (expression_statement "this->_vptr_Once = (_func_int_varargs **)&DAT_002fd0a8;" (assignment_expression "this->_vptr_Once = (_func_int_varargs **)&DAT_002fd0a8" (field_expression "this->_vptr_Once" identifier -> field_identifier) = (cast_expression "(_func_int_varargs **)&DAT_002fd0a8" ( (type_descriptor "_func_int_varargs **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&DAT_002fd0a8" & identifier))) ;) (expression_statement "pOVar1 = (Once_initialize *)operator_new(4);" (assignment_expression "pOVar1 = (Once_initialize *)operator_new(4)" identifier = (cast_expression "(Once_initialize *)operator_new(4)" ( (type_descriptor "Once_initialize *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "operator_new(4)" identifier (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "pOVar1->once_ = 0;" (assignment_expression "pOVar1->once_ = 0" (field_expression "pOVar1->once_" identifier -> field_identifier) = number_literal) ;) (expression_statement "this->once_ = pOVar1;" (assignment_expression "this->once_ = pOVar1" (field_expression "this->once_" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00062130(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  *(undefined1 *)(param_1 + 1) = 0;\n  param_1[2] = 0;\n  *param_1 = &DAT_002fd0a8;\n  puVar1 = (undefined4 *)FUN_0017ebf0(4);\n  *puVar1 = 0;\n  param_1[3] = puVar1;\n  return;\n}\n\n" (function_definition "void FUN_00062130(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  *(undefined1 *)(param_1 + 1) = 0;\n  param_1[2] = 0;\n  *param_1 = &DAT_002fd0a8;\n  puVar1 = (undefined4 *)FUN_0017ebf0(4);\n  *puVar1 = 0;\n  param_1[3] = puVar1;\n  return;\n}" primitive_type (function_declarator "FUN_00062130(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  *(undefined1 *)(param_1 + 1) = 0;\n  param_1[2] = 0;\n  *param_1 = &DAT_002fd0a8;\n  puVar1 = (undefined4 *)FUN_0017ebf0(4);\n  *puVar1 = 0;\n  param_1[3] = puVar1;\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" * (cast_expression "(undefined1 *)(param_1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &DAT_002fd0a8;" (assignment_expression "*param_1 = &DAT_002fd0a8" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_002fd0a8" & identifier)) ;) (expression_statement "puVar1 = (undefined4 *)FUN_0017ebf0(4);" (assignment_expression "puVar1 = (undefined4 *)FUN_0017ebf0(4)" identifier = (cast_expression "(undefined4 *)FUN_0017ebf0(4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017ebf0(4)" identifier (argument_list "(4)" ( number_literal ))))) ;) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "param_1[3] = puVar1;" (assignment_expression "param_1[3] = puVar1" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00062130(undefined4 *param_1)\n\n{\n  undefined4 *puVar1;\n  \n  *(undefined1 *)(param_1 + 1) = 0;\n  param_1[2] = 0;\n  *param_1 = &DAT_002fd0a8;\n  puVar1 = (undefined4 *)FUN_0017ebf0(4);\n  *puVar1 = 0;\n  param_1[3] = puVar1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00062130(undefined4 *param_1)" (identifier "FUN_00062130") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  \n  *(undefined1 *)(param_1 + 1) = 0;\n  param_1[2] = 0;\n  *param_1 = &DAT_002fd0a8;\n  puVar1 = (undefined4 *)FUN_0017ebf0(4);\n  *puVar1 = 0;\n  param_1[3] = puVar1;\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 1) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 0" (pointer_expression "*(undefined1 *)(param_1 + 1)" (* "*") (cast_expression "(undefined1 *)(param_1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = &DAT_002fd0a8;" (assignment_expression "*param_1 = &DAT_002fd0a8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&DAT_002fd0a8" (& "&") (identifier "DAT_002fd0a8"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)FUN_0017ebf0(4);" (assignment_expression "puVar1 = (undefined4 *)FUN_0017ebf0(4)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)FUN_0017ebf0(4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0017ebf0(4)" (identifier "FUN_0017ebf0") (argument_list "(4)" (( "(") (number_literal "4") () ")"))))) (; ";")) (expression_statement "*puVar1 = 0;" (assignment_expression "*puVar1 = 0" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[3] = puVar1;" (assignment_expression "param_1[3] = puVar1" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "puVar1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: void Once(Once * this) */

void __thiscall gold::function_1::function_1(function_1 *this)

{
  type_1 *pOVar1;
  
  this->was_run_ = false;
  this->was_run_lock_ = 0;
  this->_vptr_Once = (type_2 **)&DAT_002fd0a8;
  pOVar1 = (type_1 *)var_1(4);
  pOVar1->once_ = 0;
  this->once_ = pOVar1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_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))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

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

void MASKED(undefined4 *param_1)

{
  undefined4 *puVar1;
  
  *(undefined1 *)(param_1 + 1) = 0;
  param_1[2] = 0;
  *param_1 = &DAT_002fd0a8;
  puVar1 = (undefined4 *)FUN_0017ebf0(4);
  *puVar1 = 0;
  param_1[3] = puVar1;
  return;
}

