
/* 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) = 0x3a9000;
  *(undefined4 *)this = 0x3a9028;
  *(undefined ***)(this + 0xc) = &PTR__ios_003a77c0;
  ios_base::~ios_base((ios_base *)(this + 0xc));
  operator_delete(this);
  return;
}



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

void FUN_00260460(undefined4 *param_1)

{
  param_1[1] = 0;
  param_1[2] = &DAT_003a9000;
  *param_1 = &DAT_003a9028;
  param_1[3] = &PTR_FUN_003a77c0;
  FUN_002422b0(param_1 + 3);
  FUN_001fd020(param_1);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00036db0
ADD EBX,0x149b99
SUB ESP,0x10
MOV ESI,dword ptr [ESP + 0x1c]
MOV dword ptr [ESI + 0x4],0x0
LEA EAX,[EBX + 0xfffff000]
MOV dword ptr [ESI + 0x8],EAX
LEA EAX,[EBX + 0xfffff028]
MOV dword ptr [ESI],EAX
LEA EAX,[EBX + 0xffffd7b8]
ADD EAX,0x8
MOV dword ptr [ESI + 0xc],EAX
LEA EAX,[ESI + 0xc]
PUSH EAX
CALL 0x002422b0
MOV dword ptr [ESP],ESI
CALL 0x001fd020
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_00260460(undefined4 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = &DAT_003a9000;\n  *param_1 = &DAT_003a9028;\n  param_1[3] = &PTR_FUN_003a77c0;\n  FUN_002422b0(param_1 + 3);\n  FUN_001fd020(param_1);\n  return;\n}\n\n" comment (function_definition "void FUN_00260460(undefined4 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = &DAT_003a9000;\n  *param_1 = &DAT_003a9028;\n  param_1[3] = &PTR_FUN_003a77c0;\n  FUN_002422b0(param_1 + 3);\n  FUN_001fd020(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00260460(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_003a9000;\n  *param_1 = &DAT_003a9028;\n  param_1[3] = &PTR_FUN_003a77c0;\n  FUN_002422b0(param_1 + 3);\n  FUN_001fd020(param_1);\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_003a9000;" (assignment_expression "param_1[2] = &DAT_003a9000" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "&DAT_003a9000" & identifier)) ;) (expression_statement "*param_1 = &DAT_003a9028;" (assignment_expression "*param_1 = &DAT_003a9028" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_003a9028" & identifier)) ;) (expression_statement "param_1[3] = &PTR_FUN_003a77c0;" (assignment_expression "param_1[3] = &PTR_FUN_003a77c0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003a77c0" & identifier)) ;) (expression_statement "FUN_002422b0(param_1 + 3);" (call_expression "FUN_002422b0(param_1 + 3)" identifier (argument_list "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))) ;) (expression_statement "FUN_001fd020(param_1);" (call_expression "FUN_001fd020(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::iostream::~iostream() */\n\nvoid __thiscall std::iostream::~iostream(iostream *this)\n\n{\n  *(undefined4 *)(this + 4) = 0;\n  *(undefined4 *)(this + 8) = 0x3a9000;\n  *(undefined4 *)this = 0x3a9028;\n  *(undefined ***)(this + 0xc) = &PTR__ios_003a77c0;\n  ios_base::~ios_base((ios_base *)(this + 0xc));\n  operator_delete(this);\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) = 0x3a9000;\n  *(undefined4 *)this = 0x3a9028;\n  *(undefined ***)(this + 0xc) = &PTR__ios_003a77c0;\n  ios_base::~ios_base((ios_base *)(this + 0xc));\n  operator_delete(this);\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) = 0x3a9000;\n  *(undefined4 *)this = 0x3a9028;\n  *(undefined ***)(this + 0xc) = &PTR__ios_003a77c0;\n  ios_base::~ios_base((ios_base *)(this + 0xc));\n  operator_delete(this);\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) = 0x3a9000;" (assignment_expression "*(undefined4 *)(this + 8) = 0x3a9000" (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 = 0x3a9028;" (assignment_expression "*(undefined4 *)this = 0x3a9028" (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_003a77c0;" (assignment_expression "*(undefined ***)(this + 0xc) = &PTR__ios_003a77c0" (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_003a77c0" & 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) ))) )))) ;)) (expression_statement "operator_delete(this);" (call_expression "operator_delete(this)" identifier (argument_list "(this)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00260460(undefined4 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = &DAT_003a9000;\n  *param_1 = &DAT_003a9028;\n  param_1[3] = &PTR_FUN_003a77c0;\n  FUN_002422b0(param_1 + 3);\n  FUN_001fd020(param_1);\n  return;\n}\n\n" (function_definition "void FUN_00260460(undefined4 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = &DAT_003a9000;\n  *param_1 = &DAT_003a9028;\n  param_1[3] = &PTR_FUN_003a77c0;\n  FUN_002422b0(param_1 + 3);\n  FUN_001fd020(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_00260460(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_003a9000;\n  *param_1 = &DAT_003a9028;\n  param_1[3] = &PTR_FUN_003a77c0;\n  FUN_002422b0(param_1 + 3);\n  FUN_001fd020(param_1);\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_003a9000;" (assignment_expression "param_1[2] = &DAT_003a9000" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "&DAT_003a9000" & identifier)) ;) (expression_statement "*param_1 = &DAT_003a9028;" (assignment_expression "*param_1 = &DAT_003a9028" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_003a9028" & identifier)) ;) (expression_statement "param_1[3] = &PTR_FUN_003a77c0;" (assignment_expression "param_1[3] = &PTR_FUN_003a77c0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003a77c0" & identifier)) ;) (expression_statement "FUN_002422b0(param_1 + 3);" (call_expression "FUN_002422b0(param_1 + 3)" identifier (argument_list "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))) ;) (expression_statement "FUN_001fd020(param_1);" (call_expression "FUN_001fd020(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 (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) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00260460(undefined4 *param_1)\n\n{\n  param_1[1] = 0;\n  param_1[2] = &DAT_003a9000;\n  *param_1 = &DAT_003a9028;\n  param_1[3] = &PTR_FUN_003a77c0;\n  FUN_002422b0(param_1 + 3);\n  FUN_001fd020(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00260460(undefined4 *param_1)" (identifier "FUN_00260460") (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_003a9000;\n  *param_1 = &DAT_003a9028;\n  param_1[3] = &PTR_FUN_003a77c0;\n  FUN_002422b0(param_1 + 3);\n  FUN_001fd020(param_1);\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_003a9000;" (assignment_expression "param_1[2] = &DAT_003a9000" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "&DAT_003a9000" (& "&") (identifier "DAT_003a9000"))) (; ";")) (expression_statement "*param_1 = &DAT_003a9028;" (assignment_expression "*param_1 = &DAT_003a9028" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&DAT_003a9028" (& "&") (identifier "DAT_003a9028"))) (; ";")) (expression_statement "param_1[3] = &PTR_FUN_003a77c0;" (assignment_expression "param_1[3] = &PTR_FUN_003a77c0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "&PTR_FUN_003a77c0" (& "&") (identifier "PTR_FUN_003a77c0"))) (; ";")) (expression_statement "FUN_002422b0(param_1 + 3);" (call_expression "FUN_002422b0(param_1 + 3)" (identifier "FUN_002422b0") (argument_list "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")"))) (; ";")) (expression_statement "FUN_001fd020(param_1);" (call_expression "FUN_001fd020(param_1)" (identifier "FUN_001fd020") (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::iostream::~iostream() */

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

{
  *(type_1 *)(var_1 + 4) = 0;
  *(type_1 *)(var_1 + 8) = 0x3a9000;
  *(type_1 *)var_1 = 0x3a9028;
  *(type_2 ***)(var_1 + 0xc) = &PTR__ios_003a77c0;
  ios_base::~var_2((var_2 *)(var_1 + 0xc));
  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: (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))))) (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[1] = 0;
  param_1[2] = &DAT_003a9000;
  *param_1 = &DAT_003a9028;
  param_1[3] = &PTR_FUN_003a77c0;
  FUN_002422b0(param_1 + 3);
  FUN_001fd020(param_1);
  return;
}

