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

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

{
  ios_base iVar1;
  int iVar2;
  undefined4 uVar3;
  ios_base *piVar4;
  ios_base *this_00;
  int *in_stack_0000000c;
  
  iVar2 = *(int *)(param_1 + 8);
  *(int *)this = iVar2;
  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc);
  *(int *)(this + 4) = in_stack_0000000c[1];
  this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));
  piVar4 = (ios_base *)(*(int *)(*in_stack_0000000c + -0xc) + (int)in_stack_0000000c);
  ios_base::_M_move(this_00,piVar4);
  ios::_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c));
  uVar3 = *(undefined4 *)(piVar4 + 0x70);
  *(undefined4 *)(piVar4 + 0x70) = 0;
  *(undefined4 *)(this_00 + 0x70) = uVar3;
  this_00[0x74] = piVar4[0x74];
  iVar1 = piVar4[0x75];
  *(undefined4 *)(this_00 + 0x78) = 0;
  this_00[0x75] = iVar1;
  iVar2 = *(int *)(param_1 + 0x10);
  in_stack_0000000c[1] = 0;
  *(int *)(this + 8) = iVar2;
  *(undefined4 *)(this + *(int *)(iVar2 + -0xc) + 8) = *(undefined4 *)(param_1 + 0x14);
  iVar2 = *(int *)(param_1 + 4);
  *(int *)this = iVar2;
  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x18);
  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x1c);
  iVar2 = *(int *)param_1;
  *(int *)this = iVar2;
  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x20);
  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x24);
                    /* try { // try from 00214efa to 00214efe has its CatchHandler @ 00214f16 */
  filebuf::filebuf((filebuf *)(this + 0xc),(filebuf *)(in_stack_0000000c + 3));
  *(filebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x78) = (filebuf *)(this + 0xc);
  return;
}



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

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

{
  undefined1 uVar1;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  
  iVar3 = param_2[2];
  *param_1 = iVar3;
  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3];
  param_1[1] = param_3[1];
  iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1;
  iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3;
  FUN_0022c0e0(iVar4,iVar3);
  FUN_00211000(iVar4,iVar4 + 0x6c);
  uVar2 = *(undefined4 *)(iVar3 + 0x70);
  *(undefined4 *)(iVar3 + 0x70) = 0;
  *(undefined4 *)(iVar4 + 0x70) = uVar2;
  *(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74);
  uVar1 = *(undefined1 *)(iVar3 + 0x75);
  *(undefined4 *)(iVar4 + 0x78) = 0;
  *(undefined1 *)(iVar4 + 0x75) = uVar1;
  iVar3 = param_2[4];
  param_3[1] = 0;
  param_1[2] = iVar3;
  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5];
  iVar3 = param_2[1];
  *param_1 = iVar3;
  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6];
  param_1[2] = param_2[7];
  iVar3 = *param_2;
  *param_1 = iVar3;
  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8];
  param_1[2] = param_2[9];
                    /* try { // try from 00214efa to 00214efe has its CatchHandler @ 00214f16 */
  FUN_002137f0(param_1 + 3,param_3 + 3);
  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3;
  return;
}


