
/* std::wofstream::~wofstream() */

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

{
  *(undefined ***)(this + 0xf8) = &PTR__wofstream_003b9b28;
  *(undefined ***)this = &PTR__wofstream_003b9b00;
  *(undefined ***)(this + 8) = &PTR__wfilebuf_003b9948;
  wfilebuf::close((wfilebuf *)(this + 8));
  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x70));
  *(undefined ***)(this + 8) = &PTR__wstreambuf_003b8710;
  locale::~locale((locale *)(this + 0x40));
  *(undefined8 *)this = 0x3b9a90;
  *(undefined ***)(this + 0xf8) = &PTR__wios_003b9488;
  ios_base::~ios_base((ios_base *)(this + 0xf8));
  operator_delete(this);
  return;
}



void FUN_002a7920(undefined8 *param_1)

{
  param_1[0x1f] = &PTR_FUN_003b9b28;
  *param_1 = &PTR_FUN_003b9b00;
  param_1[1] = &PTR_FUN_003b9948;
  FUN_002a5590();
  thunk_FUN_00277390(param_1 + 0xe);
  param_1[1] = &PTR_FUN_003b8710;
  FUN_00279260(param_1 + 8);
  *param_1 = &DAT_003b9a90;
  param_1[0x1f] = &PTR_FUN_003b9488;
  FUN_002b4dd0(param_1 + 0x1f);
  FUN_00276d20(param_1);
  return;
}


