
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* std::wofstream::wofstream(std::wofstream&&) */

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

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



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

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

{
  undefined1 uVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  int iVar5;
  
  iVar2 = *(int *)(param_2[1] + -0xc);
  *param_1 = param_2[1];
  piVar4 = (int *)(iVar2 + (int)param_1);
  *piVar4 = param_2[2];
  iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3;
  FUN_001c5ad0(piVar4,iVar5);
  FUN_001ab3e0(piVar4,piVar4 + 0x1b);
  iVar2 = *(int *)(iVar5 + 0x70);
  iVar3 = *(int *)(iVar5 + 0x74);
  *(undefined4 *)(iVar5 + 0x70) = 0;
  uVar1 = *(undefined1 *)(iVar5 + 0x78);
  piVar4[0x1f] = 0;
  piVar4[0x1c] = iVar2;
  piVar4[0x1d] = iVar3;
  *(undefined1 *)(piVar4 + 0x1e) = uVar1;
  iVar2 = *param_2;
  *param_1 = iVar2;
  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];
                    /* try { // try from 001b01a0 to 001b01a4 has its CatchHandler @ 001b01bc */
  FUN_001aedc0(param_1 + 1,param_3 + 1);
  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1;
  return;
}


CALL 0x0004fb76
ADD EAX,0x151efb
PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x24
MOV EDI,dword ptr [EBP + 0xc]
MOV ESI,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + -0x20],EAX
MOV EDX,dword ptr [EBP + 0x10]
MOV EAX,dword ptr [EDI + 0x4]
MOV EBX,dword ptr [EAX + -0xc]
MOV dword ptr [ESI],EAX
MOV ECX,dword ptr [EDI + 0x8]
ADD EBX,ESI
MOV dword ptr [EBX],ECX
MOV ECX,dword ptr [EDX]
MOV EAX,EBX
MOV dword ptr [EBP + -0x1c],EAX
MOV EBX,dword ptr [ECX + -0xc]
ADD EBX,EDX
PUSH EBX
PUSH EAX
MOV dword ptr [EBP + -0x24],EBX
MOV EBX,dword ptr [EBP + -0x20]
CALL 0x001c5ad0
POP EAX
MOV EAX,dword ptr [EBP + -0x1c]
POP EDX
LEA EBX,[EAX + 0x6c]
PUSH EBX
MOV EBX,dword ptr [EBP + -0x20]
PUSH EAX
CALL 0x001ab3e0
MOV ECX,dword ptr [EBP + -0x24]
MOV EAX,dword ptr [EBP + -0x1c]
MOV EBX,dword ptr [ECX + 0x70]
MOV EDX,dword ptr [ECX + 0x74]
MOV dword ptr [ECX + 0x70],0x0
MOVZX ECX,byte ptr [ECX + 0x78]
MOV dword ptr [EAX + 0x7c],0x0
MOV dword ptr [EAX + 0x70],EBX
MOV dword ptr [EAX + 0x74],EDX
MOV EDX,dword ptr [EBP + 0x10]
MOV byte ptr [EAX + 0x78],CL
MOV EAX,dword ptr [EDI]
ADD EDX,0x4
MOV dword ptr [ESI],EAX
MOV ECX,dword ptr [EDI + 0xc]
MOV EAX,dword ptr [EAX + -0xc]
MOV dword ptr [ESI + EAX*0x1],ECX
LEA ECX,[ESI + 0x4]
POP EBX
POP EAX
MOV EBX,dword ptr [EBP + -0x20]
PUSH EDX
PUSH ECX
MOV dword ptr [EBP + -0x1c],ECX
CALL 0x001aedc0
MOV EAX,dword ptr [ESI]
MOV ECX,dword ptr [EBP + -0x1c]
ADD ESP,0x10
MOV EAX,dword ptr [EAX + -0xc]
MOV dword ptr [ESI + EAX*0x1 + 0x7c],ECX
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_001b0100(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  iVar2 = *(int *)(param_2[1] + -0xc);\n  *param_1 = param_2[1];\n  piVar4 = (int *)(iVar2 + (int)param_1);\n  *piVar4 = param_2[2];\n  iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_001c5ad0(piVar4,iVar5);\n  FUN_001ab3e0(piVar4,piVar4 + 0x1b);\n  iVar2 = *(int *)(iVar5 + 0x70);\n  iVar3 = *(int *)(iVar5 + 0x74);\n  *(undefined4 *)(iVar5 + 0x70) = 0;\n  uVar1 = *(undefined1 *)(iVar5 + 0x78);\n  piVar4[0x1f] = 0;\n  piVar4[0x1c] = iVar2;\n  piVar4[0x1d] = iVar3;\n  *(undefined1 *)(piVar4 + 0x1e) = uVar1;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n                    /* try { // try from 001b01a0 to 001b01a4 has its CatchHandler @ 001b01bc */\n  FUN_001aedc0(param_1 + 1,param_3 + 1);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1;\n  return;\n}\n\n" comment (function_definition "void FUN_001b0100(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  iVar2 = *(int *)(param_2[1] + -0xc);\n  *param_1 = param_2[1];\n  piVar4 = (int *)(iVar2 + (int)param_1);\n  *piVar4 = param_2[2];\n  iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_001c5ad0(piVar4,iVar5);\n  FUN_001ab3e0(piVar4,piVar4 + 0x1b);\n  iVar2 = *(int *)(iVar5 + 0x70);\n  iVar3 = *(int *)(iVar5 + 0x74);\n  *(undefined4 *)(iVar5 + 0x70) = 0;\n  uVar1 = *(undefined1 *)(iVar5 + 0x78);\n  piVar4[0x1f] = 0;\n  piVar4[0x1c] = iVar2;\n  piVar4[0x1d] = iVar3;\n  *(undefined1 *)(piVar4 + 0x1e) = uVar1;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n                    /* try { // try from 001b01a0 to 001b01a4 has its CatchHandler @ 001b01bc */\n  FUN_001aedc0(param_1 + 1,param_3 + 1);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1;\n  return;\n}" primitive_type (function_declarator "FUN_001b0100(int *param_1,int *param_2,int *param_3)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  iVar2 = *(int *)(param_2[1] + -0xc);\n  *param_1 = param_2[1];\n  piVar4 = (int *)(iVar2 + (int)param_1);\n  *piVar4 = param_2[2];\n  iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_001c5ad0(piVar4,iVar5);\n  FUN_001ab3e0(piVar4,piVar4 + 0x1b);\n  iVar2 = *(int *)(iVar5 + 0x70);\n  iVar3 = *(int *)(iVar5 + 0x74);\n  *(undefined4 *)(iVar5 + 0x70) = 0;\n  uVar1 = *(undefined1 *)(iVar5 + 0x78);\n  piVar4[0x1f] = 0;\n  piVar4[0x1c] = iVar2;\n  piVar4[0x1d] = iVar3;\n  *(undefined1 *)(piVar4 + 0x1e) = uVar1;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n                    /* try { // try from 001b01a0 to 001b01a4 has its CatchHandler @ 001b01bc */\n  FUN_001aedc0(param_1 + 1,param_3 + 1);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1;\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(param_2[1] + -0xc);" (assignment_expression "iVar2 = *(int *)(param_2[1] + -0xc)" identifier = (pointer_expression "*(int *)(param_2[1] + -0xc)" * (cast_expression "(int *)(param_2[1] + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[1] + -0xc)" ( (binary_expression "param_2[1] + -0xc" (subscript_expression "param_2[1]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "*param_1 = param_2[1];" (assignment_expression "*param_1 = param_2[1]" (pointer_expression "*param_1" * identifier) = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar4 = (int *)(iVar2 + (int)param_1);" (assignment_expression "piVar4 = (int *)(iVar2 + (int)param_1)" identifier = (cast_expression "(int *)(iVar2 + (int)param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (int)param_1)" ( (binary_expression "iVar2 + (int)param_1" identifier + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "*piVar4 = param_2[2];" (assignment_expression "*piVar4 = param_2[2]" (pointer_expression "*piVar4" * identifier) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3;" (assignment_expression "iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3" identifier = (binary_expression "*(int *)(*param_3 + -0xc) + (int)param_3" (pointer_expression "*(int *)(*param_3 + -0xc)" * (cast_expression "(int *)(*param_3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + -0xc)" ( (binary_expression "*param_3 + -0xc" (pointer_expression "*param_3" * identifier) + number_literal) )))) + (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "FUN_001c5ad0(piVar4,iVar5);" (call_expression "FUN_001c5ad0(piVar4,iVar5)" identifier (argument_list "(piVar4,iVar5)" ( identifier , identifier ))) ;) (expression_statement "FUN_001ab3e0(piVar4,piVar4 + 0x1b);" (call_expression "FUN_001ab3e0(piVar4,piVar4 + 0x1b)" identifier (argument_list "(piVar4,piVar4 + 0x1b)" ( identifier , (binary_expression "piVar4 + 0x1b" identifier + number_literal) ))) ;) (expression_statement "iVar2 = *(int *)(iVar5 + 0x70);" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x70)" identifier = (pointer_expression "*(int *)(iVar5 + 0x70)" * (cast_expression "(int *)(iVar5 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x70)" ( (binary_expression "iVar5 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(iVar5 + 0x74);" (assignment_expression "iVar3 = *(int *)(iVar5 + 0x74)" identifier = (pointer_expression "*(int *)(iVar5 + 0x74)" * (cast_expression "(int *)(iVar5 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x74)" ( (binary_expression "iVar5 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar5 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(iVar5 + 0x70) = 0" (pointer_expression "*(undefined4 *)(iVar5 + 0x70)" * (cast_expression "(undefined4 *)(iVar5 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x70)" ( (binary_expression "iVar5 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = *(undefined1 *)(iVar5 + 0x78);" (assignment_expression "uVar1 = *(undefined1 *)(iVar5 + 0x78)" identifier = (pointer_expression "*(undefined1 *)(iVar5 + 0x78)" * (cast_expression "(undefined1 *)(iVar5 + 0x78)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x78)" ( (binary_expression "iVar5 + 0x78" identifier + number_literal) ))))) ;) (expression_statement "piVar4[0x1f] = 0;" (assignment_expression "piVar4[0x1f] = 0" (subscript_expression "piVar4[0x1f]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[0x1c] = iVar2;" (assignment_expression "piVar4[0x1c] = iVar2" (subscript_expression "piVar4[0x1c]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4[0x1d] = iVar3;" (assignment_expression "piVar4[0x1d] = iVar3" (subscript_expression "piVar4[0x1d]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(piVar4 + 0x1e) = uVar1;" (assignment_expression "*(undefined1 *)(piVar4 + 0x1e) = uVar1" (pointer_expression "*(undefined1 *)(piVar4 + 0x1e)" * (cast_expression "(undefined1 *)(piVar4 + 0x1e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 0x1e)" ( (binary_expression "piVar4 + 0x1e" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) comment (expression_statement "FUN_001aedc0(param_1 + 1,param_3 + 1);" (call_expression "FUN_001aedc0(param_1 + 1,param_3 + 1)" identifier (argument_list "(param_1 + 1,param_3 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) , (binary_expression "param_3 + 1" identifier + number_literal) ))) ;) (expression_statement "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1;" (assignment_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1" (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* std::wofstream::wofstream(std::wofstream&&) */\n\nvoid __thiscall std::wofstream::wofstream(wofstream *this,wofstream *param_1)\n\n{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  ios_base *this_00;\n  ios_base *piVar5;\n  int *in_stack_0000000c;\n  \n  iVar2 = *(int *)(*(int *)(param_1 + 4) + -0xc);\n  *(int *)this = *(int *)(param_1 + 4);\n  this_00 = (ios_base *)(this + iVar2);\n  *(undefined4 *)this_00 = *(undefined4 *)(param_1 + 8);\n  piVar5 = (ios_base *)(*(int *)(*in_stack_0000000c + -0xc) + (int)in_stack_0000000c);\n  ios_base::_M_move(this_00,piVar5);\n  wios::_M_cache_locale((wios *)this_00,(locale *)(this_00 + 0x6c));\n  uVar3 = *(undefined4 *)(piVar5 + 0x70);\n  uVar4 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  iVar1 = piVar5[0x78];\n  *(undefined4 *)(this_00 + 0x7c) = 0;\n  *(undefined4 *)(this_00 + 0x70) = uVar3;\n  *(undefined4 *)(this_00 + 0x74) = uVar4;\n  this_00[0x78] = iVar1;\n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc);\n                    /* try { // try from 001b01a0 to 001b01a4 has its CatchHandler @ 001b01bc */\n  wfilebuf::wfilebuf((wfilebuf *)(this + 4),(wfilebuf *)(in_stack_0000000c + 1));\n  *(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c) = (wfilebuf *)(this + 4);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::wofstream::wofstream(wofstream *this,wofstream *param_1)\n\n{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  ios_base *this_00;\n  ios_base *piVar5;\n  int *in_stack_0000000c;\n  \n  iVar2 = *(int *)(*(int *)(param_1 + 4) + -0xc);\n  *(int *)this = *(int *)(param_1 + 4);\n  this_00 = (ios_base *)(this + iVar2);\n  *(undefined4 *)this_00 = *(undefined4 *)(param_1 + 8);\n  piVar5 = (ios_base *)(*(int *)(*in_stack_0000000c + -0xc) + (int)in_stack_0000000c);\n  ios_base::_M_move(this_00,piVar5);\n  wios::_M_cache_locale((wios *)this_00,(locale *)(this_00 + 0x6c));\n  uVar3 = *(undefined4 *)(piVar5 + 0x70);\n  uVar4 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  iVar1 = piVar5[0x78];\n  *(undefined4 *)(this_00 + 0x7c) = 0;\n  *(undefined4 *)(this_00 + 0x70) = uVar3;\n  *(undefined4 *)(this_00 + 0x74) = uVar4;\n  this_00[0x78] = iVar1;\n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc);\n                    /* try { // try from 001b01a0 to 001b01a4 has its CatchHandler @ 001b01bc */\n  wfilebuf::wfilebuf((wfilebuf *)(this + 4),(wfilebuf *)(in_stack_0000000c + 1));\n  *(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c) = (wfilebuf *)(this + 4);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wofstream::" identifier : : identifier : :) (function_declarator "wofstream(wofstream *this,wofstream *param_1)" identifier (parameter_list "(wofstream *this,wofstream *param_1)" ( (parameter_declaration "wofstream *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "wofstream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  undefined4 uVar4;\n  ios_base *this_00;\n  ios_base *piVar5;\n  int *in_stack_0000000c;\n  \n  iVar2 = *(int *)(*(int *)(param_1 + 4) + -0xc);\n  *(int *)this = *(int *)(param_1 + 4);\n  this_00 = (ios_base *)(this + iVar2);\n  *(undefined4 *)this_00 = *(undefined4 *)(param_1 + 8);\n  piVar5 = (ios_base *)(*(int *)(*in_stack_0000000c + -0xc) + (int)in_stack_0000000c);\n  ios_base::_M_move(this_00,piVar5);\n  wios::_M_cache_locale((wios *)this_00,(locale *)(this_00 + 0x6c));\n  uVar3 = *(undefined4 *)(piVar5 + 0x70);\n  uVar4 = *(undefined4 *)(piVar5 + 0x74);\n  *(undefined4 *)(piVar5 + 0x70) = 0;\n  iVar1 = piVar5[0x78];\n  *(undefined4 *)(this_00 + 0x7c) = 0;\n  *(undefined4 *)(this_00 + 0x70) = uVar3;\n  *(undefined4 *)(this_00 + 0x74) = uVar4;\n  this_00[0x78] = iVar1;\n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc);\n                    /* try { // try from 001b01a0 to 001b01a4 has its CatchHandler @ 001b01bc */\n  wfilebuf::wfilebuf((wfilebuf *)(this + 4),(wfilebuf *)(in_stack_0000000c + 1));\n  *(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c) = (wfilebuf *)(this + 4);\n  return;\n}" { (declaration "ios_base iVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "undefined4 uVar4;" type_identifier identifier ;) (declaration "ios_base *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "ios_base *piVar5;" type_identifier (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *in_stack_0000000c;" primitive_type (pointer_declarator "*in_stack_0000000c" * identifier) ;) (expression_statement "iVar2 = *(int *)(*(int *)(param_1 + 4) + -0xc);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 4) + -0xc)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 4) + -0xc)" * (cast_expression "(int *)(*(int *)(param_1 + 4) + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 4) + -0xc)" ( (binary_expression "*(int *)(param_1 + 4) + -0xc" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "*(int *)this = *(int *)(param_1 + 4);" (assignment_expression "*(int *)this = *(int *)(param_1 + 4)" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "this_00 = (ios_base *)(this + iVar2);" (assignment_expression "this_00 = (ios_base *)(this + iVar2)" identifier = (cast_expression "(ios_base *)(this + iVar2)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + iVar2)" ( (binary_expression "this + iVar2" identifier + identifier) )))) ;) (expression_statement "*(undefined4 *)this_00 = *(undefined4 *)(param_1 + 8);" (assignment_expression "*(undefined4 *)this_00 = *(undefined4 *)(param_1 + 8)" (pointer_expression "*(undefined4 *)this_00" * (cast_expression "(undefined4 *)this_00" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = (pointer_expression "*(undefined4 *)(param_1 + 8)" * (cast_expression "(undefined4 *)(param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "piVar5 = (ios_base *)(*(int *)(*in_stack_0000000c + -0xc) + (int)in_stack_0000000c);" (assignment_expression "piVar5 = (ios_base *)(*(int *)(*in_stack_0000000c + -0xc) + (int)in_stack_0000000c)" identifier = (cast_expression "(ios_base *)(*(int *)(*in_stack_0000000c + -0xc) + (int)in_stack_0000000c)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*in_stack_0000000c + -0xc) + (int)in_stack_0000000c)" ( (binary_expression "*(int *)(*in_stack_0000000c + -0xc) + (int)in_stack_0000000c" (pointer_expression "*(int *)(*in_stack_0000000c + -0xc)" * (cast_expression "(int *)(*in_stack_0000000c + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*in_stack_0000000c + -0xc)" ( (binary_expression "*in_stack_0000000c + -0xc" (pointer_expression "*in_stack_0000000c" * identifier) + number_literal) )))) + (cast_expression "(int)in_stack_0000000c" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (labeled_statement "ios_base::_M_move(this_00,piVar5);" statement_identifier : (ERROR ":" :) (expression_statement "_M_move(this_00,piVar5);" (call_expression "_M_move(this_00,piVar5)" identifier (argument_list "(this_00,piVar5)" ( identifier , identifier ))) ;)) (labeled_statement "wios::_M_cache_locale((wios *)this_00,(locale *)(this_00 + 0x6c));" statement_identifier : (ERROR ":" :) (expression_statement "_M_cache_locale((wios *)this_00,(locale *)(this_00 + 0x6c));" (call_expression "_M_cache_locale((wios *)this_00,(locale *)(this_00 + 0x6c))" identifier (argument_list "((wios *)this_00,(locale *)(this_00 + 0x6c))" ( (cast_expression "(wios *)this_00" ( (type_descriptor "wios *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(locale *)(this_00 + 0x6c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x6c)" ( (binary_expression "this_00 + 0x6c" identifier + number_literal) ))) ))) ;)) (expression_statement "uVar3 = *(undefined4 *)(piVar5 + 0x70);" (assignment_expression "uVar3 = *(undefined4 *)(piVar5 + 0x70)" identifier = (pointer_expression "*(undefined4 *)(piVar5 + 0x70)" * (cast_expression "(undefined4 *)(piVar5 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x70)" ( (binary_expression "piVar5 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "uVar4 = *(undefined4 *)(piVar5 + 0x74);" (assignment_expression "uVar4 = *(undefined4 *)(piVar5 + 0x74)" identifier = (pointer_expression "*(undefined4 *)(piVar5 + 0x74)" * (cast_expression "(undefined4 *)(piVar5 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x74)" ( (binary_expression "piVar5 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(piVar5 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(piVar5 + 0x70) = 0" (pointer_expression "*(undefined4 *)(piVar5 + 0x70)" * (cast_expression "(undefined4 *)(piVar5 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar5 + 0x70)" ( (binary_expression "piVar5 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar1 = piVar5[0x78];" (assignment_expression "iVar1 = piVar5[0x78]" identifier = (subscript_expression "piVar5[0x78]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(this_00 + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x7c) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x7c)" * (cast_expression "(undefined4 *)(this_00 + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x7c)" ( (binary_expression "this_00 + 0x7c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this_00 + 0x70) = uVar3;" (assignment_expression "*(undefined4 *)(this_00 + 0x70) = uVar3" (pointer_expression "*(undefined4 *)(this_00 + 0x70)" * (cast_expression "(undefined4 *)(this_00 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x70)" ( (binary_expression "this_00 + 0x70" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this_00 + 0x74) = uVar4;" (assignment_expression "*(undefined4 *)(this_00 + 0x74) = uVar4" (pointer_expression "*(undefined4 *)(this_00 + 0x74)" * (cast_expression "(undefined4 *)(this_00 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x74)" ( (binary_expression "this_00 + 0x74" identifier + number_literal) )))) = identifier) ;) (expression_statement "this_00[0x78] = iVar1;" (assignment_expression "this_00[0x78] = iVar1" (subscript_expression "this_00[0x78]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar2 = *(int *)param_1;" (assignment_expression "iVar2 = *(int *)param_1" identifier = (pointer_expression "*(int *)param_1" * (cast_expression "(int *)param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(int *)this = iVar2;" (assignment_expression "*(int *)this = iVar2" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc);" (assignment_expression "*(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc)" (pointer_expression "*(undefined4 *)(this + *(int *)(iVar2 + -0xc))" * (cast_expression "(undefined4 *)(this + *(int *)(iVar2 + -0xc))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(iVar2 + -0xc))" ( (binary_expression "this + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0xc)" * (cast_expression "(undefined4 *)(param_1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) comment (labeled_statement "wfilebuf::wfilebuf((wfilebuf *)(this + 4),(wfilebuf *)(in_stack_0000000c + 1));" statement_identifier : (ERROR ":" :) (expression_statement "wfilebuf((wfilebuf *)(this + 4),(wfilebuf *)(in_stack_0000000c + 1));" (call_expression "wfilebuf((wfilebuf *)(this + 4),(wfilebuf *)(in_stack_0000000c + 1))" identifier (argument_list "((wfilebuf *)(this + 4),(wfilebuf *)(in_stack_0000000c + 1))" ( (cast_expression "(wfilebuf *)(this + 4)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))) , (cast_expression "(wfilebuf *)(in_stack_0000000c + 1)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_0000000c + 1)" ( (binary_expression "in_stack_0000000c + 1" identifier + number_literal) ))) ))) ;)) (expression_statement "*(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c) = (wfilebuf *)(this + 4);" (assignment_expression "*(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c) = (wfilebuf *)(this + 4)" (pointer_expression "*(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c)" * (cast_expression "(wfilebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x7c)" ( (type_descriptor "wfilebuf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc) + 0x7c)" ( (binary_expression "this + *(int *)(*(int *)this + -0xc) + 0x7c" (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) )))) = (cast_expression "(wfilebuf *)(this + 4)" ( (type_descriptor "wfilebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001b0100(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  iVar2 = *(int *)(param_2[1] + -0xc);\n  *param_1 = param_2[1];\n  piVar4 = (int *)(iVar2 + (int)param_1);\n  *piVar4 = param_2[2];\n  iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_001c5ad0(piVar4,iVar5);\n  FUN_001ab3e0(piVar4,piVar4 + 0x1b);\n  iVar2 = *(int *)(iVar5 + 0x70);\n  iVar3 = *(int *)(iVar5 + 0x74);\n  *(undefined4 *)(iVar5 + 0x70) = 0;\n  uVar1 = *(undefined1 *)(iVar5 + 0x78);\n  piVar4[0x1f] = 0;\n  piVar4[0x1c] = iVar2;\n  piVar4[0x1d] = iVar3;\n  *(undefined1 *)(piVar4 + 0x1e) = uVar1;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n                    \n  FUN_001aedc0(param_1 + 1,param_3 + 1);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1;\n  return;\n}\n\n" (function_definition "void FUN_001b0100(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  iVar2 = *(int *)(param_2[1] + -0xc);\n  *param_1 = param_2[1];\n  piVar4 = (int *)(iVar2 + (int)param_1);\n  *piVar4 = param_2[2];\n  iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_001c5ad0(piVar4,iVar5);\n  FUN_001ab3e0(piVar4,piVar4 + 0x1b);\n  iVar2 = *(int *)(iVar5 + 0x70);\n  iVar3 = *(int *)(iVar5 + 0x74);\n  *(undefined4 *)(iVar5 + 0x70) = 0;\n  uVar1 = *(undefined1 *)(iVar5 + 0x78);\n  piVar4[0x1f] = 0;\n  piVar4[0x1c] = iVar2;\n  piVar4[0x1d] = iVar3;\n  *(undefined1 *)(piVar4 + 0x1e) = uVar1;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n                    \n  FUN_001aedc0(param_1 + 1,param_3 + 1);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1;\n  return;\n}" primitive_type (function_declarator "FUN_001b0100(int *param_1,int *param_2,int *param_3)" identifier (parameter_list "(int *param_1,int *param_2,int *param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  iVar2 = *(int *)(param_2[1] + -0xc);\n  *param_1 = param_2[1];\n  piVar4 = (int *)(iVar2 + (int)param_1);\n  *piVar4 = param_2[2];\n  iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_001c5ad0(piVar4,iVar5);\n  FUN_001ab3e0(piVar4,piVar4 + 0x1b);\n  iVar2 = *(int *)(iVar5 + 0x70);\n  iVar3 = *(int *)(iVar5 + 0x74);\n  *(undefined4 *)(iVar5 + 0x70) = 0;\n  uVar1 = *(undefined1 *)(iVar5 + 0x78);\n  piVar4[0x1f] = 0;\n  piVar4[0x1c] = iVar2;\n  piVar4[0x1d] = iVar3;\n  *(undefined1 *)(piVar4 + 0x1e) = uVar1;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n                    \n  FUN_001aedc0(param_1 + 1,param_3 + 1);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1;\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (expression_statement "iVar2 = *(int *)(param_2[1] + -0xc);" (assignment_expression "iVar2 = *(int *)(param_2[1] + -0xc)" identifier = (pointer_expression "*(int *)(param_2[1] + -0xc)" * (cast_expression "(int *)(param_2[1] + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2[1] + -0xc)" ( (binary_expression "param_2[1] + -0xc" (subscript_expression "param_2[1]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "*param_1 = param_2[1];" (assignment_expression "*param_1 = param_2[1]" (pointer_expression "*param_1" * identifier) = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "piVar4 = (int *)(iVar2 + (int)param_1);" (assignment_expression "piVar4 = (int *)(iVar2 + (int)param_1)" identifier = (cast_expression "(int *)(iVar2 + (int)param_1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (int)param_1)" ( (binary_expression "iVar2 + (int)param_1" identifier + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "*piVar4 = param_2[2];" (assignment_expression "*piVar4 = param_2[2]" (pointer_expression "*piVar4" * identifier) = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3;" (assignment_expression "iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3" identifier = (binary_expression "*(int *)(*param_3 + -0xc) + (int)param_3" (pointer_expression "*(int *)(*param_3 + -0xc)" * (cast_expression "(int *)(*param_3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_3 + -0xc)" ( (binary_expression "*param_3 + -0xc" (pointer_expression "*param_3" * identifier) + number_literal) )))) + (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "FUN_001c5ad0(piVar4,iVar5);" (call_expression "FUN_001c5ad0(piVar4,iVar5)" identifier (argument_list "(piVar4,iVar5)" ( identifier , identifier ))) ;) (expression_statement "FUN_001ab3e0(piVar4,piVar4 + 0x1b);" (call_expression "FUN_001ab3e0(piVar4,piVar4 + 0x1b)" identifier (argument_list "(piVar4,piVar4 + 0x1b)" ( identifier , (binary_expression "piVar4 + 0x1b" identifier + number_literal) ))) ;) (expression_statement "iVar2 = *(int *)(iVar5 + 0x70);" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x70)" identifier = (pointer_expression "*(int *)(iVar5 + 0x70)" * (cast_expression "(int *)(iVar5 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x70)" ( (binary_expression "iVar5 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "iVar3 = *(int *)(iVar5 + 0x74);" (assignment_expression "iVar3 = *(int *)(iVar5 + 0x74)" identifier = (pointer_expression "*(int *)(iVar5 + 0x74)" * (cast_expression "(int *)(iVar5 + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x74)" ( (binary_expression "iVar5 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar5 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(iVar5 + 0x70) = 0" (pointer_expression "*(undefined4 *)(iVar5 + 0x70)" * (cast_expression "(undefined4 *)(iVar5 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x70)" ( (binary_expression "iVar5 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = *(undefined1 *)(iVar5 + 0x78);" (assignment_expression "uVar1 = *(undefined1 *)(iVar5 + 0x78)" identifier = (pointer_expression "*(undefined1 *)(iVar5 + 0x78)" * (cast_expression "(undefined1 *)(iVar5 + 0x78)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + 0x78)" ( (binary_expression "iVar5 + 0x78" identifier + number_literal) ))))) ;) (expression_statement "piVar4[0x1f] = 0;" (assignment_expression "piVar4[0x1f] = 0" (subscript_expression "piVar4[0x1f]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar4[0x1c] = iVar2;" (assignment_expression "piVar4[0x1c] = iVar2" (subscript_expression "piVar4[0x1c]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar4[0x1d] = iVar3;" (assignment_expression "piVar4[0x1d] = iVar3" (subscript_expression "piVar4[0x1d]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(piVar4 + 0x1e) = uVar1;" (assignment_expression "*(undefined1 *)(piVar4 + 0x1e) = uVar1" (pointer_expression "*(undefined1 *)(piVar4 + 0x1e)" * (cast_expression "(undefined1 *)(piVar4 + 0x1e)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 0x1e)" ( (binary_expression "piVar4 + 0x1e" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "FUN_001aedc0(param_1 + 1,param_3 + 1);" (call_expression "FUN_001aedc0(param_1 + 1,param_3 + 1)" identifier (argument_list "(param_1 + 1,param_3 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) , (binary_expression "param_3 + 1" identifier + number_literal) ))) ;) (expression_statement "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1;" (assignment_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1" (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) )))) = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (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 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 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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) )))) = (binary_expression IDENT + LIT)) ;) (return_statement return ;) })))
(function_definition "void FUN_001b0100(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  iVar2 = *(int *)(param_2[1] + -0xc);\n  *param_1 = param_2[1];\n  piVar4 = (int *)(iVar2 + (int)param_1);\n  *piVar4 = param_2[2];\n  iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_001c5ad0(piVar4,iVar5);\n  FUN_001ab3e0(piVar4,piVar4 + 0x1b);\n  iVar2 = *(int *)(iVar5 + 0x70);\n  iVar3 = *(int *)(iVar5 + 0x74);\n  *(undefined4 *)(iVar5 + 0x70) = 0;\n  uVar1 = *(undefined1 *)(iVar5 + 0x78);\n  piVar4[0x1f] = 0;\n  piVar4[0x1c] = iVar2;\n  piVar4[0x1d] = iVar3;\n  *(undefined1 *)(piVar4 + 0x1e) = uVar1;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n                    \n  FUN_001aedc0(param_1 + 1,param_3 + 1);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001b0100(int *param_1,int *param_2,int *param_3)" (identifier "FUN_001b0100") (parameter_list "(int *param_1,int *param_2,int *param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  int iVar2;\n  int iVar3;\n  int *piVar4;\n  int iVar5;\n  \n  iVar2 = *(int *)(param_2[1] + -0xc);\n  *param_1 = param_2[1];\n  piVar4 = (int *)(iVar2 + (int)param_1);\n  *piVar4 = param_2[2];\n  iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_001c5ad0(piVar4,iVar5);\n  FUN_001ab3e0(piVar4,piVar4 + 0x1b);\n  iVar2 = *(int *)(iVar5 + 0x70);\n  iVar3 = *(int *)(iVar5 + 0x74);\n  *(undefined4 *)(iVar5 + 0x70) = 0;\n  uVar1 = *(undefined1 *)(iVar5 + 0x78);\n  piVar4[0x1f] = 0;\n  piVar4[0x1c] = iVar2;\n  piVar4[0x1d] = iVar3;\n  *(undefined1 *)(piVar4 + 0x1e) = uVar1;\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];\n                    \n  FUN_001aedc0(param_1 + 1,param_3 + 1);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1;\n  return;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (expression_statement "iVar2 = *(int *)(param_2[1] + -0xc);" (assignment_expression "iVar2 = *(int *)(param_2[1] + -0xc)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(param_2[1] + -0xc)" (* "*") (cast_expression "(int *)(param_2[1] + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2[1] + -0xc)" (( "(") (binary_expression "param_2[1] + -0xc" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "*param_1 = param_2[1];" (assignment_expression "*param_1 = param_2[1]" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar4 = (int *)(iVar2 + (int)param_1);" (assignment_expression "piVar4 = (int *)(iVar2 + (int)param_1)" (identifier "piVar4") (= "=") (cast_expression "(int *)(iVar2 + (int)param_1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + (int)param_1)" (( "(") (binary_expression "iVar2 + (int)param_1" (identifier "iVar2") (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) () ")")))) (; ";")) (expression_statement "*piVar4 = param_2[2];" (assignment_expression "*piVar4 = param_2[2]" (pointer_expression "*piVar4" (* "*") (identifier "piVar4")) (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3;" (assignment_expression "iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3" (identifier "iVar5") (= "=") (binary_expression "*(int *)(*param_3 + -0xc) + (int)param_3" (pointer_expression "*(int *)(*param_3 + -0xc)" (* "*") (cast_expression "(int *)(*param_3 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_3 + -0xc)" (( "(") (binary_expression "*param_3 + -0xc" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "-0xc")) () ")")))) (+ "+") (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")))) (; ";")) (expression_statement "FUN_001c5ad0(piVar4,iVar5);" (call_expression "FUN_001c5ad0(piVar4,iVar5)" (identifier "FUN_001c5ad0") (argument_list "(piVar4,iVar5)" (( "(") (identifier "piVar4") (, ",") (identifier "iVar5") () ")"))) (; ";")) (expression_statement "FUN_001ab3e0(piVar4,piVar4 + 0x1b);" (call_expression "FUN_001ab3e0(piVar4,piVar4 + 0x1b)" (identifier "FUN_001ab3e0") (argument_list "(piVar4,piVar4 + 0x1b)" (( "(") (identifier "piVar4") (, ",") (binary_expression "piVar4 + 0x1b" (identifier "piVar4") (+ "+") (number_literal "0x1b")) () ")"))) (; ";")) (expression_statement "iVar2 = *(int *)(iVar5 + 0x70);" (assignment_expression "iVar2 = *(int *)(iVar5 + 0x70)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar5 + 0x70)" (* "*") (cast_expression "(int *)(iVar5 + 0x70)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x70)" (( "(") (binary_expression "iVar5 + 0x70" (identifier "iVar5") (+ "+") (number_literal "0x70")) () ")"))))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar5 + 0x74);" (assignment_expression "iVar3 = *(int *)(iVar5 + 0x74)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar5 + 0x74)" (* "*") (cast_expression "(int *)(iVar5 + 0x74)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x74)" (( "(") (binary_expression "iVar5 + 0x74" (identifier "iVar5") (+ "+") (number_literal "0x74")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar5 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(iVar5 + 0x70) = 0" (pointer_expression "*(undefined4 *)(iVar5 + 0x70)" (* "*") (cast_expression "(undefined4 *)(iVar5 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x70)" (( "(") (binary_expression "iVar5 + 0x70" (identifier "iVar5") (+ "+") (number_literal "0x70")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = *(undefined1 *)(iVar5 + 0x78);" (assignment_expression "uVar1 = *(undefined1 *)(iVar5 + 0x78)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined1 *)(iVar5 + 0x78)" (* "*") (cast_expression "(undefined1 *)(iVar5 + 0x78)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + 0x78)" (( "(") (binary_expression "iVar5 + 0x78" (identifier "iVar5") (+ "+") (number_literal "0x78")) () ")"))))) (; ";")) (expression_statement "piVar4[0x1f] = 0;" (assignment_expression "piVar4[0x1f] = 0" (subscript_expression "piVar4[0x1f]" (identifier "piVar4") ([ "[") (number_literal "0x1f") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar4[0x1c] = iVar2;" (assignment_expression "piVar4[0x1c] = iVar2" (subscript_expression "piVar4[0x1c]" (identifier "piVar4") ([ "[") (number_literal "0x1c") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "piVar4[0x1d] = iVar3;" (assignment_expression "piVar4[0x1d] = iVar3" (subscript_expression "piVar4[0x1d]" (identifier "piVar4") ([ "[") (number_literal "0x1d") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(undefined1 *)(piVar4 + 0x1e) = uVar1;" (assignment_expression "*(undefined1 *)(piVar4 + 0x1e) = uVar1" (pointer_expression "*(undefined1 *)(piVar4 + 0x1e)" (* "*") (cast_expression "(undefined1 *)(piVar4 + 0x1e)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar4 + 0x1e)" (( "(") (binary_expression "piVar4 + 0x1e" (identifier "piVar4") (+ "+") (number_literal "0x1e")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" (identifier "iVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" (* "*") (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "FUN_001aedc0(param_1 + 1,param_3 + 1);" (call_expression "FUN_001aedc0(param_1 + 1,param_3 + 1)" (identifier "FUN_001aedc0") (argument_list "(param_1 + 1,param_3 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) (, ",") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1")) () ")"))) (; ";")) (expression_statement "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1;" (assignment_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1" (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (* "*") (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0x7c")) () ")")))) (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* std::wofstream::wofstream(std::wofstream&&) */

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

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


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

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

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

{
  undefined1 uVar1;
  int iVar2;
  int iVar3;
  int *piVar4;
  int iVar5;
  
  iVar2 = *(int *)(param_2[1] + -0xc);
  *param_1 = param_2[1];
  piVar4 = (int *)(iVar2 + (int)param_1);
  *piVar4 = param_2[2];
  iVar5 = *(int *)(*param_3 + -0xc) + (int)param_3;
  FUN_001c5ad0(piVar4,iVar5);
  FUN_001ab3e0(piVar4,piVar4 + 0x1b);
  iVar2 = *(int *)(iVar5 + 0x70);
  iVar3 = *(int *)(iVar5 + 0x74);
  *(undefined4 *)(iVar5 + 0x70) = 0;
  uVar1 = *(undefined1 *)(iVar5 + 0x78);
  piVar4[0x1f] = 0;
  piVar4[0x1c] = iVar2;
  piVar4[0x1d] = iVar3;
  *(undefined1 *)(piVar4 + 0x1e) = uVar1;
  iVar2 = *param_2;
  *param_1 = iVar2;
  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[3];
                    /* try { // try from 001b01a0 to 001b01a4 has its CatchHandler @ 001b01bc */
  FUN_001aedc0(param_1 + 1,param_3 + 1);
  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c) = param_1 + 1;
  return;
}

