
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wostream::~wostream() */

void __thiscall std::wostream::~wostream(wostream *this)

{
  *(undefined4 *)this = 0x38c190;
  *(undefined ***)(this + 4) = &PTR__wios_0038c7c8;
  ios_base::~ios_base((ios_base *)(this + 4));
  operator_delete(this);
  return;
}



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

void FUN_001f33b0(undefined4 *param_1)

{
  *param_1 = &PTR_FUN_0038c190;
  param_1[1] = &PTR_FUN_0038c7c8;
  FUN_0022c040(param_1 + 1);
  FUN_001e6db0(param_1);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x19bc49
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
LEA EAX,[EBX + 0xffffd184]
ADD EAX,0xc
MOV dword ptr [ESI],EAX
LEA EAX,[EBX + 0xffffd7c0]
ADD EAX,0x8
MOV dword ptr [ESI + 0x4],EAX
LEA EAX,[ESI + 0x4]
PUSH EAX
CALL 0x0022c040
MOV dword ptr [ESP],ESI
CALL 0x001e6db0
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_001f33b0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0038c190;\n  param_1[1] = &PTR_FUN_0038c7c8;\n  FUN_0022c040(param_1 + 1);\n  FUN_001e6db0(param_1);\n  return;\n}\n\n" comment (function_definition "void FUN_001f33b0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0038c190;\n  param_1[1] = &PTR_FUN_0038c7c8;\n  FUN_0022c040(param_1 + 1);\n  FUN_001e6db0(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_001f33b0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_0038c190;\n  param_1[1] = &PTR_FUN_0038c7c8;\n  FUN_0022c040(param_1 + 1);\n  FUN_001e6db0(param_1);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_0038c190;" (assignment_expression "*param_1 = &PTR_FUN_0038c190" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0038c190" & identifier)) ;) (expression_statement "param_1[1] = &PTR_FUN_0038c7c8;" (assignment_expression "param_1[1] = &PTR_FUN_0038c7c8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_0038c7c8" & identifier)) ;) (expression_statement "FUN_0022c040(param_1 + 1);" (call_expression "FUN_0022c040(param_1 + 1)" identifier (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "FUN_001e6db0(param_1);" (call_expression "FUN_001e6db0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wostream::~wostream() */\n\nvoid __thiscall std::wostream::~wostream(wostream *this)\n\n{\n  *(undefined4 *)this = 0x38c190;\n  *(undefined ***)(this + 4) = &PTR__wios_0038c7c8;\n  ios_base::~ios_base((ios_base *)(this + 4));\n  operator_delete(this);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::wostream::~wostream(wostream *this)\n\n{\n  *(undefined4 *)this = 0x38c190;\n  *(undefined ***)(this + 4) = &PTR__wios_0038c7c8;\n  ios_base::~ios_base((ios_base *)(this + 4));\n  operator_delete(this);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wostream::~" identifier : : identifier : : ~) (function_declarator "wostream(wostream *this)" identifier (parameter_list "(wostream *this)" ( (parameter_declaration "wostream *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  *(undefined4 *)this = 0x38c190;\n  *(undefined ***)(this + 4) = &PTR__wios_0038c7c8;\n  ios_base::~ios_base((ios_base *)(this + 4));\n  operator_delete(this);\n  return;\n}" { (expression_statement "*(undefined4 *)this = 0x38c190;" (assignment_expression "*(undefined4 *)this = 0x38c190" (pointer_expression "*(undefined4 *)this" * (cast_expression "(undefined4 *)this" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined ***)(this + 4) = &PTR__wios_0038c7c8;" (assignment_expression "*(undefined ***)(this + 4) = &PTR__wios_0038c7c8" (pointer_expression "*(undefined ***)(this + 4)" * (cast_expression "(undefined ***)(this + 4)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = (pointer_expression "&PTR__wios_0038c7c8" & identifier)) ;) (labeled_statement "ios_base::~ios_base((ios_base *)(this + 4));" statement_identifier : (ERROR ":" :) (expression_statement "~ios_base((ios_base *)(this + 4));" (unary_expression "~ios_base((ios_base *)(this + 4))" ~ (call_expression "ios_base((ios_base *)(this + 4))" identifier (argument_list "((ios_base *)(this + 4))" ( (cast_expression "(ios_base *)(this + 4)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))) )))) ;)) (expression_statement "operator_delete(this);" (call_expression "operator_delete(this)" identifier (argument_list "(this)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001f33b0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0038c190;\n  param_1[1] = &PTR_FUN_0038c7c8;\n  FUN_0022c040(param_1 + 1);\n  FUN_001e6db0(param_1);\n  return;\n}\n\n" (function_definition "void FUN_001f33b0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0038c190;\n  param_1[1] = &PTR_FUN_0038c7c8;\n  FUN_0022c040(param_1 + 1);\n  FUN_001e6db0(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_001f33b0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  *param_1 = &PTR_FUN_0038c190;\n  param_1[1] = &PTR_FUN_0038c7c8;\n  FUN_0022c040(param_1 + 1);\n  FUN_001e6db0(param_1);\n  return;\n}" { (expression_statement "*param_1 = &PTR_FUN_0038c190;" (assignment_expression "*param_1 = &PTR_FUN_0038c190" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_0038c190" & identifier)) ;) (expression_statement "param_1[1] = &PTR_FUN_0038c7c8;" (assignment_expression "param_1[1] = &PTR_FUN_0038c7c8" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_0038c7c8" & identifier)) ;) (expression_statement "FUN_0022c040(param_1 + 1);" (call_expression "FUN_0022c040(param_1 + 1)" identifier (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) ;) (expression_statement "FUN_001e6db0(param_1);" (call_expression "FUN_001e6db0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001f33b0(undefined4 *param_1)\n\n{\n  *param_1 = &PTR_FUN_0038c190;\n  param_1[1] = &PTR_FUN_0038c7c8;\n  FUN_0022c040(param_1 + 1);\n  FUN_001e6db0(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001f33b0(undefined4 *param_1)" (identifier "FUN_001f33b0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  *param_1 = &PTR_FUN_0038c190;\n  param_1[1] = &PTR_FUN_0038c7c8;\n  FUN_0022c040(param_1 + 1);\n  FUN_001e6db0(param_1);\n  return;\n}" ({ "{") (expression_statement "*param_1 = &PTR_FUN_0038c190;" (assignment_expression "*param_1 = &PTR_FUN_0038c190" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_0038c190" (& "&") (identifier "PTR_FUN_0038c190"))) (; ";")) (expression_statement "param_1[1] = &PTR_FUN_0038c7c8;" (assignment_expression "param_1[1] = &PTR_FUN_0038c7c8" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "&PTR_FUN_0038c7c8" (& "&") (identifier "PTR_FUN_0038c7c8"))) (; ";")) (expression_statement "FUN_0022c040(param_1 + 1);" (call_expression "FUN_0022c040(param_1 + 1)" (identifier "FUN_0022c040") (argument_list "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "FUN_001e6db0(param_1);" (call_expression "FUN_001e6db0(param_1)" (identifier "FUN_001e6db0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wostream::~wostream() */

void __thiscall std::function_1::~function_1(function_1 *var_1)

{
  *(type_1 *)var_1 = 0x38c190;
  *(type_2 ***)(var_1 + 4) = &PTR__wios_0038c7c8;
  ios_base::~var_2((var_2 *)(var_1 + 4));
  var_3(var_1);
  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 (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

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

void MASKED(undefined4 *param_1)

{
  *param_1 = &PTR_FUN_0038c190;
  param_1[1] = &PTR_FUN_0038c7c8;
  FUN_0022c040(param_1 + 1);
  FUN_001e6db0(param_1);
  return;
}

