
/* std::wstreambuf::wstreambuf(std::wstreambuf const&) */

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

{
  undefined *puVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  
  puVar1 = PTR_vtable_004c51f4;
  uVar6 = *(undefined4 *)(param_1 + 8);
  uVar5 = *(undefined4 *)(param_1 + 0xc);
  uVar4 = *(undefined4 *)(param_1 + 0x10);
  uVar3 = *(undefined4 *)(param_1 + 0x14);
  uVar2 = *(undefined4 *)(param_1 + 0x18);
  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);
  *(undefined4 *)(this + 8) = uVar6;
  *(undefined4 *)(this + 0xc) = uVar5;
  *(undefined4 *)(this + 0x10) = uVar4;
  *(undefined **)this = puVar1 + 8;
  *(undefined4 *)(this + 0x14) = uVar3;
  *(undefined4 *)(this + 0x18) = uVar2;
  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));
  return;
}



/* std::wstreambuf::wstreambuf(std::wstreambuf const&) */

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

{
  undefined *puVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  
  puVar1 = PTR_vtable_004c51f4;
  uVar6 = *(undefined4 *)(param_1 + 8);
  uVar5 = *(undefined4 *)(param_1 + 0xc);
  uVar4 = *(undefined4 *)(param_1 + 0x10);
  uVar3 = *(undefined4 *)(param_1 + 0x14);
  uVar2 = *(undefined4 *)(param_1 + 0x18);
  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);
  *(undefined4 *)(this + 8) = uVar6;
  *(undefined4 *)(this + 0xc) = uVar5;
  *(undefined4 *)(this + 0x10) = uVar4;
  *(undefined **)this = puVar1 + 8;
  *(undefined4 *)(this + 0x14) = uVar3;
  *(undefined4 *)(this + 0x18) = uVar2;
  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));
  return;
}