CALL 0x000559e6
ADD EAX,0x17a1db
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 EAX,dword ptr [EBP + 0x10]
MOV EDX,dword ptr [EDI + 0x8]
MOV dword ptr [ESI],EDX
MOV ECX,dword ptr [EDX + -0xc]
MOV EBX,dword ptr [EDI + 0xc]
MOV dword ptr [ESI + ECX*0x1],EBX
MOV ECX,dword ptr [EAX + 0x4]
MOV dword ptr [ESI + 0x4],ECX
MOV ECX,dword ptr [EAX]
MOV EBX,dword ptr [EDX + -0xc]
MOV EDX,dword ptr [ECX + -0xc]
ADD EBX,ESI
ADD EDX,EAX
MOV dword ptr [EBP + -0x1c],EBX
PUSH EDX
PUSH EBX
MOV EBX,dword ptr [EBP + -0x20]
MOV dword ptr [EBP + -0x24],EDX
CALL 0x0022c0e0
POP EAX
POP EDX
MOV EDX,dword ptr [EBP + -0x1c]
LEA EBX,[EDX + 0x6c]
PUSH EBX
MOV EBX,dword ptr [EBP + -0x20]
PUSH EDX
CALL 0x00211000
MOV ECX,dword ptr [EBP + -0x24]
MOV EDX,dword ptr [EBP + -0x1c]
MOV EBX,dword ptr [ECX + 0x70]
MOV dword ptr [ECX + 0x70],0x0
MOV dword ptr [EDX + 0x70],EBX
MOVZX EAX,byte ptr [ECX + 0x74]
MOV byte ptr [EDX + 0x74],AL
MOVZX ECX,byte ptr [ECX + 0x75]
MOV EAX,dword ptr [EBP + 0x10]
MOV dword ptr [EDX + 0x78],0x0
MOV byte ptr [EDX + 0x75],CL
MOV EDX,dword ptr [EDI + 0x10]
MOV dword ptr [EAX + 0x4],0x0
ADD EAX,0xc
MOV dword ptr [ESI + 0x8],EDX
MOV EDX,dword ptr [EDX + -0xc]
MOV ECX,dword ptr [EDI + 0x14]
MOV dword ptr [ESI + EDX*0x1 + 0x8],ECX
MOV EDX,dword ptr [EDI + 0x4]
MOV dword ptr [ESI],EDX
MOV EDX,dword ptr [EDX + -0xc]
MOV ECX,dword ptr [EDI + 0x18]
MOV dword ptr [ESI + EDX*0x1],ECX
MOV EDX,dword ptr [EDI + 0x1c]
MOV dword ptr [ESI + 0x8],EDX
MOV EDX,dword ptr [EDI]
MOV dword ptr [ESI],EDX
MOV ECX,dword ptr [EDI + 0x20]
MOV EDX,dword ptr [EDX + -0xc]
MOV dword ptr [ESI + EDX*0x1],ECX
MOV EDX,dword ptr [EDI + 0x24]
LEA ECX,[ESI + 0xc]
MOV dword ptr [ESI + 0x8],EDX
POP EBX
POP EDX
MOV EBX,dword ptr [EBP + -0x20]
PUSH EAX
PUSH ECX
MOV dword ptr [EBP + -0x1c],ECX
CALL 0x002137f0
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 + 0x78],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_00214e20(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = param_2[2];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3];\n  param_1[1] = param_3[1];\n  iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1;\n  iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_0022c0e0(iVar4,iVar3);\n  FUN_00211000(iVar4,iVar4 + 0x6c);\n  uVar2 = *(undefined4 *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  *(undefined4 *)(iVar4 + 0x70) = uVar2;\n  *(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  *(undefined4 *)(iVar4 + 0x78) = 0;\n  *(undefined1 *)(iVar4 + 0x75) = uVar1;\n  iVar3 = param_2[4];\n  param_3[1] = 0;\n  param_1[2] = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5];\n  iVar3 = param_2[1];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar3 = *param_2;\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    /* try { // try from 00214efa to 00214efe has its CatchHandler @ 00214f16 */\n  FUN_002137f0(param_1 + 3,param_3 + 3);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3;\n  return;\n}\n\n" comment (function_definition "void FUN_00214e20(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = param_2[2];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3];\n  param_1[1] = param_3[1];\n  iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1;\n  iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_0022c0e0(iVar4,iVar3);\n  FUN_00211000(iVar4,iVar4 + 0x6c);\n  uVar2 = *(undefined4 *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  *(undefined4 *)(iVar4 + 0x70) = uVar2;\n  *(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  *(undefined4 *)(iVar4 + 0x78) = 0;\n  *(undefined1 *)(iVar4 + 0x75) = uVar1;\n  iVar3 = param_2[4];\n  param_3[1] = 0;\n  param_1[2] = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5];\n  iVar3 = param_2[1];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar3 = *param_2;\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    /* try { // try from 00214efa to 00214efe has its CatchHandler @ 00214f16 */\n  FUN_002137f0(param_1 + 3,param_3 + 3);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3;\n  return;\n}" primitive_type (function_declarator "FUN_00214e20(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  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = param_2[2];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3];\n  param_1[1] = param_3[1];\n  iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1;\n  iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_0022c0e0(iVar4,iVar3);\n  FUN_00211000(iVar4,iVar4 + 0x6c);\n  uVar2 = *(undefined4 *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  *(undefined4 *)(iVar4 + 0x70) = uVar2;\n  *(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  *(undefined4 *)(iVar4 + 0x78) = 0;\n  *(undefined1 *)(iVar4 + 0x75) = uVar1;\n  iVar3 = param_2[4];\n  param_3[1] = 0;\n  param_1[2] = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5];\n  iVar3 = param_2[1];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar3 = *param_2;\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    /* try { // try from 00214efa to 00214efe has its CatchHandler @ 00214f16 */\n  FUN_002137f0(param_1 + 3,param_3 + 3);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3;\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar3 = param_2[2];" (assignment_expression "iVar3 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar3 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar3 + -0xc)" * (cast_expression "(int *)(iVar3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xc)" ( (binary_expression "iVar3 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = param_3[1];" (assignment_expression "param_1[1] = param_3[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1;" (assignment_expression "iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(iVar3 + -0xc) + (int)param_1" (pointer_expression "*(int *)(iVar3 + -0xc)" * (cast_expression "(int *)(iVar3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xc)" ( (binary_expression "iVar3 + -0xc" identifier + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3;" (assignment_expression "iVar3 = *(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_0022c0e0(iVar4,iVar3);" (call_expression "FUN_0022c0e0(iVar4,iVar3)" identifier (argument_list "(iVar4,iVar3)" ( identifier , identifier ))) ;) (expression_statement "FUN_00211000(iVar4,iVar4 + 0x6c);" (call_expression "FUN_00211000(iVar4,iVar4 + 0x6c)" identifier (argument_list "(iVar4,iVar4 + 0x6c)" ( identifier , (binary_expression "iVar4 + 0x6c" identifier + number_literal) ))) ;) (expression_statement "uVar2 = *(undefined4 *)(iVar3 + 0x70);" (assignment_expression "uVar2 = *(undefined4 *)(iVar3 + 0x70)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x70)" * (cast_expression "(undefined4 *)(iVar3 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x70)" ( (binary_expression "iVar3 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x70) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x70)" * (cast_expression "(undefined4 *)(iVar3 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x70)" ( (binary_expression "iVar3 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x70) = uVar2;" (assignment_expression "*(undefined4 *)(iVar4 + 0x70) = uVar2" (pointer_expression "*(undefined4 *)(iVar4 + 0x70)" * (cast_expression "(undefined4 *)(iVar4 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x70)" ( (binary_expression "iVar4 + 0x70" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74);" (assignment_expression "*(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74)" (pointer_expression "*(undefined1 *)(iVar4 + 0x74)" * (cast_expression "(undefined1 *)(iVar4 + 0x74)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x74)" ( (binary_expression "iVar4 + 0x74" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(iVar3 + 0x74)" * (cast_expression "(undefined1 *)(iVar3 + 0x74)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x74)" ( (binary_expression "iVar3 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined1 *)(iVar3 + 0x75);" (assignment_expression "uVar1 = *(undefined1 *)(iVar3 + 0x75)" identifier = (pointer_expression "*(undefined1 *)(iVar3 + 0x75)" * (cast_expression "(undefined1 *)(iVar3 + 0x75)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x75)" ( (binary_expression "iVar3 + 0x75" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x78) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x78) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x78)" * (cast_expression "(undefined4 *)(iVar4 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x78)" ( (binary_expression "iVar4 + 0x78" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(iVar4 + 0x75) = uVar1;" (assignment_expression "*(undefined1 *)(iVar4 + 0x75) = uVar1" (pointer_expression "*(undefined1 *)(iVar4 + 0x75)" * (cast_expression "(undefined1 *)(iVar4 + 0x75)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x75)" ( (binary_expression "iVar4 + 0x75" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = param_2[4];" (assignment_expression "iVar3 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = iVar3;" (assignment_expression "param_1[2] = iVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8)" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar3 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar3 + -0xc)" * (cast_expression "(int *)(iVar3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xc)" ( (binary_expression "iVar3 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_2[1];" (assignment_expression "iVar3 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar3 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar3 + -0xc)" * (cast_expression "(int *)(iVar3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xc)" ( (binary_expression "iVar3 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[6]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_2[7];" (assignment_expression "param_1[2] = param_2[7]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar3 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar3 + -0xc)" * (cast_expression "(int *)(iVar3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xc)" ( (binary_expression "iVar3 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[8]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_2[9];" (assignment_expression "param_1[2] = param_2[9]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_2[9]" identifier [ number_literal ])) ;) comment (expression_statement "FUN_002137f0(param_1 + 3,param_3 + 3);" (call_expression "FUN_002137f0(param_1 + 3,param_3 + 3)" identifier (argument_list "(param_1 + 3,param_3 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) , (binary_expression "param_3 + 3" identifier + number_literal) ))) ;) (expression_statement "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3;" (assignment_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3" (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (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 + 3" 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::fstream::fstream(std::fstream&&) */\n\nvoid __thiscall std::fstream::fstream(fstream *this,fstream *param_1)\n\n{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  ios_base *piVar4;\n  ios_base *this_00;\n  int *in_stack_0000000c;\n  \n  iVar2 = *(int *)(param_1 + 8);\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc);\n  *(int *)(this + 4) = in_stack_0000000c[1];\n  this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));\n  piVar4 = (ios_base *)(*(int *)(*in_stack_0000000c + -0xc) + (int)in_stack_0000000c);\n  ios_base::_M_move(this_00,piVar4);\n  ios::_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c));\n  uVar3 = *(undefined4 *)(piVar4 + 0x70);\n  *(undefined4 *)(piVar4 + 0x70) = 0;\n  *(undefined4 *)(this_00 + 0x70) = uVar3;\n  this_00[0x74] = piVar4[0x74];\n  iVar1 = piVar4[0x75];\n  *(undefined4 *)(this_00 + 0x78) = 0;\n  this_00[0x75] = iVar1;\n  iVar2 = *(int *)(param_1 + 0x10);\n  in_stack_0000000c[1] = 0;\n  *(int *)(this + 8) = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc) + 8) = *(undefined4 *)(param_1 + 0x14);\n  iVar2 = *(int *)(param_1 + 4);\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x1c);\n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x20);\n  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x24);\n                    /* try { // try from 00214efa to 00214efe has its CatchHandler @ 00214f16 */\n  filebuf::filebuf((filebuf *)(this + 0xc),(filebuf *)(in_stack_0000000c + 3));\n  *(filebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x78) = (filebuf *)(this + 0xc);\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::fstream::fstream(fstream *this,fstream *param_1)\n\n{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  ios_base *piVar4;\n  ios_base *this_00;\n  int *in_stack_0000000c;\n  \n  iVar2 = *(int *)(param_1 + 8);\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc);\n  *(int *)(this + 4) = in_stack_0000000c[1];\n  this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));\n  piVar4 = (ios_base *)(*(int *)(*in_stack_0000000c + -0xc) + (int)in_stack_0000000c);\n  ios_base::_M_move(this_00,piVar4);\n  ios::_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c));\n  uVar3 = *(undefined4 *)(piVar4 + 0x70);\n  *(undefined4 *)(piVar4 + 0x70) = 0;\n  *(undefined4 *)(this_00 + 0x70) = uVar3;\n  this_00[0x74] = piVar4[0x74];\n  iVar1 = piVar4[0x75];\n  *(undefined4 *)(this_00 + 0x78) = 0;\n  this_00[0x75] = iVar1;\n  iVar2 = *(int *)(param_1 + 0x10);\n  in_stack_0000000c[1] = 0;\n  *(int *)(this + 8) = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc) + 8) = *(undefined4 *)(param_1 + 0x14);\n  iVar2 = *(int *)(param_1 + 4);\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x1c);\n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x20);\n  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x24);\n                    /* try { // try from 00214efa to 00214efe has its CatchHandler @ 00214f16 */\n  filebuf::filebuf((filebuf *)(this + 0xc),(filebuf *)(in_stack_0000000c + 3));\n  *(filebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x78) = (filebuf *)(this + 0xc);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::fstream::" identifier : : identifier : :) (function_declarator "fstream(fstream *this,fstream *param_1)" identifier (parameter_list "(fstream *this,fstream *param_1)" ( (parameter_declaration "fstream *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "fstream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ios_base iVar1;\n  int iVar2;\n  undefined4 uVar3;\n  ios_base *piVar4;\n  ios_base *this_00;\n  int *in_stack_0000000c;\n  \n  iVar2 = *(int *)(param_1 + 8);\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0xc);\n  *(int *)(this + 4) = in_stack_0000000c[1];\n  this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));\n  piVar4 = (ios_base *)(*(int *)(*in_stack_0000000c + -0xc) + (int)in_stack_0000000c);\n  ios_base::_M_move(this_00,piVar4);\n  ios::_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c));\n  uVar3 = *(undefined4 *)(piVar4 + 0x70);\n  *(undefined4 *)(piVar4 + 0x70) = 0;\n  *(undefined4 *)(this_00 + 0x70) = uVar3;\n  this_00[0x74] = piVar4[0x74];\n  iVar1 = piVar4[0x75];\n  *(undefined4 *)(this_00 + 0x78) = 0;\n  this_00[0x75] = iVar1;\n  iVar2 = *(int *)(param_1 + 0x10);\n  in_stack_0000000c[1] = 0;\n  *(int *)(this + 8) = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc) + 8) = *(undefined4 *)(param_1 + 0x14);\n  iVar2 = *(int *)(param_1 + 4);\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x18);\n  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x1c);\n  iVar2 = *(int *)param_1;\n  *(int *)this = iVar2;\n  *(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x20);\n  *(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x24);\n                    /* try { // try from 00214efa to 00214efe has its CatchHandler @ 00214f16 */\n  filebuf::filebuf((filebuf *)(this + 0xc),(filebuf *)(in_stack_0000000c + 3));\n  *(filebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x78) = (filebuf *)(this + 0xc);\n  return;\n}" { (declaration "ios_base iVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "ios_base *piVar4;" type_identifier (pointer_declarator "*piVar4" * identifier) ;) (declaration "ios_base *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "int *in_stack_0000000c;" primitive_type (pointer_declarator "*in_stack_0000000c" * identifier) ;) (expression_statement "iVar2 = *(int *)(param_1 + 8);" (assignment_expression "iVar2 = *(int *)(param_1 + 8)" identifier = (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) ;) (expression_statement "*(int *)this = iVar2;" (assignment_expression "*(int *)this = iVar2" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(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) ))))) ;) (expression_statement "*(int *)(this + 4) = in_stack_0000000c[1];" (assignment_expression "*(int *)(this + 4) = in_stack_0000000c[1]" (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = (subscript_expression "in_stack_0000000c[1]" identifier [ number_literal ])) ;) (expression_statement "this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc));" (assignment_expression "this_00 = (ios_base *)(this + *(int *)(iVar2 + -0xc))" identifier = (cast_expression "(ios_base *)(this + *(int *)(iVar2 + -0xc))" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(iVar2 + -0xc))" ( (binary_expression "this + *(int *)(iVar2 + -0xc)" identifier + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) ;) (expression_statement "piVar4 = (ios_base *)(*(int *)(*in_stack_0000000c + -0xc) + (int)in_stack_0000000c);" (assignment_expression "piVar4 = (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,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 ))) ;)) (labeled_statement "ios::_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c));" statement_identifier : (ERROR ":" :) (expression_statement "_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c));" (call_expression "_M_cache_locale((ios *)this_00,(locale *)(this_00 + 0x6c))" identifier (argument_list "((ios *)this_00,(locale *)(this_00 + 0x6c))" ( (cast_expression "(ios *)this_00" ( (type_descriptor "ios *" 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 *)(piVar4 + 0x70);" (assignment_expression "uVar3 = *(undefined4 *)(piVar4 + 0x70)" identifier = (pointer_expression "*(undefined4 *)(piVar4 + 0x70)" * (cast_expression "(undefined4 *)(piVar4 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 0x70)" ( (binary_expression "piVar4 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(piVar4 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(piVar4 + 0x70) = 0" (pointer_expression "*(undefined4 *)(piVar4 + 0x70)" * (cast_expression "(undefined4 *)(piVar4 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar4 + 0x70)" ( (binary_expression "piVar4 + 0x70" 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 "this_00[0x74] = piVar4[0x74];" (assignment_expression "this_00[0x74] = piVar4[0x74]" (subscript_expression "this_00[0x74]" identifier [ number_literal ]) = (subscript_expression "piVar4[0x74]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = piVar4[0x75];" (assignment_expression "iVar1 = piVar4[0x75]" identifier = (subscript_expression "piVar4[0x75]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(this_00 + 0x78) = 0;" (assignment_expression "*(undefined4 *)(this_00 + 0x78) = 0" (pointer_expression "*(undefined4 *)(this_00 + 0x78)" * (cast_expression "(undefined4 *)(this_00 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this_00 + 0x78)" ( (binary_expression "this_00 + 0x78" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this_00[0x75] = iVar1;" (assignment_expression "this_00[0x75] = iVar1" (subscript_expression "this_00[0x75]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar2 = *(int *)(param_1 + 0x10);" (assignment_expression "iVar2 = *(int *)(param_1 + 0x10)" identifier = (pointer_expression "*(int *)(param_1 + 0x10)" * (cast_expression "(int *)(param_1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "in_stack_0000000c[1] = 0;" (assignment_expression "in_stack_0000000c[1] = 0" (subscript_expression "in_stack_0000000c[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(int *)(this + 8) = iVar2;" (assignment_expression "*(int *)(this + 8) = iVar2" (pointer_expression "*(int *)(this + 8)" * (cast_expression "(int *)(this + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + *(int *)(iVar2 + -0xc) + 8) = *(undefined4 *)(param_1 + 0x14);" (assignment_expression "*(undefined4 *)(this + *(int *)(iVar2 + -0xc) + 8) = *(undefined4 *)(param_1 + 0x14)" (pointer_expression "*(undefined4 *)(this + *(int *)(iVar2 + -0xc) + 8)" * (cast_expression "(undefined4 *)(this + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "this + *(int *)(iVar2 + -0xc) + 8" (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) ))))) + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x14)" * (cast_expression "(undefined4 *)(param_1 + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = *(int *)(param_1 + 4);" (assignment_expression "iVar2 = *(int *)(param_1 + 4)" identifier = (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(int *)this = iVar2;" (assignment_expression "*(int *)this = iVar2" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x18);" (assignment_expression "*(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x18)" (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 + 0x18)" * (cast_expression "(undefined4 *)(param_1 + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x1c);" (assignment_expression "*(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x1c)" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x1c)" * (cast_expression "(undefined4 *)(param_1 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ;) (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 + 0x20);" (assignment_expression "*(undefined4 *)(this + *(int *)(iVar2 + -0xc)) = *(undefined4 *)(param_1 + 0x20)" (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 + 0x20)" * (cast_expression "(undefined4 *)(param_1 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x24);" (assignment_expression "*(undefined4 *)(this + 8) = *(undefined4 *)(param_1 + 0x24)" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(param_1 + 0x24)" * (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) comment (labeled_statement "filebuf::filebuf((filebuf *)(this + 0xc),(filebuf *)(in_stack_0000000c + 3));" statement_identifier : (ERROR ":" :) (expression_statement "filebuf((filebuf *)(this + 0xc),(filebuf *)(in_stack_0000000c + 3));" (call_expression "filebuf((filebuf *)(this + 0xc),(filebuf *)(in_stack_0000000c + 3))" identifier (argument_list "((filebuf *)(this + 0xc),(filebuf *)(in_stack_0000000c + 3))" ( (cast_expression "(filebuf *)(this + 0xc)" ( (type_descriptor "filebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))) , (cast_expression "(filebuf *)(in_stack_0000000c + 3)" ( (type_descriptor "filebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_stack_0000000c + 3)" ( (binary_expression "in_stack_0000000c + 3" identifier + number_literal) ))) ))) ;)) (expression_statement "*(filebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x78) = (filebuf *)(this + 0xc);" (assignment_expression "*(filebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x78) = (filebuf *)(this + 0xc)" (pointer_expression "*(filebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" * (cast_expression "(filebuf **)(this + *(int *)(*(int *)this + -0xc) + 0x78)" ( (type_descriptor "filebuf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc) + 0x78)" ( (binary_expression "this + *(int *)(*(int *)this + -0xc) + 0x78" (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 "(filebuf *)(this + 0xc)" ( (type_descriptor "filebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00214e20(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = param_2[2];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3];\n  param_1[1] = param_3[1];\n  iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1;\n  iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_0022c0e0(iVar4,iVar3);\n  FUN_00211000(iVar4,iVar4 + 0x6c);\n  uVar2 = *(undefined4 *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  *(undefined4 *)(iVar4 + 0x70) = uVar2;\n  *(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  *(undefined4 *)(iVar4 + 0x78) = 0;\n  *(undefined1 *)(iVar4 + 0x75) = uVar1;\n  iVar3 = param_2[4];\n  param_3[1] = 0;\n  param_1[2] = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5];\n  iVar3 = param_2[1];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar3 = *param_2;\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    \n  FUN_002137f0(param_1 + 3,param_3 + 3);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3;\n  return;\n}\n\n" (function_definition "void FUN_00214e20(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = param_2[2];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3];\n  param_1[1] = param_3[1];\n  iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1;\n  iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_0022c0e0(iVar4,iVar3);\n  FUN_00211000(iVar4,iVar4 + 0x6c);\n  uVar2 = *(undefined4 *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  *(undefined4 *)(iVar4 + 0x70) = uVar2;\n  *(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  *(undefined4 *)(iVar4 + 0x78) = 0;\n  *(undefined1 *)(iVar4 + 0x75) = uVar1;\n  iVar3 = param_2[4];\n  param_3[1] = 0;\n  param_1[2] = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5];\n  iVar3 = param_2[1];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar3 = *param_2;\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    \n  FUN_002137f0(param_1 + 3,param_3 + 3);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3;\n  return;\n}" primitive_type (function_declarator "FUN_00214e20(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  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = param_2[2];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3];\n  param_1[1] = param_3[1];\n  iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1;\n  iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_0022c0e0(iVar4,iVar3);\n  FUN_00211000(iVar4,iVar4 + 0x6c);\n  uVar2 = *(undefined4 *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  *(undefined4 *)(iVar4 + 0x70) = uVar2;\n  *(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  *(undefined4 *)(iVar4 + 0x78) = 0;\n  *(undefined1 *)(iVar4 + 0x75) = uVar1;\n  iVar3 = param_2[4];\n  param_3[1] = 0;\n  param_1[2] = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5];\n  iVar3 = param_2[1];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar3 = *param_2;\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    \n  FUN_002137f0(param_1 + 3,param_3 + 3);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3;\n  return;\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar3 = param_2[2];" (assignment_expression "iVar3 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar3 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar3 + -0xc)" * (cast_expression "(int *)(iVar3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xc)" ( (binary_expression "iVar3 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = param_3[1];" (assignment_expression "param_1[1] = param_3[1]" (subscript_expression "param_1[1]" identifier [ number_literal ]) = (subscript_expression "param_3[1]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1;" (assignment_expression "iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1" identifier = (binary_expression "*(int *)(iVar3 + -0xc) + (int)param_1" (pointer_expression "*(int *)(iVar3 + -0xc)" * (cast_expression "(int *)(iVar3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xc)" ( (binary_expression "iVar3 + -0xc" identifier + number_literal) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3;" (assignment_expression "iVar3 = *(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_0022c0e0(iVar4,iVar3);" (call_expression "FUN_0022c0e0(iVar4,iVar3)" identifier (argument_list "(iVar4,iVar3)" ( identifier , identifier ))) ;) (expression_statement "FUN_00211000(iVar4,iVar4 + 0x6c);" (call_expression "FUN_00211000(iVar4,iVar4 + 0x6c)" identifier (argument_list "(iVar4,iVar4 + 0x6c)" ( identifier , (binary_expression "iVar4 + 0x6c" identifier + number_literal) ))) ;) (expression_statement "uVar2 = *(undefined4 *)(iVar3 + 0x70);" (assignment_expression "uVar2 = *(undefined4 *)(iVar3 + 0x70)" identifier = (pointer_expression "*(undefined4 *)(iVar3 + 0x70)" * (cast_expression "(undefined4 *)(iVar3 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x70)" ( (binary_expression "iVar3 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x70) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x70)" * (cast_expression "(undefined4 *)(iVar3 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x70)" ( (binary_expression "iVar3 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x70) = uVar2;" (assignment_expression "*(undefined4 *)(iVar4 + 0x70) = uVar2" (pointer_expression "*(undefined4 *)(iVar4 + 0x70)" * (cast_expression "(undefined4 *)(iVar4 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x70)" ( (binary_expression "iVar4 + 0x70" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74);" (assignment_expression "*(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74)" (pointer_expression "*(undefined1 *)(iVar4 + 0x74)" * (cast_expression "(undefined1 *)(iVar4 + 0x74)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x74)" ( (binary_expression "iVar4 + 0x74" identifier + number_literal) )))) = (pointer_expression "*(undefined1 *)(iVar3 + 0x74)" * (cast_expression "(undefined1 *)(iVar3 + 0x74)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x74)" ( (binary_expression "iVar3 + 0x74" identifier + number_literal) ))))) ;) (expression_statement "uVar1 = *(undefined1 *)(iVar3 + 0x75);" (assignment_expression "uVar1 = *(undefined1 *)(iVar3 + 0x75)" identifier = (pointer_expression "*(undefined1 *)(iVar3 + 0x75)" * (cast_expression "(undefined1 *)(iVar3 + 0x75)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x75)" ( (binary_expression "iVar3 + 0x75" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x78) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x78) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x78)" * (cast_expression "(undefined4 *)(iVar4 + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x78)" ( (binary_expression "iVar4 + 0x78" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined1 *)(iVar4 + 0x75) = uVar1;" (assignment_expression "*(undefined1 *)(iVar4 + 0x75) = uVar1" (pointer_expression "*(undefined1 *)(iVar4 + 0x75)" * (cast_expression "(undefined1 *)(iVar4 + 0x75)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x75)" ( (binary_expression "iVar4 + 0x75" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = param_2[4];" (assignment_expression "iVar3 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = iVar3;" (assignment_expression "param_1[2] = iVar3" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8)" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar3 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar3 + -0xc)" * (cast_expression "(int *)(iVar3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xc)" ( (binary_expression "iVar3 + -0xc" identifier + number_literal) ))))) + number_literal) )))) = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = param_2[1];" (assignment_expression "iVar3 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar3 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar3 + -0xc)" * (cast_expression "(int *)(iVar3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xc)" ( (binary_expression "iVar3 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[6]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_2[7];" (assignment_expression "param_1[2] = param_2[7]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_2[7]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar3 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar3 + -0xc)" * (cast_expression "(int *)(iVar3 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + -0xc)" ( (binary_expression "iVar3 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[8]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = param_2[9];" (assignment_expression "param_1[2] = param_2[9]" (subscript_expression "param_1[2]" identifier [ number_literal ]) = (subscript_expression "param_2[9]" identifier [ number_literal ])) ;) (expression_statement "FUN_002137f0(param_1 + 3,param_3 + 3);" (call_expression "FUN_002137f0(param_1 + 3,param_3 + 3)" identifier (argument_list "(param_1 + 3,param_3 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) , (binary_expression "param_3 + 3" identifier + number_literal) ))) ;) (expression_statement "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3;" (assignment_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3" (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (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 + 3" identifier + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor 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 (assignment_expression (subscript_expression IDENT [ LIT ]) = (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 IDENT + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (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 IDENT + LIT) ))))) + LIT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor 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 (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (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 (assignment_expression (subscript_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_00214e20(int *param_1,int *param_2,int *param_3)\n\n{\n  undefined1 uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = param_2[2];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3];\n  param_1[1] = param_3[1];\n  iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1;\n  iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_0022c0e0(iVar4,iVar3);\n  FUN_00211000(iVar4,iVar4 + 0x6c);\n  uVar2 = *(undefined4 *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  *(undefined4 *)(iVar4 + 0x70) = uVar2;\n  *(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  *(undefined4 *)(iVar4 + 0x78) = 0;\n  *(undefined1 *)(iVar4 + 0x75) = uVar1;\n  iVar3 = param_2[4];\n  param_3[1] = 0;\n  param_1[2] = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5];\n  iVar3 = param_2[1];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar3 = *param_2;\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    \n  FUN_002137f0(param_1 + 3,param_3 + 3);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00214e20(int *param_1,int *param_2,int *param_3)" (identifier "FUN_00214e20") (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  undefined4 uVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar3 = param_2[2];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3];\n  param_1[1] = param_3[1];\n  iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1;\n  iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3;\n  FUN_0022c0e0(iVar4,iVar3);\n  FUN_00211000(iVar4,iVar4 + 0x6c);\n  uVar2 = *(undefined4 *)(iVar3 + 0x70);\n  *(undefined4 *)(iVar3 + 0x70) = 0;\n  *(undefined4 *)(iVar4 + 0x70) = uVar2;\n  *(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74);\n  uVar1 = *(undefined1 *)(iVar3 + 0x75);\n  *(undefined4 *)(iVar4 + 0x78) = 0;\n  *(undefined1 *)(iVar4 + 0x75) = uVar1;\n  iVar3 = param_2[4];\n  param_3[1] = 0;\n  param_1[2] = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5];\n  iVar3 = param_2[1];\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar3 = *param_2;\n  *param_1 = iVar3;\n  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    \n  FUN_002137f0(param_1 + 3,param_3 + 3);\n  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3;\n  return;\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "iVar3 = param_2[2];" (assignment_expression "iVar3 = param_2[2]" (identifier "iVar3") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" (* "*") (cast_expression "(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar3 + -0xc))" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar3 + -0xc)" (* "*") (cast_expression "(int *)(iVar3 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -0xc)" (( "(") (binary_expression "iVar3 + -0xc" (identifier "iVar3") (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_1[1] = param_3[1];" (assignment_expression "param_1[1] = param_3[1]" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1;" (assignment_expression "iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1" (identifier "iVar4") (= "=") (binary_expression "*(int *)(iVar3 + -0xc) + (int)param_1" (pointer_expression "*(int *)(iVar3 + -0xc)" (* "*") (cast_expression "(int *)(iVar3 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -0xc)" (( "(") (binary_expression "iVar3 + -0xc" (identifier "iVar3") (+ "+") (number_literal "-0xc")) () ")")))) (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")))) (; ";")) (expression_statement "iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3;" (assignment_expression "iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3" (identifier "iVar3") (= "=") (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_0022c0e0(iVar4,iVar3);" (call_expression "FUN_0022c0e0(iVar4,iVar3)" (identifier "FUN_0022c0e0") (argument_list "(iVar4,iVar3)" (( "(") (identifier "iVar4") (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "FUN_00211000(iVar4,iVar4 + 0x6c);" (call_expression "FUN_00211000(iVar4,iVar4 + 0x6c)" (identifier "FUN_00211000") (argument_list "(iVar4,iVar4 + 0x6c)" (( "(") (identifier "iVar4") (, ",") (binary_expression "iVar4 + 0x6c" (identifier "iVar4") (+ "+") (number_literal "0x6c")) () ")"))) (; ";")) (expression_statement "uVar2 = *(undefined4 *)(iVar3 + 0x70);" (assignment_expression "uVar2 = *(undefined4 *)(iVar3 + 0x70)" (identifier "uVar2") (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 0x70)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x70)" (( "(") (binary_expression "iVar3 + 0x70" (identifier "iVar3") (+ "+") (number_literal "0x70")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x70) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x70)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x70)" (( "(") (binary_expression "iVar3 + 0x70" (identifier "iVar3") (+ "+") (number_literal "0x70")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x70) = uVar2;" (assignment_expression "*(undefined4 *)(iVar4 + 0x70) = uVar2" (pointer_expression "*(undefined4 *)(iVar4 + 0x70)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x70)" (( "(") (binary_expression "iVar4 + 0x70" (identifier "iVar4") (+ "+") (number_literal "0x70")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "*(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74);" (assignment_expression "*(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74)" (pointer_expression "*(undefined1 *)(iVar4 + 0x74)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 0x74)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x74)" (( "(") (binary_expression "iVar4 + 0x74" (identifier "iVar4") (+ "+") (number_literal "0x74")) () ")")))) (= "=") (pointer_expression "*(undefined1 *)(iVar3 + 0x74)" (* "*") (cast_expression "(undefined1 *)(iVar3 + 0x74)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x74)" (( "(") (binary_expression "iVar3 + 0x74" (identifier "iVar3") (+ "+") (number_literal "0x74")) () ")"))))) (; ";")) (expression_statement "uVar1 = *(undefined1 *)(iVar3 + 0x75);" (assignment_expression "uVar1 = *(undefined1 *)(iVar3 + 0x75)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined1 *)(iVar3 + 0x75)" (* "*") (cast_expression "(undefined1 *)(iVar3 + 0x75)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x75)" (( "(") (binary_expression "iVar3 + 0x75" (identifier "iVar3") (+ "+") (number_literal "0x75")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x78) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x78) = 0" (pointer_expression "*(undefined4 *)(iVar4 + 0x78)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x78)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x78)" (( "(") (binary_expression "iVar4 + 0x78" (identifier "iVar4") (+ "+") (number_literal "0x78")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(iVar4 + 0x75) = uVar1;" (assignment_expression "*(undefined1 *)(iVar4 + 0x75) = uVar1" (pointer_expression "*(undefined1 *)(iVar4 + 0x75)" (* "*") (cast_expression "(undefined1 *)(iVar4 + 0x75)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x75)" (( "(") (binary_expression "iVar4 + 0x75" (identifier "iVar4") (+ "+") (number_literal "0x75")) () ")")))) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "iVar3 = param_2[4];" (assignment_expression "iVar3 = param_2[4]" (identifier "iVar3") (= "=") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "param_3[1] = 0;" (assignment_expression "param_3[1] = 0" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[2] = iVar3;" (assignment_expression "param_1[2] = iVar3" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8)" (* "*") (cast_expression "(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar3 + -0xc) + 8)" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar3 + -0xc)" (* "*") (cast_expression "(int *)(iVar3 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -0xc)" (( "(") (binary_expression "iVar3 + -0xc" (identifier "iVar3") (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "8")) () ")")))) (= "=") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "iVar3 = param_2[1];" (assignment_expression "iVar3 = param_2[1]" (identifier "iVar3") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" (* "*") (cast_expression "(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar3 + -0xc))" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar3 + -0xc)" (* "*") (cast_expression "(int *)(iVar3 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -0xc)" (( "(") (binary_expression "iVar3 + -0xc" (identifier "iVar3") (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (= "=") (subscript_expression "param_2[6]" (identifier "param_2") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "param_1[2] = param_2[7];" (assignment_expression "param_1[2] = param_2[7]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "iVar3 = *param_2;" (assignment_expression "iVar3 = *param_2" (identifier "iVar3") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*param_1 = iVar3;" (assignment_expression "*param_1 = iVar3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" (* "*") (cast_expression "(int *)((int)param_1 + *(int *)(iVar3 + -0xc))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar3 + -0xc))" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar3 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar3 + -0xc)" (* "*") (cast_expression "(int *)(iVar3 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + -0xc)" (( "(") (binary_expression "iVar3 + -0xc" (identifier "iVar3") (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (= "=") (subscript_expression "param_2[8]" (identifier "param_2") ([ "[") (number_literal "8") (] "]"))) (; ";")) (expression_statement "param_1[2] = param_2[9];" (assignment_expression "param_1[2] = param_2[9]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression "param_2[9]" (identifier "param_2") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "FUN_002137f0(param_1 + 3,param_3 + 3);" (call_expression "FUN_002137f0(param_1 + 3,param_3 + 3)" (identifier "FUN_002137f0") (argument_list "(param_1 + 3,param_3 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) (, ",") (binary_expression "param_3 + 3" (identifier "param_3") (+ "+") (number_literal "3")) () ")"))) (; ";")) (expression_statement "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3;" (assignment_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3" (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (* "*") (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x78" (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 "0x78")) () ")")))) (= "=") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

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_1 *var_7;
  type_1 *var_6;
  int *var_9;
  
  var_3 = *(int *)(var_1 + 8);
  *(int *)var_2 = var_3;
  *(type_2 *)(var_2 + *(int *)(var_3 + -0xc)) = *(type_2 *)(var_1 + 0xc);
  *(int *)(var_2 + 4) = var_9[1];
  var_6 = (type_1 *)(var_2 + *(int *)(var_3 + -0xc));
  var_7 = (type_1 *)(*(int *)(*var_9 + -0xc) + (int)var_9);
  ios_base::var_4(var_6,var_7);
  ios::var_5((type_3 *)var_6,(type_4 *)(var_6 + 0x6c));
  uVar3 = *(type_2 *)(var_7 + 0x70);
  *(type_2 *)(var_7 + 0x70) = 0;
  *(type_2 *)(var_6 + 0x70) = uVar3;
  var_6[0x74] = var_7[0x74];
  iVar1 = var_7[0x75];
  *(type_2 *)(var_6 + 0x78) = 0;
  var_6[0x75] = iVar1;
  var_3 = *(int *)(var_1 + 0x10);
  var_9[1] = 0;
  *(int *)(var_2 + 8) = var_3;
  *(type_2 *)(var_2 + *(int *)(var_3 + -0xc) + 8) = *(type_2 *)(var_1 + 0x14);
  var_3 = *(int *)(var_1 + 4);
  *(int *)var_2 = var_3;
  *(type_2 *)(var_2 + *(int *)(var_3 + -0xc)) = *(type_2 *)(var_1 + 0x18);
  *(type_2 *)(var_2 + 8) = *(type_2 *)(var_1 + 0x1c);
  var_3 = *(int *)var_1;
  *(int *)var_2 = var_3;
  *(type_2 *)(var_2 + *(int *)(var_3 + -0xc)) = *(type_2 *)(var_1 + 0x20);
  *(type_2 *)(var_2 + 8) = *(type_2 *)(var_1 + 0x24);
                    /* try { // try from 00214efa to 00214efe has its CatchHandler @ 00214f16 */
  filebuf::var_8((var_8 *)(var_2 + 0xc),(var_8 *)(var_9 + 3));
  *(var_8 **)(var_2 + *(int *)(*(int *)var_2 + -0xc) + 0x78) = (var_8 *)(var_2 + 0xc);
  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: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (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 (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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: (identifier) right: (number_literal)))))) right: (number_literal))))) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (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 (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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 (assignment_expression left: (subscript_expression argument: (identifier) index: (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;
  undefined4 uVar2;
  int iVar3;
  int iVar4;
  
  iVar3 = param_2[2];
  *param_1 = iVar3;
  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[3];
  param_1[1] = param_3[1];
  iVar4 = *(int *)(iVar3 + -0xc) + (int)param_1;
  iVar3 = *(int *)(*param_3 + -0xc) + (int)param_3;
  FUN_0022c0e0(iVar4,iVar3);
  FUN_00211000(iVar4,iVar4 + 0x6c);
  uVar2 = *(undefined4 *)(iVar3 + 0x70);
  *(undefined4 *)(iVar3 + 0x70) = 0;
  *(undefined4 *)(iVar4 + 0x70) = uVar2;
  *(undefined1 *)(iVar4 + 0x74) = *(undefined1 *)(iVar3 + 0x74);
  uVar1 = *(undefined1 *)(iVar3 + 0x75);
  *(undefined4 *)(iVar4 + 0x78) = 0;
  *(undefined1 *)(iVar4 + 0x75) = uVar1;
  iVar3 = param_2[4];
  param_3[1] = 0;
  param_1[2] = iVar3;
  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc) + 8) = param_2[5];
  iVar3 = param_2[1];
  *param_1 = iVar3;
  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[6];
  param_1[2] = param_2[7];
  iVar3 = *param_2;
  *param_1 = iVar3;
  *(int *)((int)param_1 + *(int *)(iVar3 + -0xc)) = param_2[8];
  param_1[2] = param_2[9];
                    /* try { // try from 00214efa to 00214efe has its CatchHandler @ 00214f16 */
  FUN_002137f0(param_1 + 3,param_3 + 3);
  *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x78) = param_1 + 3;
  return;
}

