
/* std::wfstream::~wfstream() */

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

{
  long lVar1;
  long *in_RSI;
  
  lVar1 = *in_RSI;
  *(long *)this = lVar1;
  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[8];
  *(long *)(this + 0x10) = in_RSI[9];
  *(undefined ***)(this + 0x18) = &PTR__wfilebuf_00439958;
  wfilebuf::close((wfilebuf *)(this + 0x18));
  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x80));
  *(undefined ***)(this + 0x18) = &PTR__wstreambuf_00438720;
  locale::~locale((locale *)(this + 0x50));
  lVar1 = in_RSI[1];
  *(long *)this = lVar1;
  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[6];
  *(long *)(this + 0x10) = in_RSI[7];
  lVar1 = in_RSI[4];
  *(long *)(this + 0x10) = lVar1;
  *(long *)(this + *(long *)(lVar1 + -0x18) + 0x10) = in_RSI[5];
  lVar1 = in_RSI[2];
  *(long *)this = lVar1;
  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[3];
  *(undefined8 *)(this + 8) = 0;
  return;
}



void FUN_0030bc70(long *param_1,long *param_2)

{
  long lVar1;
  
  lVar1 = *param_2;
  *param_1 = lVar1;
  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8];
  param_1[2] = param_2[9];
  param_1[3] = (long)&PTR_FUN_00439958;
  FUN_003094e0();
  thunk_FUN_002db2e0(param_1 + 0x10);
  param_1[3] = (long)&PTR_FUN_00438720;
  FUN_002dd1b0(param_1 + 10);
  lVar1 = param_2[1];
  *param_1 = lVar1;
  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6];
  param_1[2] = param_2[7];
  lVar1 = param_2[4];
  param_1[2] = lVar1;
  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5];
  lVar1 = param_2[2];
  *param_1 = lVar1;
  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3];
  param_1[1] = 0;
  return;
}


