
/* std::wofstream::wofstream(std::wofstream&&) */

void __thiscall std::wofstream::wofstream(wofstream *this,wofstream *param_1)

{
  ios_base iVar1;
  int iVar2;
  undefined4 uVar3;
  int *in_a2;
  undefined4 uVar4;
  ios_base *this_00;
  ios_base *piVar5;
  
  iVar2 = *(int *)(param_1 + 4);
  *(int *)this = iVar2;
  this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));
  piVar5 = (ios_base *)((int)in_a2 + *(int *)(*in_a2 + -0xc));
  *(undefined4 *)this_00 = *(undefined4 *)(param_1 + 8);
  ios_base::_M_move(this_00,piVar5);
  wios::_M_cache_locale((wios *)this_00,(locale *)(this_00 + 0x6c));
  uVar4 = *(undefined4 *)(piVar5 + 0x70);
  iVar1 = piVar5[0x78];
  uVar3 = *(undefined4 *)(piVar5 + 0x74);
  *(undefined4 *)(piVar5 + 0x70) = 0;
  *(undefined4 *)(this_00 + 0x70) = uVar4;
  *(undefined4 *)(this_00 + 0x7c) = 0;
  this_00[0x78] = iVar1;
  *(undefined4 *)(this_00 + 0x74) = uVar3;
  iVar2 = *(int *)param_1;
  *(int *)this = iVar2;
                    /* try { // try from 002f764c to 002f7653 has its CatchHandler @ 002f7688 */
  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc);
  wfilebuf::wfilebuf((wfilebuf *)(this + 4),(wfilebuf *)(in_a2 + 1));
  *(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c) = (wfilebuf *)(this + 4);
  return;
}



void FUN_002f7580(int *param_1,int *param_2,int *param_3)

{
  ios_base iVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  ios_base *this;
  ios_base *piVar5;
  
  iVar2 = param_2[1];
  *param_1 = iVar2;
  this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc));
  piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc));
  *(int *)this = param_2[2];
  std::ios_base::_M_move(this,piVar5);
  std::wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));
  uVar4 = *(undefined4 *)(piVar5 + 0x70);
  iVar1 = piVar5[0x78];
  uVar3 = *(undefined4 *)(piVar5 + 0x74);
  *(undefined4 *)(piVar5 + 0x70) = 0;
  *(undefined4 *)(this + 0x70) = uVar4;
  *(undefined4 *)(this + 0x7c) = 0;
  this[0x78] = iVar1;
  *(undefined4 *)(this + 0x74) = uVar3;
  iVar2 = *param_2;
  *param_1 = iVar2;
                    /* try { // try from 002f764c to 002f7653 has its CatchHandler @ 002f7688 */
  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];
  std::wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));
  *(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1);
  return;
}


