
/* DWARF original prototype: void internal_run(Once * this, void * arg) */

void __thiscall gold::Once::internal_run(Once *this,void *arg)

{
  (*this->_vptr_Once[2])(this,arg);
  this->was_run_ = true;
  return;
}



void FUN_002478e0(int *param_1,undefined4 param_2)

{
  (**(code **)(*param_1 + 8))(param_1,param_2);
  *(undefined1 *)(param_1 + 1) = 1;
  return;
}


PUSH EBX
SUB ESP,0x10
MOV EBX,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EBX]
PUSH dword ptr [ESP + 0x1c]
PUSH EBX
CALL dword ptr [EAX + 0x8]
MOV byte ptr [EBX + 0x4],0x1
ADD ESP,0x18
POP EBX
RET
(translation_unit "void FUN_002478e0(int *param_1,undefined4 param_2)\n\n{\n  (**(code **)(*param_1 + 8))(param_1,param_2);\n  *(undefined1 *)(param_1 + 1) = 1;\n  return;\n}\n\n" (function_definition "void FUN_002478e0(int *param_1,undefined4 param_2)\n\n{\n  (**(code **)(*param_1 + 8))(param_1,param_2);\n  *(undefined1 *)(param_1 + 1) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_002478e0(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  (**(code **)(*param_1 + 8))(param_1,param_2);\n  *(undefined1 *)(param_1 + 1) = 1;\n  return;\n}" { (expression_statement "(**(code **)(*param_1 + 8))(param_1,param_2);" (call_expression "(**(code **)(*param_1 + 8))(param_1,param_2)" (parenthesized_expression "(**(code **)(*param_1 + 8))" ( (pointer_expression "**(code **)(*param_1 + 8)" * (pointer_expression "*(code **)(*param_1 + 8)" * (cast_expression "(code **)(*param_1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 1" (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) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void internal_run(Once * this, void * arg) */\n\nvoid __thiscall gold::Once::internal_run(Once *this,void *arg)\n\n{\n  (*this->_vptr_Once[2])(this,arg);\n  this->was_run_ = true;\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Once::internal_run(Once *this,void *arg)\n\n{\n  (*this->_vptr_Once[2])(this,arg);\n  this->was_run_ = true;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Once::" identifier : : identifier : :) (function_declarator "internal_run(Once *this,void *arg)" identifier (parameter_list "(Once *this,void *arg)" ( (parameter_declaration "Once *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "void *arg" primitive_type (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  (*this->_vptr_Once[2])(this,arg);\n  this->was_run_ = true;\n  return;\n}" { (expression_statement "(*this->_vptr_Once[2])(this,arg);" (call_expression "(*this->_vptr_Once[2])(this,arg)" (parenthesized_expression "(*this->_vptr_Once[2])" ( (pointer_expression "*this->_vptr_Once[2]" * (subscript_expression "this->_vptr_Once[2]" (field_expression "this->_vptr_Once" identifier -> field_identifier) [ number_literal ])) )) (argument_list "(this,arg)" ( identifier , identifier ))) ;) (expression_statement "this->was_run_ = true;" (assignment_expression "this->was_run_ = true" (field_expression "this->was_run_" identifier -> field_identifier) = true) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002478e0(int *param_1,undefined4 param_2)\n\n{\n  (**(code **)(*param_1 + 8))(param_1,param_2);\n  *(undefined1 *)(param_1 + 1) = 1;\n  return;\n}\n\n" (function_definition "void FUN_002478e0(int *param_1,undefined4 param_2)\n\n{\n  (**(code **)(*param_1 + 8))(param_1,param_2);\n  *(undefined1 *)(param_1 + 1) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_002478e0(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  (**(code **)(*param_1 + 8))(param_1,param_2);\n  *(undefined1 *)(param_1 + 1) = 1;\n  return;\n}" { (expression_statement "(**(code **)(*param_1 + 8))(param_1,param_2);" (call_expression "(**(code **)(*param_1 + 8))(param_1,param_2)" (parenthesized_expression "(**(code **)(*param_1 + 8))" ( (pointer_expression "**(code **)(*param_1 + 8)" * (pointer_expression "*(code **)(*param_1 + 8)" * (cast_expression "(code **)(*param_1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(param_1,param_2)" ( identifier , identifier ))) ;) (expression_statement "*(undefined1 *)(param_1 + 1) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 1" (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) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (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_002478e0(int *param_1,undefined4 param_2)\n\n{\n  (**(code **)(*param_1 + 8))(param_1,param_2);\n  *(undefined1 *)(param_1 + 1) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002478e0(int *param_1,undefined4 param_2)" (identifier "FUN_002478e0") (parameter_list "(int *param_1,undefined4 param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  (**(code **)(*param_1 + 8))(param_1,param_2);\n  *(undefined1 *)(param_1 + 1) = 1;\n  return;\n}" ({ "{") (expression_statement "(**(code **)(*param_1 + 8))(param_1,param_2);" (call_expression "(**(code **)(*param_1 + 8))(param_1,param_2)" (parenthesized_expression "(**(code **)(*param_1 + 8))" (( "(") (pointer_expression "**(code **)(*param_1 + 8)" (* "*") (pointer_expression "*(code **)(*param_1 + 8)" (* "*") (cast_expression "(code **)(*param_1 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 1) = 1;" (assignment_expression "*(undefined1 *)(param_1 + 1) = 1" (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 "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void internal_run(Once * this, void * arg) */

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

{
  (*this->_vptr_Once[2])(this,arg);
  this->was_run_ = true;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (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))))

void MASKED(int *param_1,undefined4 param_2)

{
  (**(code **)(*param_1 + 8))(param_1,param_2);
  *(undefined1 *)(param_1 + 1) = 1;
  return;
}

