
/* std::ofstream::~ofstream() */

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

{
  *(undefined ***)(this + 0xf8) = &PTR__ofstream_00439758;
  *(undefined ***)this = &PTR__ofstream_00439730;
  *(undefined ***)(this + 8) = &PTR__filebuf_00439578;
  filebuf::close((filebuf *)(this + 8));
  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x70));
  *(undefined ***)(this + 8) = &PTR__streambuf_004386a0;
  locale::~locale((locale *)(this + 0x40));
  *(undefined8 *)this = 0x4396c0;
  *(undefined ***)(this + 0xf8) = &PTR__ios_00439478;
  ios_base::~ios_base((ios_base *)(this + 0xf8));
  return;
}



void FUN_00308c70(undefined8 *param_1)

{
  param_1[0x1f] = &PTR_FUN_00439758;
  *param_1 = &PTR_FUN_00439730;
  param_1[1] = &PTR_FUN_00439578;
  FUN_00306c50();
  thunk_FUN_002db2d0(param_1 + 0xe);
  param_1[1] = &PTR_FUN_004386a0;
  FUN_002dd1a0(param_1 + 8);
  *param_1 = &DAT_004396c0;
  param_1[0x1f] = &PTR_FUN_00439478;
  FUN_00318d10(param_1 + 0x1f);
  return;
}