LEA RAX,[0x3b9ae8]
PUSH RBX
MOV RBX,RDI
LEA RDI,[RDI + 0x8]
LEA RDX,[RAX + 0x18]
ADD RAX,0x40
MOV qword ptr [RDI + 0xf0],RAX
LEA RAX,[0x3b9938]
MOV qword ptr [RDI + -0x8],RDX
ADD RAX,0x10
MOV qword ptr [RDI],RAX
CALL 0x002a5590
LEA RDI,[RBX + 0x70]
CALL 0x002773e0
LEA RAX,[0x3b8700]
LEA RDI,[RBX + 0x40]
ADD RAX,0x10
MOV qword ptr [RBX + 0x8],RAX
CALL 0x00279260
LEA RAX,[0x3b9a90]
LEA RDI,[RBX + 0xf8]
MOV qword ptr [RBX],RAX
LEA RAX,[0x3b9478]
ADD RAX,0x10
MOV qword ptr [RBX + 0xf8],RAX
CALL 0x002b4dd0
MOV RDI,RBX
POP RBX
JMP 0x00276d20
(translation_unit "void FUN_002a7920(undefined8 *param_1)\n\n{\n  param_1[0x1f] = &PTR_FUN_003b9b28;\n  *param_1 = &PTR_FUN_003b9b00;\n  param_1[1] = &PTR_FUN_003b9948;\n  FUN_002a5590();\n  thunk_FUN_00277390(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_003b8710;\n  FUN_00279260(param_1 + 8);\n  *param_1 = &DAT_003b9a90;\n  param_1[0x1f] = &PTR_FUN_003b9488;\n  FUN_002b4dd0(param_1 + 0x1f);\n  FUN_00276d20(param_1);\n  return;\n}\n\n" (function_definition "void FUN_002a7920(undefined8 *param_1)\n\n{\n  param_1[0x1f] = &PTR_FUN_003b9b28;\n  *param_1 = &PTR_FUN_003b9b00;\n  param_1[1] = &PTR_FUN_003b9948;\n  FUN_002a5590();\n  thunk_FUN_00277390(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_003b8710;\n  FUN_00279260(param_1 + 8);\n  *param_1 = &DAT_003b9a90;\n  param_1[0x1f] = &PTR_FUN_003b9488;\n  FUN_002b4dd0(param_1 + 0x1f);\n  FUN_00276d20(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_002a7920(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  param_1[0x1f] = &PTR_FUN_003b9b28;\n  *param_1 = &PTR_FUN_003b9b00;\n  param_1[1] = &PTR_FUN_003b9948;\n  FUN_002a5590();\n  thunk_FUN_00277390(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_003b8710;\n  FUN_00279260(param_1 + 8);\n  *param_1 = &DAT_003b9a90;\n  param_1[0x1f] = &PTR_FUN_003b9488;\n  FUN_002b4dd0(param_1 + 0x1f);\n  FUN_00276d20(param_1);\n  return;\n}" { (expression_statement "param_1[0x1f] = &PTR_FUN_003b9b28;" (assignment_expression "param_1[0x1f] = &PTR_FUN_003b9b28" (subscript_expression "param_1[0x1f]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b9b28" & identifier)) ;) (expression_statement "*param_1 = &PTR_FUN_003b9b00;" (assignment_expression "*param_1 = &PTR_FUN_003b9b00" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_003b9b00" & identifier)) ;) (expression_statement "param_1[1] = &PTR_FUN_003b9948;" (assignment_expression "param_1[1] = &PTR_FUN_003b9948" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b9948" & identifier)) ;) (expression_statement "FUN_002a5590();" (call_expression "FUN_002a5590()" identifier (argument_list "()" ( ))) ;) (expression_statement "thunk_FUN_00277390(param_1 + 0xe);" (call_expression "thunk_FUN_00277390(param_1 + 0xe)" identifier (argument_list "(param_1 + 0xe)" ( (binary_expression "param_1 + 0xe" identifier + number_literal) ))) ;) (expression_statement "param_1[1] = &PTR_FUN_003b8710;" (assignment_expression "param_1[1] = &PTR_FUN_003b8710" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b8710" & identifier)) ;) (expression_statement "FUN_00279260(param_1 + 8);" (call_expression "FUN_00279260(param_1 + 8)" identifier (argument_list "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "*param_1 = &DAT_003b9a90;" (assignment_expression "*param_1 = &DAT_003b9a90" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_003b9a90" & identifier)) ;) (expression_statement "param_1[0x1f] = &PTR_FUN_003b9488;" (assignment_expression "param_1[0x1f] = &PTR_FUN_003b9488" (subscript_expression "param_1[0x1f]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b9488" & identifier)) ;) (expression_statement "FUN_002b4dd0(param_1 + 0x1f);" (call_expression "FUN_002b4dd0(param_1 + 0x1f)" identifier (argument_list "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" identifier + number_literal) ))) ;) (expression_statement "FUN_00276d20(param_1);" (call_expression "FUN_00276d20(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wofstream::~wofstream() */\n\nvoid __thiscall std::wofstream::~wofstream(wofstream *this)\n\n{\n  *(undefined ***)(this + 0xf8) = &PTR__wofstream_003b9b28;\n  *(undefined ***)this = &PTR__wofstream_003b9b00;\n  *(undefined ***)(this + 8) = &PTR__wfilebuf_003b9948;\n  wfilebuf::close((wfilebuf *)(this + 8));\n  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x70));\n  *(undefined ***)(this + 8) = &PTR__wstreambuf_003b8710;\n  locale::~locale((locale *)(this + 0x40));\n  *(undefined8 *)this = 0x3b9a90;\n  *(undefined ***)(this + 0xf8) = &PTR__wios_003b9488;\n  ios_base::~ios_base((ios_base *)(this + 0xf8));\n  operator_delete(this);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wofstream::~wofstream(wofstream *this)\n\n{\n  *(undefined ***)(this + 0xf8) = &PTR__wofstream_003b9b28;\n  *(undefined ***)this = &PTR__wofstream_003b9b00;\n  *(undefined ***)(this + 8) = &PTR__wfilebuf_003b9948;\n  wfilebuf::close((wfilebuf *)(this + 8));\n  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x70));\n  *(undefined ***)(this + 8) = &PTR__wstreambuf_003b8710;\n  locale::~locale((locale *)(this + 0x40));\n  *(undefined8 *)this = 0x3b9a90;\n  *(undefined ***)(this + 0xf8) = &PTR__wios_003b9488;\n  ios_base::~ios_base((ios_base *)(this + 0xf8));\n  operator_delete(this);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wofstream::~" identifier : : identifier : : ~) (function_declarator "wofstream(wofstream *this)" identifier (parameter_list "(wofstream *this)" ( (parameter_declaration "wofstream *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  *(undefined ***)(this + 0xf8) = &PTR__wofstream_003b9b28;\n  *(undefined ***)this = &PTR__wofstream_003b9b00;\n  *(undefined ***)(this + 8) = &PTR__wfilebuf_003b9948;\n  wfilebuf::close((wfilebuf *)(this + 8));\n  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x70));\n  *(undefined ***)(this + 8) = &PTR__wstreambuf_003b8710;\n  locale::~locale((locale *)(this + 0x40));\n  *(undefined8 *)this = 0x3b9a90;\n  *(undefined ***)(this + 0xf8) = &PTR__wios_003b9488;\n  ios_base::~ios_base((ios_base *)(this + 0xf8));\n  operator_delete(this);\n  return;\n}" { (expression_statement "*(undefined ***)(this + 0xf8) = &PTR__wofstream_003b9b28;" (assignment_expression "*(undefined ***)(this + 0xf8) = &PTR__wofstream_003b9b28" (pointer_expression "*(undefined ***)(this + 0xf8)" * (cast_expression "(undefined ***)(this + 0xf8)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(this + 0xf8)" ( (binary_expression "this + 0xf8" identifier + number_literal) )))) = (pointer_expression "&PTR__wofstream_003b9b28" & identifier)) ;) (expression_statement "*(undefined ***)this = &PTR__wofstream_003b9b00;" (assignment_expression "*(undefined ***)this = &PTR__wofstream_003b9b00" (pointer_expression "*(undefined ***)this" * (cast_expression "(undefined ***)this" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) identifier)) = (pointer_expression "&PTR__wofstream_003b9b00" & identifier)) ;) (expression_statement "*(undefined ***)(this + 8) = &PTR__wfilebuf_003b9948;" (assignment_expression "*(undefined ***)(this + 8) = &PTR__wfilebuf_003b9948" (pointer_expression "*(undefined ***)(this + 8)" * (cast_expression "(undefined ***)(this + 8)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (pointer_expression "&PTR__wfilebuf_003b9948" & identifier)) ;) (labeled_statement "wfilebuf::close((wfilebuf *)(this + 8));" statement_identifier : (ERROR ":" :) (expression_statement "close((wfilebuf *)(this + 8));" (call_expression "close((wfilebuf *)(this + 8))" identifier (argument_list "((wfilebuf *)(this + 8))" ( (cast_expression "(wfilebuf *)(this + 8)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) ))) ;)) (expression_statement "__basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x70));" (binary_expression "__basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x70))" (binary_expression "__basic_file<char" identifier < identifier) > (ERROR "::" : :) (unary_expression "~__basic_file((__basic_file<char> *)(this + 0x70))" ~ (call_expression "__basic_file((__basic_file<char> *)(this + 0x70))" identifier (argument_list "((__basic_file<char> *)(this + 0x70))" ( (call_expression "(__basic_file<char> *)(this + 0x70)" (parenthesized_expression "(__basic_file<char> *)" ( (binary_expression "__basic_file<char> *" (binary_expression "__basic_file<char" identifier < identifier) > (pointer_expression "*" * identifier)) )) (argument_list "(this + 0x70)" ( (binary_expression "this + 0x70" identifier + number_literal) ))) ))))) ;) (expression_statement "*(undefined ***)(this + 8) = &PTR__wstreambuf_003b8710;" (assignment_expression "*(undefined ***)(this + 8) = &PTR__wstreambuf_003b8710" (pointer_expression "*(undefined ***)(this + 8)" * (cast_expression "(undefined ***)(this + 8)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (pointer_expression "&PTR__wstreambuf_003b8710" & identifier)) ;) (labeled_statement "locale::~locale((locale *)(this + 0x40));" statement_identifier : (ERROR ":" :) (expression_statement "~locale((locale *)(this + 0x40));" (unary_expression "~locale((locale *)(this + 0x40))" ~ (call_expression "locale((locale *)(this + 0x40))" identifier (argument_list "((locale *)(this + 0x40))" ( (cast_expression "(locale *)(this + 0x40)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x40)" ( (binary_expression "this + 0x40" identifier + number_literal) ))) )))) ;)) (expression_statement "*(undefined8 *)this = 0x3b9a90;" (assignment_expression "*(undefined8 *)this = 0x3b9a90" (pointer_expression "*(undefined8 *)this" * (cast_expression "(undefined8 *)this" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined ***)(this + 0xf8) = &PTR__wios_003b9488;" (assignment_expression "*(undefined ***)(this + 0xf8) = &PTR__wios_003b9488" (pointer_expression "*(undefined ***)(this + 0xf8)" * (cast_expression "(undefined ***)(this + 0xf8)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(this + 0xf8)" ( (binary_expression "this + 0xf8" identifier + number_literal) )))) = (pointer_expression "&PTR__wios_003b9488" & identifier)) ;) (labeled_statement "ios_base::~ios_base((ios_base *)(this + 0xf8));" statement_identifier : (ERROR ":" :) (expression_statement "~ios_base((ios_base *)(this + 0xf8));" (unary_expression "~ios_base((ios_base *)(this + 0xf8))" ~ (call_expression "ios_base((ios_base *)(this + 0xf8))" identifier (argument_list "((ios_base *)(this + 0xf8))" ( (cast_expression "(ios_base *)(this + 0xf8)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xf8)" ( (binary_expression "this + 0xf8" 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_002a7920(undefined8 *param_1)\n\n{\n  param_1[0x1f] = &PTR_FUN_003b9b28;\n  *param_1 = &PTR_FUN_003b9b00;\n  param_1[1] = &PTR_FUN_003b9948;\n  FUN_002a5590();\n  thunk_FUN_00277390(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_003b8710;\n  FUN_00279260(param_1 + 8);\n  *param_1 = &DAT_003b9a90;\n  param_1[0x1f] = &PTR_FUN_003b9488;\n  FUN_002b4dd0(param_1 + 0x1f);\n  FUN_00276d20(param_1);\n  return;\n}\n\n" (function_definition "void FUN_002a7920(undefined8 *param_1)\n\n{\n  param_1[0x1f] = &PTR_FUN_003b9b28;\n  *param_1 = &PTR_FUN_003b9b00;\n  param_1[1] = &PTR_FUN_003b9948;\n  FUN_002a5590();\n  thunk_FUN_00277390(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_003b8710;\n  FUN_00279260(param_1 + 8);\n  *param_1 = &DAT_003b9a90;\n  param_1[0x1f] = &PTR_FUN_003b9488;\n  FUN_002b4dd0(param_1 + 0x1f);\n  FUN_00276d20(param_1);\n  return;\n}" primitive_type (function_declarator "FUN_002a7920(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  param_1[0x1f] = &PTR_FUN_003b9b28;\n  *param_1 = &PTR_FUN_003b9b00;\n  param_1[1] = &PTR_FUN_003b9948;\n  FUN_002a5590();\n  thunk_FUN_00277390(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_003b8710;\n  FUN_00279260(param_1 + 8);\n  *param_1 = &DAT_003b9a90;\n  param_1[0x1f] = &PTR_FUN_003b9488;\n  FUN_002b4dd0(param_1 + 0x1f);\n  FUN_00276d20(param_1);\n  return;\n}" { (expression_statement "param_1[0x1f] = &PTR_FUN_003b9b28;" (assignment_expression "param_1[0x1f] = &PTR_FUN_003b9b28" (subscript_expression "param_1[0x1f]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b9b28" & identifier)) ;) (expression_statement "*param_1 = &PTR_FUN_003b9b00;" (assignment_expression "*param_1 = &PTR_FUN_003b9b00" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_003b9b00" & identifier)) ;) (expression_statement "param_1[1] = &PTR_FUN_003b9948;" (assignment_expression "param_1[1] = &PTR_FUN_003b9948" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b9948" & identifier)) ;) (expression_statement "FUN_002a5590();" (call_expression "FUN_002a5590()" identifier (argument_list "()" ( ))) ;) (expression_statement "thunk_FUN_00277390(param_1 + 0xe);" (call_expression "thunk_FUN_00277390(param_1 + 0xe)" identifier (argument_list "(param_1 + 0xe)" ( (binary_expression "param_1 + 0xe" identifier + number_literal) ))) ;) (expression_statement "param_1[1] = &PTR_FUN_003b8710;" (assignment_expression "param_1[1] = &PTR_FUN_003b8710" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b8710" & identifier)) ;) (expression_statement "FUN_00279260(param_1 + 8);" (call_expression "FUN_00279260(param_1 + 8)" identifier (argument_list "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "*param_1 = &DAT_003b9a90;" (assignment_expression "*param_1 = &DAT_003b9a90" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_003b9a90" & identifier)) ;) (expression_statement "param_1[0x1f] = &PTR_FUN_003b9488;" (assignment_expression "param_1[0x1f] = &PTR_FUN_003b9488" (subscript_expression "param_1[0x1f]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b9488" & identifier)) ;) (expression_statement "FUN_002b4dd0(param_1 + 0x1f);" (call_expression "FUN_002b4dd0(param_1 + 0x1f)" identifier (argument_list "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" identifier + number_literal) ))) ;) (expression_statement "FUN_00276d20(param_1);" (call_expression "FUN_00276d20(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 ]) = (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 ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (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_002a7920(undefined8 *param_1)\n\n{\n  param_1[0x1f] = &PTR_FUN_003b9b28;\n  *param_1 = &PTR_FUN_003b9b00;\n  param_1[1] = &PTR_FUN_003b9948;\n  FUN_002a5590();\n  thunk_FUN_00277390(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_003b8710;\n  FUN_00279260(param_1 + 8);\n  *param_1 = &DAT_003b9a90;\n  param_1[0x1f] = &PTR_FUN_003b9488;\n  FUN_002b4dd0(param_1 + 0x1f);\n  FUN_00276d20(param_1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002a7920(undefined8 *param_1)" (identifier "FUN_002a7920") (parameter_list "(undefined8 *param_1)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  param_1[0x1f] = &PTR_FUN_003b9b28;\n  *param_1 = &PTR_FUN_003b9b00;\n  param_1[1] = &PTR_FUN_003b9948;\n  FUN_002a5590();\n  thunk_FUN_00277390(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_003b8710;\n  FUN_00279260(param_1 + 8);\n  *param_1 = &DAT_003b9a90;\n  param_1[0x1f] = &PTR_FUN_003b9488;\n  FUN_002b4dd0(param_1 + 0x1f);\n  FUN_00276d20(param_1);\n  return;\n}" ({ "{") (expression_statement "param_1[0x1f] = &PTR_FUN_003b9b28;" (assignment_expression "param_1[0x1f] = &PTR_FUN_003b9b28" (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]")) (= "=") (pointer_expression "&PTR_FUN_003b9b28" (& "&") (identifier "PTR_FUN_003b9b28"))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_003b9b00;" (assignment_expression "*param_1 = &PTR_FUN_003b9b00" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_003b9b00" (& "&") (identifier "PTR_FUN_003b9b00"))) (; ";")) (expression_statement "param_1[1] = &PTR_FUN_003b9948;" (assignment_expression "param_1[1] = &PTR_FUN_003b9948" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "&PTR_FUN_003b9948" (& "&") (identifier "PTR_FUN_003b9948"))) (; ";")) (expression_statement "FUN_002a5590();" (call_expression "FUN_002a5590()" (identifier "FUN_002a5590") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "thunk_FUN_00277390(param_1 + 0xe);" (call_expression "thunk_FUN_00277390(param_1 + 0xe)" (identifier "thunk_FUN_00277390") (argument_list "(param_1 + 0xe)" (( "(") (binary_expression "param_1 + 0xe" (identifier "param_1") (+ "+") (number_literal "0xe")) () ")"))) (; ";")) (expression_statement "param_1[1] = &PTR_FUN_003b8710;" (assignment_expression "param_1[1] = &PTR_FUN_003b8710" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "&PTR_FUN_003b8710" (& "&") (identifier "PTR_FUN_003b8710"))) (; ";")) (expression_statement "FUN_00279260(param_1 + 8);" (call_expression "FUN_00279260(param_1 + 8)" (identifier "FUN_00279260") (argument_list "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))) (; ";")) (expression_statement "*param_1 = &DAT_003b9a90;" (assignment_expression "*param_1 = &DAT_003b9a90" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&DAT_003b9a90" (& "&") (identifier "DAT_003b9a90"))) (; ";")) (expression_statement "param_1[0x1f] = &PTR_FUN_003b9488;" (assignment_expression "param_1[0x1f] = &PTR_FUN_003b9488" (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]")) (= "=") (pointer_expression "&PTR_FUN_003b9488" (& "&") (identifier "PTR_FUN_003b9488"))) (; ";")) (expression_statement "FUN_002b4dd0(param_1 + 0x1f);" (call_expression "FUN_002b4dd0(param_1 + 0x1f)" (identifier "FUN_002b4dd0") (argument_list "(param_1 + 0x1f)" (( "(") (binary_expression "param_1 + 0x1f" (identifier "param_1") (+ "+") (number_literal "0x1f")) () ")"))) (; ";")) (expression_statement "FUN_00276d20(param_1);" (call_expression "FUN_00276d20(param_1)" (identifier "FUN_00276d20") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wofstream::~wofstream() */

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

{
  *(type_1 ***)(var_1 + 0xf8) = &PTR__wofstream_003b9b28;
  *(type_1 ***)var_1 = &PTR__wofstream_003b9b00;
  *(type_1 ***)(var_1 + 8) = &PTR__wfilebuf_003b9948;
  wfilebuf::var_2((type_2 *)(var_1 + 8));
  var_3<var_4>::~var_3((var_3<var_4> *)(var_1 + 0x70));
  *(type_1 ***)(var_1 + 8) = &PTR__wstreambuf_003b8710;
  locale::~var_5((var_5 *)(var_1 + 0x40));
  *(type_3 *)var_1 = 0x3b9a90;
  *(type_1 ***)(var_1 + 0xf8) = &PTR__wios_003b9488;
  ios_base::~var_6((var_6 *)(var_1 + 0xf8));
  var_7(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: (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))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (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 (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))))

void MASKED(undefined8 *param_1)

{
  param_1[0x1f] = &PTR_FUN_003b9b28;
  *param_1 = &PTR_FUN_003b9b00;
  param_1[1] = &PTR_FUN_003b9948;
  FUN_002a5590();
  thunk_FUN_00277390(param_1 + 0xe);
  param_1[1] = &PTR_FUN_003b8710;
  FUN_00279260(param_1 + 8);
  *param_1 = &DAT_003b9a90;
  param_1[0x1f] = &PTR_FUN_003b9488;
  FUN_002b4dd0(param_1 + 0x1f);
  FUN_00276d20(param_1);
  return;
}

