
/* std::ifstream::~ifstream() */

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

{
  *(undefined ***)(this + 0x100) = &PTR__ifstream_003b9688;
  *(undefined ***)this = &PTR__ifstream_003b9660;
  *(undefined ***)(this + 0x10) = &PTR__filebuf_003b9568;
  filebuf::close((filebuf *)(this + 0x10));
  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x78));
  *(undefined ***)(this + 0x10) = &PTR__streambuf_003b8690;
  locale::~locale((locale *)(this + 0x48));
  *(undefined8 *)(this + 8) = 0;
  *(undefined **)this = &DAT_003b95f0;
  *(undefined ***)(this + 0x100) = &PTR__ios_003b9468;
  ios_base::~ios_base((ios_base *)(this + 0x100));
  return;
}



void FUN_002a5280(undefined8 *param_1)

{
  param_1[0x20] = &PTR_FUN_003b9688;
  *param_1 = &PTR_FUN_003b9660;
  param_1[2] = &PTR_FUN_003b9568;
  FUN_002a2d10();
  thunk_FUN_00277390(param_1 + 0xf);
  param_1[2] = &PTR_FUN_003b8690;
  FUN_00279260(param_1 + 9);
  param_1[1] = 0;
  *param_1 = &DAT_003b95f0;
  param_1[0x20] = &PTR_FUN_003b9468;
  FUN_002b4dd0(param_1 + 0x20);
  return;
}