lui gp,0x19
addiu gp,gp,-0x6edc
addu gp,gp,t9
or v1,a1,zero
lw t3,0x4(a1)
or v0,a0,zero
lw t9,-0x651c(gp)
lw t2,0x8(v1)
addiu a1,a1,0x1c
lw t1,0xc(v1)
addiu a0,a0,0x1c
lw t0,0x10(v1)
lw a3,0x14(v1)
lw a2,0x18(v1)
lw v1,-0x404c(gp)
sw t3,0x4(v0)
sw t2,0x8(v0)
addiu v1,v1,0x8
sw t1,0xc(v0)
sw t0,0x10(v0)
sw v1,0x0(v0)
sw a3,0x14(v0)
b 0x003338cc
_sw a2,0x18(v0)
(translation_unit "/* std::wstreambuf::wstreambuf(std::wstreambuf const&) */\n\nvoid __thiscall std::wstreambuf::wstreambuf(wstreambuf *this,wstreambuf *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_vtable_004c51f4;\n  uVar6 = *(undefined4 *)(param_1 + 8);\n  uVar5 = *(undefined4 *)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x10);\n  uVar3 = *(undefined4 *)(param_1 + 0x14);\n  uVar2 = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = uVar6;\n  *(undefined4 *)(this + 0xc) = uVar5;\n  *(undefined4 *)(this + 0x10) = uVar4;\n  *(undefined **)this = puVar1 + 8;\n  *(undefined4 *)(this + 0x14) = uVar3;\n  *(undefined4 *)(this + 0x18) = uVar2;\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wstreambuf::wstreambuf(wstreambuf *this,wstreambuf *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_vtable_004c51f4;\n  uVar6 = *(undefined4 *)(param_1 + 8);\n  uVar5 = *(undefined4 *)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x10);\n  uVar3 = *(undefined4 *)(param_1 + 0x14);\n  uVar2 = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = uVar6;\n  *(undefined4 *)(this + 0xc) = uVar5;\n  *(undefined4 *)(this + 0x10) = uVar4;\n  *(undefined **)this = puVar1 + 8;\n  *(undefined4 *)(this + 0x14) = uVar3;\n  *(undefined4 *)(this + 0x18) = uVar2;\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstreambuf::" identifier : : identifier : :) (function_declarator "wstreambuf(wstreambuf *this,wstreambuf *param_1)" identifier (parameter_list "(wstreambuf *this,wstreambuf *param_1)" ( (parameter_declaration "wstreambuf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wstreambuf *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_vtable_004c51f4;\n  uVar6 = *(undefined4 *)(param_1 + 8);\n  uVar5 = *(undefined4 *)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x10);\n  uVar3 = *(undefined4 *)(param_1 + 0x14);\n  uVar2 = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = uVar6;\n  *(undefined4 *)(this + 0xc) = uVar5;\n  *(undefined4 *)(this + 0x10) = uVar4;\n  *(undefined **)this = puVar1 + 8;\n  *(undefined4 *)(this + 0x14) = uVar3;\n  *(undefined4 *)(this + 0x18) = uVar2;\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_vtable_004c51f4;" (assignment_expression "puVar1 = PTR_vtable_004c51f4" identifier = identifier) ;) (expression_statement "uVar6 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar6 = *(undefined4 *)(param_1 + 8)" 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) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 0xc)" identifier = (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) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x10);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(param_1 + 0x14);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);" (assignment_expression "*(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4)" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 8) = uVar6;" (assignment_expression "*(undefined4 *)(this + 8) = uVar6" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0xc) = uVar5;" (assignment_expression "*(undefined4 *)(this + 0xc) = uVar5" (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x10) = uVar4;" (assignment_expression "*(undefined4 *)(this + 0x10) = uVar4" (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined **)this = puVar1 + 8;" (assignment_expression "*(undefined **)this = puVar1 + 8" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "puVar1 + 8" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(this + 0x14) = uVar3;" (assignment_expression "*(undefined4 *)(this + 0x14) = uVar3" (pointer_expression "*(undefined4 *)(this + 0x14)" * (cast_expression "(undefined4 *)(this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x18) = uVar2;" (assignment_expression "*(undefined4 *)(this + 0x18) = uVar2" (pointer_expression "*(undefined4 *)(this + 0x18)" * (cast_expression "(undefined4 *)(this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = identifier) ;) (labeled_statement "locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));" statement_identifier : (ERROR ":" :) (expression_statement "locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));" (call_expression "locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c))" identifier (argument_list "((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c))" ( (cast_expression "(locale *)(this + 0x1c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x1c)" ( (binary_expression "this + 0x1c" identifier + number_literal) ))) , (cast_expression "(locale *)(param_1 + 0x1c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "/* std::wstreambuf::wstreambuf(std::wstreambuf const&) */\n\nvoid __thiscall std::wstreambuf::wstreambuf(wstreambuf *this,wstreambuf *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_vtable_004c51f4;\n  uVar6 = *(undefined4 *)(param_1 + 8);\n  uVar5 = *(undefined4 *)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x10);\n  uVar3 = *(undefined4 *)(param_1 + 0x14);\n  uVar2 = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = uVar6;\n  *(undefined4 *)(this + 0xc) = uVar5;\n  *(undefined4 *)(this + 0x10) = uVar4;\n  *(undefined **)this = puVar1 + 8;\n  *(undefined4 *)(this + 0x14) = uVar3;\n  *(undefined4 *)(this + 0x18) = uVar2;\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wstreambuf::wstreambuf(wstreambuf *this,wstreambuf *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_vtable_004c51f4;\n  uVar6 = *(undefined4 *)(param_1 + 8);\n  uVar5 = *(undefined4 *)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x10);\n  uVar3 = *(undefined4 *)(param_1 + 0x14);\n  uVar2 = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = uVar6;\n  *(undefined4 *)(this + 0xc) = uVar5;\n  *(undefined4 *)(this + 0x10) = uVar4;\n  *(undefined **)this = puVar1 + 8;\n  *(undefined4 *)(this + 0x14) = uVar3;\n  *(undefined4 *)(this + 0x18) = uVar2;\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstreambuf::" identifier : : identifier : :) (function_declarator "wstreambuf(wstreambuf *this,wstreambuf *param_1)" identifier (parameter_list "(wstreambuf *this,wstreambuf *param_1)" ( (parameter_declaration "wstreambuf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wstreambuf *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_vtable_004c51f4;\n  uVar6 = *(undefined4 *)(param_1 + 8);\n  uVar5 = *(undefined4 *)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x10);\n  uVar3 = *(undefined4 *)(param_1 + 0x14);\n  uVar2 = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = uVar6;\n  *(undefined4 *)(this + 0xc) = uVar5;\n  *(undefined4 *)(this + 0x10) = uVar4;\n  *(undefined **)this = puVar1 + 8;\n  *(undefined4 *)(this + 0x14) = uVar3;\n  *(undefined4 *)(this + 0x18) = uVar2;\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_vtable_004c51f4;" (assignment_expression "puVar1 = PTR_vtable_004c51f4" identifier = identifier) ;) (expression_statement "uVar6 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar6 = *(undefined4 *)(param_1 + 8)" 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) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 0xc)" identifier = (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) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x10);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(param_1 + 0x14);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);" (assignment_expression "*(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4)" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 8) = uVar6;" (assignment_expression "*(undefined4 *)(this + 8) = uVar6" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0xc) = uVar5;" (assignment_expression "*(undefined4 *)(this + 0xc) = uVar5" (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x10) = uVar4;" (assignment_expression "*(undefined4 *)(this + 0x10) = uVar4" (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined **)this = puVar1 + 8;" (assignment_expression "*(undefined **)this = puVar1 + 8" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "puVar1 + 8" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(this + 0x14) = uVar3;" (assignment_expression "*(undefined4 *)(this + 0x14) = uVar3" (pointer_expression "*(undefined4 *)(this + 0x14)" * (cast_expression "(undefined4 *)(this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x18) = uVar2;" (assignment_expression "*(undefined4 *)(this + 0x18) = uVar2" (pointer_expression "*(undefined4 *)(this + 0x18)" * (cast_expression "(undefined4 *)(this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = identifier) ;) (labeled_statement "locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));" statement_identifier : (ERROR ":" :) (expression_statement "locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));" (call_expression "locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c))" identifier (argument_list "((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c))" ( (cast_expression "(locale *)(this + 0x1c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x1c)" ( (binary_expression "this + 0x1c" identifier + number_literal) ))) , (cast_expression "(locale *)(param_1 + 0x1c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void __thiscall std::wstreambuf::wstreambuf(wstreambuf *this,wstreambuf *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_vtable_004c51f4;\n  uVar6 = *(undefined4 *)(param_1 + 8);\n  uVar5 = *(undefined4 *)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x10);\n  uVar3 = *(undefined4 *)(param_1 + 0x14);\n  uVar2 = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = uVar6;\n  *(undefined4 *)(this + 0xc) = uVar5;\n  *(undefined4 *)(this + 0x10) = uVar4;\n  *(undefined **)this = puVar1 + 8;\n  *(undefined4 *)(this + 0x14) = uVar3;\n  *(undefined4 *)(this + 0x18) = uVar2;\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}\n\n" (function_definition "void __thiscall std::wstreambuf::wstreambuf(wstreambuf *this,wstreambuf *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_vtable_004c51f4;\n  uVar6 = *(undefined4 *)(param_1 + 8);\n  uVar5 = *(undefined4 *)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x10);\n  uVar3 = *(undefined4 *)(param_1 + 0x14);\n  uVar2 = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = uVar6;\n  *(undefined4 *)(this + 0xc) = uVar5;\n  *(undefined4 *)(this + 0x10) = uVar4;\n  *(undefined **)this = puVar1 + 8;\n  *(undefined4 *)(this + 0x14) = uVar3;\n  *(undefined4 *)(this + 0x18) = uVar2;\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wstreambuf::" identifier : : identifier : :) (function_declarator "wstreambuf(wstreambuf *this,wstreambuf *param_1)" identifier (parameter_list "(wstreambuf *this,wstreambuf *param_1)" ( (parameter_declaration "wstreambuf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wstreambuf *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_vtable_004c51f4;\n  uVar6 = *(undefined4 *)(param_1 + 8);\n  uVar5 = *(undefined4 *)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x10);\n  uVar3 = *(undefined4 *)(param_1 + 0x14);\n  uVar2 = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = uVar6;\n  *(undefined4 *)(this + 0xc) = uVar5;\n  *(undefined4 *)(this + 0x10) = uVar4;\n  *(undefined **)this = puVar1 + 8;\n  *(undefined4 *)(this + 0x14) = uVar3;\n  *(undefined4 *)(this + 0x18) = uVar2;\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_vtable_004c51f4;" (assignment_expression "puVar1 = PTR_vtable_004c51f4" identifier = identifier) ;) (expression_statement "uVar6 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar6 = *(undefined4 *)(param_1 + 8)" 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) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 0xc)" identifier = (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) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x10);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(param_1 + 0x14);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 0x14)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x18)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);" (assignment_expression "*(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4)" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 8) = uVar6;" (assignment_expression "*(undefined4 *)(this + 8) = uVar6" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0xc) = uVar5;" (assignment_expression "*(undefined4 *)(this + 0xc) = uVar5" (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x10) = uVar4;" (assignment_expression "*(undefined4 *)(this + 0x10) = uVar4" (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined **)this = puVar1 + 8;" (assignment_expression "*(undefined **)this = puVar1 + 8" (pointer_expression "*(undefined **)this" * (cast_expression "(undefined **)this" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) = (binary_expression "puVar1 + 8" identifier + number_literal)) ;) (expression_statement "*(undefined4 *)(this + 0x14) = uVar3;" (assignment_expression "*(undefined4 *)(this + 0x14) = uVar3" (pointer_expression "*(undefined4 *)(this + 0x14)" * (cast_expression "(undefined4 *)(this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0x18) = uVar2;" (assignment_expression "*(undefined4 *)(this + 0x18) = uVar2" (pointer_expression "*(undefined4 *)(this + 0x18)" * (cast_expression "(undefined4 *)(this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = identifier) ;) (labeled_statement "locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));" statement_identifier : (ERROR ":" :) (expression_statement "locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));" (call_expression "locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c))" identifier (argument_list "((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c))" ( (cast_expression "(locale *)(this + 0x1c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x1c)" ( (binary_expression "this + 0x1c" identifier + number_literal) ))) , (cast_expression "(locale *)(param_1 + 0x1c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ms_call_modifier __thiscall) (ERROR IDENT : : IDENT : :) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 = (pointer_expression * (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 = (pointer_expression * (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (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) )))) = 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 (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 * (abstract_pointer_declarator *))) ) IDENT)) = (binary_expression IDENT + 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) )))) = IDENT) ;) (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) ))) ))) ;)) (return_statement return ;) })))
(function_definition "void __thiscall std::wstreambuf::wstreambuf(wstreambuf *this,wstreambuf *param_1)\n\n{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_vtable_004c51f4;\n  uVar6 = *(undefined4 *)(param_1 + 8);\n  uVar5 = *(undefined4 *)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x10);\n  uVar3 = *(undefined4 *)(param_1 + 0x14);\n  uVar2 = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = uVar6;\n  *(undefined4 *)(this + 0xc) = uVar5;\n  *(undefined4 *)(this + 0x10) = uVar4;\n  *(undefined **)this = puVar1 + 8;\n  *(undefined4 *)(this + 0x14) = uVar3;\n  *(undefined4 *)(this + 0x18) = uVar2;\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}" (primitive_type "void") (ms_call_modifier "__thiscall" (__thiscall "__thiscall")) (ERROR "std::wstreambuf::" (identifier "std") (: ":") (: ":") (identifier "wstreambuf") (: ":") (: ":")) (function_declarator "wstreambuf(wstreambuf *this,wstreambuf *param_1)" (identifier "wstreambuf") (parameter_list "(wstreambuf *this,wstreambuf *param_1)" (( "(") (parameter_declaration "wstreambuf *this" (type_identifier "wstreambuf") (pointer_declarator "*this" (* "*") (identifier "this"))) (, ",") (parameter_declaration "wstreambuf *param_1" (type_identifier "wstreambuf") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 uVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  undefined4 uVar5;\n  undefined4 uVar6;\n  \n  puVar1 = PTR_vtable_004c51f4;\n  uVar6 = *(undefined4 *)(param_1 + 8);\n  uVar5 = *(undefined4 *)(param_1 + 0xc);\n  uVar4 = *(undefined4 *)(param_1 + 0x10);\n  uVar3 = *(undefined4 *)(param_1 + 0x14);\n  uVar2 = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 8) = uVar6;\n  *(undefined4 *)(this + 0xc) = uVar5;\n  *(undefined4 *)(this + 0x10) = uVar4;\n  *(undefined **)this = puVar1 + 8;\n  *(undefined4 *)(this + 0x14) = uVar3;\n  *(undefined4 *)(this + 0x18) = uVar2;\n  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "undefined4 uVar4;" (type_identifier "undefined4") (identifier "uVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (expression_statement "puVar1 = PTR_vtable_004c51f4;" (assignment_expression "puVar1 = PTR_vtable_004c51f4" (identifier "puVar1") (= "=") (identifier "PTR_vtable_004c51f4")) (; ";")) (expression_statement "uVar6 = *(undefined4 *)(param_1 + 8);" (assignment_expression "uVar6 = *(undefined4 *)(param_1 + 8)" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 0xc)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "uVar4 = *(undefined4 *)(param_1 + 0x10);" (assignment_expression "uVar4 = *(undefined4 *)(param_1 + 0x10)" (identifier "uVar4") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(param_1 + 0x14);" (assignment_expression "uVar3 = *(undefined4 *)(param_1 + 0x14)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x14)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 0x18)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x18)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);" (assignment_expression "*(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4)" (pointer_expression "*(undefined4 *)(this + 4)" (* "*") (cast_expression "(undefined4 *)(this + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 4)" (( "(") (binary_expression "this + 4" (identifier "this") (+ "+") (number_literal "4")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(this + 8) = uVar6;" (assignment_expression "*(undefined4 *)(this + 8) = uVar6" (pointer_expression "*(undefined4 *)(this + 8)" (* "*") (cast_expression "(undefined4 *)(this + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 8)" (( "(") (binary_expression "this + 8" (identifier "this") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "*(undefined4 *)(this + 0xc) = uVar5;" (assignment_expression "*(undefined4 *)(this + 0xc) = uVar5" (pointer_expression "*(undefined4 *)(this + 0xc)" (* "*") (cast_expression "(undefined4 *)(this + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0xc)" (( "(") (binary_expression "this + 0xc" (identifier "this") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "*(undefined4 *)(this + 0x10) = uVar4;" (assignment_expression "*(undefined4 *)(this + 0x10) = uVar4" (pointer_expression "*(undefined4 *)(this + 0x10)" (* "*") (cast_expression "(undefined4 *)(this + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x10)" (( "(") (binary_expression "this + 0x10" (identifier "this") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (identifier "uVar4")) (; ";")) (expression_statement "*(undefined **)this = puVar1 + 8;" (assignment_expression "*(undefined **)this = puVar1 + 8" (pointer_expression "*(undefined **)this" (* "*") (cast_expression "(undefined **)this" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "this"))) (= "=") (binary_expression "puVar1 + 8" (identifier "puVar1") (+ "+") (number_literal "8"))) (; ";")) (expression_statement "*(undefined4 *)(this + 0x14) = uVar3;" (assignment_expression "*(undefined4 *)(this + 0x14) = uVar3" (pointer_expression "*(undefined4 *)(this + 0x14)" (* "*") (cast_expression "(undefined4 *)(this + 0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x14)" (( "(") (binary_expression "this + 0x14" (identifier "this") (+ "+") (number_literal "0x14")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(undefined4 *)(this + 0x18) = uVar2;" (assignment_expression "*(undefined4 *)(this + 0x18) = uVar2" (pointer_expression "*(undefined4 *)(this + 0x18)" (* "*") (cast_expression "(undefined4 *)(this + 0x18)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x18)" (( "(") (binary_expression "this + 0x18" (identifier "this") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (labeled_statement "locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));" (statement_identifier "locale") (: ":") (ERROR ":" (: ":")) (expression_statement "locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));" (call_expression "locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c))" (identifier "locale") (argument_list "((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c))" (( "(") (cast_expression "(locale *)(this + 0x1c)" (( "(") (type_descriptor "locale *" (type_identifier "locale") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(this + 0x1c)" (( "(") (binary_expression "this + 0x1c" (identifier "this") (+ "+") (number_literal "0x1c")) () ")"))) (, ",") (cast_expression "(locale *)(param_1 + 0x1c)" (( "(") (type_descriptor "locale *" (type_identifier "locale") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))) () ")"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wstreambuf::wstreambuf(std::wstreambuf const&) */

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

{
  type_1 *var_3;
  type_2 uVar2;
  type_2 uVar3;
  type_2 uVar4;
  type_2 uVar5;
  type_2 uVar6;
  
  var_3 = PTR_vtable_004c51f4;
  uVar6 = *(type_2 *)(var_1 + 8);
  uVar5 = *(type_2 *)(var_1 + 0xc);
  uVar4 = *(type_2 *)(var_1 + 0x10);
  uVar3 = *(type_2 *)(var_1 + 0x14);
  uVar2 = *(type_2 *)(var_1 + 0x18);
  *(type_2 *)(var_2 + 4) = *(type_2 *)(var_1 + 4);
  *(type_2 *)(var_2 + 8) = uVar6;
  *(type_2 *)(var_2 + 0xc) = uVar5;
  *(type_2 *)(var_2 + 0x10) = uVar4;
  *(type_1 **)var_2 = var_3 + 8;
  *(type_2 *)(var_2 + 0x14) = uVar3;
  *(type_2 *)(var_2 + 0x18) = uVar2;
  locale::var_4((var_4 *)(var_2 + 0x1c),(var_4 *)(var_1 + 0x1c));
  return;
}


(translation_unit (function_definition type: (primitive_type) (ms_call_modifier) (ERROR (identifier) (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (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: (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: (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: (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: (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: (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: (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 declarator: (abstract_pointer_declarator))) value: (identifier))) right: (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: (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))) (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)))))))) (return_statement))))

/* std::MASKED::MASKED(std::MASKED const&) */

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

{
  undefined *puVar1;
  undefined4 uVar2;
  undefined4 uVar3;
  undefined4 uVar4;
  undefined4 uVar5;
  undefined4 uVar6;
  
  puVar1 = PTR_vtable_004c51f4;
  uVar6 = *(undefined4 *)(param_1 + 8);
  uVar5 = *(undefined4 *)(param_1 + 0xc);
  uVar4 = *(undefined4 *)(param_1 + 0x10);
  uVar3 = *(undefined4 *)(param_1 + 0x14);
  uVar2 = *(undefined4 *)(param_1 + 0x18);
  *(undefined4 *)(this + 4) = *(undefined4 *)(param_1 + 4);
  *(undefined4 *)(this + 8) = uVar6;
  *(undefined4 *)(this + 0xc) = uVar5;
  *(undefined4 *)(this + 0x10) = uVar4;
  *(undefined **)this = puVar1 + 8;
  *(undefined4 *)(this + 0x14) = uVar3;
  *(undefined4 *)(this + 0x18) = uVar2;
  locale::locale((locale *)(this + 0x1c),(locale *)(param_1 + 0x1c));
  return;
}