PUSH RBP
MOV RBP,RSI
PUSH RBX
MOV RBX,RDI
LEA RDI,[RDI + 0x18]
SUB RSP,0x8
MOV RAX,qword ptr [RSI]
MOV qword ptr [RDI + -0x18],RAX
MOV RDX,qword ptr [RSI + 0x40]
MOV RAX,qword ptr [RAX + -0x18]
MOV qword ptr [RDI + RAX*0x1 + -0x18],RDX
MOV RAX,qword ptr [RSI + 0x48]
MOV qword ptr [RDI + -0x8],RAX
LEA RAX,[0x439948]
ADD RAX,0x10
MOV qword ptr [RDI],RAX
CALL 0x003094e0
LEA RDI,[RBX + 0x80]
CALL 0x002db330
LEA RAX,[0x438710]
LEA RDI,[RBX + 0x50]
ADD RAX,0x10
MOV qword ptr [RBX + 0x18],RAX
CALL 0x002dd1b0
MOV RAX,qword ptr [RBP + 0x8]
MOV qword ptr [RBX],RAX
MOV RAX,qword ptr [RAX + -0x18]
MOV RDX,qword ptr [RBP + 0x30]
MOV qword ptr [RBX + RAX*0x1],RDX
MOV RAX,qword ptr [RBP + 0x38]
MOV qword ptr [RBX + 0x10],RAX
MOV RAX,qword ptr [RBP + 0x20]
MOV qword ptr [RBX + 0x10],RAX
MOV RAX,qword ptr [RAX + -0x18]
MOV RDX,qword ptr [RBP + 0x28]
MOV qword ptr [RBX + RAX*0x1 + 0x10],RDX
MOV RAX,qword ptr [RBP + 0x10]
MOV qword ptr [RBX],RAX
MOV RAX,qword ptr [RAX + -0x18]
MOV RDX,qword ptr [RBP + 0x18]
MOV qword ptr [RBX + RAX*0x1],RDX
MOV qword ptr [RBX + 0x8],0x0
ADD RSP,0x8
POP RBX
POP RBP
RET
(translation_unit "void FUN_0030bc70(long *param_1,long *param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *param_2;\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8];\n  param_1[2] = param_2[9];\n  param_1[3] = (long)&PTR_FUN_00439958;\n  FUN_003094e0();\n  thunk_FUN_002db2e0(param_1 + 0x10);\n  param_1[3] = (long)&PTR_FUN_00438720;\n  FUN_002dd1b0(param_1 + 10);\n  lVar1 = param_2[1];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6];\n  param_1[2] = param_2[7];\n  lVar1 = param_2[4];\n  param_1[2] = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5];\n  lVar1 = param_2[2];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3];\n  param_1[1] = 0;\n  return;\n}\n\n" (function_definition "void FUN_0030bc70(long *param_1,long *param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *param_2;\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8];\n  param_1[2] = param_2[9];\n  param_1[3] = (long)&PTR_FUN_00439958;\n  FUN_003094e0();\n  thunk_FUN_002db2e0(param_1 + 0x10);\n  param_1[3] = (long)&PTR_FUN_00438720;\n  FUN_002dd1b0(param_1 + 10);\n  lVar1 = param_2[1];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6];\n  param_1[2] = param_2[7];\n  lVar1 = param_2[4];\n  param_1[2] = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5];\n  lVar1 = param_2[2];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3];\n  param_1[1] = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0030bc70(long *param_1,long *param_2)" identifier (parameter_list "(long *param_1,long *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = *param_2;\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8];\n  param_1[2] = param_2[9];\n  param_1[3] = (long)&PTR_FUN_00439958;\n  FUN_003094e0();\n  thunk_FUN_002db2e0(param_1 + 0x10);\n  param_1[3] = (long)&PTR_FUN_00438720;\n  FUN_002dd1b0(param_1 + 10);\n  lVar1 = param_2[1];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6];\n  param_1[2] = param_2[7];\n  lVar1 = param_2[4];\n  param_1[2] = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5];\n  lVar1 = param_2[2];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3];\n  param_1[1] = 0;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *param_2;" (assignment_expression "lVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = lVar1;" (assignment_expression "*param_1 = lVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar1 + -0x18))" ( (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[8]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_2[9];" (assignment_expression "param_1[2] = param_2[9]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_2[9]" identifier [ number_literal ])) ;) (expression_statement "param_1[3] = (long)&PTR_FUN_00439958;" (assignment_expression "param_1[3] = (long)&PTR_FUN_00439958" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(long)&PTR_FUN_00439958" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&PTR_FUN_00439958" & identifier))) ;) (expression_statement "FUN_003094e0();" (call_expression "FUN_003094e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "thunk_FUN_002db2e0(param_1 + 0x10);" (call_expression "thunk_FUN_002db2e0(param_1 + 0x10)" identifier (argument_list "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))) ;) (expression_statement "param_1[3] = (long)&PTR_FUN_00438720;" (assignment_expression "param_1[3] = (long)&PTR_FUN_00438720" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(long)&PTR_FUN_00438720" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&PTR_FUN_00438720" & identifier))) ;) (expression_statement "FUN_002dd1b0(param_1 + 10);" (call_expression "FUN_002dd1b0(param_1 + 10)" identifier (argument_list "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) ))) ;) (expression_statement "lVar1 = param_2[1];" (assignment_expression "lVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = lVar1;" (assignment_expression "*param_1 = lVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar1 + -0x18))" ( (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[6]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_2[7];" (assignment_expression "param_1[2] = param_2[7]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (expression_statement "lVar1 = param_2[4];" (assignment_expression "lVar1 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = lVar1;" (assignment_expression "param_1[2] = lVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10)" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10)" ( (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) + number_literal) )))) = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) (expression_statement "lVar1 = param_2[2];" (assignment_expression "lVar1 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = lVar1;" (assignment_expression "*param_1 = lVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar1 + -0x18))" ( (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[3]" 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) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wfstream::~wfstream() */\n\nvoid __thiscall std::wfstream::~wfstream(wfstream *this)\n\n{\n  long lVar1;\n  long *in_RSI;\n  \n  lVar1 = *in_RSI;\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[8];\n  *(long *)(this + 0x10) = in_RSI[9];\n  *(undefined ***)(this + 0x18) = &PTR__wfilebuf_00439958;\n  wfilebuf::close((wfilebuf *)(this + 0x18));\n  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x80));\n  *(undefined ***)(this + 0x18) = &PTR__wstreambuf_00438720;\n  locale::~locale((locale *)(this + 0x50));\n  lVar1 = in_RSI[1];\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[6];\n  *(long *)(this + 0x10) = in_RSI[7];\n  lVar1 = in_RSI[4];\n  *(long *)(this + 0x10) = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18) + 0x10) = in_RSI[5];\n  lVar1 = in_RSI[2];\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[3];\n  *(undefined8 *)(this + 8) = 0;\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wfstream::~wfstream(wfstream *this)\n\n{\n  long lVar1;\n  long *in_RSI;\n  \n  lVar1 = *in_RSI;\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[8];\n  *(long *)(this + 0x10) = in_RSI[9];\n  *(undefined ***)(this + 0x18) = &PTR__wfilebuf_00439958;\n  wfilebuf::close((wfilebuf *)(this + 0x18));\n  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x80));\n  *(undefined ***)(this + 0x18) = &PTR__wstreambuf_00438720;\n  locale::~locale((locale *)(this + 0x50));\n  lVar1 = in_RSI[1];\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[6];\n  *(long *)(this + 0x10) = in_RSI[7];\n  lVar1 = in_RSI[4];\n  *(long *)(this + 0x10) = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18) + 0x10) = in_RSI[5];\n  lVar1 = in_RSI[2];\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[3];\n  *(undefined8 *)(this + 8) = 0;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wfstream::~" identifier : : identifier : : ~) (function_declarator "wfstream(wfstream *this)" identifier (parameter_list "(wfstream *this)" ( (parameter_declaration "wfstream *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  long *in_RSI;\n  \n  lVar1 = *in_RSI;\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[8];\n  *(long *)(this + 0x10) = in_RSI[9];\n  *(undefined ***)(this + 0x18) = &PTR__wfilebuf_00439958;\n  wfilebuf::close((wfilebuf *)(this + 0x18));\n  __basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x80));\n  *(undefined ***)(this + 0x18) = &PTR__wstreambuf_00438720;\n  locale::~locale((locale *)(this + 0x50));\n  lVar1 = in_RSI[1];\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[6];\n  *(long *)(this + 0x10) = in_RSI[7];\n  lVar1 = in_RSI[4];\n  *(long *)(this + 0x10) = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18) + 0x10) = in_RSI[5];\n  lVar1 = in_RSI[2];\n  *(long *)this = lVar1;\n  *(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[3];\n  *(undefined8 *)(this + 8) = 0;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (declaration "long *in_RSI;" (sized_type_specifier "long" long) (pointer_declarator "*in_RSI" * identifier) ;) (expression_statement "lVar1 = *in_RSI;" (assignment_expression "lVar1 = *in_RSI" identifier = (pointer_expression "*in_RSI" * identifier)) ;) (expression_statement "*(long *)this = lVar1;" (assignment_expression "*(long *)this = lVar1" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[8];" (assignment_expression "*(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[8]" (pointer_expression "*(long *)(this + *(long *)(lVar1 + -0x18))" * (cast_expression "(long *)(this + *(long *)(lVar1 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(long *)(lVar1 + -0x18))" ( (binary_expression "this + *(long *)(lVar1 + -0x18)" identifier + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) )))) = (subscript_expression "in_RSI[8]" identifier [ number_literal ])) ;) (expression_statement "*(long *)(this + 0x10) = in_RSI[9];" (assignment_expression "*(long *)(this + 0x10) = in_RSI[9]" (pointer_expression "*(long *)(this + 0x10)" * (cast_expression "(long *)(this + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = (subscript_expression "in_RSI[9]" identifier [ number_literal ])) ;) (expression_statement "*(undefined ***)(this + 0x18) = &PTR__wfilebuf_00439958;" (assignment_expression "*(undefined ***)(this + 0x18) = &PTR__wfilebuf_00439958" (pointer_expression "*(undefined ***)(this + 0x18)" * (cast_expression "(undefined ***)(this + 0x18)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = (pointer_expression "&PTR__wfilebuf_00439958" & identifier)) ;) (labeled_statement "wfilebuf::close((wfilebuf *)(this + 0x18));" statement_identifier : (ERROR ":" :) (expression_statement "close((wfilebuf *)(this + 0x18));" (call_expression "close((wfilebuf *)(this + 0x18))" identifier (argument_list "((wfilebuf *)(this + 0x18))" ( (cast_expression "(wfilebuf *)(this + 0x18)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) ))) ))) ;)) (expression_statement "__basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x80));" (binary_expression "__basic_file<char>::~__basic_file((__basic_file<char> *)(this + 0x80))" (binary_expression "__basic_file<char" identifier < identifier) > (ERROR "::" : :) (unary_expression "~__basic_file((__basic_file<char> *)(this + 0x80))" ~ (call_expression "__basic_file((__basic_file<char> *)(this + 0x80))" identifier (argument_list "((__basic_file<char> *)(this + 0x80))" ( (call_expression "(__basic_file<char> *)(this + 0x80)" (parenthesized_expression "(__basic_file<char> *)" ( (binary_expression "__basic_file<char> *" (binary_expression "__basic_file<char" identifier < identifier) > (pointer_expression "*" * identifier)) )) (argument_list "(this + 0x80)" ( (binary_expression "this + 0x80" identifier + number_literal) ))) ))))) ;) (expression_statement "*(undefined ***)(this + 0x18) = &PTR__wstreambuf_00438720;" (assignment_expression "*(undefined ***)(this + 0x18) = &PTR__wstreambuf_00438720" (pointer_expression "*(undefined ***)(this + 0x18)" * (cast_expression "(undefined ***)(this + 0x18)" ( (type_descriptor "undefined ***" type_identifier (abstract_pointer_declarator "***" * (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *)))) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = (pointer_expression "&PTR__wstreambuf_00438720" & identifier)) ;) (labeled_statement "locale::~locale((locale *)(this + 0x50));" statement_identifier : (ERROR ":" :) (expression_statement "~locale((locale *)(this + 0x50));" (unary_expression "~locale((locale *)(this + 0x50))" ~ (call_expression "locale((locale *)(this + 0x50))" identifier (argument_list "((locale *)(this + 0x50))" ( (cast_expression "(locale *)(this + 0x50)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x50)" ( (binary_expression "this + 0x50" identifier + number_literal) ))) )))) ;)) (expression_statement "lVar1 = in_RSI[1];" (assignment_expression "lVar1 = in_RSI[1]" identifier = (subscript_expression "in_RSI[1]" identifier [ number_literal ])) ;) (expression_statement "*(long *)this = lVar1;" (assignment_expression "*(long *)this = lVar1" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[6];" (assignment_expression "*(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[6]" (pointer_expression "*(long *)(this + *(long *)(lVar1 + -0x18))" * (cast_expression "(long *)(this + *(long *)(lVar1 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(long *)(lVar1 + -0x18))" ( (binary_expression "this + *(long *)(lVar1 + -0x18)" identifier + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) )))) = (subscript_expression "in_RSI[6]" identifier [ number_literal ])) ;) (expression_statement "*(long *)(this + 0x10) = in_RSI[7];" (assignment_expression "*(long *)(this + 0x10) = in_RSI[7]" (pointer_expression "*(long *)(this + 0x10)" * (cast_expression "(long *)(this + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = (subscript_expression "in_RSI[7]" identifier [ number_literal ])) ;) (expression_statement "lVar1 = in_RSI[4];" (assignment_expression "lVar1 = in_RSI[4]" identifier = (subscript_expression "in_RSI[4]" identifier [ number_literal ])) ;) (expression_statement "*(long *)(this + 0x10) = lVar1;" (assignment_expression "*(long *)(this + 0x10) = lVar1" (pointer_expression "*(long *)(this + 0x10)" * (cast_expression "(long *)(this + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(long *)(this + *(long *)(lVar1 + -0x18) + 0x10) = in_RSI[5];" (assignment_expression "*(long *)(this + *(long *)(lVar1 + -0x18) + 0x10) = in_RSI[5]" (pointer_expression "*(long *)(this + *(long *)(lVar1 + -0x18) + 0x10)" * (cast_expression "(long *)(this + *(long *)(lVar1 + -0x18) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(long *)(lVar1 + -0x18) + 0x10)" ( (binary_expression "this + *(long *)(lVar1 + -0x18) + 0x10" (binary_expression "this + *(long *)(lVar1 + -0x18)" identifier + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) + number_literal) )))) = (subscript_expression "in_RSI[5]" identifier [ number_literal ])) ;) (expression_statement "lVar1 = in_RSI[2];" (assignment_expression "lVar1 = in_RSI[2]" identifier = (subscript_expression "in_RSI[2]" identifier [ number_literal ])) ;) (expression_statement "*(long *)this = lVar1;" (assignment_expression "*(long *)this = lVar1" (pointer_expression "*(long *)this" * (cast_expression "(long *)this" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[3];" (assignment_expression "*(long *)(this + *(long *)(lVar1 + -0x18)) = in_RSI[3]" (pointer_expression "*(long *)(this + *(long *)(lVar1 + -0x18))" * (cast_expression "(long *)(this + *(long *)(lVar1 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(long *)(lVar1 + -0x18))" ( (binary_expression "this + *(long *)(lVar1 + -0x18)" identifier + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) )))) = (subscript_expression "in_RSI[3]" 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) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0030bc70(long *param_1,long *param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *param_2;\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8];\n  param_1[2] = param_2[9];\n  param_1[3] = (long)&PTR_FUN_00439958;\n  FUN_003094e0();\n  thunk_FUN_002db2e0(param_1 + 0x10);\n  param_1[3] = (long)&PTR_FUN_00438720;\n  FUN_002dd1b0(param_1 + 10);\n  lVar1 = param_2[1];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6];\n  param_1[2] = param_2[7];\n  lVar1 = param_2[4];\n  param_1[2] = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5];\n  lVar1 = param_2[2];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3];\n  param_1[1] = 0;\n  return;\n}\n\n" (function_definition "void FUN_0030bc70(long *param_1,long *param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *param_2;\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8];\n  param_1[2] = param_2[9];\n  param_1[3] = (long)&PTR_FUN_00439958;\n  FUN_003094e0();\n  thunk_FUN_002db2e0(param_1 + 0x10);\n  param_1[3] = (long)&PTR_FUN_00438720;\n  FUN_002dd1b0(param_1 + 10);\n  lVar1 = param_2[1];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6];\n  param_1[2] = param_2[7];\n  lVar1 = param_2[4];\n  param_1[2] = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5];\n  lVar1 = param_2[2];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3];\n  param_1[1] = 0;\n  return;\n}" primitive_type (function_declarator "FUN_0030bc70(long *param_1,long *param_2)" identifier (parameter_list "(long *param_1,long *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = *param_2;\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8];\n  param_1[2] = param_2[9];\n  param_1[3] = (long)&PTR_FUN_00439958;\n  FUN_003094e0();\n  thunk_FUN_002db2e0(param_1 + 0x10);\n  param_1[3] = (long)&PTR_FUN_00438720;\n  FUN_002dd1b0(param_1 + 10);\n  lVar1 = param_2[1];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6];\n  param_1[2] = param_2[7];\n  lVar1 = param_2[4];\n  param_1[2] = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5];\n  lVar1 = param_2[2];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3];\n  param_1[1] = 0;\n  return;\n}" { (declaration "long lVar1;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar1 = *param_2;" (assignment_expression "lVar1 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = lVar1;" (assignment_expression "*param_1 = lVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar1 + -0x18))" ( (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[8]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_2[9];" (assignment_expression "param_1[2] = param_2[9]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_2[9]" identifier [ number_literal ])) ;) (expression_statement "param_1[3] = (long)&PTR_FUN_00439958;" (assignment_expression "param_1[3] = (long)&PTR_FUN_00439958" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(long)&PTR_FUN_00439958" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&PTR_FUN_00439958" & identifier))) ;) (expression_statement "FUN_003094e0();" (call_expression "FUN_003094e0()" identifier (argument_list "()" ( ))) ;) (expression_statement "thunk_FUN_002db2e0(param_1 + 0x10);" (call_expression "thunk_FUN_002db2e0(param_1 + 0x10)" identifier (argument_list "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))) ;) (expression_statement "param_1[3] = (long)&PTR_FUN_00438720;" (assignment_expression "param_1[3] = (long)&PTR_FUN_00438720" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (cast_expression "(long)&PTR_FUN_00438720" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&PTR_FUN_00438720" & identifier))) ;) (expression_statement "FUN_002dd1b0(param_1 + 10);" (call_expression "FUN_002dd1b0(param_1 + 10)" identifier (argument_list "(param_1 + 10)" ( (binary_expression "param_1 + 10" identifier + number_literal) ))) ;) (expression_statement "lVar1 = param_2[1];" (assignment_expression "lVar1 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = lVar1;" (assignment_expression "*param_1 = lVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar1 + -0x18))" ( (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[6]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_2[7];" (assignment_expression "param_1[2] = param_2[7]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (expression_statement "lVar1 = param_2[4];" (assignment_expression "lVar1 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = lVar1;" (assignment_expression "param_1[2] = lVar1" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10)" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10)" ( (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) + number_literal) )))) = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) (expression_statement "lVar1 = param_2[2];" (assignment_expression "lVar1 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = lVar1;" (assignment_expression "*param_1 = lVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar1 + -0x18))" ( (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar1 + -0x18)" * (cast_expression "(long *)(lVar1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar1 + -0x18)" ( (binary_expression "lVar1 + -0x18" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[3]" 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) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (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 ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (pointer_expression & IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0030bc70(long *param_1,long *param_2)\n\n{\n  long lVar1;\n  \n  lVar1 = *param_2;\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8];\n  param_1[2] = param_2[9];\n  param_1[3] = (long)&PTR_FUN_00439958;\n  FUN_003094e0();\n  thunk_FUN_002db2e0(param_1 + 0x10);\n  param_1[3] = (long)&PTR_FUN_00438720;\n  FUN_002dd1b0(param_1 + 10);\n  lVar1 = param_2[1];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6];\n  param_1[2] = param_2[7];\n  lVar1 = param_2[4];\n  param_1[2] = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5];\n  lVar1 = param_2[2];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3];\n  param_1[1] = 0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0030bc70(long *param_1,long *param_2)" (identifier "FUN_0030bc70") (parameter_list "(long *param_1,long *param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  long lVar1;\n  \n  lVar1 = *param_2;\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8];\n  param_1[2] = param_2[9];\n  param_1[3] = (long)&PTR_FUN_00439958;\n  FUN_003094e0();\n  thunk_FUN_002db2e0(param_1 + 0x10);\n  param_1[3] = (long)&PTR_FUN_00438720;\n  FUN_002dd1b0(param_1 + 10);\n  lVar1 = param_2[1];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6];\n  param_1[2] = param_2[7];\n  lVar1 = param_2[4];\n  param_1[2] = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5];\n  lVar1 = param_2[2];\n  *param_1 = lVar1;\n  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3];\n  param_1[1] = 0;\n  return;\n}" ({ "{") (declaration "long lVar1;" (sized_type_specifier "long" (long "long")) (identifier "lVar1") (; ";")) (expression_statement "lVar1 = *param_2;" (assignment_expression "lVar1 = *param_2" (identifier "lVar1") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*param_1 = lVar1;" (assignment_expression "*param_1 = lVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "lVar1")) (; ";")) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" (* "*") (cast_expression "(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(lVar1 + -0x18))" (( "(") (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(lVar1 + -0x18)" (* "*") (cast_expression "(long *)(lVar1 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + -0x18)" (( "(") (binary_expression "lVar1 + -0x18" (identifier "lVar1") (+ "+") (number_literal "-0x18")) () ")"))))) () ")")))) (= "=") (subscript_expression "param_2[8]" (identifier "param_2") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "param_1[2] = param_2[9];" (assignment_expression "param_1[2] = param_2[9]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "param_2[9]" (identifier "param_2") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "param_1[3] = (long)&PTR_FUN_00439958;" (assignment_expression "param_1[3] = (long)&PTR_FUN_00439958" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(long)&PTR_FUN_00439958" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "&PTR_FUN_00439958" (& "&") (identifier "PTR_FUN_00439958")))) (; ";")) (expression_statement "FUN_003094e0();" (call_expression "FUN_003094e0()" (identifier "FUN_003094e0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "thunk_FUN_002db2e0(param_1 + 0x10);" (call_expression "thunk_FUN_002db2e0(param_1 + 0x10)" (identifier "thunk_FUN_002db2e0") (argument_list "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))) (; ";")) (expression_statement "param_1[3] = (long)&PTR_FUN_00438720;" (assignment_expression "param_1[3] = (long)&PTR_FUN_00438720" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (cast_expression "(long)&PTR_FUN_00438720" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (pointer_expression "&PTR_FUN_00438720" (& "&") (identifier "PTR_FUN_00438720")))) (; ";")) (expression_statement "FUN_002dd1b0(param_1 + 10);" (call_expression "FUN_002dd1b0(param_1 + 10)" (identifier "FUN_002dd1b0") (argument_list "(param_1 + 10)" (( "(") (binary_expression "param_1 + 10" (identifier "param_1") (+ "+") (number_literal "10")) () ")"))) (; ";")) (expression_statement "lVar1 = param_2[1];" (assignment_expression "lVar1 = param_2[1]" (identifier "lVar1") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*param_1 = lVar1;" (assignment_expression "*param_1 = lVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "lVar1")) (; ";")) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" (* "*") (cast_expression "(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(lVar1 + -0x18))" (( "(") (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(lVar1 + -0x18)" (* "*") (cast_expression "(long *)(lVar1 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + -0x18)" (( "(") (binary_expression "lVar1 + -0x18" (identifier "lVar1") (+ "+") (number_literal "-0x18")) () ")"))))) () ")")))) (= "=") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "param_1[2] = param_2[7];" (assignment_expression "param_1[2] = param_2[7]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "lVar1 = param_2[4];" (assignment_expression "lVar1 = param_2[4]" (identifier "lVar1") (= "=") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "param_1[2] = lVar1;" (assignment_expression "param_1[2] = lVar1" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "lVar1")) (; ";")) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10)" (* "*") (cast_expression "(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10)" (( "(") (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(lVar1 + -0x18)" (* "*") (cast_expression "(long *)(lVar1 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + -0x18)" (( "(") (binary_expression "lVar1 + -0x18" (identifier "lVar1") (+ "+") (number_literal "-0x18")) () ")"))))) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "lVar1 = param_2[2];" (assignment_expression "lVar1 = param_2[2]" (identifier "lVar1") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*param_1 = lVar1;" (assignment_expression "*param_1 = lVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "lVar1")) (; ";")) (expression_statement "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3];" (assignment_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3]" (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" (* "*") (cast_expression "(long *)((long)param_1 + *(long *)(lVar1 + -0x18))" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(lVar1 + -0x18))" (( "(") (binary_expression "(long)param_1 + *(long *)(lVar1 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(lVar1 + -0x18)" (* "*") (cast_expression "(long *)(lVar1 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar1 + -0x18)" (( "(") (binary_expression "lVar1 + -0x18" (identifier "lVar1") (+ "+") (number_literal "-0x18")) () ")"))))) () ")")))) (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (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")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wfstream::~wfstream() */

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

{
  long var_2;
  long *in_RSI;
  
  var_2 = *in_RSI;
  *(long *)var_1 = var_2;
  *(long *)(var_1 + *(long *)(var_2 + -0x18)) = in_RSI[8];
  *(long *)(var_1 + 0x10) = in_RSI[9];
  *(type_1 ***)(var_1 + 0x18) = &PTR__wfilebuf_00439958;
  wfilebuf::var_3((type_2 *)(var_1 + 0x18));
  var_4<var_5>::~var_4((var_4<var_5> *)(var_1 + 0x80));
  *(type_1 ***)(var_1 + 0x18) = &PTR__wstreambuf_00438720;
  locale::~var_6((var_6 *)(var_1 + 0x50));
  var_2 = in_RSI[1];
  *(long *)var_1 = var_2;
  *(long *)(var_1 + *(long *)(var_2 + -0x18)) = in_RSI[6];
  *(long *)(var_1 + 0x10) = in_RSI[7];
  var_2 = in_RSI[4];
  *(long *)(var_1 + 0x10) = var_2;
  *(long *)(var_1 + *(long *)(var_2 + -0x18) + 0x10) = in_RSI[5];
  var_2 = in_RSI[2];
  *(long *)var_1 = var_2;
  *(long *)(var_1 + *(long *)(var_2 + -0x18)) = in_RSI[3];
  *(type_3 *)(var_1 + 8) = 0;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (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: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (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: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement))))

void MASKED(long *param_1,long *param_2)

{
  long lVar1;
  
  lVar1 = *param_2;
  *param_1 = lVar1;
  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[8];
  param_1[2] = param_2[9];
  param_1[3] = (long)&PTR_FUN_00439958;
  FUN_003094e0();
  thunk_FUN_002db2e0(param_1 + 0x10);
  param_1[3] = (long)&PTR_FUN_00438720;
  FUN_002dd1b0(param_1 + 10);
  lVar1 = param_2[1];
  *param_1 = lVar1;
  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[6];
  param_1[2] = param_2[7];
  lVar1 = param_2[4];
  param_1[2] = lVar1;
  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18) + 0x10) = param_2[5];
  lVar1 = param_2[2];
  *param_1 = lVar1;
  *(long *)((long)param_1 + *(long *)(lVar1 + -0x18)) = param_2[3];
  param_1[1] = 0;
  return;
}

