
/* std::wiostream::wiostream(std::wiostream&&) */

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

{
  ios_base *this_00;
  ios_base iVar1;
  undefined8 uVar2;
  long lVar3;
  ios_base *piVar4;
  
  this_00 = (ios_base *)(this + 0x18);
  ios_base::ios_base(this_00);
  this[0xfc] = (wiostream)0x0;
  *(undefined8 *)this = 0x456550;
  *(undefined8 *)(this + 0x18) = 0x456578;
  uVar2 = *(undefined8 *)(param_1 + 8);
  *(undefined8 *)(this + 0xf0) = 0;
  *(undefined8 *)(this + 8) = uVar2;
  lVar3 = *(long *)param_1;
  *(undefined4 *)(this + 0xf8) = 0;
  *(undefined8 *)(this + 0x100) = 0;
  lVar3 = *(long *)(lVar3 + -0x18);
  *(undefined8 *)(this + 0x108) = 0;
  *(undefined8 *)(this + 0x110) = 0;
  piVar4 = (ios_base *)(param_1 + lVar3);
  *(undefined8 *)(this + 0x118) = 0;
  ios_base::_M_move(this_00,piVar4);
                    /* try { // try from 0034b69f to 0034b6a3 has its CatchHandler @ 0034b713 */
  wios::_M_cache_locale((wios *)this_00,(locale *)(this + 0xe8));
  uVar2 = *(undefined8 *)(piVar4 + 0xd8);
  *(undefined8 *)(piVar4 + 0xd8) = 0;
  *(undefined8 *)(this + 0xf0) = uVar2;
  *(undefined4 *)(this + 0xf8) = *(undefined4 *)(piVar4 + 0xe0);
  iVar1 = piVar4[0xe4];
  *(undefined8 *)(this + 0x100) = 0;
  *(ios_base *)(this + 0xfc) = iVar1;
  *(undefined8 *)(param_1 + 8) = 0;
  *(undefined8 *)this = 0x4565d8;
  *(undefined8 *)(this + 0x18) = 0x456628;
  *(undefined8 *)(this + 0x10) = 0x456600;
  return;
}



void FUN_0034b600(undefined8 *param_1,long *param_2)

{
  undefined8 *puVar1;
  undefined1 uVar2;
  undefined8 uVar3;
  long lVar4;
  
  puVar1 = param_1 + 3;
  FUN_0032dcb0(puVar1);
  *(undefined1 *)((long)param_1 + 0xfc) = 0;
  *param_1 = &DAT_00456550;
  param_1[3] = &DAT_00456578;
  lVar4 = param_2[1];
  param_1[0x1e] = 0;
  param_1[1] = lVar4;
  lVar4 = *param_2;
  *(undefined4 *)(param_1 + 0x1f) = 0;
  param_1[0x20] = 0;
  lVar4 = *(long *)(lVar4 + -0x18);
  param_1[0x21] = 0;
  param_1[0x22] = 0;
  lVar4 = lVar4 + (long)param_2;
  param_1[0x23] = 0;
  FUN_0032e080(puVar1,lVar4);
                    /* try { // try from 0034b69f to 0034b6a3 has its CatchHandler @ 0034b713 */
  FUN_003167b0(puVar1,param_1 + 0x1d);
  uVar3 = *(undefined8 *)(lVar4 + 0xd8);
  *(undefined8 *)(lVar4 + 0xd8) = 0;
  param_1[0x1e] = uVar3;
  *(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0);
  uVar2 = *(undefined1 *)(lVar4 + 0xe4);
  param_1[0x20] = 0;
  *(undefined1 *)((long)param_1 + 0xfc) = uVar2;
  param_2[1] = 0;
  *param_1 = &PTR_FUN_004565d8;
  param_1[3] = &PTR_FUN_00456628;
  param_1[2] = &PTR_FUN_00456600;
  return;
}