LEA RAX,[0x3b9648]
PUSH RBX
MOV RBX,RDI
LEA RDI,[RDI + 0x10]
LEA RDX,[RAX + 0x18]
ADD RAX,0x40
MOV qword ptr [RDI + 0xf0],RAX
LEA RAX,[0x3b9558]
MOV qword ptr [RDI + -0x10],RDX
ADD RAX,0x10
MOV qword ptr [RDI],RAX
CALL 0x002a2d10
LEA RDI,[RBX + 0x78]
CALL 0x002773e0
LEA RAX,[0x3b8680]
LEA RDI,[RBX + 0x48]
ADD RAX,0x10
MOV qword ptr [RBX + 0x10],RAX
CALL 0x00279260
LEA RAX,[0x3b95f0]
MOV qword ptr [RBX + 0x8],0x0
LEA RDI,[RBX + 0x100]
MOV qword ptr [RBX],RAX
LEA RAX,[0x3b9458]
ADD RAX,0x10
MOV qword ptr [RBX + 0x100],RAX
POP RBX
JMP 0x002b4dd0
(translation_unit "void FUN_002a5280(undefined8 *param_1)\n\n{\n  param_1[0x20] = &PTR_FUN_003b9688;\n  *param_1 = &PTR_FUN_003b9660;\n  param_1[2] = &PTR_FUN_003b9568;\n  FUN_002a2d10();\n  thunk_FUN_00277390(param_1 + 0xf);\n  param_1[2] = &PTR_FUN_003b8690;\n  FUN_00279260(param_1 + 9);\n  param_1[1] = 0;\n  *param_1 = &DAT_003b95f0;\n  param_1[0x20] = &PTR_FUN_003b9468;\n  FUN_002b4dd0(param_1 + 0x20);\n  return;\n}\n\n" (function_definition "void FUN_002a5280(undefined8 *param_1)\n\n{\n  param_1[0x20] = &PTR_FUN_003b9688;\n  *param_1 = &PTR_FUN_003b9660;\n  param_1[2] = &PTR_FUN_003b9568;\n  FUN_002a2d10();\n  thunk_FUN_00277390(param_1 + 0xf);\n  param_1[2] = &PTR_FUN_003b8690;\n  FUN_00279260(param_1 + 9);\n  param_1[1] = 0;\n  *param_1 = &DAT_003b95f0;\n  param_1[0x20] = &PTR_FUN_003b9468;\n  FUN_002b4dd0(param_1 + 0x20);\n  return;\n}" primitive_type (function_declarator "FUN_002a5280(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[0x20] = &PTR_FUN_003b9688;\n  *param_1 = &PTR_FUN_003b9660;\n  param_1[2] = &PTR_FUN_003b9568;\n  FUN_002a2d10();\n  thunk_FUN_00277390(param_1 + 0xf);\n  param_1[2] = &PTR_FUN_003b8690;\n  FUN_00279260(param_1 + 9);\n  param_1[1] = 0;\n  *param_1 = &DAT_003b95f0;\n  param_1[0x20] = &PTR_FUN_003b9468;\n  FUN_002b4dd0(param_1 + 0x20);\n  return;\n}" { (expression_statement "param_1[0x20] = &PTR_FUN_003b9688;" (assignment_expression "param_1[0x20] = &PTR_FUN_003b9688" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b9688" & identifier)) ;) (expression_statement "*param_1 = &PTR_FUN_003b9660;" (assignment_expression "*param_1 = &PTR_FUN_003b9660" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_003b9660" & identifier)) ;) (expression_statement "param_1[2] = &PTR_FUN_003b9568;" (assignment_expression "param_1[2] = &PTR_FUN_003b9568" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b9568" & identifier)) ;) (expression_statement "FUN_002a2d10();" (call_expression "FUN_002a2d10()" identifier (argument_list "()" ( ))) ;) (expression_statement "thunk_FUN_00277390(param_1 + 0xf);" (call_expression "thunk_FUN_00277390(param_1 + 0xf)" identifier (argument_list "(param_1 + 0xf)" ( (binary_expression "param_1 + 0xf" identifier + number_literal) ))) ;) (expression_statement "param_1[2] = &PTR_FUN_003b8690;" (assignment_expression "param_1[2] = &PTR_FUN_003b8690" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b8690" & identifier)) ;) (expression_statement "FUN_00279260(param_1 + 9);" (call_expression "FUN_00279260(param_1 + 9)" identifier (argument_list "(param_1 + 9)" ( (binary_expression "param_1 + 9" identifier + number_literal) ))) ;) (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 = &DAT_003b95f0;" (assignment_expression "*param_1 = &DAT_003b95f0" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_003b95f0" & identifier)) ;) (expression_statement "param_1[0x20] = &PTR_FUN_003b9468;" (assignment_expression "param_1[0x20] = &PTR_FUN_003b9468" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b9468" & identifier)) ;) (expression_statement "FUN_002b4dd0(param_1 + 0x20);" (call_expression "FUN_002b4dd0(param_1 + 0x20)" identifier (argument_list "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::ifstream::~ifstream() */\n\nvoid __thiscall std::ifstream::~ifstream(ifstream *this)\n\n{\n  *(undefined ***)(this + 0x100) = &PTR__ifstream_003b9688;\n  *(undefined ***)this = &PTR__ifstream_003b9660;\n  *(undefined ***)(this + 0x10) = &PTR__filebuf_003b9568;\n  filebuf::close((filebuf *)(this + 0x10));\n  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x78));\n  *(undefined ***)(this + 0x10) = &PTR__streambuf_003b8690;\n  locale::~locale((locale *)(this + 0x48));\n  *(undefined8 *)(this + 8) = 0;\n  *(undefined **)this = &DAT_003b95f0;\n  *(undefined ***)(this + 0x100) = &PTR__ios_003b9468;\n  ios_base::~ios_base((ios_base *)(this + 0x100));\n  return;\n}\n\n" comment (function_definition "void __thiscall std::ifstream::~ifstream(ifstream *this)\n\n{\n  *(undefined ***)(this + 0x100) = &PTR__ifstream_003b9688;\n  *(undefined ***)this = &PTR__ifstream_003b9660;\n  *(undefined ***)(this + 0x10) = &PTR__filebuf_003b9568;\n  filebuf::close((filebuf *)(this + 0x10));\n  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x78));\n  *(undefined ***)(this + 0x10) = &PTR__streambuf_003b8690;\n  locale::~locale((locale *)(this + 0x48));\n  *(undefined8 *)(this + 8) = 0;\n  *(undefined **)this = &DAT_003b95f0;\n  *(undefined ***)(this + 0x100) = &PTR__ios_003b9468;\n  ios_base::~ios_base((ios_base *)(this + 0x100));\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ifstream::~" identifier : : identifier : : ~) (function_declarator "ifstream(ifstream *this)" identifier (parameter_list "(ifstream *this)" ( (parameter_declaration "ifstream *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  *(undefined ***)(this + 0x100) = &PTR__ifstream_003b9688;\n  *(undefined ***)this = &PTR__ifstream_003b9660;\n  *(undefined ***)(this + 0x10) = &PTR__filebuf_003b9568;\n  filebuf::close((filebuf *)(this + 0x10));\n  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x78));\n  *(undefined ***)(this + 0x10) = &PTR__streambuf_003b8690;\n  locale::~locale((locale *)(this + 0x48));\n  *(undefined8 *)(this + 8) = 0;\n  *(undefined **)this = &DAT_003b95f0;\n  *(undefined ***)(this + 0x100) = &PTR__ios_003b9468;\n  ios_base::~ios_base((ios_base *)(this + 0x100));\n  return;\n}" { (expression_statement "*(undefined ***)(this + 0x100) = &PTR__ifstream_003b9688;" (assignment_expression "*(undefined ***)(this + 0x100) = &PTR__ifstream_003b9688" (pointer_expression "*(undefined ***)(this + 0x100)" * (cast_expression "(undefined ***)(this + 0x100)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(this + 0x100)" ( (binary_expression "this + 0x100" identifier + number_literal) )))) = (pointer_expression "&PTR__ifstream_003b9688" & identifier)) ;) (expression_statement "*(undefined ***)this = &PTR__ifstream_003b9660;" (assignment_expression "*(undefined ***)this = &PTR__ifstream_003b9660" (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__ifstream_003b9660" & identifier)) ;) (expression_statement "*(undefined ***)(this + 0x10) = &PTR__filebuf_003b9568;" (assignment_expression "*(undefined ***)(this + 0x10) = &PTR__filebuf_003b9568" (pointer_expression "*(undefined ***)(this + 0x10)" * (cast_expression "(undefined ***)(this + 0x10)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = (pointer_expression "&PTR__filebuf_003b9568" & identifier)) ;) (labeled_statement "filebuf::close((filebuf *)(this + 0x10));" statement_identifier : (ERROR ":" :) (expression_statement "close((filebuf *)(this + 0x10));" (call_expression "close((filebuf *)(this + 0x10))" identifier (argument_list "((filebuf *)(this + 0x10))" ( (cast_expression "(filebuf *)(this + 0x10)" ( (type_descriptor "filebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) ))) ))) ;)) (expression_statement "__basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x78));" (binary_expression "__basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x78))" (binary_expression "__basic_file<char" identifier < identifier) > (ERROR "::" : :) (unary_expression "~__basic_file((__basic_file<char> *)(this + 0x78))" ~ (call_expression "__basic_file((__basic_file<char> *)(this + 0x78))" identifier (argument_list "((__basic_file<char> *)(this + 0x78))" ( (call_expression "(__basic_file<char> *)(this + 0x78)" (parenthesized_expression "(__basic_file<char> *)" ( (binary_expression "__basic_file<char> *" (binary_expression "__basic_file<char" identifier < identifier) > (pointer_expression "*" * identifier)) )) (argument_list "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) ))) ))))) ;) (expression_statement "*(undefined ***)(this + 0x10) = &PTR__streambuf_003b8690;" (assignment_expression "*(undefined ***)(this + 0x10) = &PTR__streambuf_003b8690" (pointer_expression "*(undefined ***)(this + 0x10)" * (cast_expression "(undefined ***)(this + 0x10)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = (pointer_expression "&PTR__streambuf_003b8690" & identifier)) ;) (labeled_statement "locale::~locale((locale *)(this + 0x48));" statement_identifier : (ERROR ":" :) (expression_statement "~locale((locale *)(this + 0x48));" (unary_expression "~locale((locale *)(this + 0x48))" ~ (call_expression "locale((locale *)(this + 0x48))" identifier (argument_list "((locale *)(this + 0x48))" ( (cast_expression "(locale *)(this + 0x48)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x48)" ( (binary_expression "this + 0x48" identifier + number_literal) ))) )))) ;)) (expression_statement "*(undefined8 *)(this + 8) = 0;" (assignment_expression "*(undefined8 *)(this + 8) = 0" (pointer_expression "*(undefined8 *)(this + 8)" * (cast_expression "(undefined8 *)(this + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined **)this = &DAT_003b95f0;" (assignment_expression "*(undefined **)this = &DAT_003b95f0" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (pointer_expression "&DAT_003b95f0" & identifier)) ;) (expression_statement "*(undefined ***)(this + 0x100) = &PTR__ios_003b9468;" (assignment_expression "*(undefined ***)(this + 0x100) = &PTR__ios_003b9468" (pointer_expression "*(undefined ***)(this + 0x100)" * (cast_expression "(undefined ***)(this + 0x100)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(this + 0x100)" ( (binary_expression "this + 0x100" identifier + number_literal) )))) = (pointer_expression "&PTR__ios_003b9468" & identifier)) ;) (labeled_statement "ios_base::~ios_base((ios_base *)(this + 0x100));" statement_identifier : (ERROR ":" :) (expression_statement "~ios_base((ios_base *)(this + 0x100));" (unary_expression "~ios_base((ios_base *)(this + 0x100))" ~ (call_expression "ios_base((ios_base *)(this + 0x100))" identifier (argument_list "((ios_base *)(this + 0x100))" ( (cast_expression "(ios_base *)(this + 0x100)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x100)" ( (binary_expression "this + 0x100" identifier + number_literal) ))) )))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002a5280(undefined8 *param_1)\n\n{\n  param_1[0x20] = &PTR_FUN_003b9688;\n  *param_1 = &PTR_FUN_003b9660;\n  param_1[2] = &PTR_FUN_003b9568;\n  FUN_002a2d10();\n  thunk_FUN_00277390(param_1 + 0xf);\n  param_1[2] = &PTR_FUN_003b8690;\n  FUN_00279260(param_1 + 9);\n  param_1[1] = 0;\n  *param_1 = &DAT_003b95f0;\n  param_1[0x20] = &PTR_FUN_003b9468;\n  FUN_002b4dd0(param_1 + 0x20);\n  return;\n}\n\n" (function_definition "void FUN_002a5280(undefined8 *param_1)\n\n{\n  param_1[0x20] = &PTR_FUN_003b9688;\n  *param_1 = &PTR_FUN_003b9660;\n  param_1[2] = &PTR_FUN_003b9568;\n  FUN_002a2d10();\n  thunk_FUN_00277390(param_1 + 0xf);\n  param_1[2] = &PTR_FUN_003b8690;\n  FUN_00279260(param_1 + 9);\n  param_1[1] = 0;\n  *param_1 = &DAT_003b95f0;\n  param_1[0x20] = &PTR_FUN_003b9468;\n  FUN_002b4dd0(param_1 + 0x20);\n  return;\n}" primitive_type (function_declarator "FUN_002a5280(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[0x20] = &PTR_FUN_003b9688;\n  *param_1 = &PTR_FUN_003b9660;\n  param_1[2] = &PTR_FUN_003b9568;\n  FUN_002a2d10();\n  thunk_FUN_00277390(param_1 + 0xf);\n  param_1[2] = &PTR_FUN_003b8690;\n  FUN_00279260(param_1 + 9);\n  param_1[1] = 0;\n  *param_1 = &DAT_003b95f0;\n  param_1[0x20] = &PTR_FUN_003b9468;\n  FUN_002b4dd0(param_1 + 0x20);\n  return;\n}" { (expression_statement "param_1[0x20] = &PTR_FUN_003b9688;" (assignment_expression "param_1[0x20] = &PTR_FUN_003b9688" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b9688" & identifier)) ;) (expression_statement "*param_1 = &PTR_FUN_003b9660;" (assignment_expression "*param_1 = &PTR_FUN_003b9660" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_003b9660" & identifier)) ;) (expression_statement "param_1[2] = &PTR_FUN_003b9568;" (assignment_expression "param_1[2] = &PTR_FUN_003b9568" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b9568" & identifier)) ;) (expression_statement "FUN_002a2d10();" (call_expression "FUN_002a2d10()" identifier (argument_list "()" ( ))) ;) (expression_statement "thunk_FUN_00277390(param_1 + 0xf);" (call_expression "thunk_FUN_00277390(param_1 + 0xf)" identifier (argument_list "(param_1 + 0xf)" ( (binary_expression "param_1 + 0xf" identifier + number_literal) ))) ;) (expression_statement "param_1[2] = &PTR_FUN_003b8690;" (assignment_expression "param_1[2] = &PTR_FUN_003b8690" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b8690" & identifier)) ;) (expression_statement "FUN_00279260(param_1 + 9);" (call_expression "FUN_00279260(param_1 + 9)" identifier (argument_list "(param_1 + 9)" ( (binary_expression "param_1 + 9" identifier + number_literal) ))) ;) (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 = &DAT_003b95f0;" (assignment_expression "*param_1 = &DAT_003b95f0" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_003b95f0" & identifier)) ;) (expression_statement "param_1[0x20] = &PTR_FUN_003b9468;" (assignment_expression "param_1[0x20] = &PTR_FUN_003b9468" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_003b9468" & identifier)) ;) (expression_statement "FUN_002b4dd0(param_1 + 0x20);" (call_expression "FUN_002b4dd0(param_1 + 0x20)" identifier (argument_list "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" 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 (subscript_expression IDENT [ LIT ]) = 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_002a5280(undefined8 *param_1)\n\n{\n  param_1[0x20] = &PTR_FUN_003b9688;\n  *param_1 = &PTR_FUN_003b9660;\n  param_1[2] = &PTR_FUN_003b9568;\n  FUN_002a2d10();\n  thunk_FUN_00277390(param_1 + 0xf);\n  param_1[2] = &PTR_FUN_003b8690;\n  FUN_00279260(param_1 + 9);\n  param_1[1] = 0;\n  *param_1 = &DAT_003b95f0;\n  param_1[0x20] = &PTR_FUN_003b9468;\n  FUN_002b4dd0(param_1 + 0x20);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002a5280(undefined8 *param_1)" (identifier "FUN_002a5280") (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[0x20] = &PTR_FUN_003b9688;\n  *param_1 = &PTR_FUN_003b9660;\n  param_1[2] = &PTR_FUN_003b9568;\n  FUN_002a2d10();\n  thunk_FUN_00277390(param_1 + 0xf);\n  param_1[2] = &PTR_FUN_003b8690;\n  FUN_00279260(param_1 + 9);\n  param_1[1] = 0;\n  *param_1 = &DAT_003b95f0;\n  param_1[0x20] = &PTR_FUN_003b9468;\n  FUN_002b4dd0(param_1 + 0x20);\n  return;\n}" ({ "{") (expression_statement "param_1[0x20] = &PTR_FUN_003b9688;" (assignment_expression "param_1[0x20] = &PTR_FUN_003b9688" (subscript_expression "param_1[0x20]" (identifier "param_1") ([ "[") (number_literal "0x20") (] "]")) (= "=") (pointer_expression "&PTR_FUN_003b9688" (& "&") (identifier "PTR_FUN_003b9688"))) (; ";")) (expression_statement "*param_1 = &PTR_FUN_003b9660;" (assignment_expression "*param_1 = &PTR_FUN_003b9660" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_003b9660" (& "&") (identifier "PTR_FUN_003b9660"))) (; ";")) (expression_statement "param_1[2] = &PTR_FUN_003b9568;" (assignment_expression "param_1[2] = &PTR_FUN_003b9568" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "&PTR_FUN_003b9568" (& "&") (identifier "PTR_FUN_003b9568"))) (; ";")) (expression_statement "FUN_002a2d10();" (call_expression "FUN_002a2d10()" (identifier "FUN_002a2d10") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "thunk_FUN_00277390(param_1 + 0xf);" (call_expression "thunk_FUN_00277390(param_1 + 0xf)" (identifier "thunk_FUN_00277390") (argument_list "(param_1 + 0xf)" (( "(") (binary_expression "param_1 + 0xf" (identifier "param_1") (+ "+") (number_literal "0xf")) () ")"))) (; ";")) (expression_statement "param_1[2] = &PTR_FUN_003b8690;" (assignment_expression "param_1[2] = &PTR_FUN_003b8690" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "&PTR_FUN_003b8690" (& "&") (identifier "PTR_FUN_003b8690"))) (; ";")) (expression_statement "FUN_00279260(param_1 + 9);" (call_expression "FUN_00279260(param_1 + 9)" (identifier "FUN_00279260") (argument_list "(param_1 + 9)" (( "(") (binary_expression "param_1 + 9" (identifier "param_1") (+ "+") (number_literal "9")) () ")"))) (; ";")) (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 = &DAT_003b95f0;" (assignment_expression "*param_1 = &DAT_003b95f0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&DAT_003b95f0" (& "&") (identifier "DAT_003b95f0"))) (; ";")) (expression_statement "param_1[0x20] = &PTR_FUN_003b9468;" (assignment_expression "param_1[0x20] = &PTR_FUN_003b9468" (subscript_expression "param_1[0x20]" (identifier "param_1") ([ "[") (number_literal "0x20") (] "]")) (= "=") (pointer_expression "&PTR_FUN_003b9468" (& "&") (identifier "PTR_FUN_003b9468"))) (; ";")) (expression_statement "FUN_002b4dd0(param_1 + 0x20);" (call_expression "FUN_002b4dd0(param_1 + 0x20)" (identifier "FUN_002b4dd0") (argument_list "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::ifstream::~ifstream() */

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

{
  *(type_1 ***)(var_1 + 0x100) = &PTR__ifstream_003b9688;
  *(type_1 ***)var_1 = &PTR__ifstream_003b9660;
  *(type_1 ***)(var_1 + 0x10) = &PTR__filebuf_003b9568;
  filebuf::var_2((type_2 *)(var_1 + 0x10));
  var_3<var_4>::~var_3((var_3<var_4> *)(var_1 + 0x78));
  *(type_1 ***)(var_1 + 0x10) = &PTR__streambuf_003b8690;
  locale::~var_5((var_5 *)(var_1 + 0x48));
  *(type_3 *)(var_1 + 8) = 0;
  *(type_1 **)var_1 = &DAT_003b95f0;
  *(type_1 ***)(var_1 + 0x100) = &PTR__ios_003b9468;
  ios_base::~var_6((var_6 *)(var_1 + 0x100));
  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: (subscript_expression argument: (identifier) index: (number_literal)) 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[0x20] = &PTR_FUN_003b9688;
  *param_1 = &PTR_FUN_003b9660;
  param_1[2] = &PTR_FUN_003b9568;
  FUN_002a2d10();
  thunk_FUN_00277390(param_1 + 0xf);
  param_1[2] = &PTR_FUN_003b8690;
  FUN_00279260(param_1 + 9);
  param_1[1] = 0;
  *param_1 = &DAT_003b95f0;
  param_1[0x20] = &PTR_FUN_003b9468;
  FUN_002b4dd0(param_1 + 0x20);
  return;
}

