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

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

{
  *(undefined4 *)(this + 4) = 0;
  *(undefined4 *)(this + 8) = 0x33e000;
  *(undefined4 *)this = 0x33e028;
  *(undefined ***)(this + 0xc) = &PTR__ios_0033c7c8;
  ios_base::~ios_base((ios_base *)(this + 0xc));
  return;
}



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

void FUN_0020f7c0(undefined4 *param_1)

{
  param_1[1] = 0;
  param_1[2] = &DAT_0033e000;
  *param_1 = &DAT_0033e028;
  param_1[3] = &PTR_FUN_0033c7c8;
  FUN_001f1700(param_1 + 3);
  return;
}


PUSH EBX
CALL 0x00035680
ADD EBX,0x12f83a
SUB ESP,0x14
MOV EAX,dword ptr [ESP + 0x1c]
MOV dword ptr [EAX + 0x4],0x0
ADD EAX,0xc
LEA EDX,[EBX + 0xfffff000]
MOV dword ptr [EAX + -0x4],EDX
LEA EDX,[EBX + 0xfffff028]
MOV dword ptr [EAX + -0xc],EDX
LEA EDX,[EBX + 0xffffd7c0]
ADD EDX,0x8
MOV dword ptr [EAX],EDX
PUSH EAX
CALL 0x001f1700
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0020f7c0(undefined4 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = &DAT_0033e000;\n  *param_1 = &DAT_0033e028;\n  param_1[3] = &PTR_FUN_0033c7c8;\n  FUN_001f1700(param_1 + 3);\n  return;\n}\n\n" comment (function_definition "void FUN_0020f7c0(undefined4 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = &DAT_0033e000;\n  *param_1 = &DAT_0033e028;\n  param_1[3] = &PTR_FUN_0033c7c8;\n  FUN_001f1700(param_1 + 3);\n  return;\n}" primitive_type (function_declarator "FUN_0020f7c0(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[1] = 0;\n  param_1[2] = &DAT_0033e000;\n  *param_1 = &DAT_0033e028;\n  param_1[3] = &PTR_FUN_0033c7c8;\n  FUN_001f1700(param_1 + 3);\n  return;\n}" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = &DAT_0033e000;" (assignment_expression "param_1[2] = &DAT_0033e000" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "&DAT_0033e000" & identifier)) ;) (expression_statement "*param_1 = &DAT_0033e028;" (assignment_expression "*param_1 = &DAT_0033e028" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_0033e028" & identifier)) ;) (expression_statement "param_1[3] = &PTR_FUN_0033c7c8;" (assignment_expression "param_1[3] = &PTR_FUN_0033c7c8" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_0033c7c8" & identifier)) ;) (expression_statement "FUN_001f1700(param_1 + 3);" (call_expression "FUN_001f1700(param_1 + 3)" identifier (argument_list "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::iostream::~iostream() */\n\nvoid __thiscall std::iostream::~iostream(iostream *this)\n\n{\n  *(undefined4 *)(this + 4) = 0;\n  *(undefined4 *)(this + 8) = 0x33e000;\n  *(undefined4 *)this = 0x33e028;\n  *(undefined ***)(this + 0xc) = &PTR__ios_0033c7c8;\n  ios_base::~ios_base((ios_base *)(this + 0xc));\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::iostream::~iostream(iostream *this)\n\n{\n  *(undefined4 *)(this + 4) = 0;\n  *(undefined4 *)(this + 8) = 0x33e000;\n  *(undefined4 *)this = 0x33e028;\n  *(undefined ***)(this + 0xc) = &PTR__ios_0033c7c8;\n  ios_base::~ios_base((ios_base *)(this + 0xc));\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::iostream::~" identifier : : identifier : : ~) (function_declarator "iostream(iostream *this)" identifier (parameter_list "(iostream *this)" ( (parameter_declaration "iostream *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  *(undefined4 *)(this + 4) = 0;\n  *(undefined4 *)(this + 8) = 0x33e000;\n  *(undefined4 *)this = 0x33e028;\n  *(undefined ***)(this + 0xc) = &PTR__ios_0033c7c8;\n  ios_base::~ios_base((ios_base *)(this + 0xc));\n  return;\n}" { (expression_statement "*(undefined4 *)(this + 4) = 0;" (assignment_expression "*(undefined4 *)(this + 4) = 0" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 8) = 0x33e000;" (assignment_expression "*(undefined4 *)(this + 8) = 0x33e000" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)this = 0x33e028;" (assignment_expression "*(undefined4 *)this = 0x33e028" (pointer_expression "*(undefined4 *)this" * (cast_expression "(undefined4 *)this" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined ***)(this + 0xc) = &PTR__ios_0033c7c8;" (assignment_expression "*(undefined ***)(this + 0xc) = &PTR__ios_0033c7c8" (pointer_expression "*(undefined ***)(this + 0xc)" * (cast_expression "(undefined ***)(this + 0xc)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = (pointer_expression "&PTR__ios_0033c7c8" & identifier)) ;) (labeled_statement "ios_base::~ios_base((ios_base *)(this + 0xc));" statement_identifier : (ERROR ":" :) (expression_statement "~ios_base((ios_base *)(this + 0xc));" (unary_expression "~ios_base((ios_base *)(this + 0xc))" ~ (call_expression "ios_base((ios_base *)(this + 0xc))" identifier (argument_list "((ios_base *)(this + 0xc))" ( (cast_expression "(ios_base *)(this + 0xc)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))) )))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0020f7c0(undefined4 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = &DAT_0033e000;\n  *param_1 = &DAT_0033e028;\n  param_1[3] = &PTR_FUN_0033c7c8;\n  FUN_001f1700(param_1 + 3);\n  return;\n}\n\n" (function_definition "void FUN_0020f7c0(undefined4 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = &DAT_0033e000;\n  *param_1 = &DAT_0033e028;\n  param_1[3] = &PTR_FUN_0033c7c8;\n  FUN_001f1700(param_1 + 3);\n  return;\n}" primitive_type (function_declarator "FUN_0020f7c0(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[1] = 0;\n  param_1[2] = &DAT_0033e000;\n  *param_1 = &DAT_0033e028;\n  param_1[3] = &PTR_FUN_0033c7c8;\n  FUN_001f1700(param_1 + 3);\n  return;\n}" { (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = &DAT_0033e000;" (assignment_expression "param_1[2] = &DAT_0033e000" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "&DAT_0033e000" & identifier)) ;) (expression_statement "*param_1 = &DAT_0033e028;" (assignment_expression "*param_1 = &DAT_0033e028" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_0033e028" & identifier)) ;) (expression_statement "param_1[3] = &PTR_FUN_0033c7c8;" (assignment_expression "param_1[3] = &PTR_FUN_0033c7c8" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_0033c7c8" & identifier)) ;) (expression_statement "FUN_001f1700(param_1 + 3);" (call_expression "FUN_001f1700(param_1 + 3)" identifier (argument_list "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))) ;) (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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (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) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0020f7c0(undefined4 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = &DAT_0033e000;\n  *param_1 = &DAT_0033e028;\n  param_1[3] = &PTR_FUN_0033c7c8;\n  FUN_001f1700(param_1 + 3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0020f7c0(undefined4 *param_1)" (identifier "FUN_0020f7c0") (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[1] = 0;\n  param_1[2] = &DAT_0033e000;\n  *param_1 = &DAT_0033e028;\n  param_1[3] = &PTR_FUN_0033c7c8;\n  FUN_001f1700(param_1 + 3);\n  return;\n}" ({ "{") (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[2] = &DAT_0033e000;" (assignment_expression "param_1[2] = &DAT_0033e000" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "&DAT_0033e000" (& "&") (identifier "DAT_0033e000"))) (; ";")) (expression_statement "*param_1 = &DAT_0033e028;" (assignment_expression "*param_1 = &DAT_0033e028" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&DAT_0033e028" (& "&") (identifier "DAT_0033e028"))) (; ";")) (expression_statement "param_1[3] = &PTR_FUN_0033c7c8;" (assignment_expression "param_1[3] = &PTR_FUN_0033c7c8" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "&PTR_FUN_0033c7c8" (& "&") (identifier "PTR_FUN_0033c7c8"))) (; ";")) (expression_statement "FUN_001f1700(param_1 + 3);" (call_expression "FUN_001f1700(param_1 + 3)" (identifier "FUN_001f1700") (argument_list "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

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

{
  *(type_1 *)(var_1 + 4) = 0;
  *(type_1 *)(var_1 + 8) = 0x33e000;
  *(type_1 *)var_1 = 0x33e028;
  *(type_2 ***)(var_1 + 0xc) = &PTR__ios_0033c7c8;
  ios_base::~var_2((var_2 *)(var_1 + 0xc));
  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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (pointer_expression argument: (identifier)))) (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))))) (return_statement))))

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

void MASKED(undefined4 *param_1)

{
  param_1[1] = 0;
  param_1[2] = &DAT_0033e000;
  *param_1 = &DAT_0033e028;
  param_1[3] = &PTR_FUN_0033c7c8;
  FUN_001f1700(param_1 + 3);
  return;
}