PUSH R13
LEA R13,[RDI + 0x18]
PUSH R12
MOV R12,RSI
PUSH RBP
PUSH RBX
MOV RBX,RDI
MOV RDI,R13
SUB RSP,0x8
CALL 0x0032dcb0
LEA RAX,[0x456550]
MOV byte ptr [RBX + 0xfc],0x0
MOV RDI,R13
MOV qword ptr [RBX],RAX
ADD RAX,0x28
MOV qword ptr [RBX + 0x18],RAX
MOV RAX,qword ptr [R12 + 0x8]
MOV qword ptr [RBX + 0xf0],0x0
MOV qword ptr [RBX + 0x8],RAX
MOV RAX,qword ptr [R12]
MOV dword ptr [RBX + 0xf8],0x0
MOV qword ptr [RBX + 0x100],0x0
MOV RBP,qword ptr [RAX + -0x18]
MOV qword ptr [RBX + 0x108],0x0
MOV qword ptr [RBX + 0x110],0x0
ADD RBP,R12
MOV qword ptr [RBX + 0x118],0x0
MOV RSI,RBP
CALL 0x0032e080
LEA RSI,[RBX + 0xe8]
MOV RDI,R13
CALL 0x003167b0
MOV RAX,qword ptr [RBP + 0xd8]
MOV qword ptr [RBP + 0xd8],0x0
MOV qword ptr [RBX + 0xf0],RAX
MOV EAX,dword ptr [RBP + 0xe0]
MOV dword ptr [RBX + 0xf8],EAX
MOVZX EAX,byte ptr [RBP + 0xe4]
MOV qword ptr [RBX + 0x100],0x0
MOV byte ptr [RBX + 0xfc],AL
LEA RAX,[0x4565c0]
MOV qword ptr [R12 + 0x8],0x0
LEA RDX,[RAX + 0x18]
MOV qword ptr [RBX],RDX
LEA RDX,[RAX + 0x68]
ADD RAX,0x40
MOV qword ptr [RBX + 0x18],RDX
MOV qword ptr [RBX + 0x10],RAX
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
(translation_unit "void FUN_0034b600(undefined8 *param_1,long *param_2)\n\n{\n  undefined8 *puVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = param_1 + 3;\n  FUN_0032dcb0(puVar1);\n  *(undefined1 *)((long)param_1 + 0xfc) = 0;\n  *param_1 = &DAT_00456550;\n  param_1[3] = &DAT_00456578;\n  lVar4 = param_2[1];\n  param_1[0x1e] = 0;\n  param_1[1] = lVar4;\n  lVar4 = *param_2;\n  *(undefined4 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  lVar4 = *(long *)(lVar4 + -0x18);\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  lVar4 = lVar4 + (long)param_2;\n  param_1[0x23] = 0;\n  FUN_0032e080(puVar1,lVar4);\n                    /* try { // try from 0034b69f to 0034b6a3 has its CatchHandler @ 0034b713 */\n  FUN_003167b0(puVar1,param_1 + 0x1d);\n  uVar3 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = 0;\n  param_1[0x1e] = uVar3;\n  *(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0);\n  uVar2 = *(undefined1 *)(lVar4 + 0xe4);\n  param_1[0x20] = 0;\n  *(undefined1 *)((long)param_1 + 0xfc) = uVar2;\n  param_2[1] = 0;\n  *param_1 = &PTR_FUN_004565d8;\n  param_1[3] = &PTR_FUN_00456628;\n  param_1[2] = &PTR_FUN_00456600;\n  return;\n}\n\n" (function_definition "void FUN_0034b600(undefined8 *param_1,long *param_2)\n\n{\n  undefined8 *puVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = param_1 + 3;\n  FUN_0032dcb0(puVar1);\n  *(undefined1 *)((long)param_1 + 0xfc) = 0;\n  *param_1 = &DAT_00456550;\n  param_1[3] = &DAT_00456578;\n  lVar4 = param_2[1];\n  param_1[0x1e] = 0;\n  param_1[1] = lVar4;\n  lVar4 = *param_2;\n  *(undefined4 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  lVar4 = *(long *)(lVar4 + -0x18);\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  lVar4 = lVar4 + (long)param_2;\n  param_1[0x23] = 0;\n  FUN_0032e080(puVar1,lVar4);\n                    /* try { // try from 0034b69f to 0034b6a3 has its CatchHandler @ 0034b713 */\n  FUN_003167b0(puVar1,param_1 + 0x1d);\n  uVar3 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = 0;\n  param_1[0x1e] = uVar3;\n  *(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0);\n  uVar2 = *(undefined1 *)(lVar4 + 0xe4);\n  param_1[0x20] = 0;\n  *(undefined1 *)((long)param_1 + 0xfc) = uVar2;\n  param_2[1] = 0;\n  *param_1 = &PTR_FUN_004565d8;\n  param_1[3] = &PTR_FUN_00456628;\n  param_1[2] = &PTR_FUN_00456600;\n  return;\n}" primitive_type (function_declarator "FUN_0034b600(undefined8 *param_1,long *param_2)" identifier (parameter_list "(undefined8 *param_1,long *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = param_1 + 3;\n  FUN_0032dcb0(puVar1);\n  *(undefined1 *)((long)param_1 + 0xfc) = 0;\n  *param_1 = &DAT_00456550;\n  param_1[3] = &DAT_00456578;\n  lVar4 = param_2[1];\n  param_1[0x1e] = 0;\n  param_1[1] = lVar4;\n  lVar4 = *param_2;\n  *(undefined4 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  lVar4 = *(long *)(lVar4 + -0x18);\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  lVar4 = lVar4 + (long)param_2;\n  param_1[0x23] = 0;\n  FUN_0032e080(puVar1,lVar4);\n                    /* try { // try from 0034b69f to 0034b6a3 has its CatchHandler @ 0034b713 */\n  FUN_003167b0(puVar1,param_1 + 0x1d);\n  uVar3 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = 0;\n  param_1[0x1e] = uVar3;\n  *(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0);\n  uVar2 = *(undefined1 *)(lVar4 + 0xe4);\n  param_1[0x20] = 0;\n  *(undefined1 *)((long)param_1 + 0xfc) = uVar2;\n  param_2[1] = 0;\n  *param_1 = &PTR_FUN_004565d8;\n  param_1[3] = &PTR_FUN_00456628;\n  param_1[2] = &PTR_FUN_00456600;\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (expression_statement "puVar1 = param_1 + 3;" (assignment_expression "puVar1 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (expression_statement "FUN_0032dcb0(puVar1);" (call_expression "FUN_0032dcb0(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0xfc) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xfc) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0xfc)" * (cast_expression "(undefined1 *)((long)param_1 + 0xfc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xfc)" ( (binary_expression "(long)param_1 + 0xfc" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*param_1 = &DAT_00456550;" (assignment_expression "*param_1 = &DAT_00456550" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_00456550" & identifier)) ;) (expression_statement "param_1[3] = &DAT_00456578;" (assignment_expression "param_1[3] = &DAT_00456578" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "&DAT_00456578" & identifier)) ;) (expression_statement "lVar4 = param_2[1];" (assignment_expression "lVar4 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = lVar4;" (assignment_expression "param_1[1] = lVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "lVar4 = *param_2;" (assignment_expression "lVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1f) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1f) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1f)" * (cast_expression "(undefined4 *)(param_1 + 0x1f)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "lVar4 = *(long *)(lVar4 + -0x18);" (assignment_expression "lVar4 = *(long *)(lVar4 + -0x18)" identifier = (pointer_expression "*(long *)(lVar4 + -0x18)" * (cast_expression "(long *)(lVar4 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -0x18)" ( (binary_expression "lVar4 + -0x18" identifier + number_literal) ))))) ;) (expression_statement "param_1[0x21] = 0;" (assignment_expression "param_1[0x21] = 0" (subscript_expression "param_1[0x21]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x22] = 0;" (assignment_expression "param_1[0x22] = 0" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "lVar4 = lVar4 + (long)param_2;" (assignment_expression "lVar4 = lVar4 + (long)param_2" identifier = (binary_expression "lVar4 + (long)param_2" identifier + (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "param_1[0x23] = 0;" (assignment_expression "param_1[0x23] = 0" (subscript_expression "param_1[0x23]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0032e080(puVar1,lVar4);" (call_expression "FUN_0032e080(puVar1,lVar4)" identifier (argument_list "(puVar1,lVar4)" ( identifier , identifier ))) ;) comment (expression_statement "FUN_003167b0(puVar1,param_1 + 0x1d);" (call_expression "FUN_003167b0(puVar1,param_1 + 0x1d)" identifier (argument_list "(puVar1,param_1 + 0x1d)" ( identifier , (binary_expression "param_1 + 0x1d" identifier + number_literal) ))) ;) (expression_statement "uVar3 = *(undefined8 *)(lVar4 + 0xd8);" (assignment_expression "uVar3 = *(undefined8 *)(lVar4 + 0xd8)" identifier = (pointer_expression "*(undefined8 *)(lVar4 + 0xd8)" * (cast_expression "(undefined8 *)(lVar4 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xd8)" ( (binary_expression "lVar4 + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar4 + 0xd8) = 0;" (assignment_expression "*(undefined8 *)(lVar4 + 0xd8) = 0" (pointer_expression "*(undefined8 *)(lVar4 + 0xd8)" * (cast_expression "(undefined8 *)(lVar4 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xd8)" ( (binary_expression "lVar4 + 0xd8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x1e] = uVar3;" (assignment_expression "param_1[0x1e] = uVar3" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0);" (assignment_expression "*(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0)" (pointer_expression "*(undefined4 *)(param_1 + 0x1f)" * (cast_expression "(undefined4 *)(param_1 + 0x1f)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(lVar4 + 0xe0)" * (cast_expression "(undefined4 *)(lVar4 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xe0)" ( (binary_expression "lVar4 + 0xe0" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined1 *)(lVar4 + 0xe4);" (assignment_expression "uVar2 = *(undefined1 *)(lVar4 + 0xe4)" identifier = (pointer_expression "*(undefined1 *)(lVar4 + 0xe4)" * (cast_expression "(undefined1 *)(lVar4 + 0xe4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xe4)" ( (binary_expression "lVar4 + 0xe4" identifier + number_literal) ))))) ;) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0xfc) = uVar2;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xfc) = uVar2" (pointer_expression "*(undefined1 *)((long)param_1 + 0xfc)" * (cast_expression "(undefined1 *)((long)param_1 + 0xfc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xfc)" ( (binary_expression "(long)param_1 + 0xfc" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_004565d8;" (assignment_expression "*param_1 = &PTR_FUN_004565d8" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_004565d8" & identifier)) ;) (expression_statement "param_1[3] = &PTR_FUN_00456628;" (assignment_expression "param_1[3] = &PTR_FUN_00456628" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00456628" & identifier)) ;) (expression_statement "param_1[2] = &PTR_FUN_00456600;" (assignment_expression "param_1[2] = &PTR_FUN_00456600" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00456600" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wiostream::wiostream(std::wiostream&&) */\n\nvoid __thiscall std::wiostream::wiostream(wiostream *this,wiostream *param_1)\n\n{\n  ios_base *this_00;\n  ios_base iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  ios_base *piVar4;\n  \n  this_00 = (ios_base *)(this + 0x18);\n  ios_base::ios_base(this_00);\n  this[0xfc] = (wiostream)0x0;\n  *(undefined8 *)this = 0x456550;\n  *(undefined8 *)(this + 0x18) = 0x456578;\n  uVar2 = *(undefined8 *)(param_1 + 8);\n  *(undefined8 *)(this + 0xf0) = 0;\n  *(undefined8 *)(this + 8) = uVar2;\n  lVar3 = *(long *)param_1;\n  *(undefined4 *)(this + 0xf8) = 0;\n  *(undefined8 *)(this + 0x100) = 0;\n  lVar3 = *(long *)(lVar3 + -0x18);\n  *(undefined8 *)(this + 0x108) = 0;\n  *(undefined8 *)(this + 0x110) = 0;\n  piVar4 = (ios_base *)(param_1 + lVar3);\n  *(undefined8 *)(this + 0x118) = 0;\n  ios_base::_M_move(this_00,piVar4);\n                    /* try { // try from 0034b69f to 0034b6a3 has its CatchHandler @ 0034b713 */\n  wios::_M_cache_locale((wios *)this_00,(locale *)(this + 0xe8));\n  uVar2 = *(undefined8 *)(piVar4 + 0xd8);\n  *(undefined8 *)(piVar4 + 0xd8) = 0;\n  *(undefined8 *)(this + 0xf0) = uVar2;\n  *(undefined4 *)(this + 0xf8) = *(undefined4 *)(piVar4 + 0xe0);\n  iVar1 = piVar4[0xe4];\n  *(undefined8 *)(this + 0x100) = 0;\n  *(ios_base *)(this + 0xfc) = iVar1;\n  *(undefined8 *)(param_1 + 8) = 0;\n  *(undefined8 *)this = 0x4565d8;\n  *(undefined8 *)(this + 0x18) = 0x456628;\n  *(undefined8 *)(this + 0x10) = 0x456600;\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wiostream::wiostream(wiostream *this,wiostream *param_1)\n\n{\n  ios_base *this_00;\n  ios_base iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  ios_base *piVar4;\n  \n  this_00 = (ios_base *)(this + 0x18);\n  ios_base::ios_base(this_00);\n  this[0xfc] = (wiostream)0x0;\n  *(undefined8 *)this = 0x456550;\n  *(undefined8 *)(this + 0x18) = 0x456578;\n  uVar2 = *(undefined8 *)(param_1 + 8);\n  *(undefined8 *)(this + 0xf0) = 0;\n  *(undefined8 *)(this + 8) = uVar2;\n  lVar3 = *(long *)param_1;\n  *(undefined4 *)(this + 0xf8) = 0;\n  *(undefined8 *)(this + 0x100) = 0;\n  lVar3 = *(long *)(lVar3 + -0x18);\n  *(undefined8 *)(this + 0x108) = 0;\n  *(undefined8 *)(this + 0x110) = 0;\n  piVar4 = (ios_base *)(param_1 + lVar3);\n  *(undefined8 *)(this + 0x118) = 0;\n  ios_base::_M_move(this_00,piVar4);\n                    /* try { // try from 0034b69f to 0034b6a3 has its CatchHandler @ 0034b713 */\n  wios::_M_cache_locale((wios *)this_00,(locale *)(this + 0xe8));\n  uVar2 = *(undefined8 *)(piVar4 + 0xd8);\n  *(undefined8 *)(piVar4 + 0xd8) = 0;\n  *(undefined8 *)(this + 0xf0) = uVar2;\n  *(undefined4 *)(this + 0xf8) = *(undefined4 *)(piVar4 + 0xe0);\n  iVar1 = piVar4[0xe4];\n  *(undefined8 *)(this + 0x100) = 0;\n  *(ios_base *)(this + 0xfc) = iVar1;\n  *(undefined8 *)(param_1 + 8) = 0;\n  *(undefined8 *)this = 0x4565d8;\n  *(undefined8 *)(this + 0x18) = 0x456628;\n  *(undefined8 *)(this + 0x10) = 0x456600;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wiostream::" identifier : : identifier : :) (function_declarator "wiostream(wiostream *this,wiostream *param_1)" identifier (parameter_list "(wiostream *this,wiostream *param_1)" ( (parameter_declaration "wiostream *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wiostream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ios_base *this_00;\n  ios_base iVar1;\n  undefined8 uVar2;\n  long lVar3;\n  ios_base *piVar4;\n  \n  this_00 = (ios_base *)(this + 0x18);\n  ios_base::ios_base(this_00);\n  this[0xfc] = (wiostream)0x0;\n  *(undefined8 *)this = 0x456550;\n  *(undefined8 *)(this + 0x18) = 0x456578;\n  uVar2 = *(undefined8 *)(param_1 + 8);\n  *(undefined8 *)(this + 0xf0) = 0;\n  *(undefined8 *)(this + 8) = uVar2;\n  lVar3 = *(long *)param_1;\n  *(undefined4 *)(this + 0xf8) = 0;\n  *(undefined8 *)(this + 0x100) = 0;\n  lVar3 = *(long *)(lVar3 + -0x18);\n  *(undefined8 *)(this + 0x108) = 0;\n  *(undefined8 *)(this + 0x110) = 0;\n  piVar4 = (ios_base *)(param_1 + lVar3);\n  *(undefined8 *)(this + 0x118) = 0;\n  ios_base::_M_move(this_00,piVar4);\n                    /* try { // try from 0034b69f to 0034b6a3 has its CatchHandler @ 0034b713 */\n  wios::_M_cache_locale((wios *)this_00,(locale *)(this + 0xe8));\n  uVar2 = *(undefined8 *)(piVar4 + 0xd8);\n  *(undefined8 *)(piVar4 + 0xd8) = 0;\n  *(undefined8 *)(this + 0xf0) = uVar2;\n  *(undefined4 *)(this + 0xf8) = *(undefined4 *)(piVar4 + 0xe0);\n  iVar1 = piVar4[0xe4];\n  *(undefined8 *)(this + 0x100) = 0;\n  *(ios_base *)(this + 0xfc) = iVar1;\n  *(undefined8 *)(param_1 + 8) = 0;\n  *(undefined8 *)this = 0x4565d8;\n  *(undefined8 *)(this + 0x18) = 0x456628;\n  *(undefined8 *)(this + 0x10) = 0x456600;\n  return;\n}" { (declaration "ios_base *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "ios_base iVar1;" type_identifier identifier ;) (declaration "undefined8 uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ios_base *piVar4;" type_identifier (pointer_declarator "*piVar4" * identifier) ;) (expression_statement "this_00 = (ios_base *)(this + 0x18);" (assignment_expression "this_00 = (ios_base *)(this + 0x18)" identifier = (cast_expression "(ios_base *)(this + 0x18)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) ;) (labeled_statement "ios_base::ios_base(this_00);" statement_identifier : (ERROR ":" :) (expression_statement "ios_base(this_00);" (call_expression "ios_base(this_00)" identifier (argument_list "(this_00)" ( identifier ))) ;)) (expression_statement "this[0xfc] = (wiostream)0x0;" (assignment_expression "this[0xfc] = (wiostream)0x0" (subscript_expression "this[0xfc]" identifier [ number_literal ]) = (cast_expression "(wiostream)0x0" ( (type_descriptor "wiostream" type_identifier) ) number_literal)) ;) (expression_statement "*(undefined8 *)this = 0x456550;" (assignment_expression "*(undefined8 *)this = 0x456550" (pointer_expression "*(undefined8 *)this" * (cast_expression "(undefined8 *)this" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x18) = 0x456578;" (assignment_expression "*(undefined8 *)(this + 0x18) = 0x456578" (pointer_expression "*(undefined8 *)(this + 0x18)" * (cast_expression "(undefined8 *)(this + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = *(undefined8 *)(param_1 + 8);" (assignment_expression "uVar2 = *(undefined8 *)(param_1 + 8)" identifier = (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(this + 0xf0) = 0;" (assignment_expression "*(undefined8 *)(this + 0xf0) = 0" (pointer_expression "*(undefined8 *)(this + 0xf0)" * (cast_expression "(undefined8 *)(this + 0xf0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xf0)" ( (binary_expression "this + 0xf0" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 8) = uVar2;" (assignment_expression "*(undefined8 *)(this + 8) = uVar2" (pointer_expression "*(undefined8 *)(this + 8)" * (cast_expression "(undefined8 *)(this + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "lVar3 = *(long *)param_1;" (assignment_expression "lVar3 = *(long *)param_1" identifier = (pointer_expression "*(long *)param_1" * (cast_expression "(long *)param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(this + 0xf8) = 0;" (assignment_expression "*(undefined4 *)(this + 0xf8) = 0" (pointer_expression "*(undefined4 *)(this + 0xf8)" * (cast_expression "(undefined4 *)(this + 0xf8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xf8)" ( (binary_expression "this + 0xf8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x100) = 0;" (assignment_expression "*(undefined8 *)(this + 0x100) = 0" (pointer_expression "*(undefined8 *)(this + 0x100)" * (cast_expression "(undefined8 *)(this + 0x100)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x100)" ( (binary_expression "this + 0x100" identifier + number_literal) )))) = number_literal) ;) (expression_statement "lVar3 = *(long *)(lVar3 + -0x18);" (assignment_expression "lVar3 = *(long *)(lVar3 + -0x18)" identifier = (pointer_expression "*(long *)(lVar3 + -0x18)" * (cast_expression "(long *)(lVar3 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + -0x18)" ( (binary_expression "lVar3 + -0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(this + 0x108) = 0;" (assignment_expression "*(undefined8 *)(this + 0x108) = 0" (pointer_expression "*(undefined8 *)(this + 0x108)" * (cast_expression "(undefined8 *)(this + 0x108)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x108)" ( (binary_expression "this + 0x108" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x110) = 0;" (assignment_expression "*(undefined8 *)(this + 0x110) = 0" (pointer_expression "*(undefined8 *)(this + 0x110)" * (cast_expression "(undefined8 *)(this + 0x110)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x110)" ( (binary_expression "this + 0x110" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar4 = (ios_base *)(param_1 + lVar3);" (assignment_expression "piVar4 = (ios_base *)(param_1 + lVar3)" identifier = (cast_expression "(ios_base *)(param_1 + lVar3)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + lVar3)" ( (binary_expression "param_1 + lVar3" identifier + identifier) )))) ;) (expression_statement "*(undefined8 *)(this + 0x118) = 0;" (assignment_expression "*(undefined8 *)(this + 0x118) = 0" (pointer_expression "*(undefined8 *)(this + 0x118)" * (cast_expression "(undefined8 *)(this + 0x118)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x118)" ( (binary_expression "this + 0x118" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "ios_base::_M_move(this_00,piVar4);" statement_identifier : (ERROR ":" :) (expression_statement "_M_move(this_00,piVar4);" (call_expression "_M_move(this_00,piVar4)" identifier (argument_list "(this_00,piVar4)" ( identifier , identifier ))) ;)) comment (labeled_statement "wios::_M_cache_locale((wios *)this_00,(locale *)(this + 0xe8));" statement_identifier : (ERROR ":" :) (expression_statement "_M_cache_locale((wios *)this_00,(locale *)(this + 0xe8));" (call_expression "_M_cache_locale((wios *)this_00,(locale *)(this + 0xe8))" identifier (argument_list "((wios *)this_00,(locale *)(this + 0xe8))" ( (cast_expression "(wios *)this_00" ( (type_descriptor "wios *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(locale *)(this + 0xe8)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xe8)" ( (binary_expression "this + 0xe8" identifier + number_literal) ))) ))) ;)) (expression_statement "uVar2 = *(undefined8 *)(piVar4 + 0xd8);" (assignment_expression "uVar2 = *(undefined8 *)(piVar4 + 0xd8)" identifier = (pointer_expression "*(undefined8 *)(piVar4 + 0xd8)" * (cast_expression "(undefined8 *)(piVar4 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 0xd8)" ( (binary_expression "piVar4 + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(piVar4 + 0xd8) = 0;" (assignment_expression "*(undefined8 *)(piVar4 + 0xd8) = 0" (pointer_expression "*(undefined8 *)(piVar4 + 0xd8)" * (cast_expression "(undefined8 *)(piVar4 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 0xd8)" ( (binary_expression "piVar4 + 0xd8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0xf0) = uVar2;" (assignment_expression "*(undefined8 *)(this + 0xf0) = uVar2" (pointer_expression "*(undefined8 *)(this + 0xf0)" * (cast_expression "(undefined8 *)(this + 0xf0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xf0)" ( (binary_expression "this + 0xf0" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0xf8) = *(undefined4 *)(piVar4 + 0xe0);" (assignment_expression "*(undefined4 *)(this + 0xf8) = *(undefined4 *)(piVar4 + 0xe0)" (pointer_expression "*(undefined4 *)(this + 0xf8)" * (cast_expression "(undefined4 *)(this + 0xf8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xf8)" ( (binary_expression "this + 0xf8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(piVar4 + 0xe0)" * (cast_expression "(undefined4 *)(piVar4 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 0xe0)" ( (binary_expression "piVar4 + 0xe0" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = piVar4[0xe4];" (assignment_expression "iVar1 = piVar4[0xe4]" identifier = (subscript_expression "piVar4[0xe4]" identifier [ number_literal ])) ;) (expression_statement "*(undefined8 *)(this + 0x100) = 0;" (assignment_expression "*(undefined8 *)(this + 0x100) = 0" (pointer_expression "*(undefined8 *)(this + 0x100)" * (cast_expression "(undefined8 *)(this + 0x100)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x100)" ( (binary_expression "this + 0x100" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(ios_base *)(this + 0xfc) = iVar1;" (assignment_expression "*(ios_base *)(this + 0xfc) = iVar1" (pointer_expression "*(ios_base *)(this + 0xfc)" * (cast_expression "(ios_base *)(this + 0xfc)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xfc)" ( (binary_expression "this + 0xfc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(param_1 + 8) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 8) = 0" (pointer_expression "*(undefined8 *)(param_1 + 8)" * (cast_expression "(undefined8 *)(param_1 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)this = 0x4565d8;" (assignment_expression "*(undefined8 *)this = 0x4565d8" (pointer_expression "*(undefined8 *)this" * (cast_expression "(undefined8 *)this" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x18) = 0x456628;" (assignment_expression "*(undefined8 *)(this + 0x18) = 0x456628" (pointer_expression "*(undefined8 *)(this + 0x18)" * (cast_expression "(undefined8 *)(this + 0x18)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(this + 0x10) = 0x456600;" (assignment_expression "*(undefined8 *)(this + 0x10) = 0x456600" (pointer_expression "*(undefined8 *)(this + 0x10)" * (cast_expression "(undefined8 *)(this + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0034b600(undefined8 *param_1,long *param_2)\n\n{\n  undefined8 *puVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = param_1 + 3;\n  FUN_0032dcb0(puVar1);\n  *(undefined1 *)((long)param_1 + 0xfc) = 0;\n  *param_1 = &DAT_00456550;\n  param_1[3] = &DAT_00456578;\n  lVar4 = param_2[1];\n  param_1[0x1e] = 0;\n  param_1[1] = lVar4;\n  lVar4 = *param_2;\n  *(undefined4 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  lVar4 = *(long *)(lVar4 + -0x18);\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  lVar4 = lVar4 + (long)param_2;\n  param_1[0x23] = 0;\n  FUN_0032e080(puVar1,lVar4);\n                    \n  FUN_003167b0(puVar1,param_1 + 0x1d);\n  uVar3 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = 0;\n  param_1[0x1e] = uVar3;\n  *(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0);\n  uVar2 = *(undefined1 *)(lVar4 + 0xe4);\n  param_1[0x20] = 0;\n  *(undefined1 *)((long)param_1 + 0xfc) = uVar2;\n  param_2[1] = 0;\n  *param_1 = &PTR_FUN_004565d8;\n  param_1[3] = &PTR_FUN_00456628;\n  param_1[2] = &PTR_FUN_00456600;\n  return;\n}\n\n" (function_definition "void FUN_0034b600(undefined8 *param_1,long *param_2)\n\n{\n  undefined8 *puVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = param_1 + 3;\n  FUN_0032dcb0(puVar1);\n  *(undefined1 *)((long)param_1 + 0xfc) = 0;\n  *param_1 = &DAT_00456550;\n  param_1[3] = &DAT_00456578;\n  lVar4 = param_2[1];\n  param_1[0x1e] = 0;\n  param_1[1] = lVar4;\n  lVar4 = *param_2;\n  *(undefined4 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  lVar4 = *(long *)(lVar4 + -0x18);\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  lVar4 = lVar4 + (long)param_2;\n  param_1[0x23] = 0;\n  FUN_0032e080(puVar1,lVar4);\n                    \n  FUN_003167b0(puVar1,param_1 + 0x1d);\n  uVar3 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = 0;\n  param_1[0x1e] = uVar3;\n  *(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0);\n  uVar2 = *(undefined1 *)(lVar4 + 0xe4);\n  param_1[0x20] = 0;\n  *(undefined1 *)((long)param_1 + 0xfc) = uVar2;\n  param_2[1] = 0;\n  *param_1 = &PTR_FUN_004565d8;\n  param_1[3] = &PTR_FUN_00456628;\n  param_1[2] = &PTR_FUN_00456600;\n  return;\n}" primitive_type (function_declarator "FUN_0034b600(undefined8 *param_1,long *param_2)" identifier (parameter_list "(undefined8 *param_1,long *param_2)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = param_1 + 3;\n  FUN_0032dcb0(puVar1);\n  *(undefined1 *)((long)param_1 + 0xfc) = 0;\n  *param_1 = &DAT_00456550;\n  param_1[3] = &DAT_00456578;\n  lVar4 = param_2[1];\n  param_1[0x1e] = 0;\n  param_1[1] = lVar4;\n  lVar4 = *param_2;\n  *(undefined4 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  lVar4 = *(long *)(lVar4 + -0x18);\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  lVar4 = lVar4 + (long)param_2;\n  param_1[0x23] = 0;\n  FUN_0032e080(puVar1,lVar4);\n                    \n  FUN_003167b0(puVar1,param_1 + 0x1d);\n  uVar3 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = 0;\n  param_1[0x1e] = uVar3;\n  *(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0);\n  uVar2 = *(undefined1 *)(lVar4 + 0xe4);\n  param_1[0x20] = 0;\n  *(undefined1 *)((long)param_1 + 0xfc) = uVar2;\n  param_2[1] = 0;\n  *param_1 = &PTR_FUN_004565d8;\n  param_1[3] = &PTR_FUN_00456628;\n  param_1[2] = &PTR_FUN_00456600;\n  return;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "undefined8 uVar3;" type_identifier identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (expression_statement "puVar1 = param_1 + 3;" (assignment_expression "puVar1 = param_1 + 3" identifier = (binary_expression "param_1 + 3" identifier + number_literal)) ;) (expression_statement "FUN_0032dcb0(puVar1);" (call_expression "FUN_0032dcb0(puVar1)" identifier (argument_list "(puVar1)" ( identifier ))) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0xfc) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xfc) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0xfc)" * (cast_expression "(undefined1 *)((long)param_1 + 0xfc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xfc)" ( (binary_expression "(long)param_1 + 0xfc" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*param_1 = &DAT_00456550;" (assignment_expression "*param_1 = &DAT_00456550" (pointer_expression "*param_1" * identifier) = (pointer_expression "&DAT_00456550" & identifier)) ;) (expression_statement "param_1[3] = &DAT_00456578;" (assignment_expression "param_1[3] = &DAT_00456578" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "&DAT_00456578" & identifier)) ;) (expression_statement "lVar4 = param_2[1];" (assignment_expression "lVar4 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = lVar4;" (assignment_expression "param_1[1] = lVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "lVar4 = *param_2;" (assignment_expression "lVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1f) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1f) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1f)" * (cast_expression "(undefined4 *)(param_1 + 0x1f)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "lVar4 = *(long *)(lVar4 + -0x18);" (assignment_expression "lVar4 = *(long *)(lVar4 + -0x18)" identifier = (pointer_expression "*(long *)(lVar4 + -0x18)" * (cast_expression "(long *)(lVar4 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -0x18)" ( (binary_expression "lVar4 + -0x18" identifier + number_literal) ))))) ;) (expression_statement "param_1[0x21] = 0;" (assignment_expression "param_1[0x21] = 0" (subscript_expression "param_1[0x21]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x22] = 0;" (assignment_expression "param_1[0x22] = 0" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "lVar4 = lVar4 + (long)param_2;" (assignment_expression "lVar4 = lVar4 + (long)param_2" identifier = (binary_expression "lVar4 + (long)param_2" identifier + (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (expression_statement "param_1[0x23] = 0;" (assignment_expression "param_1[0x23] = 0" (subscript_expression "param_1[0x23]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_0032e080(puVar1,lVar4);" (call_expression "FUN_0032e080(puVar1,lVar4)" identifier (argument_list "(puVar1,lVar4)" ( identifier , identifier ))) ;) (expression_statement "FUN_003167b0(puVar1,param_1 + 0x1d);" (call_expression "FUN_003167b0(puVar1,param_1 + 0x1d)" identifier (argument_list "(puVar1,param_1 + 0x1d)" ( identifier , (binary_expression "param_1 + 0x1d" identifier + number_literal) ))) ;) (expression_statement "uVar3 = *(undefined8 *)(lVar4 + 0xd8);" (assignment_expression "uVar3 = *(undefined8 *)(lVar4 + 0xd8)" identifier = (pointer_expression "*(undefined8 *)(lVar4 + 0xd8)" * (cast_expression "(undefined8 *)(lVar4 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xd8)" ( (binary_expression "lVar4 + 0xd8" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(lVar4 + 0xd8) = 0;" (assignment_expression "*(undefined8 *)(lVar4 + 0xd8) = 0" (pointer_expression "*(undefined8 *)(lVar4 + 0xd8)" * (cast_expression "(undefined8 *)(lVar4 + 0xd8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xd8)" ( (binary_expression "lVar4 + 0xd8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x1e] = uVar3;" (assignment_expression "param_1[0x1e] = uVar3" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0);" (assignment_expression "*(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0)" (pointer_expression "*(undefined4 *)(param_1 + 0x1f)" * (cast_expression "(undefined4 *)(param_1 + 0x1f)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1f)" ( (binary_expression "param_1 + 0x1f" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(lVar4 + 0xe0)" * (cast_expression "(undefined4 *)(lVar4 + 0xe0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xe0)" ( (binary_expression "lVar4 + 0xe0" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined1 *)(lVar4 + 0xe4);" (assignment_expression "uVar2 = *(undefined1 *)(lVar4 + 0xe4)" identifier = (pointer_expression "*(undefined1 *)(lVar4 + 0xe4)" * (cast_expression "(undefined1 *)(lVar4 + 0xe4)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0xe4)" ( (binary_expression "lVar4 + 0xe4" identifier + number_literal) ))))) ;) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((long)param_1 + 0xfc) = uVar2;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xfc) = uVar2" (pointer_expression "*(undefined1 *)((long)param_1 + 0xfc)" * (cast_expression "(undefined1 *)((long)param_1 + 0xfc)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0xfc)" ( (binary_expression "(long)param_1 + 0xfc" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = &PTR_FUN_004565d8;" (assignment_expression "*param_1 = &PTR_FUN_004565d8" (pointer_expression "*param_1" * identifier) = (pointer_expression "&PTR_FUN_004565d8" & identifier)) ;) (expression_statement "param_1[3] = &PTR_FUN_00456628;" (assignment_expression "param_1[3] = &PTR_FUN_00456628" (subscript_expression "param_1[3]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00456628" & identifier)) ;) (expression_statement "param_1[2] = &PTR_FUN_00456600;" (assignment_expression "param_1[2] = &PTR_FUN_00456600" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (pointer_expression "&PTR_FUN_00456600" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * 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 ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (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) )))) = 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) )))) = (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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression & IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0034b600(undefined8 *param_1,long *param_2)\n\n{\n  undefined8 *puVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = param_1 + 3;\n  FUN_0032dcb0(puVar1);\n  *(undefined1 *)((long)param_1 + 0xfc) = 0;\n  *param_1 = &DAT_00456550;\n  param_1[3] = &DAT_00456578;\n  lVar4 = param_2[1];\n  param_1[0x1e] = 0;\n  param_1[1] = lVar4;\n  lVar4 = *param_2;\n  *(undefined4 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  lVar4 = *(long *)(lVar4 + -0x18);\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  lVar4 = lVar4 + (long)param_2;\n  param_1[0x23] = 0;\n  FUN_0032e080(puVar1,lVar4);\n                    \n  FUN_003167b0(puVar1,param_1 + 0x1d);\n  uVar3 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = 0;\n  param_1[0x1e] = uVar3;\n  *(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0);\n  uVar2 = *(undefined1 *)(lVar4 + 0xe4);\n  param_1[0x20] = 0;\n  *(undefined1 *)((long)param_1 + 0xfc) = uVar2;\n  param_2[1] = 0;\n  *param_1 = &PTR_FUN_004565d8;\n  param_1[3] = &PTR_FUN_00456628;\n  param_1[2] = &PTR_FUN_00456600;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0034b600(undefined8 *param_1,long *param_2)" (identifier "FUN_0034b600") (parameter_list "(undefined8 *param_1,long *param_2)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined8 *puVar1;\n  undefined1 uVar2;\n  undefined8 uVar3;\n  long lVar4;\n  \n  puVar1 = param_1 + 3;\n  FUN_0032dcb0(puVar1);\n  *(undefined1 *)((long)param_1 + 0xfc) = 0;\n  *param_1 = &DAT_00456550;\n  param_1[3] = &DAT_00456578;\n  lVar4 = param_2[1];\n  param_1[0x1e] = 0;\n  param_1[1] = lVar4;\n  lVar4 = *param_2;\n  *(undefined4 *)(param_1 + 0x1f) = 0;\n  param_1[0x20] = 0;\n  lVar4 = *(long *)(lVar4 + -0x18);\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  lVar4 = lVar4 + (long)param_2;\n  param_1[0x23] = 0;\n  FUN_0032e080(puVar1,lVar4);\n                    \n  FUN_003167b0(puVar1,param_1 + 0x1d);\n  uVar3 = *(undefined8 *)(lVar4 + 0xd8);\n  *(undefined8 *)(lVar4 + 0xd8) = 0;\n  param_1[0x1e] = uVar3;\n  *(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0);\n  uVar2 = *(undefined1 *)(lVar4 + 0xe4);\n  param_1[0x20] = 0;\n  *(undefined1 *)((long)param_1 + 0xfc) = uVar2;\n  param_2[1] = 0;\n  *param_1 = &PTR_FUN_004565d8;\n  param_1[3] = &PTR_FUN_00456628;\n  param_1[2] = &PTR_FUN_00456600;\n  return;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined1 uVar2;" (type_identifier "undefined1") (identifier "uVar2") (; ";")) (declaration "undefined8 uVar3;" (type_identifier "undefined8") (identifier "uVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (expression_statement "puVar1 = param_1 + 3;" (assignment_expression "puVar1 = param_1 + 3" (identifier "puVar1") (= "=") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "FUN_0032dcb0(puVar1);" (call_expression "FUN_0032dcb0(puVar1)" (identifier "FUN_0032dcb0") (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (expression_statement "*(undefined1 *)((long)param_1 + 0xfc) = 0;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xfc) = 0" (pointer_expression "*(undefined1 *)((long)param_1 + 0xfc)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + 0xfc)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xfc)" (( "(") (binary_expression "(long)param_1 + 0xfc" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xfc")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = &DAT_00456550;" (assignment_expression "*param_1 = &DAT_00456550" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&DAT_00456550" (& "&") (identifier "DAT_00456550"))) (; ";")) (expression_statement "param_1[3] = &DAT_00456578;" (assignment_expression "param_1[3] = &DAT_00456578" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "&DAT_00456578" (& "&") (identifier "DAT_00456578"))) (; ";")) (expression_statement "lVar4 = param_2[1];" (assignment_expression "lVar4 = param_2[1]" (identifier "lVar4") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[1] = lVar4;" (assignment_expression "param_1[1] = lVar4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "lVar4")) (; ";")) (expression_statement "lVar4 = *param_2;" (assignment_expression "lVar4 = *param_2" (identifier "lVar4") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x1f) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x1f) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x1f)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1f)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1f)" (( "(") (binary_expression "param_1 + 0x1f" (identifier "param_1") (+ "+") (number_literal "0x1f")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" (identifier "param_1") ([ "[") (number_literal "0x20") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar4 = *(long *)(lVar4 + -0x18);" (assignment_expression "lVar4 = *(long *)(lVar4 + -0x18)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(lVar4 + -0x18)" (* "*") (cast_expression "(long *)(lVar4 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + -0x18)" (( "(") (binary_expression "lVar4 + -0x18" (identifier "lVar4") (+ "+") (number_literal "-0x18")) () ")"))))) (; ";")) (expression_statement "param_1[0x21] = 0;" (assignment_expression "param_1[0x21] = 0" (subscript_expression "param_1[0x21]" (identifier "param_1") ([ "[") (number_literal "0x21") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x22] = 0;" (assignment_expression "param_1[0x22] = 0" (subscript_expression "param_1[0x22]" (identifier "param_1") ([ "[") (number_literal "0x22") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar4 = lVar4 + (long)param_2;" (assignment_expression "lVar4 = lVar4 + (long)param_2" (identifier "lVar4") (= "=") (binary_expression "lVar4 + (long)param_2" (identifier "lVar4") (+ "+") (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")))) (; ";")) (expression_statement "param_1[0x23] = 0;" (assignment_expression "param_1[0x23] = 0" (subscript_expression "param_1[0x23]" (identifier "param_1") ([ "[") (number_literal "0x23") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0032e080(puVar1,lVar4);" (call_expression "FUN_0032e080(puVar1,lVar4)" (identifier "FUN_0032e080") (argument_list "(puVar1,lVar4)" (( "(") (identifier "puVar1") (, ",") (identifier "lVar4") () ")"))) (; ";")) (expression_statement "FUN_003167b0(puVar1,param_1 + 0x1d);" (call_expression "FUN_003167b0(puVar1,param_1 + 0x1d)" (identifier "FUN_003167b0") (argument_list "(puVar1,param_1 + 0x1d)" (( "(") (identifier "puVar1") (, ",") (binary_expression "param_1 + 0x1d" (identifier "param_1") (+ "+") (number_literal "0x1d")) () ")"))) (; ";")) (expression_statement "uVar3 = *(undefined8 *)(lVar4 + 0xd8);" (assignment_expression "uVar3 = *(undefined8 *)(lVar4 + 0xd8)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined8 *)(lVar4 + 0xd8)" (* "*") (cast_expression "(undefined8 *)(lVar4 + 0xd8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0xd8)" (( "(") (binary_expression "lVar4 + 0xd8" (identifier "lVar4") (+ "+") (number_literal "0xd8")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(lVar4 + 0xd8) = 0;" (assignment_expression "*(undefined8 *)(lVar4 + 0xd8) = 0" (pointer_expression "*(undefined8 *)(lVar4 + 0xd8)" (* "*") (cast_expression "(undefined8 *)(lVar4 + 0xd8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0xd8)" (( "(") (binary_expression "lVar4 + 0xd8" (identifier "lVar4") (+ "+") (number_literal "0xd8")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x1e] = uVar3;" (assignment_expression "param_1[0x1e] = uVar3" (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0);" (assignment_expression "*(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0)" (pointer_expression "*(undefined4 *)(param_1 + 0x1f)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x1f)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1f)" (( "(") (binary_expression "param_1 + 0x1f" (identifier "param_1") (+ "+") (number_literal "0x1f")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(lVar4 + 0xe0)" (* "*") (cast_expression "(undefined4 *)(lVar4 + 0xe0)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0xe0)" (( "(") (binary_expression "lVar4 + 0xe0" (identifier "lVar4") (+ "+") (number_literal "0xe0")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined1 *)(lVar4 + 0xe4);" (assignment_expression "uVar2 = *(undefined1 *)(lVar4 + 0xe4)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined1 *)(lVar4 + 0xe4)" (* "*") (cast_expression "(undefined1 *)(lVar4 + 0xe4)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0xe4)" (( "(") (binary_expression "lVar4 + 0xe4" (identifier "lVar4") (+ "+") (number_literal "0xe4")) () ")"))))) (; ";")) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" (identifier "param_1") ([ "[") (number_literal "0x20") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((long)param_1 + 0xfc) = uVar2;" (assignment_expression "*(undefined1 *)((long)param_1 + 0xfc) = uVar2" (pointer_expression "*(undefined1 *)((long)param_1 + 0xfc)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + 0xfc)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0xfc)" (( "(") (binary_expression "(long)param_1 + 0xfc" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0xfc")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = &PTR_FUN_004565d8;" (assignment_expression "*param_1 = &PTR_FUN_004565d8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (pointer_expression "&PTR_FUN_004565d8" (& "&") (identifier "PTR_FUN_004565d8"))) (; ";")) (expression_statement "param_1[3] = &PTR_FUN_00456628;" (assignment_expression "param_1[3] = &PTR_FUN_00456628" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (pointer_expression "&PTR_FUN_00456628" (& "&") (identifier "PTR_FUN_00456628"))) (; ";")) (expression_statement "param_1[2] = &PTR_FUN_00456600;" (assignment_expression "param_1[2] = &PTR_FUN_00456600" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (pointer_expression "&PTR_FUN_00456600" (& "&") (identifier "PTR_FUN_00456600"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wiostream::wiostream(std::wiostream&&) */

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

{
  type_1 *this_00;
  type_1 iVar1;
  type_2 uVar2;
  long var_3;
  type_1 *var_6;
  
  this_00 = (type_1 *)(var_1 + 0x18);
  ios_base::type_1(this_00);
  var_1[0xfc] = (function_1)0x0;
  *(type_2 *)var_1 = 0x456550;
  *(type_2 *)(var_1 + 0x18) = 0x456578;
  uVar2 = *(type_2 *)(var_2 + 8);
  *(type_2 *)(var_1 + 0xf0) = 0;
  *(type_2 *)(var_1 + 8) = uVar2;
  var_3 = *(long *)var_2;
  *(type_3 *)(var_1 + 0xf8) = 0;
  *(type_2 *)(var_1 + 0x100) = 0;
  var_3 = *(long *)(var_3 + -0x18);
  *(type_2 *)(var_1 + 0x108) = 0;
  *(type_2 *)(var_1 + 0x110) = 0;
  var_6 = (type_1 *)(var_2 + var_3);
  *(type_2 *)(var_1 + 0x118) = 0;
  ios_base::var_4(this_00,var_6);
                    /* try { // try from 0034b69f to 0034b6a3 has its CatchHandler @ 0034b713 */
  wios::var_5((type_4 *)this_00,(type_5 *)(var_1 + 0xe8));
  uVar2 = *(type_2 *)(var_6 + 0xd8);
  *(type_2 *)(var_6 + 0xd8) = 0;
  *(type_2 *)(var_1 + 0xf0) = uVar2;
  *(type_3 *)(var_1 + 0xf8) = *(type_3 *)(var_6 + 0xe0);
  iVar1 = var_6[0xe4];
  *(type_2 *)(var_1 + 0x100) = 0;
  *(type_1 *)(var_1 + 0xfc) = iVar1;
  *(type_2 *)(var_2 + 8) = 0;
  *(type_2 *)var_1 = 0x4565d8;
  *(type_2 *)(var_1 + 0x18) = 0x456628;
  *(type_2 *)(var_1 + 0x10) = 0x456600;
  return;
}


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

void MASKED(undefined8 *param_1,long *param_2)

{
  undefined8 *puVar1;
  undefined1 uVar2;
  undefined8 uVar3;
  long lVar4;
  
  puVar1 = param_1 + 3;
  FUN_0032dcb0(puVar1);
  *(undefined1 *)((long)param_1 + 0xfc) = 0;
  *param_1 = &DAT_00456550;
  param_1[3] = &DAT_00456578;
  lVar4 = param_2[1];
  param_1[0x1e] = 0;
  param_1[1] = lVar4;
  lVar4 = *param_2;
  *(undefined4 *)(param_1 + 0x1f) = 0;
  param_1[0x20] = 0;
  lVar4 = *(long *)(lVar4 + -0x18);
  param_1[0x21] = 0;
  param_1[0x22] = 0;
  lVar4 = lVar4 + (long)param_2;
  param_1[0x23] = 0;
  FUN_0032e080(puVar1,lVar4);
                    /* try { // try from 0034b69f to 0034b6a3 has its CatchHandler @ 0034b713 */
  FUN_003167b0(puVar1,param_1 + 0x1d);
  uVar3 = *(undefined8 *)(lVar4 + 0xd8);
  *(undefined8 *)(lVar4 + 0xd8) = 0;
  param_1[0x1e] = uVar3;
  *(undefined4 *)(param_1 + 0x1f) = *(undefined4 *)(lVar4 + 0xe0);
  uVar2 = *(undefined1 *)(lVar4 + 0xe4);
  param_1[0x20] = 0;
  *(undefined1 *)((long)param_1 + 0xfc) = uVar2;
  param_2[1] = 0;
  *param_1 = &PTR_FUN_004565d8;
  param_1[3] = &PTR_FUN_00456628;
  param_1[2] = &PTR_FUN_00456600;
  return;
}