LEA RAX,[0x439718]
PUSH RBX
MOV RBX,RDI
LEA RDI,[RDI + 0x8]
LEA RDX,[RAX + 0x18]
ADD RAX,0x40
MOV qword ptr [RDI + 0xf0],RAX
LEA RAX,[0x439568]
MOV qword ptr [RDI + -0x8],RDX
ADD RAX,0x10
MOV qword ptr [RDI],RAX
CALL 0x00306c50
LEA RDI,[RBX + 0x70]
CALL 0x002db320
LEA RAX,[0x438690]
LEA RDI,[RBX + 0x40]
ADD RAX,0x10
MOV qword ptr [RBX + 0x8],RAX
CALL 0x002dd1a0
LEA RAX,[0x4396c0]
LEA RDI,[RBX + 0xf8]
MOV qword ptr [RBX],RAX
LEA RAX,[0x439468]
ADD RAX,0x10
MOV qword ptr [RBX + 0xf8],RAX
POP RBX
JMP 0x00318d10
(translation_unit "void FUN_00308c70(undefined8 *param_1)\n\n{\n  param_1[0x1f] = &PTR_FUN_00439758;\n  *param_1 = &PTR_FUN_00439730;\n  param_1[1] = &PTR_FUN_00439578;\n  FUN_00306c50();\n  thunk_FUN_002db2d0(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_004386a0;\n  FUN_002dd1a0(param_1 + 8);\n  *param_1 = &DAT_004396c0;\n  param_1[0x1f] = &PTR_FUN_00439478;\n  FUN_00318d10(param_1 + 0x1f);\n  return;\n}\n\n" (function_definition "void FUN_00308c70(undefined8 *param_1)\n\n{\n  param_1[0x1f] = &PTR_FUN_00439758;\n  *param_1 = &PTR_FUN_00439730;\n  param_1[1] = &PTR_FUN_00439578;\n  FUN_00306c50();\n  thunk_FUN_002db2d0(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_004386a0;\n  FUN_002dd1a0(param_1 + 8);\n  *param_1 = &DAT_004396c0;\n  param_1[0x1f] = &PTR_FUN_00439478;\n  FUN_00318d10(param_1 + 0x1f);\n  return;\n}" primitive_type (function_declarator "FUN_00308c70(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_00439758;\n  *param_1 = &PTR_FUN_00439730;\n  param_1[1] = &PTR_FUN_00439578;\n  FUN_00306c50();\n  thunk_FUN_002db2d0(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_004386a0;\n  FUN_002dd1a0(param_1 + 8);\n  *param_1 = &DAT_004396c0;\n  param_1[0x1f] = &PTR_FUN_00439478;\n  FUN_00318d10(param_1 + 0x1f);\n  return;\n}" { (expression_statement "param_1[0x1f] = &PTR_FUN_00439758;" (assignment_expression "param_1[0x1f] = &PTR_FUN_00439758" (subscript_expression "param_1[0x1f]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00439758" & identifier)) ;) (expression_statement "*param_1 = &PTR_FUN_00439730;" (assignment_expression "*param_1 = &PTR_FUN_00439730" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00439730" & identifier)) ;) (expression_statement "param_1[1] = &PTR_FUN_00439578;" (assignment_expression "param_1[1] = &PTR_FUN_00439578" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00439578" & identifier)) ;) (expression_statement "FUN_00306c50();" (call_expression "FUN_00306c50()" identifier (argument_list "()" ( ))) ;) (expression_statement "thunk_FUN_002db2d0(param_1 + 0xe);" (call_expression "thunk_FUN_002db2d0(param_1 + 0xe)" identifier (argument_list "(param_1 + 0xe)" ( (binary_expression "param_1 + 0xe" identifier + number_literal) ))) ;) (expression_statement "param_1[1] = &PTR_FUN_004386a0;" (assignment_expression "param_1[1] = &PTR_FUN_004386a0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_004386a0" & identifier)) ;) (expression_statement "FUN_002dd1a0(param_1 + 8);" (call_expression "FUN_002dd1a0(param_1 + 8)" identifier (argument_list "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "*param_1 = &DAT_004396c0;" (assignment_expression "*param_1 = &DAT_004396c0" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_004396c0" & identifier)) ;) (expression_statement "param_1[0x1f] = &PTR_FUN_00439478;" (assignment_expression "param_1[0x1f] = &PTR_FUN_00439478" (subscript_expression "param_1[0x1f]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00439478" & identifier)) ;) (expression_statement "FUN_00318d10(param_1 + 0x1f);" (call_expression "FUN_00318d10(param_1 + 0x1f)" identifier (argument_list "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::ofstream::~ofstream() */\n\nvoid __thiscall std::ofstream::~ofstream(ofstream *this)\n\n{\n  *(undefined ***)(this + 0xf8) = &PTR__ofstream_00439758;\n  *(undefined ***)this = &PTR__ofstream_00439730;\n  *(undefined ***)(this + 8) = &PTR__filebuf_00439578;\n  filebuf::close((filebuf *)(this + 8));\n  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x70));\n  *(undefined ***)(this + 8) = &PTR__streambuf_004386a0;\n  locale::~locale((locale *)(this + 0x40));\n  *(undefined8 *)this = 0x4396c0;\n  *(undefined ***)(this + 0xf8) = &PTR__ios_00439478;\n  ios_base::~ios_base((ios_base *)(this + 0xf8));\n  return;\n}\n\n" comment (function_definition "void __thiscall std::ofstream::~ofstream(ofstream *this)\n\n{\n  *(undefined ***)(this + 0xf8) = &PTR__ofstream_00439758;\n  *(undefined ***)this = &PTR__ofstream_00439730;\n  *(undefined ***)(this + 8) = &PTR__filebuf_00439578;\n  filebuf::close((filebuf *)(this + 8));\n  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x70));\n  *(undefined ***)(this + 8) = &PTR__streambuf_004386a0;\n  locale::~locale((locale *)(this + 0x40));\n  *(undefined8 *)this = 0x4396c0;\n  *(undefined ***)(this + 0xf8) = &PTR__ios_00439478;\n  ios_base::~ios_base((ios_base *)(this + 0xf8));\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ofstream::~" identifier : : identifier : : ~) (function_declarator "ofstream(ofstream *this)" identifier (parameter_list "(ofstream *this)" ( (parameter_declaration "ofstream *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  *(undefined ***)(this + 0xf8) = &PTR__ofstream_00439758;\n  *(undefined ***)this = &PTR__ofstream_00439730;\n  *(undefined ***)(this + 8) = &PTR__filebuf_00439578;\n  filebuf::close((filebuf *)(this + 8));\n  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x70));\n  *(undefined ***)(this + 8) = &PTR__streambuf_004386a0;\n  locale::~locale((locale *)(this + 0x40));\n  *(undefined8 *)this = 0x4396c0;\n  *(undefined ***)(this + 0xf8) = &PTR__ios_00439478;\n  ios_base::~ios_base((ios_base *)(this + 0xf8));\n  return;\n}" { (expression_statement "*(undefined ***)(this + 0xf8) = &PTR__ofstream_00439758;" (assignment_expression "*(undefined ***)(this + 0xf8) = &PTR__ofstream_00439758" (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__ofstream_00439758" & identifier)) ;) (expression_statement "*(undefined ***)this = &PTR__ofstream_00439730;" (assignment_expression "*(undefined ***)this = &PTR__ofstream_00439730" (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__ofstream_00439730" & identifier)) ;) (expression_statement "*(undefined ***)(this + 8) = &PTR__filebuf_00439578;" (assignment_expression "*(undefined ***)(this + 8) = &PTR__filebuf_00439578" (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__filebuf_00439578" & identifier)) ;) (labeled_statement "filebuf::close((filebuf *)(this + 8));" statement_identifier : (ERROR ":" :) (expression_statement "close((filebuf *)(this + 8));" (call_expression "close((filebuf *)(this + 8))" identifier (argument_list "((filebuf *)(this + 8))" ( (cast_expression "(filebuf *)(this + 8)" ( (type_descriptor "filebuf *" 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__streambuf_004386a0;" (assignment_expression "*(undefined ***)(this + 8) = &PTR__streambuf_004386a0" (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__streambuf_004386a0" & 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 = 0x4396c0;" (assignment_expression "*(undefined8 *)this = 0x4396c0" (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__ios_00439478;" (assignment_expression "*(undefined ***)(this + 0xf8) = &PTR__ios_00439478" (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__ios_00439478" & 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) ))) )))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00308c70(undefined8 *param_1)\n\n{\n  param_1[0x1f] = &PTR_FUN_00439758;\n  *param_1 = &PTR_FUN_00439730;\n  param_1[1] = &PTR_FUN_00439578;\n  FUN_00306c50();\n  thunk_FUN_002db2d0(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_004386a0;\n  FUN_002dd1a0(param_1 + 8);\n  *param_1 = &DAT_004396c0;\n  param_1[0x1f] = &PTR_FUN_00439478;\n  FUN_00318d10(param_1 + 0x1f);\n  return;\n}\n\n" (function_definition "void FUN_00308c70(undefined8 *param_1)\n\n{\n  param_1[0x1f] = &PTR_FUN_00439758;\n  *param_1 = &PTR_FUN_00439730;\n  param_1[1] = &PTR_FUN_00439578;\n  FUN_00306c50();\n  thunk_FUN_002db2d0(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_004386a0;\n  FUN_002dd1a0(param_1 + 8);\n  *param_1 = &DAT_004396c0;\n  param_1[0x1f] = &PTR_FUN_00439478;\n  FUN_00318d10(param_1 + 0x1f);\n  return;\n}" primitive_type (function_declarator "FUN_00308c70(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_00439758;\n  *param_1 = &PTR_FUN_00439730;\n  param_1[1] = &PTR_FUN_00439578;\n  FUN_00306c50();\n  thunk_FUN_002db2d0(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_004386a0;\n  FUN_002dd1a0(param_1 + 8);\n  *param_1 = &DAT_004396c0;\n  param_1[0x1f] = &PTR_FUN_00439478;\n  FUN_00318d10(param_1 + 0x1f);\n  return;\n}" { (expression_statement "param_1[0x1f] = &PTR_FUN_00439758;" (assignment_expression "param_1[0x1f] = &PTR_FUN_00439758" (subscript_expression "param_1[0x1f]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00439758" & identifier)) ;) (expression_statement "*param_1 = &PTR_FUN_00439730;" (assignment_expression "*param_1 = &PTR_FUN_00439730" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_00439730" & identifier)) ;) (expression_statement "param_1[1] = &PTR_FUN_00439578;" (assignment_expression "param_1[1] = &PTR_FUN_00439578" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00439578" & identifier)) ;) (expression_statement "FUN_00306c50();" (call_expression "FUN_00306c50()" identifier (argument_list "()" ( ))) ;) (expression_statement "thunk_FUN_002db2d0(param_1 + 0xe);" (call_expression "thunk_FUN_002db2d0(param_1 + 0xe)" identifier (argument_list "(param_1 + 0xe)" ( (binary_expression "param_1 + 0xe" identifier + number_literal) ))) ;) (expression_statement "param_1[1] = &PTR_FUN_004386a0;" (assignment_expression "param_1[1] = &PTR_FUN_004386a0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_004386a0" & identifier)) ;) (expression_statement "FUN_002dd1a0(param_1 + 8);" (call_expression "FUN_002dd1a0(param_1 + 8)" identifier (argument_list "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "*param_1 = &DAT_004396c0;" (assignment_expression "*param_1 = &DAT_004396c0" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_004396c0" & identifier)) ;) (expression_statement "param_1[0x1f] = &PTR_FUN_00439478;" (assignment_expression "param_1[0x1f] = &PTR_FUN_00439478" (subscript_expression "param_1[0x1f]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00439478" & identifier)) ;) (expression_statement "FUN_00318d10(param_1 + 0x1f);" (call_expression "FUN_00318d10(param_1 + 0x1f)" identifier (argument_list "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" 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 ]) = (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) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00308c70(undefined8 *param_1)\n\n{\n  param_1[0x1f] = &PTR_FUN_00439758;\n  *param_1 = &PTR_FUN_00439730;\n  param_1[1] = &PTR_FUN_00439578;\n  FUN_00306c50();\n  thunk_FUN_002db2d0(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_004386a0;\n  FUN_002dd1a0(param_1 + 8);\n  *param_1 = &DAT_004396c0;\n  param_1[0x1f] = &PTR_FUN_00439478;\n  FUN_00318d10(param_1 + 0x1f);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00308c70(undefined8 *param_1)" (identifier "FUN_00308c70") (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_00439758;\n  *param_1 = &PTR_FUN_00439730;\n  param_1[1] = &PTR_FUN_00439578;\n  FUN_00306c50();\n  thunk_FUN_002db2d0(param_1 + 0xe);\n  param_1[1] = &PTR_FUN_004386a0;\n  FUN_002dd1a0(param_1 + 8);\n  *param_1 = &DAT_004396c0;\n  param_1[0x1f] = &PTR_FUN_00439478;\n  FUN_00318d10(param_1 + 0x1f);\n  return;\n}" ({ "{") (expression_statement "param_1[0x1f] = &PTR_FUN_00439758;" (assignment_expression "param_1[0x1f] = &PTR_FUN_00439758" (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]")) (= "=") (pointer_expression "&PTR_FUN_00439758" (& "&") (identifier "PTR_FUN_00439758"))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_00439730;" (assignment_expression "*param_1 = &PTR_FUN_00439730" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_00439730" (& "&") (identifier "PTR_FUN_00439730"))) (; ";")) (expression_statement "param_1[1] = &PTR_FUN_00439578;" (assignment_expression "param_1[1] = &PTR_FUN_00439578" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "&PTR_FUN_00439578" (& "&") (identifier "PTR_FUN_00439578"))) (; ";")) (expression_statement "FUN_00306c50();" (call_expression "FUN_00306c50()" (identifier "FUN_00306c50") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "thunk_FUN_002db2d0(param_1 + 0xe);" (call_expression "thunk_FUN_002db2d0(param_1 + 0xe)" (identifier "thunk_FUN_002db2d0") (argument_list "(param_1 + 0xe)" (( "(") (binary_expression "param_1 + 0xe" (identifier "param_1") (+ "+") (number_literal "0xe")) () ")"))) (; ";")) (expression_statement "param_1[1] = &PTR_FUN_004386a0;" (assignment_expression "param_1[1] = &PTR_FUN_004386a0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (pointer_expression "&PTR_FUN_004386a0" (& "&") (identifier "PTR_FUN_004386a0"))) (; ";")) (expression_statement "FUN_002dd1a0(param_1 + 8);" (call_expression "FUN_002dd1a0(param_1 + 8)" (identifier "FUN_002dd1a0") (argument_list "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))) (; ";")) (expression_statement "*param_1 = &DAT_004396c0;" (assignment_expression "*param_1 = &DAT_004396c0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&DAT_004396c0" (& "&") (identifier "DAT_004396c0"))) (; ";")) (expression_statement "param_1[0x1f] = &PTR_FUN_00439478;" (assignment_expression "param_1[0x1f] = &PTR_FUN_00439478" (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]")) (= "=") (pointer_expression "&PTR_FUN_00439478" (& "&") (identifier "PTR_FUN_00439478"))) (; ";")) (expression_statement "FUN_00318d10(param_1 + 0x1f);" (call_expression "FUN_00318d10(param_1 + 0x1f)" (identifier "FUN_00318d10") (argument_list "(param_1 + 0x1f)" (( "(") (binary_expression "param_1 + 0x1f" (identifier "param_1") (+ "+") (number_literal "0x1f")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::ofstream::~ofstream() */

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

{
  *(type_1 ***)(var_1 + 0xf8) = &PTR__ofstream_00439758;
  *(type_1 ***)var_1 = &PTR__ofstream_00439730;
  *(type_1 ***)(var_1 + 8) = &PTR__filebuf_00439578;
  filebuf::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__streambuf_004386a0;
  locale::~var_5((var_5 *)(var_1 + 0x40));
  *(type_3 *)var_1 = 0x4396c0;
  *(type_1 ***)(var_1 + 0xf8) = &PTR__ios_00439478;
  ios_base::~var_6((var_6 *)(var_1 + 0xf8));
  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))))) (return_statement))))

void MASKED(undefined8 *param_1)

{
  param_1[0x1f] = &PTR_FUN_00439758;
  *param_1 = &PTR_FUN_00439730;
  param_1[1] = &PTR_FUN_00439578;
  FUN_00306c50();
  thunk_FUN_002db2d0(param_1 + 0xe);
  param_1[1] = &PTR_FUN_004386a0;
  FUN_002dd1a0(param_1 + 8);
  *param_1 = &DAT_004396c0;
  param_1[0x1f] = &PTR_FUN_00439478;
  FUN_00318d10(param_1 + 0x1f);
  return;
}