lui gp,0x14
addiu gp,gp,0x2c50
addu gp,gp,t9
addiu sp,sp,-0x38
lw v0,0x4(a1)
lw t9,-0x42c4(gp)
sw gp,0x10(sp)
sw ra,0x34(sp)
sw s5,0x30(sp)
or s5,a2,zero
sw s4,0x2c(sp)
addiu s4,a0,0x4
sw s3,0x28(sp)
or s3,a1,zero
sw s2,0x24(sp)
sw s1,0x20(sp)
or s1,a0,zero
sw s0,0x1c(sp)
sw v0,0x0(a0)
lw v1,0x0(a2)
lw s0,-0xc(v0)
lw v0,0x8(a1)
lw s2,-0xc(v1)
addu s0,a0,s0
or a0,s0,zero
addu s2,a2,s2
sw v0,0x0(s0)
bal 0x0030dddc
_or a1,s2,zero
addiu a1,s0,0x6c
lw gp,0x10(sp)
lw t9,-0x4284(gp)
bal 0x002ebaac
_or a0,s0,zero
addiu a1,s5,0x4
lw a2,0x70(s2)
or a0,s4,zero
lbu v0,0x78(s2)
lw gp,0x10(sp)
lw v1,0x74(s2)
sw zero,0x70(s2)
sw a2,0x70(s0)
sw zero,0x7c(s0)
sb v0,0x78(s0)
sw v1,0x74(s0)
lw v0,0x0(s3)
lw t9,-0x40cc(gp)
sw v0,0x0(s1)
lw v0,-0xc(v0)
lw v1,0xc(s3)
addu v0,s1,v0
bal 0x002f3834
_sw v1,0x0(v0)
lw v0,0x0(s1)
lw ra,0x34(sp)
lw s5,0x30(sp)
lw s3,0x28(sp)
lw v0,-0xc(v0)
lw s2,0x24(sp)
lw s0,0x1c(sp)
addu s1,s1,v0
sw s4,0x7c(s1)
lw s4,0x2c(sp)
lw s1,0x20(sp)
jr ra
_addiu sp,sp,0x38
(translation_unit "void FUN_002f7580(int *param_1,int *param_2,int *param_3)\n\n{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  ios_base *this;\n  ios_base *piVar5;\n  \n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc));\n  *(int *)this = param_2[2];\n  std::ios_base::_M_move(this,piVar5);\n  std::wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));\n  uVar4 = *(undefined4 *)(piVar5 + 0x70);\n  iVar1 = piVar5[0x78];\n  uVar3 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  *(undefined4 *)(this + 0x70) = uVar4;\n  *(undefined4 *)(this + 0x7c) = 0;\n  this[0x78] = iVar1;\n  *(undefined4 *)(this + 0x74) = uVar3;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n                    /* try { // try from 002f764c to 002f7653 has its CatchHandler @ 002f7688 */\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n  std::wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));\n  *(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1);\n  return;\n}\n\n" (function_definition "void FUN_002f7580(int *param_1,int *param_2,int *param_3)\n\n{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  ios_base *this;\n  ios_base *piVar5;\n  \n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc));\n  *(int *)this = param_2[2];\n  std::ios_base::_M_move(this,piVar5);\n  std::wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));\n  uVar4 = *(undefined4 *)(piVar5 + 0x70);\n  iVar1 = piVar5[0x78];\n  uVar3 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  *(undefined4 *)(this + 0x70) = uVar4;\n  *(undefined4 *)(this + 0x7c) = 0;\n  this[0x78] = iVar1;\n  *(undefined4 *)(this + 0x74) = uVar3;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n                    /* try { // try from 002f764c to 002f7653 has its CatchHandler @ 002f7688 */\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n  std::wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));\n  *(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1);\n  return;\n}" primitive_type (function_declarator "FUN_002f7580(int *param_1,int *param_2,int *param_3)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  ios_base *this;\n  ios_base *piVar5;\n  \n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc));\n  *(int *)this = param_2[2];\n  std::ios_base::_M_move(this,piVar5);\n  std::wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));\n  uVar4 = *(undefined4 *)(piVar5 + 0x70);\n  iVar1 = piVar5[0x78];\n  uVar3 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  *(undefined4 *)(this + 0x70) = uVar4;\n  *(undefined4 *)(this + 0x7c) = 0;\n  this[0x78] = iVar1;\n  *(undefined4 *)(this + 0x74) = uVar3;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n                    /* try { // try from 002f764c to 002f7653 has its CatchHandler @ 002f7688 */\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n  std::wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));\n  *(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1);\n  return;\n}" { (declaration "ios_base iVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "ios_base *this;" type_identifier (pointer_declarator "*this" * identifier) ;) (declaration "ios_base *piVar5;" type_identifier (pointer_declarator "*piVar5" * identifier) ;) (expression_statement "iVar2 = param_2[1];" (assignment_expression "iVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc));" (assignment_expression "this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc))" identifier = (cast_expression "(ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) ;) (expression_statement "piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc));" (assignment_expression "piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc))" identifier = (cast_expression "(ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc))" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + *(int *)(*param_3 + -0xc))" ( (binary_expression "(int)param_3 + *(int *)(*param_3 + -0xc)" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_3 + -0xc)" * (cast_expression "(int *)(*param_3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + -0xc)" ( (binary_expression "*param_3 + -0xc" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )))) ;) (expression_statement "*(int *)this = param_2[2];" (assignment_expression "*(int *)this = param_2[2]" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (labeled_statement "std::ios_base::_M_move(this,piVar5);" statement_identifier : (ERROR ":" :) (labeled_statement "ios_base::_M_move(this,piVar5);" statement_identifier : (ERROR ":" :) (expression_statement "_M_move(this,piVar5);" (call_expression "_M_move(this,piVar5)" identifier (argument_list "(this,piVar5)" ( identifier , identifier ))) ;))) (labeled_statement "std::wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));" statement_identifier : (ERROR ":" :) (labeled_statement "wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));" statement_identifier : (ERROR ":" :) (expression_statement "_M_cache_locale((wios *)this,(locale *)(this + 0x6c));" (call_expression "_M_cache_locale((wios *)this,(locale *)(this + 0x6c))" identifier (argument_list "((wios *)this,(locale *)(this + 0x6c))" ( (cast_expression "(wios *)this" ( (type_descriptor "wios *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(locale *)(this + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x6c)" ( (binary_expression "this + 0x6c" identifier + number_literal) ))) ))) ;))) (expression_statement "uVar4 = *(undefined4 *)(piVar5 + 0x70);" (assignment_expression "uVar4 = *(undefined4 *)(piVar5 + 0x70)" identifier = (pointer_expression "*(undefined4 *)(piVar5 + 0x70)" * (cast_expression "(undefined4 *)(piVar5 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x70)" ( (binary_expression "piVar5 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = piVar5[0x78];" (assignment_expression "iVar1 = piVar5[0x78]" identifier = (subscript_expression "piVar5[0x78]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *(undefined4 *)(piVar5 + 0x74);" (assignment_expression "uVar3 = *(undefined4 *)(piVar5 + 0x74)" identifier = (pointer_expression "*(undefined4 *)(piVar5 + 0x74)" * (cast_expression "(undefined4 *)(piVar5 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x74)" ( (binary_expression "piVar5 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(piVar5 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(piVar5 + 0x70) = 0" (pointer_expression "*(undefined4 *)(piVar5 + 0x70)" * (cast_expression "(undefined4 *)(piVar5 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x70)" ( (binary_expression "piVar5 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x70) = uVar4;" (assignment_expression "*(undefined4 *)(this + 0x70) = uVar4" (pointer_expression "*(undefined4 *)(this + 0x70)" * (cast_expression "(undefined4 *)(this + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x70)" ( (binary_expression "this + 0x70" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x7c) = 0" (pointer_expression "*(undefined4 *)(this + 0x7c)" * (cast_expression "(undefined4 *)(this + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[0x78] = iVar1;" (assignment_expression "this[0x78] = iVar1" (subscript_expression "this[0x78]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x74) = uVar3;" (assignment_expression "*(undefined4 *)(this + 0x74) = uVar3" (pointer_expression "*(undefined4 *)(this + 0x74)" * (cast_expression "(undefined4 *)(this + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) comment (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (labeled_statement "std::wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));" statement_identifier : (ERROR ":" :) (labeled_statement "wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));" statement_identifier : (ERROR ":" :) (expression_statement "wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));" (call_expression "wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1))" identifier (argument_list "((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1))" ( (cast_expression "(wfilebuf *)(param_1 + 1)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) , (cast_expression "(wfilebuf *)(param_3 + 1)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) ))) ))) ;))) (expression_statement "*(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1);" (assignment_expression "*(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1)" (pointer_expression "*(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" * (cast_expression "(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (type_descriptor "wfilebuf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) = (cast_expression "(wfilebuf *)(param_1 + 1)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wofstream::wofstream(std::wofstream&&) */\n\nvoid __thiscall std::wofstream::wofstream(wofstream *this,wofstream *param_1)\n\n{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *in_a2;\n  undefined4 uVar4;\n  ios_base *this_00;\n  ios_base *piVar5;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  *(int *)this = iVar2;\n  this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));\n  piVar5 = (ios_base *)((int)in_a2 + *(int *)(*in_a2 + -0xc));\n  *(undefined4 *)this_00 = *(undefined4 *)(param_1 + 8);\n  ios_base::_M_move(this_00,piVar5);\n  wios::_M_cache_locale((wios *)this_00,(locale *)(this_00 + 0x6c));\n  uVar4 = *(undefined4 *)(piVar5 + 0x70);\n  iVar1 = piVar5[0x78];\n  uVar3 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  *(undefined4 *)(this_00 + 0x70) = uVar4;\n  *(undefined4 *)(this_00 + 0x7c) = 0;\n  this_00[0x78] = iVar1;\n  *(undefined4 *)(this_00 + 0x74) = uVar3;\n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n                    /* try { // try from 002f764c to 002f7653 has its CatchHandler @ 002f7688 */\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc);\n  wfilebuf::wfilebuf((wfilebuf *)(this + 4),(wfilebuf *)(in_a2 + 1));\n  *(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c) = (wfilebuf *)(this + 4);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wofstream::wofstream(wofstream *this,wofstream *param_1)\n\n{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *in_a2;\n  undefined4 uVar4;\n  ios_base *this_00;\n  ios_base *piVar5;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  *(int *)this = iVar2;\n  this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));\n  piVar5 = (ios_base *)((int)in_a2 + *(int *)(*in_a2 + -0xc));\n  *(undefined4 *)this_00 = *(undefined4 *)(param_1 + 8);\n  ios_base::_M_move(this_00,piVar5);\n  wios::_M_cache_locale((wios *)this_00,(locale *)(this_00 + 0x6c));\n  uVar4 = *(undefined4 *)(piVar5 + 0x70);\n  iVar1 = piVar5[0x78];\n  uVar3 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  *(undefined4 *)(this_00 + 0x70) = uVar4;\n  *(undefined4 *)(this_00 + 0x7c) = 0;\n  this_00[0x78] = iVar1;\n  *(undefined4 *)(this_00 + 0x74) = uVar3;\n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n                    /* try { // try from 002f764c to 002f7653 has its CatchHandler @ 002f7688 */\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc);\n  wfilebuf::wfilebuf((wfilebuf *)(this + 4),(wfilebuf *)(in_a2 + 1));\n  *(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c) = (wfilebuf *)(this + 4);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wofstream::" identifier : : identifier : :) (function_declarator "wofstream(wofstream *this,wofstream *param_1)" identifier (parameter_list "(wofstream *this,wofstream *param_1)" ( (parameter_declaration "wofstream *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wofstream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  int *in_a2;\n  undefined4 uVar4;\n  ios_base *this_00;\n  ios_base *piVar5;\n  \n  iVar2 = *(int *)(param_1 + 4);\n  *(int *)this = iVar2;\n  this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));\n  piVar5 = (ios_base *)((int)in_a2 + *(int *)(*in_a2 + -0xc));\n  *(undefined4 *)this_00 = *(undefined4 *)(param_1 + 8);\n  ios_base::_M_move(this_00,piVar5);\n  wios::_M_cache_locale((wios *)this_00,(locale *)(this_00 + 0x6c));\n  uVar4 = *(undefined4 *)(piVar5 + 0x70);\n  iVar1 = piVar5[0x78];\n  uVar3 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  *(undefined4 *)(this_00 + 0x70) = uVar4;\n  *(undefined4 *)(this_00 + 0x7c) = 0;\n  this_00[0x78] = iVar1;\n  *(undefined4 *)(this_00 + 0x74) = uVar3;\n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n                    /* try { // try from 002f764c to 002f7653 has its CatchHandler @ 002f7688 */\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc);\n  wfilebuf::wfilebuf((wfilebuf *)(this + 4),(wfilebuf *)(in_a2 + 1));\n  *(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c) = (wfilebuf *)(this + 4);\n  return;\n}" { (declaration "ios_base iVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int *in_a2;" primitive_type (pointer_declarator "*in_a2" * identifier) ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "ios_base *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "ios_base *piVar5;" type_identifier (pointer_declarator "*piVar5" * identifier) ;) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)this = iVar2;" (assignment_expression "*(int *)this = iVar2" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));" (assignment_expression "this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc))" identifier = (cast_expression "(ios_base *)(this + *(int *)(iVar2 + -0xc))" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(iVar2 + -0xc))" ( (binary_expression "this + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) ;) (expression_statement "piVar5 = (ios_base *)((int)in_a2 + *(int *)(*in_a2 + -0xc));" (assignment_expression "piVar5 = (ios_base *)((int)in_a2 + *(int *)(*in_a2 + -0xc))" identifier = (cast_expression "(ios_base *)((int)in_a2 + *(int *)(*in_a2 + -0xc))" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)in_a2 + *(int *)(*in_a2 + -0xc))" ( (binary_expression "(int)in_a2 + *(int *)(*in_a2 + -0xc)" (cast_expression "(int)in_a2" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*in_a2 + -0xc)" * (cast_expression "(int *)(*in_a2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*in_a2 + -0xc)" ( (binary_expression "*in_a2 + -0xc" (pointer_expression "*in_a2" * identifier) + number_literal) ))))) )))) ;) (expression_statement "*(undefined4 *)this_00 = *(undefined4 *)(param_1 + 8);" (assignment_expression "*(undefined4 *)this_00 = *(undefined4 *)(param_1 + 8)" (pointer_expression "*(undefined4 *)this_00" * (cast_expression "(undefined4 *)this_00" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (labeled_statement "ios_base::_M_move(this_00,piVar5);" statement_identifier : (ERROR ":" :) (expression_statement "_M_move(this_00,piVar5);" (call_expression "_M_move(this_00,piVar5)" identifier (argument_list "(this_00,piVar5)" ( identifier , identifier ))) ;)) (labeled_statement "wios::_M_cache_locale((wios *)this_00,(locale *)(this_00 + 0x6c));" statement_identifier : (ERROR ":" :) (expression_statement "_M_cache_locale((wios *)this_00,(locale *)(this_00 + 0x6c));" (call_expression "_M_cache_locale((wios *)this_00,(locale *)(this_00 + 0x6c))" identifier (argument_list "((wios *)this_00,(locale *)(this_00 + 0x6c))" ( (cast_expression "(wios *)this_00" ( (type_descriptor "wios *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(locale *)(this_00 + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x6c)" ( (binary_expression "this_00 + 0x6c" identifier + number_literal) ))) ))) ;)) (expression_statement "uVar4 = *(undefined4 *)(piVar5 + 0x70);" (assignment_expression "uVar4 = *(undefined4 *)(piVar5 + 0x70)" identifier = (pointer_expression "*(undefined4 *)(piVar5 + 0x70)" * (cast_expression "(undefined4 *)(piVar5 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x70)" ( (binary_expression "piVar5 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = piVar5[0x78];" (assignment_expression "iVar1 = piVar5[0x78]" identifier = (subscript_expression "piVar5[0x78]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *(undefined4 *)(piVar5 + 0x74);" (assignment_expression "uVar3 = *(undefined4 *)(piVar5 + 0x74)" identifier = (pointer_expression "*(undefined4 *)(piVar5 + 0x74)" * (cast_expression "(undefined4 *)(piVar5 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x74)" ( (binary_expression "piVar5 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(piVar5 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(piVar5 + 0x70) = 0" (pointer_expression "*(undefined4 *)(piVar5 + 0x70)" * (cast_expression "(undefined4 *)(piVar5 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x70)" ( (binary_expression "piVar5 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 0x70) = uVar4;" (assignment_expression "*(undefined4 *)(this_00 + 0x70) = uVar4" (pointer_expression "*(undefined4 *)(this_00 + 0x70)" * (cast_expression "(undefined4 *)(this_00 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x70)" ( (binary_expression "this_00 + 0x70" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this_00 + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x7c) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x7c)" * (cast_expression "(undefined4 *)(this_00 + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x7c)" ( (binary_expression "this_00 + 0x7c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this_00[0x78] = iVar1;" (assignment_expression "this_00[0x78] = iVar1" (subscript_expression "this_00[0x78]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(this_00 + 0x74) = uVar3;" (assignment_expression "*(undefined4 *)(this_00 + 0x74) = uVar3" (pointer_expression "*(undefined4 *)(this_00 + 0x74)" * (cast_expression "(undefined4 *)(this_00 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x74)" ( (binary_expression "this_00 + 0x74" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = *(int *)param_1;" (assignment_expression "iVar2 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(int *)this = iVar2;" (assignment_expression "*(int *)this = iVar2" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) comment (expression_statement "*(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "*(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc)" (pointer_expression "*(undefined4 *)(this + *(int *)(iVar2 + -0xc))" * (cast_expression "(undefined4 *)(this + *(int *)(iVar2 + -0xc))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(iVar2 + -0xc))" ( (binary_expression "this + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (labeled_statement "wfilebuf::wfilebuf((wfilebuf *)(this + 4),(wfilebuf *)(in_a2 + 1));" statement_identifier : (ERROR ":" :) (expression_statement "wfilebuf((wfilebuf *)(this + 4),(wfilebuf *)(in_a2 + 1));" (call_expression "wfilebuf((wfilebuf *)(this + 4),(wfilebuf *)(in_a2 + 1))" identifier (argument_list "((wfilebuf *)(this + 4),(wfilebuf *)(in_a2 + 1))" ( (cast_expression "(wfilebuf *)(this + 4)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))) , (cast_expression "(wfilebuf *)(in_a2 + 1)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_a2 + 1)" ( (binary_expression "in_a2 + 1" identifier + number_literal) ))) ))) ;)) (expression_statement "*(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c) = (wfilebuf *)(this + 4);" (assignment_expression "*(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c) = (wfilebuf *)(this + 4)" (pointer_expression "*(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c)" * (cast_expression "(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c)" ( (type_descriptor "wfilebuf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc) + 0x7c)" ( (binary_expression "this + *(int *)(*(int *)this + -0xc) + 0x7c" (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) )))) = (cast_expression "(wfilebuf *)(this + 4)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002f7580(int *param_1,int *param_2,int *param_3)\n\n{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  ios_base *this;\n  ios_base *piVar5;\n  \n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc));\n  *(int *)this = param_2[2];\n  std::ios_base::_M_move(this,piVar5);\n  std::wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));\n  uVar4 = *(undefined4 *)(piVar5 + 0x70);\n  iVar1 = piVar5[0x78];\n  uVar3 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  *(undefined4 *)(this + 0x70) = uVar4;\n  *(undefined4 *)(this + 0x7c) = 0;\n  this[0x78] = iVar1;\n  *(undefined4 *)(this + 0x74) = uVar3;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n                    \n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n  std::wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));\n  *(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1);\n  return;\n}\n\n" (function_definition "void FUN_002f7580(int *param_1,int *param_2,int *param_3)\n\n{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  ios_base *this;\n  ios_base *piVar5;\n  \n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc));\n  *(int *)this = param_2[2];\n  std::ios_base::_M_move(this,piVar5);\n  std::wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));\n  uVar4 = *(undefined4 *)(piVar5 + 0x70);\n  iVar1 = piVar5[0x78];\n  uVar3 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  *(undefined4 *)(this + 0x70) = uVar4;\n  *(undefined4 *)(this + 0x7c) = 0;\n  this[0x78] = iVar1;\n  *(undefined4 *)(this + 0x74) = uVar3;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n                    \n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n  std::wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));\n  *(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1);\n  return;\n}" primitive_type (function_declarator "FUN_002f7580(int *param_1,int *param_2,int *param_3)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  ios_base *this;\n  ios_base *piVar5;\n  \n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc));\n  *(int *)this = param_2[2];\n  std::ios_base::_M_move(this,piVar5);\n  std::wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));\n  uVar4 = *(undefined4 *)(piVar5 + 0x70);\n  iVar1 = piVar5[0x78];\n  uVar3 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  *(undefined4 *)(this + 0x70) = uVar4;\n  *(undefined4 *)(this + 0x7c) = 0;\n  this[0x78] = iVar1;\n  *(undefined4 *)(this + 0x74) = uVar3;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n                    \n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n  std::wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));\n  *(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1);\n  return;\n}" { (declaration "ios_base iVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "ios_base *this;" type_identifier (pointer_declarator "*this" * identifier) ;) (declaration "ios_base *piVar5;" type_identifier (pointer_declarator "*piVar5" * identifier) ;) (expression_statement "iVar2 = param_2[1];" (assignment_expression "iVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc));" (assignment_expression "this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc))" identifier = (cast_expression "(ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) ;) (expression_statement "piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc));" (assignment_expression "piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc))" identifier = (cast_expression "(ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc))" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + *(int *)(*param_3 + -0xc))" ( (binary_expression "(int)param_3 + *(int *)(*param_3 + -0xc)" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_3 + -0xc)" * (cast_expression "(int *)(*param_3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + -0xc)" ( (binary_expression "*param_3 + -0xc" (pointer_expression "*param_3" * identifier) + number_literal) ))))) )))) ;) (expression_statement "*(int *)this = param_2[2];" (assignment_expression "*(int *)this = param_2[2]" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (labeled_statement "std::ios_base::_M_move(this,piVar5);" statement_identifier : (ERROR ":" :) (labeled_statement "ios_base::_M_move(this,piVar5);" statement_identifier : (ERROR ":" :) (expression_statement "_M_move(this,piVar5);" (call_expression "_M_move(this,piVar5)" identifier (argument_list "(this,piVar5)" ( identifier , identifier ))) ;))) (labeled_statement "std::wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));" statement_identifier : (ERROR ":" :) (labeled_statement "wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));" statement_identifier : (ERROR ":" :) (expression_statement "_M_cache_locale((wios *)this,(locale *)(this + 0x6c));" (call_expression "_M_cache_locale((wios *)this,(locale *)(this + 0x6c))" identifier (argument_list "((wios *)this,(locale *)(this + 0x6c))" ( (cast_expression "(wios *)this" ( (type_descriptor "wios *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(locale *)(this + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x6c)" ( (binary_expression "this + 0x6c" identifier + number_literal) ))) ))) ;))) (expression_statement "uVar4 = *(undefined4 *)(piVar5 + 0x70);" (assignment_expression "uVar4 = *(undefined4 *)(piVar5 + 0x70)" identifier = (pointer_expression "*(undefined4 *)(piVar5 + 0x70)" * (cast_expression "(undefined4 *)(piVar5 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x70)" ( (binary_expression "piVar5 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = piVar5[0x78];" (assignment_expression "iVar1 = piVar5[0x78]" identifier = (subscript_expression "piVar5[0x78]" identifier [ number_literal ])) ;) (expression_statement "uVar3 = *(undefined4 *)(piVar5 + 0x74);" (assignment_expression "uVar3 = *(undefined4 *)(piVar5 + 0x74)" identifier = (pointer_expression "*(undefined4 *)(piVar5 + 0x74)" * (cast_expression "(undefined4 *)(piVar5 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x74)" ( (binary_expression "piVar5 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(piVar5 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(piVar5 + 0x70) = 0" (pointer_expression "*(undefined4 *)(piVar5 + 0x70)" * (cast_expression "(undefined4 *)(piVar5 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x70)" ( (binary_expression "piVar5 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x70) = uVar4;" (assignment_expression "*(undefined4 *)(this + 0x70) = uVar4" (pointer_expression "*(undefined4 *)(this + 0x70)" * (cast_expression "(undefined4 *)(this + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x70)" ( (binary_expression "this + 0x70" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x7c) = 0" (pointer_expression "*(undefined4 *)(this + 0x7c)" * (cast_expression "(undefined4 *)(this + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[0x78] = iVar1;" (assignment_expression "this[0x78] = iVar1" (subscript_expression "this[0x78]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x74) = uVar3;" (assignment_expression "*(undefined4 *)(this + 0x74) = uVar3" (pointer_expression "*(undefined4 *)(this + 0x74)" * (cast_expression "(undefined4 *)(this + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x74)" ( (binary_expression "this + 0x74" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (labeled_statement "std::wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));" statement_identifier : (ERROR ":" :) (labeled_statement "wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));" statement_identifier : (ERROR ":" :) (expression_statement "wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));" (call_expression "wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1))" identifier (argument_list "((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1))" ( (cast_expression "(wfilebuf *)(param_1 + 1)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) , (cast_expression "(wfilebuf *)(param_3 + 1)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 1)" ( (binary_expression "param_3 + 1" identifier + number_literal) ))) ))) ;))) (expression_statement "*(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1);" (assignment_expression "*(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1)" (pointer_expression "*(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" * (cast_expression "(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (type_descriptor "wfilebuf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) = (cast_expression "(wfilebuf *)(param_1 + 1)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;))) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) ))) ;))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (ERROR :) (labeled_statement statement_identifier : (ERROR :) (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) ))) ;))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) )))) = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (return_statement return ;) })))
(function_definition "void FUN_002f7580(int *param_1,int *param_2,int *param_3)\n\n{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  ios_base *this;\n  ios_base *piVar5;\n  \n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc));\n  *(int *)this = param_2[2];\n  std::ios_base::_M_move(this,piVar5);\n  std::wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));\n  uVar4 = *(undefined4 *)(piVar5 + 0x70);\n  iVar1 = piVar5[0x78];\n  uVar3 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  *(undefined4 *)(this + 0x70) = uVar4;\n  *(undefined4 *)(this + 0x7c) = 0;\n  this[0x78] = iVar1;\n  *(undefined4 *)(this + 0x74) = uVar3;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n                    \n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n  std::wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));\n  *(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002f7580(int *param_1,int *param_2,int *param_3)" (identifier "FUN_002f7580") (parameter_list "(int *param_1,int *param_2,int *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  ios_base *this;\n  ios_base *piVar5;\n  \n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc));\n  piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc));\n  *(int *)this = param_2[2];\n  std::ios_base::_M_move(this,piVar5);\n  std::wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));\n  uVar4 = *(undefined4 *)(piVar5 + 0x70);\n  iVar1 = piVar5[0x78];\n  uVar3 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  *(undefined4 *)(this + 0x70) = uVar4;\n  *(undefined4 *)(this + 0x7c) = 0;\n  this[0x78] = iVar1;\n  *(undefined4 *)(this + 0x74) = uVar3;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n                    \n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n  std::wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));\n  *(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1);\n  return;\n}" ({ "{") (declaration "ios_base iVar1;" (type_identifier "ios_base") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "ios_base *this;" (type_identifier "ios_base") (pointer_declarator "*this" (* "*") (identifier "this")) (; ";")) (declaration "ios_base *piVar5;" (type_identifier "ios_base") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (expression_statement "iVar2 = param_2[1];" (assignment_expression "iVar2 = param_2[1]" (identifier "iVar2") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc));" (assignment_expression "this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc))" (identifier "this") (= "=") (cast_expression "(ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (type_descriptor "ios_base *" (type_identifier "ios_base") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (; ";")) (expression_statement "piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc));" (assignment_expression "piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc))" (identifier "piVar5") (= "=") (cast_expression "(ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc))" (( "(") (type_descriptor "ios_base *" (type_identifier "ios_base") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_3 + *(int *)(*param_3 + -0xc))" (( "(") (binary_expression "(int)param_3 + *(int *)(*param_3 + -0xc)" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (pointer_expression "*(int *)(*param_3 + -0xc)" (* "*") (cast_expression "(int *)(*param_3 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + -0xc)" (( "(") (binary_expression "*param_3 + -0xc" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (; ";")) (expression_statement "*(int *)this = param_2[2];" (assignment_expression "*(int *)this = param_2[2]" (pointer_expression "*(int *)this" (* "*") (cast_expression "(int *)this" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this"))) (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (labeled_statement "std::ios_base::_M_move(this,piVar5);" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "ios_base::_M_move(this,piVar5);" (statement_identifier "ios_base") (: ":") (ERROR ":" (: ":")) (expression_statement "_M_move(this,piVar5);" (call_expression "_M_move(this,piVar5)" (identifier "_M_move") (argument_list "(this,piVar5)" (( "(") (identifier "this") (, ",") (identifier "piVar5") () ")"))) (; ";")))) (labeled_statement "std::wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));" (statement_identifier "wios") (: ":") (ERROR ":" (: ":")) (expression_statement "_M_cache_locale((wios *)this,(locale *)(this + 0x6c));" (call_expression "_M_cache_locale((wios *)this,(locale *)(this + 0x6c))" (identifier "_M_cache_locale") (argument_list "((wios *)this,(locale *)(this + 0x6c))" (( "(") (cast_expression "(wios *)this" (( "(") (type_descriptor "wios *" (type_identifier "wios") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "this")) (, ",") (cast_expression "(locale *)(this + 0x6c)" (( "(") (type_descriptor "locale *" (type_identifier "locale") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x6c)" (( "(") (binary_expression "this + 0x6c" (identifier "this") (+ "+") (number_literal "0x6c")) () ")"))) () ")"))) (; ";")))) (expression_statement "uVar4 = *(undefined4 *)(piVar5 + 0x70);" (assignment_expression "uVar4 = *(undefined4 *)(piVar5 + 0x70)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(piVar5 + 0x70)" (* "*") (cast_expression "(undefined4 *)(piVar5 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar5 + 0x70)" (( "(") (binary_expression "piVar5 + 0x70" (identifier "piVar5") (+ "+") (number_literal "0x70")) () ")"))))) (; ";")) (expression_statement "iVar1 = piVar5[0x78];" (assignment_expression "iVar1 = piVar5[0x78]" (identifier "iVar1") (= "=") (subscript_expression "piVar5[0x78]" (identifier "piVar5") ([ "[") (number_literal "0x78") (] "]"))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(piVar5 + 0x74);" (assignment_expression "uVar3 = *(undefined4 *)(piVar5 + 0x74)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(piVar5 + 0x74)" (* "*") (cast_expression "(undefined4 *)(piVar5 + 0x74)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar5 + 0x74)" (( "(") (binary_expression "piVar5 + 0x74" (identifier "piVar5") (+ "+") (number_literal "0x74")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(piVar5 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(piVar5 + 0x70) = 0" (pointer_expression "*(undefined4 *)(piVar5 + 0x70)" (* "*") (cast_expression "(undefined4 *)(piVar5 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar5 + 0x70)" (( "(") (binary_expression "piVar5 + 0x70" (identifier "piVar5") (+ "+") (number_literal "0x70")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(this + 0x70) = uVar4;" (assignment_expression "*(undefined4 *)(this + 0x70) = uVar4" (pointer_expression "*(undefined4 *)(this + 0x70)" (* "*") (cast_expression "(undefined4 *)(this + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x70)" (( "(") (binary_expression "this + 0x70" (identifier "this") (+ "+") (number_literal "0x70")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "*(undefined4 *)(this + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x7c) = 0" (pointer_expression "*(undefined4 *)(this + 0x7c)" (* "*") (cast_expression "(undefined4 *)(this + 0x7c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x7c)" (( "(") (binary_expression "this + 0x7c" (identifier "this") (+ "+") (number_literal "0x7c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "this[0x78] = iVar1;" (assignment_expression "this[0x78] = iVar1" (subscript_expression "this[0x78]" (identifier "this") ([ "[") (number_literal "0x78") (] "]")) (= "=") (identifier "iVar1")) (; ";")) (expression_statement "*(undefined4 *)(this + 0x74) = uVar3;" (assignment_expression "*(undefined4 *)(this + 0x74) = uVar3" (pointer_expression "*(undefined4 *)(this + 0x74)" (* "*") (cast_expression "(undefined4 *)(this + 0x74)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x74)" (( "(") (binary_expression "this + 0x74" (identifier "this") (+ "+") (number_literal "0x74")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" (identifier "iVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" (* "*") (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (labeled_statement "std::wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));" (statement_identifier "std") (: ":") (ERROR ":" (: ":")) (labeled_statement "wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));" (statement_identifier "wfilebuf") (: ":") (ERROR ":" (: ":")) (expression_statement "wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));" (call_expression "wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1))" (identifier "wfilebuf") (argument_list "((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1))" (( "(") (cast_expression "(wfilebuf *)(param_1 + 1)" (( "(") (type_descriptor "wfilebuf *" (type_identifier "wfilebuf") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (, ",") (cast_expression "(wfilebuf *)(param_3 + 1)" (( "(") (type_descriptor "wfilebuf *" (type_identifier "wfilebuf") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 1)" (( "(") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1")) () ")"))) () ")"))) (; ";")))) (expression_statement "*(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1);" (assignment_expression "*(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1)" (pointer_expression "*(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (* "*") (cast_expression "(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (( "(") (type_descriptor "wfilebuf **" (type_identifier "wfilebuf") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0x7c")) () ")")))) (= "=") (cast_expression "(wfilebuf *)(param_1 + 1)" (( "(") (type_descriptor "wfilebuf *" (type_identifier "wfilebuf") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wofstream::wofstream(std::wofstream&&) */

void __thiscall std::function_1::function_1(function_1 *var_2,function_1 *var_1)

{
  type_1 iVar1;
  int var_3;
  type_2 uVar3;
  int *var_9;
  type_2 uVar4;
  type_1 *var_6;
  type_1 *var_7;
  
  var_3 = *(int *)(var_1 + 4);
  *(int *)var_2 = var_3;
  var_6 = (type_1 *)(var_2 + *(int *)(var_3 + -0xc));
  var_7 = (type_1 *)((int)var_9 + *(int *)(*var_9 + -0xc));
  *(type_2 *)var_6 = *(type_2 *)(var_1 + 8);
  ios_base::var_4(var_6,var_7);
  wios::var_5((type_3 *)var_6,(type_4 *)(var_6 + 0x6c));
  uVar4 = *(type_2 *)(var_7 + 0x70);
  iVar1 = var_7[0x78];
  uVar3 = *(type_2 *)(var_7 + 0x74);
  *(type_2 *)(var_7 + 0x70) = 0;
  *(type_2 *)(var_6 + 0x70) = uVar4;
  *(type_2 *)(var_6 + 0x7c) = 0;
  var_6[0x78] = iVar1;
  *(type_2 *)(var_6 + 0x74) = uVar3;
  var_3 = *(int *)var_1;
  *(int *)var_2 = var_3;
                    /* try { // try from 002f764c to 002f7653 has its CatchHandler @ 002f7688 */
  *(type_2 *)(var_2 + *(int *)(var_3 + -0xc)) = *(type_2 *)(var_1 + 0xc);
  wfilebuf::var_8((var_8 *)(var_2 + 4),(var_8 *)(var_9 + 1));
  *(var_8 **)(var_2 + *(int *)(*(int *)var_2 + -0xc) + 0x7c) = (var_8 *)(var_2 + 4);
  return;
}


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

void MASKED(int *param_1,int *param_2,int *param_3)

{
  ios_base iVar1;
  int iVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  ios_base *this;
  ios_base *piVar5;
  
  iVar2 = param_2[1];
  *param_1 = iVar2;
  this = (ios_base *)((int)param_1 + *(int *)(iVar2 + -0xc));
  piVar5 = (ios_base *)((int)param_3 + *(int *)(*param_3 + -0xc));
  *(int *)this = param_2[2];
  std::ios_base::_M_move(this,piVar5);
  std::wios::_M_cache_locale((wios *)this,(locale *)(this + 0x6c));
  uVar4 = *(undefined4 *)(piVar5 + 0x70);
  iVar1 = piVar5[0x78];
  uVar3 = *(undefined4 *)(piVar5 + 0x74);
  *(undefined4 *)(piVar5 + 0x70) = 0;
  *(undefined4 *)(this + 0x70) = uVar4;
  *(undefined4 *)(this + 0x7c) = 0;
  this[0x78] = iVar1;
  *(undefined4 *)(this + 0x74) = uVar3;
  iVar2 = *param_2;
  *param_1 = iVar2;
                    /* try { // try from 002f764c to 002f7653 has its CatchHandler @ 002f7688 */
  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];
  std::wfilebuf::wfilebuf((wfilebuf *)(param_1 + 1),(wfilebuf *)(param_3 + 1));
  *(wfilebuf **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = (wfilebuf *)(param_1 + 1);
  return;
}

