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

void gold::c_run_once(void)

{
  Once *pOVar1;
  
  pOVar1 = once_pointer;
  (*once_pointer->_vptr_Once[2])(once_pointer,once_arg);
  pOVar1->was_run_ = true;
  return;
}



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

void FUN_0006c7a0(void)

{
  int *piVar1;
  
  piVar1 = DAT_0038f490;
  (**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c);
  *(undefined1 *)(piVar1 + 1) = 1;
  return;
}


CALL 0x000559e6
ADD EAX,0x32285b
PUSH EBX
SUB ESP,0x10
MOV EBX,dword ptr [EAX + 0x490]
MOV EDX,dword ptr [EBX]
PUSH dword ptr [EAX + 0x48c]
PUSH EBX
CALL dword ptr [EDX + 0x8]
MOV byte ptr [EBX + 0x4],0x1
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_0006c7a0(void)\n\n{\n  int *piVar1;\n  \n  piVar1 = DAT_0038f490;\n  (**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c);\n  *(undefined1 *)(piVar1 + 1) = 1;\n  return;\n}\n\n" comment (function_definition "void FUN_0006c7a0(void)\n\n{\n  int *piVar1;\n  \n  piVar1 = DAT_0038f490;\n  (**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c);\n  *(undefined1 *)(piVar1 + 1) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0006c7a0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = DAT_0038f490;\n  (**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c);\n  *(undefined1 *)(piVar1 + 1) = 1;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "piVar1 = DAT_0038f490;" (assignment_expression "piVar1 = DAT_0038f490" identifier = identifier) ;) (expression_statement "(**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c);" (call_expression "(**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c)" (parenthesized_expression "(**(code **)(*DAT_0038f490 + 8))" ( (pointer_expression "**(code **)(*DAT_0038f490 + 8)" * (pointer_expression "*(code **)(*DAT_0038f490 + 8)" * (cast_expression "(code **)(*DAT_0038f490 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*DAT_0038f490 + 8)" ( (binary_expression "*DAT_0038f490 + 8" (pointer_expression "*DAT_0038f490" * identifier) + number_literal) ))))) )) (argument_list "(DAT_0038f490,DAT_0038f48c)" ( identifier , identifier ))) ;) (expression_statement "*(undefined1 *)(piVar1 + 1) = 1;" (assignment_expression "*(undefined1 *)(piVar1 + 1) = 1" (pointer_expression "*(undefined1 *)(piVar1 + 1)" * (cast_expression "(undefined1 *)(piVar1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 1)" ( (binary_expression "piVar1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid gold::c_run_once(void)\n\n{\n  Once *pOVar1;\n  \n  pOVar1 = once_pointer;\n  (*once_pointer->_vptr_Once[2])(once_pointer,once_arg);\n  pOVar1->was_run_ = true;\n  return;\n}\n\n" comment (function_definition "void gold::c_run_once(void)\n\n{\n  Once *pOVar1;\n  \n  pOVar1 = once_pointer;\n  (*once_pointer->_vptr_Once[2])(once_pointer,once_arg);\n  pOVar1->was_run_ = true;\n  return;\n}" primitive_type (ERROR "gold::" identifier : :) (function_declarator "c_run_once(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  Once *pOVar1;\n  \n  pOVar1 = once_pointer;\n  (*once_pointer->_vptr_Once[2])(once_pointer,once_arg);\n  pOVar1->was_run_ = true;\n  return;\n}" { (declaration "Once *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (expression_statement "pOVar1 = once_pointer;" (assignment_expression "pOVar1 = once_pointer" identifier = identifier) ;) (expression_statement "(*once_pointer->_vptr_Once[2])(once_pointer,once_arg);" (call_expression "(*once_pointer->_vptr_Once[2])(once_pointer,once_arg)" (parenthesized_expression "(*once_pointer->_vptr_Once[2])" ( (pointer_expression "*once_pointer->_vptr_Once[2]" * (subscript_expression "once_pointer->_vptr_Once[2]" (field_expression "once_pointer->_vptr_Once" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(once_pointer,once_arg)" ( identifier , identifier ))) ;) (expression_statement "pOVar1->was_run_ = true;" (assignment_expression "pOVar1->was_run_ = true" (field_expression "pOVar1->was_run_" identifier -> field_identifier) = true) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0006c7a0(void)\n\n{\n  int *piVar1;\n  \n  piVar1 = DAT_0038f490;\n  (**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c);\n  *(undefined1 *)(piVar1 + 1) = 1;\n  return;\n}\n\n" (function_definition "void FUN_0006c7a0(void)\n\n{\n  int *piVar1;\n  \n  piVar1 = DAT_0038f490;\n  (**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c);\n  *(undefined1 *)(piVar1 + 1) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0006c7a0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = DAT_0038f490;\n  (**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c);\n  *(undefined1 *)(piVar1 + 1) = 1;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (expression_statement "piVar1 = DAT_0038f490;" (assignment_expression "piVar1 = DAT_0038f490" identifier = identifier) ;) (expression_statement "(**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c);" (call_expression "(**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c)" (parenthesized_expression "(**(code **)(*DAT_0038f490 + 8))" ( (pointer_expression "**(code **)(*DAT_0038f490 + 8)" * (pointer_expression "*(code **)(*DAT_0038f490 + 8)" * (cast_expression "(code **)(*DAT_0038f490 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*DAT_0038f490 + 8)" ( (binary_expression "*DAT_0038f490 + 8" (pointer_expression "*DAT_0038f490" * identifier) + number_literal) ))))) )) (argument_list "(DAT_0038f490,DAT_0038f48c)" ( identifier , identifier ))) ;) (expression_statement "*(undefined1 *)(piVar1 + 1) = 1;" (assignment_expression "*(undefined1 *)(piVar1 + 1) = 1" (pointer_expression "*(undefined1 *)(piVar1 + 1)" * (cast_expression "(undefined1 *)(piVar1 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar1 + 1)" ( (binary_expression "piVar1 + 1" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0006c7a0(void)\n\n{\n  int *piVar1;\n  \n  piVar1 = DAT_0038f490;\n  (**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c);\n  *(undefined1 *)(piVar1 + 1) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0006c7a0(void)" (identifier "FUN_0006c7a0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int *piVar1;\n  \n  piVar1 = DAT_0038f490;\n  (**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c);\n  *(undefined1 *)(piVar1 + 1) = 1;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (expression_statement "piVar1 = DAT_0038f490;" (assignment_expression "piVar1 = DAT_0038f490" (identifier "piVar1") (= "=") (identifier "DAT_0038f490")) (; ";")) (expression_statement "(**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c);" (call_expression "(**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c)" (parenthesized_expression "(**(code **)(*DAT_0038f490 + 8))" (( "(") (pointer_expression "**(code **)(*DAT_0038f490 + 8)" (* "*") (pointer_expression "*(code **)(*DAT_0038f490 + 8)" (* "*") (cast_expression "(code **)(*DAT_0038f490 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*DAT_0038f490 + 8)" (( "(") (binary_expression "*DAT_0038f490 + 8" (pointer_expression "*DAT_0038f490" (* "*") (identifier "DAT_0038f490")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(DAT_0038f490,DAT_0038f48c)" (( "(") (identifier "DAT_0038f490") (, ",") (identifier "DAT_0038f48c") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(piVar1 + 1) = 1;" (assignment_expression "*(undefined1 *)(piVar1 + 1) = 1" (pointer_expression "*(undefined1 *)(piVar1 + 1)" (* "*") (cast_expression "(undefined1 *)(piVar1 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar1 + 1)" (( "(") (binary_expression "piVar1 + 1" (identifier "piVar1") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void gold::function_1(void)

{
  type_1 *pOVar1;
  
  pOVar1 = once_pointer;
  (*once_pointer->_vptr_Once[2])(once_pointer,once_arg);
  pOVar1->was_run_ = true;
  return;
}


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

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

void MASKED(void)

{
  int *piVar1;
  
  piVar1 = DAT_0038f490;
  (**(code **)(*DAT_0038f490 + 8))(DAT_0038f490,DAT_0038f48c);
  *(undefined1 *)(piVar1 + 1) = 1;
  return;
}

