
/* std::ifstream::ifstream(std::ifstream&&) */

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

{
  ios_base *this_00;
  ios_base iVar1;
  undefined4 uVar2;
  int iVar3;
  ios_base *piVar4;
  int unaff_EDI;
  
  __x86_get_pc_thunk_di();
  this_00 = (ios_base *)(this + 0x90);
  ios_base::ios_base(this_00);
  *(int *)this = unaff_EDI + 0x177ff3;
  *(undefined2 *)(this + 0x104) = 0;
  *(int *)(this + 0x90) = unaff_EDI + 0x178007;
  uVar2 = *(undefined4 *)(param_1 + 4);
  *(undefined4 *)(this + 0x100) = 0;
  *(undefined4 *)(this + 4) = uVar2;
  iVar3 = *(int *)param_1;
  *(undefined4 *)(this + 0x108) = 0;
  *(undefined4 *)(this + 0x10c) = 0;
  iVar3 = *(int *)(iVar3 + -0xc);
  *(undefined4 *)(this + 0x110) = 0;
  *(undefined4 *)(this + 0x114) = 0;
  piVar4 = (ios_base *)(param_1 + iVar3);
  ios_base::_M_move(this_00,piVar4);
                    /* try { // try from 00214926 to 0021492a has its CatchHandler @ 002149a5 */
  ios::_M_cache_locale((ios *)this_00,(locale *)(this + 0xfc));
  uVar2 = *(undefined4 *)(piVar4 + 0x70);
  *(undefined4 *)(piVar4 + 0x70) = 0;
  *(undefined4 *)(this + 0x100) = uVar2;
  *(ios_base *)(this + 0x104) = piVar4[0x74];
  iVar1 = piVar4[0x75];
  *(undefined4 *)(this + 0x108) = 0;
  *(ios_base *)(this + 0x105) = iVar1;
  *(undefined4 *)(param_1 + 4) = 0;
  *(int *)(this + 0x90) = unaff_EDI + 0x17803f;
  *(int *)this = unaff_EDI + 0x17802b;
                    /* try { // try from 0021498c to 00214990 has its CatchHandler @ 002149aa */
  filebuf::filebuf((filebuf *)(this + 8),(filebuf *)(param_1 + 8));
  *(filebuf **)(this + 0x108) = (filebuf *)(this + 8);
  return;
}



void FUN_00214880(int *param_1,int *param_2)

{
  int *piVar1;
  undefined1 uVar2;
  int iVar3;
  int iVar4;
  int unaff_EDI;
  
  FUN_000559ee();
  piVar1 = param_1 + 0x24;
  FUN_0022bca0(piVar1);
  *param_1 = unaff_EDI + 0x177ff3;
  *(undefined2 *)(param_1 + 0x41) = 0;
  param_1[0x24] = unaff_EDI + 0x178007;
  iVar4 = param_2[1];
  param_1[0x40] = 0;
  param_1[1] = iVar4;
  iVar4 = *param_2;
  param_1[0x42] = 0;
  param_1[0x43] = 0;
  iVar4 = *(int *)(iVar4 + -0xc);
  param_1[0x44] = 0;
  param_1[0x45] = 0;
  iVar4 = iVar4 + (int)param_2;
  FUN_0022c0e0(piVar1,iVar4);
                    /* try { // try from 00214926 to 0021492a has its CatchHandler @ 002149a5 */
  FUN_00211000(piVar1,param_1 + 0x3f);
  iVar3 = *(int *)(iVar4 + 0x70);
  *(undefined4 *)(iVar4 + 0x70) = 0;
  param_1[0x40] = iVar3;
  *(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74);
  uVar2 = *(undefined1 *)(iVar4 + 0x75);
  param_1[0x42] = 0;
  *(undefined1 *)((int)param_1 + 0x105) = uVar2;
  param_2[1] = 0;
  param_1[0x24] = unaff_EDI + 0x17803f;
  *param_1 = unaff_EDI + 0x17802b;
                    /* try { // try from 0021498c to 00214990 has its CatchHandler @ 002149aa */
  FUN_002137f0(param_1 + 2,param_2 + 2);
  param_1[0x42] = (int)(param_1 + 2);
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x000559ee
ADD EDI,0x17a777
PUSH ESI
PUSH EBX
SUB ESP,0x28
MOV ESI,dword ptr [EBP + 0x8]
LEA EAX,[ESI + 0x90]
MOV EBX,EDI
PUSH EAX
MOV dword ptr [EBP + -0x1c],EAX
CALL 0x0022bca0
LEA EDX,[EDI + 0xffffd87c]
XOR EBX,EBX
LEA EAX,[EDI + 0xffffd890]
MOV dword ptr [ESI],EDX
MOV dword ptr [EBP + -0x24],EDX
MOV EDX,dword ptr [EBP + 0xc]
MOV word ptr [ESI + 0x104],BX
MOV EBX,EDI
MOV dword ptr [ESI + 0x90],EAX
MOV EAX,dword ptr [EDX + 0x4]
MOV dword ptr [ESI + 0x100],0x0
MOV dword ptr [ESI + 0x4],EAX
MOV EAX,dword ptr [EDX]
MOV dword ptr [ESI + 0x108],0x0
MOV dword ptr [ESI + 0x10c],0x0
MOV ECX,dword ptr [EAX + -0xc]
MOV dword ptr [ESI + 0x110],0x0
MOV dword ptr [ESI + 0x114],0x0
ADD ECX,EDX
POP EAX
POP EDX
PUSH ECX
PUSH dword ptr [EBP + -0x1c]
MOV dword ptr [EBP + -0x20],ECX
CALL 0x0022c0e0
POP ECX
POP EAX
LEA EAX,[ESI + 0xfc]
PUSH EAX
PUSH dword ptr [EBP + -0x1c]
CALL 0x00211000
POP EDX
POP ECX
LEA EBX,[ESI + 0x8]
MOV ECX,dword ptr [EBP + -0x20]
MOV dword ptr [EBP + -0x20],EBX
MOV EAX,dword ptr [ECX + 0x70]
MOV dword ptr [ECX + 0x70],0x0
MOV dword ptr [ESI + 0x100],EAX
MOVZX EAX,byte ptr [ECX + 0x74]
MOV byte ptr [ESI + 0x104],AL
MOVZX EAX,byte ptr [ECX + 0x75]
MOV dword ptr [ESI + 0x108],0x0
MOV byte ptr [ESI + 0x105],AL
MOV EAX,dword ptr [EBP + 0xc]
MOV dword ptr [EAX + 0x4],0x0
LEA EAX,[EDI + 0xffffd8a8]
LEA EDX,[EAX + 0xc]
ADD EAX,0x20
MOV dword ptr [ESI + 0x90],EAX
MOV EAX,dword ptr [EBP + 0xc]
MOV dword ptr [ESI],EDX
ADD EAX,0x8
PUSH EAX
PUSH EBX
MOV EBX,EDI
CALL 0x002137f0
MOV EBX,dword ptr [EBP + -0x20]
ADD ESP,0x10
MOV dword ptr [ESI + 0x108],EBX
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_00214880(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  piVar1 = param_1 + 0x24;\n  FUN_0022bca0(piVar1);\n  *param_1 = unaff_EDI + 0x177ff3;\n  *(undefined2 *)(param_1 + 0x41) = 0;\n  param_1[0x24] = unaff_EDI + 0x178007;\n  iVar4 = param_2[1];\n  param_1[0x40] = 0;\n  param_1[1] = iVar4;\n  iVar4 = *param_2;\n  param_1[0x42] = 0;\n  param_1[0x43] = 0;\n  iVar4 = *(int *)(iVar4 + -0xc);\n  param_1[0x44] = 0;\n  param_1[0x45] = 0;\n  iVar4 = iVar4 + (int)param_2;\n  FUN_0022c0e0(piVar1,iVar4);\n                    /* try { // try from 00214926 to 0021492a has its CatchHandler @ 002149a5 */\n  FUN_00211000(piVar1,param_1 + 0x3f);\n  iVar3 = *(int *)(iVar4 + 0x70);\n  *(undefined4 *)(iVar4 + 0x70) = 0;\n  param_1[0x40] = iVar3;\n  *(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74);\n  uVar2 = *(undefined1 *)(iVar4 + 0x75);\n  param_1[0x42] = 0;\n  *(undefined1 *)((int)param_1 + 0x105) = uVar2;\n  param_2[1] = 0;\n  param_1[0x24] = unaff_EDI + 0x17803f;\n  *param_1 = unaff_EDI + 0x17802b;\n                    /* try { // try from 0021498c to 00214990 has its CatchHandler @ 002149aa */\n  FUN_002137f0(param_1 + 2,param_2 + 2);\n  param_1[0x42] = (int)(param_1 + 2);\n  return;\n}\n\n" (function_definition "void FUN_00214880(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  piVar1 = param_1 + 0x24;\n  FUN_0022bca0(piVar1);\n  *param_1 = unaff_EDI + 0x177ff3;\n  *(undefined2 *)(param_1 + 0x41) = 0;\n  param_1[0x24] = unaff_EDI + 0x178007;\n  iVar4 = param_2[1];\n  param_1[0x40] = 0;\n  param_1[1] = iVar4;\n  iVar4 = *param_2;\n  param_1[0x42] = 0;\n  param_1[0x43] = 0;\n  iVar4 = *(int *)(iVar4 + -0xc);\n  param_1[0x44] = 0;\n  param_1[0x45] = 0;\n  iVar4 = iVar4 + (int)param_2;\n  FUN_0022c0e0(piVar1,iVar4);\n                    /* try { // try from 00214926 to 0021492a has its CatchHandler @ 002149a5 */\n  FUN_00211000(piVar1,param_1 + 0x3f);\n  iVar3 = *(int *)(iVar4 + 0x70);\n  *(undefined4 *)(iVar4 + 0x70) = 0;\n  param_1[0x40] = iVar3;\n  *(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74);\n  uVar2 = *(undefined1 *)(iVar4 + 0x75);\n  param_1[0x42] = 0;\n  *(undefined1 *)((int)param_1 + 0x105) = uVar2;\n  param_2[1] = 0;\n  param_1[0x24] = unaff_EDI + 0x17803f;\n  *param_1 = unaff_EDI + 0x17802b;\n                    /* try { // try from 0021498c to 00214990 has its CatchHandler @ 002149aa */\n  FUN_002137f0(param_1 + 2,param_2 + 2);\n  param_1[0x42] = (int)(param_1 + 2);\n  return;\n}" primitive_type (function_declarator "FUN_00214880(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  piVar1 = param_1 + 0x24;\n  FUN_0022bca0(piVar1);\n  *param_1 = unaff_EDI + 0x177ff3;\n  *(undefined2 *)(param_1 + 0x41) = 0;\n  param_1[0x24] = unaff_EDI + 0x178007;\n  iVar4 = param_2[1];\n  param_1[0x40] = 0;\n  param_1[1] = iVar4;\n  iVar4 = *param_2;\n  param_1[0x42] = 0;\n  param_1[0x43] = 0;\n  iVar4 = *(int *)(iVar4 + -0xc);\n  param_1[0x44] = 0;\n  param_1[0x45] = 0;\n  iVar4 = iVar4 + (int)param_2;\n  FUN_0022c0e0(piVar1,iVar4);\n                    /* try { // try from 00214926 to 0021492a has its CatchHandler @ 002149a5 */\n  FUN_00211000(piVar1,param_1 + 0x3f);\n  iVar3 = *(int *)(iVar4 + 0x70);\n  *(undefined4 *)(iVar4 + 0x70) = 0;\n  param_1[0x40] = iVar3;\n  *(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74);\n  uVar2 = *(undefined1 *)(iVar4 + 0x75);\n  param_1[0x42] = 0;\n  *(undefined1 *)((int)param_1 + 0x105) = uVar2;\n  param_2[1] = 0;\n  param_1[0x24] = unaff_EDI + 0x17803f;\n  *param_1 = unaff_EDI + 0x17802b;\n                    /* try { // try from 0021498c to 00214990 has its CatchHandler @ 002149aa */\n  FUN_002137f0(param_1 + 2,param_2 + 2);\n  param_1[0x42] = (int)(param_1 + 2);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_000559ee();" (call_expression "FUN_000559ee()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = param_1 + 0x24;" (assignment_expression "piVar1 = param_1 + 0x24" identifier = (binary_expression "param_1 + 0x24" identifier + number_literal)) ;) (expression_statement "FUN_0022bca0(piVar1);" (call_expression "FUN_0022bca0(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "*param_1 = unaff_EDI + 0x177ff3;" (assignment_expression "*param_1 = unaff_EDI + 0x177ff3" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x177ff3" identifier + number_literal)) ;) (expression_statement "*(undefined2 *)(param_1 + 0x41) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x41) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x41)" * (cast_expression "(undefined2 *)(param_1 + 0x41)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x41)" ( (binary_expression "param_1 + 0x41" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x24] = unaff_EDI + 0x178007;" (assignment_expression "param_1[0x24] = unaff_EDI + 0x178007" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x178007" identifier + number_literal)) ;) (expression_statement "iVar4 = param_2[1];" (assignment_expression "iVar4 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x40] = 0;" (assignment_expression "param_1[0x40] = 0" (subscript_expression "param_1[0x40]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = *param_2;" (assignment_expression "iVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_1[0x42] = 0;" (assignment_expression "param_1[0x42] = 0" (subscript_expression "param_1[0x42]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x43] = 0;" (assignment_expression "param_1[0x43] = 0" (subscript_expression "param_1[0x43]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar4 = *(int *)(iVar4 + -0xc);" (assignment_expression "iVar4 = *(int *)(iVar4 + -0xc)" identifier = (pointer_expression "*(int *)(iVar4 + -0xc)" * (cast_expression "(int *)(iVar4 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + -0xc)" ( (binary_expression "iVar4 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "param_1[0x44] = 0;" (assignment_expression "param_1[0x44] = 0" (subscript_expression "param_1[0x44]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x45] = 0;" (assignment_expression "param_1[0x45] = 0" (subscript_expression "param_1[0x45]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar4 = iVar4 + (int)param_2;" (assignment_expression "iVar4 = iVar4 + (int)param_2" identifier = (binary_expression "iVar4 + (int)param_2" identifier + (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "FUN_0022c0e0(piVar1,iVar4);" (call_expression "FUN_0022c0e0(piVar1,iVar4)" identifier (argument_list "(piVar1,iVar4)" ( identifier , identifier ))) ;) comment (expression_statement "FUN_00211000(piVar1,param_1 + 0x3f);" (call_expression "FUN_00211000(piVar1,param_1 + 0x3f)" identifier (argument_list "(piVar1,param_1 + 0x3f)" ( identifier , (binary_expression "param_1 + 0x3f" identifier + number_literal) ))) ;) (expression_statement "iVar3 = *(int *)(iVar4 + 0x70);" (assignment_expression "iVar3 = *(int *)(iVar4 + 0x70)" identifier = (pointer_expression "*(int *)(iVar4 + 0x70)" * (cast_expression "(int *)(iVar4 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x70)" ( (binary_expression "iVar4 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x70) = 0" (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) )))) = number_literal) ;) (expression_statement "param_1[0x40] = iVar3;" (assignment_expression "param_1[0x40] = iVar3" (subscript_expression "param_1[0x40]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74);" (assignment_expression "*(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74)" (pointer_expression "*(undefined1 *)(param_1 + 0x41)" * (cast_expression "(undefined1 *)(param_1 + 0x41)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x41)" ( (binary_expression "param_1 + 0x41" identifier + number_literal) )))) = (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) ))))) ;) (expression_statement "uVar2 = *(undefined1 *)(iVar4 + 0x75);" (assignment_expression "uVar2 = *(undefined1 *)(iVar4 + 0x75)" identifier = (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) ))))) ;) (expression_statement "param_1[0x42] = 0;" (assignment_expression "param_1[0x42] = 0" (subscript_expression "param_1[0x42]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x105) = uVar2;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x105) = uVar2" (pointer_expression "*(undefined1 *)((int)param_1 + 0x105)" * (cast_expression "(undefined1 *)((int)param_1 + 0x105)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x105)" ( (binary_expression "(int)param_1 + 0x105" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x24] = unaff_EDI + 0x17803f;" (assignment_expression "param_1[0x24] = unaff_EDI + 0x17803f" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x17803f" identifier + number_literal)) ;) (expression_statement "*param_1 = unaff_EDI + 0x17802b;" (assignment_expression "*param_1 = unaff_EDI + 0x17802b" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x17802b" identifier + number_literal)) ;) comment (expression_statement "FUN_002137f0(param_1 + 2,param_2 + 2);" (call_expression "FUN_002137f0(param_1 + 2,param_2 + 2)" identifier (argument_list "(param_1 + 2,param_2 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) , (binary_expression "param_2 + 2" identifier + number_literal) ))) ;) (expression_statement "param_1[0x42] = (int)(param_1 + 2);" (assignment_expression "param_1[0x42] = (int)(param_1 + 2)" (subscript_expression "param_1[0x42]" identifier [ number_literal ]) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::ifstream::ifstream(std::ifstream&&) */\n\nvoid __thiscall std::ifstream::ifstream(ifstream *this,ifstream *param_1)\n\n{\n  ios_base *this_00;\n  ios_base iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  ios_base *piVar4;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  this_00 = (ios_base *)(this + 0x90);\n  ios_base::ios_base(this_00);\n  *(int *)this = unaff_EDI + 0x177ff3;\n  *(undefined2 *)(this + 0x104) = 0;\n  *(int *)(this + 0x90) = unaff_EDI + 0x178007;\n  uVar2 = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 0x100) = 0;\n  *(undefined4 *)(this + 4) = uVar2;\n  iVar3 = *(int *)param_1;\n  *(undefined4 *)(this + 0x108) = 0;\n  *(undefined4 *)(this + 0x10c) = 0;\n  iVar3 = *(int *)(iVar3 + -0xc);\n  *(undefined4 *)(this + 0x110) = 0;\n  *(undefined4 *)(this + 0x114) = 0;\n  piVar4 = (ios_base *)(param_1 + iVar3);\n  ios_base::_M_move(this_00,piVar4);\n                    /* try { // try from 00214926 to 0021492a has its CatchHandler @ 002149a5 */\n  ios::_M_cache_locale((ios *)this_00,(locale *)(this + 0xfc));\n  uVar2 = *(undefined4 *)(piVar4 + 0x70);\n  *(undefined4 *)(piVar4 + 0x70) = 0;\n  *(undefined4 *)(this + 0x100) = uVar2;\n  *(ios_base *)(this + 0x104) = piVar4[0x74];\n  iVar1 = piVar4[0x75];\n  *(undefined4 *)(this + 0x108) = 0;\n  *(ios_base *)(this + 0x105) = iVar1;\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(int *)(this + 0x90) = unaff_EDI + 0x17803f;\n  *(int *)this = unaff_EDI + 0x17802b;\n                    /* try { // try from 0021498c to 00214990 has its CatchHandler @ 002149aa */\n  filebuf::filebuf((filebuf *)(this + 8),(filebuf *)(param_1 + 8));\n  *(filebuf **)(this + 0x108) = (filebuf *)(this + 8);\n  return;\n}\n\n" comment (function_definition "void __thiscall std::ifstream::ifstream(ifstream *this,ifstream *param_1)\n\n{\n  ios_base *this_00;\n  ios_base iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  ios_base *piVar4;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  this_00 = (ios_base *)(this + 0x90);\n  ios_base::ios_base(this_00);\n  *(int *)this = unaff_EDI + 0x177ff3;\n  *(undefined2 *)(this + 0x104) = 0;\n  *(int *)(this + 0x90) = unaff_EDI + 0x178007;\n  uVar2 = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 0x100) = 0;\n  *(undefined4 *)(this + 4) = uVar2;\n  iVar3 = *(int *)param_1;\n  *(undefined4 *)(this + 0x108) = 0;\n  *(undefined4 *)(this + 0x10c) = 0;\n  iVar3 = *(int *)(iVar3 + -0xc);\n  *(undefined4 *)(this + 0x110) = 0;\n  *(undefined4 *)(this + 0x114) = 0;\n  piVar4 = (ios_base *)(param_1 + iVar3);\n  ios_base::_M_move(this_00,piVar4);\n                    /* try { // try from 00214926 to 0021492a has its CatchHandler @ 002149a5 */\n  ios::_M_cache_locale((ios *)this_00,(locale *)(this + 0xfc));\n  uVar2 = *(undefined4 *)(piVar4 + 0x70);\n  *(undefined4 *)(piVar4 + 0x70) = 0;\n  *(undefined4 *)(this + 0x100) = uVar2;\n  *(ios_base *)(this + 0x104) = piVar4[0x74];\n  iVar1 = piVar4[0x75];\n  *(undefined4 *)(this + 0x108) = 0;\n  *(ios_base *)(this + 0x105) = iVar1;\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(int *)(this + 0x90) = unaff_EDI + 0x17803f;\n  *(int *)this = unaff_EDI + 0x17802b;\n                    /* try { // try from 0021498c to 00214990 has its CatchHandler @ 002149aa */\n  filebuf::filebuf((filebuf *)(this + 8),(filebuf *)(param_1 + 8));\n  *(filebuf **)(this + 0x108) = (filebuf *)(this + 8);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::ifstream::" identifier : : identifier : :) (function_declarator "ifstream(ifstream *this,ifstream *param_1)" identifier (parameter_list "(ifstream *this,ifstream *param_1)" ( (parameter_declaration "ifstream *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "ifstream *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ios_base *this_00;\n  ios_base iVar1;\n  undefined4 uVar2;\n  int iVar3;\n  ios_base *piVar4;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  this_00 = (ios_base *)(this + 0x90);\n  ios_base::ios_base(this_00);\n  *(int *)this = unaff_EDI + 0x177ff3;\n  *(undefined2 *)(this + 0x104) = 0;\n  *(int *)(this + 0x90) = unaff_EDI + 0x178007;\n  uVar2 = *(undefined4 *)(param_1 + 4);\n  *(undefined4 *)(this + 0x100) = 0;\n  *(undefined4 *)(this + 4) = uVar2;\n  iVar3 = *(int *)param_1;\n  *(undefined4 *)(this + 0x108) = 0;\n  *(undefined4 *)(this + 0x10c) = 0;\n  iVar3 = *(int *)(iVar3 + -0xc);\n  *(undefined4 *)(this + 0x110) = 0;\n  *(undefined4 *)(this + 0x114) = 0;\n  piVar4 = (ios_base *)(param_1 + iVar3);\n  ios_base::_M_move(this_00,piVar4);\n                    /* try { // try from 00214926 to 0021492a has its CatchHandler @ 002149a5 */\n  ios::_M_cache_locale((ios *)this_00,(locale *)(this + 0xfc));\n  uVar2 = *(undefined4 *)(piVar4 + 0x70);\n  *(undefined4 *)(piVar4 + 0x70) = 0;\n  *(undefined4 *)(this + 0x100) = uVar2;\n  *(ios_base *)(this + 0x104) = piVar4[0x74];\n  iVar1 = piVar4[0x75];\n  *(undefined4 *)(this + 0x108) = 0;\n  *(ios_base *)(this + 0x105) = iVar1;\n  *(undefined4 *)(param_1 + 4) = 0;\n  *(int *)(this + 0x90) = unaff_EDI + 0x17803f;\n  *(int *)this = unaff_EDI + 0x17802b;\n                    /* try { // try from 0021498c to 00214990 has its CatchHandler @ 002149aa */\n  filebuf::filebuf((filebuf *)(this + 8),(filebuf *)(param_1 + 8));\n  *(filebuf **)(this + 0x108) = (filebuf *)(this + 8);\n  return;\n}" { (declaration "ios_base *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "ios_base iVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ios_base *piVar4;" type_identifier (pointer_declarator "*piVar4" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "this_00 = (ios_base *)(this + 0x90);" (assignment_expression "this_00 = (ios_base *)(this + 0x90)" identifier = (cast_expression "(ios_base *)(this + 0x90)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x90)" ( (binary_expression "this + 0x90" identifier + number_literal) )))) ;) (labeled_statement "ios_base::ios_base(this_00);" statement_identifier : (ERROR ":" :) (expression_statement "ios_base(this_00);" (call_expression "ios_base(this_00)" identifier (argument_list "(this_00)" ( identifier ))) ;)) (expression_statement "*(int *)this = unaff_EDI + 0x177ff3;" (assignment_expression "*(int *)this = unaff_EDI + 0x177ff3" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "unaff_EDI + 0x177ff3" identifier + number_literal)) ;) (expression_statement "*(undefined2 *)(this + 0x104) = 0;" (assignment_expression "*(undefined2 *)(this + 0x104) = 0" (pointer_expression "*(undefined2 *)(this + 0x104)" * (cast_expression "(undefined2 *)(this + 0x104)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x104)" ( (binary_expression "this + 0x104" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(this + 0x90) = unaff_EDI + 0x178007;" (assignment_expression "*(int *)(this + 0x90) = unaff_EDI + 0x178007" (pointer_expression "*(int *)(this + 0x90)" * (cast_expression "(int *)(this + 0x90)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x90)" ( (binary_expression "this + 0x90" identifier + number_literal) )))) = (binary_expression "unaff_EDI + 0x178007" identifier + number_literal)) ;) (expression_statement "uVar2 = *(undefined4 *)(param_1 + 4);" (assignment_expression "uVar2 = *(undefined4 *)(param_1 + 4)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x100) = 0;" (assignment_expression "*(undefined4 *)(this + 0x100) = 0" (pointer_expression "*(undefined4 *)(this + 0x100)" * (cast_expression "(undefined4 *)(this + 0x100)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x100)" ( (binary_expression "this + 0x100" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 4) = uVar2;" (assignment_expression "*(undefined4 *)(this + 4) = uVar2" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = *(int *)param_1;" (assignment_expression "iVar3 = *(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 "*(undefined4 *)(this + 0x108) = 0;" (assignment_expression "*(undefined4 *)(this + 0x108) = 0" (pointer_expression "*(undefined4 *)(this + 0x108)" * (cast_expression "(undefined4 *)(this + 0x108)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x108)" ( (binary_expression "this + 0x108" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x10c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x10c) = 0" (pointer_expression "*(undefined4 *)(this + 0x10c)" * (cast_expression "(undefined4 *)(this + 0x10c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10c)" ( (binary_expression "this + 0x10c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar3 = *(int *)(iVar3 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + -0xc)" 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) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x110) = 0;" (assignment_expression "*(undefined4 *)(this + 0x110) = 0" (pointer_expression "*(undefined4 *)(this + 0x110)" * (cast_expression "(undefined4 *)(this + 0x110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x110)" ( (binary_expression "this + 0x110" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x114) = 0;" (assignment_expression "*(undefined4 *)(this + 0x114) = 0" (pointer_expression "*(undefined4 *)(this + 0x114)" * (cast_expression "(undefined4 *)(this + 0x114)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x114)" ( (binary_expression "this + 0x114" identifier + number_literal) )))) = number_literal) ;) (expression_statement "piVar4 = (ios_base *)(param_1 + iVar3);" (assignment_expression "piVar4 = (ios_base *)(param_1 + iVar3)" identifier = (cast_expression "(ios_base *)(param_1 + iVar3)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + iVar3)" ( (binary_expression "param_1 + iVar3" identifier + 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 ))) ;)) comment (labeled_statement "ios::_M_cache_locale((ios *)this_00,(locale *)(this + 0xfc));" statement_identifier : (ERROR ":" :) (expression_statement "_M_cache_locale((ios *)this_00,(locale *)(this + 0xfc));" (call_expression "_M_cache_locale((ios *)this_00,(locale *)(this + 0xfc))" identifier (argument_list "((ios *)this_00,(locale *)(this + 0xfc))" ( (cast_expression "(ios *)this_00" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(locale *)(this + 0xfc)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xfc)" ( (binary_expression "this + 0xfc" identifier + number_literal) ))) ))) ;)) (expression_statement "uVar2 = *(undefined4 *)(piVar4 + 0x70);" (assignment_expression "uVar2 = *(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 + 0x100) = uVar2;" (assignment_expression "*(undefined4 *)(this + 0x100) = uVar2" (pointer_expression "*(undefined4 *)(this + 0x100)" * (cast_expression "(undefined4 *)(this + 0x100)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x100)" ( (binary_expression "this + 0x100" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(ios_base *)(this + 0x104) = piVar4[0x74];" (assignment_expression "*(ios_base *)(this + 0x104) = piVar4[0x74]" (pointer_expression "*(ios_base *)(this + 0x104)" * (cast_expression "(ios_base *)(this + 0x104)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x104)" ( (binary_expression "this + 0x104" 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 + 0x108) = 0;" (assignment_expression "*(undefined4 *)(this + 0x108) = 0" (pointer_expression "*(undefined4 *)(this + 0x108)" * (cast_expression "(undefined4 *)(this + 0x108)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x108)" ( (binary_expression "this + 0x108" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(ios_base *)(this + 0x105) = iVar1;" (assignment_expression "*(ios_base *)(this + 0x105) = iVar1" (pointer_expression "*(ios_base *)(this + 0x105)" * (cast_expression "(ios_base *)(this + 0x105)" ( (type_descriptor "ios_base *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x105)" ( (binary_expression "this + 0x105" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 0" (pointer_expression "*(undefined4 *)(param_1 + 4)" * (cast_expression "(undefined4 *)(param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(this + 0x90) = unaff_EDI + 0x17803f;" (assignment_expression "*(int *)(this + 0x90) = unaff_EDI + 0x17803f" (pointer_expression "*(int *)(this + 0x90)" * (cast_expression "(int *)(this + 0x90)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x90)" ( (binary_expression "this + 0x90" identifier + number_literal) )))) = (binary_expression "unaff_EDI + 0x17803f" identifier + number_literal)) ;) (expression_statement "*(int *)this = unaff_EDI + 0x17802b;" (assignment_expression "*(int *)this = unaff_EDI + 0x17802b" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "unaff_EDI + 0x17802b" identifier + number_literal)) ;) comment (labeled_statement "filebuf::filebuf((filebuf *)(this + 8),(filebuf *)(param_1 + 8));" statement_identifier : (ERROR ":" :) (expression_statement "filebuf((filebuf *)(this + 8),(filebuf *)(param_1 + 8));" (call_expression "filebuf((filebuf *)(this + 8),(filebuf *)(param_1 + 8))" identifier (argument_list "((filebuf *)(this + 8),(filebuf *)(param_1 + 8))" ( (cast_expression "(filebuf *)(this + 8)" ( (type_descriptor "filebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) ))) , (cast_expression "(filebuf *)(param_1 + 8)" ( (type_descriptor "filebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))) ))) ;)) (expression_statement "*(filebuf **)(this + 0x108) = (filebuf *)(this + 8);" (assignment_expression "*(filebuf **)(this + 0x108) = (filebuf *)(this + 8)" (pointer_expression "*(filebuf **)(this + 0x108)" * (cast_expression "(filebuf **)(this + 0x108)" ( (type_descriptor "filebuf **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x108)" ( (binary_expression "this + 0x108" identifier + number_literal) )))) = (cast_expression "(filebuf *)(this + 8)" ( (type_descriptor "filebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00214880(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  piVar1 = param_1 + 0x24;\n  FUN_0022bca0(piVar1);\n  *param_1 = unaff_EDI + 0x177ff3;\n  *(undefined2 *)(param_1 + 0x41) = 0;\n  param_1[0x24] = unaff_EDI + 0x178007;\n  iVar4 = param_2[1];\n  param_1[0x40] = 0;\n  param_1[1] = iVar4;\n  iVar4 = *param_2;\n  param_1[0x42] = 0;\n  param_1[0x43] = 0;\n  iVar4 = *(int *)(iVar4 + -0xc);\n  param_1[0x44] = 0;\n  param_1[0x45] = 0;\n  iVar4 = iVar4 + (int)param_2;\n  FUN_0022c0e0(piVar1,iVar4);\n                    \n  FUN_00211000(piVar1,param_1 + 0x3f);\n  iVar3 = *(int *)(iVar4 + 0x70);\n  *(undefined4 *)(iVar4 + 0x70) = 0;\n  param_1[0x40] = iVar3;\n  *(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74);\n  uVar2 = *(undefined1 *)(iVar4 + 0x75);\n  param_1[0x42] = 0;\n  *(undefined1 *)((int)param_1 + 0x105) = uVar2;\n  param_2[1] = 0;\n  param_1[0x24] = unaff_EDI + 0x17803f;\n  *param_1 = unaff_EDI + 0x17802b;\n                    \n  FUN_002137f0(param_1 + 2,param_2 + 2);\n  param_1[0x42] = (int)(param_1 + 2);\n  return;\n}\n\n" (function_definition "void FUN_00214880(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  piVar1 = param_1 + 0x24;\n  FUN_0022bca0(piVar1);\n  *param_1 = unaff_EDI + 0x177ff3;\n  *(undefined2 *)(param_1 + 0x41) = 0;\n  param_1[0x24] = unaff_EDI + 0x178007;\n  iVar4 = param_2[1];\n  param_1[0x40] = 0;\n  param_1[1] = iVar4;\n  iVar4 = *param_2;\n  param_1[0x42] = 0;\n  param_1[0x43] = 0;\n  iVar4 = *(int *)(iVar4 + -0xc);\n  param_1[0x44] = 0;\n  param_1[0x45] = 0;\n  iVar4 = iVar4 + (int)param_2;\n  FUN_0022c0e0(piVar1,iVar4);\n                    \n  FUN_00211000(piVar1,param_1 + 0x3f);\n  iVar3 = *(int *)(iVar4 + 0x70);\n  *(undefined4 *)(iVar4 + 0x70) = 0;\n  param_1[0x40] = iVar3;\n  *(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74);\n  uVar2 = *(undefined1 *)(iVar4 + 0x75);\n  param_1[0x42] = 0;\n  *(undefined1 *)((int)param_1 + 0x105) = uVar2;\n  param_2[1] = 0;\n  param_1[0x24] = unaff_EDI + 0x17803f;\n  *param_1 = unaff_EDI + 0x17802b;\n                    \n  FUN_002137f0(param_1 + 2,param_2 + 2);\n  param_1[0x42] = (int)(param_1 + 2);\n  return;\n}" primitive_type (function_declarator "FUN_00214880(int *param_1,int *param_2)" identifier (parameter_list "(int *param_1,int *param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  piVar1 = param_1 + 0x24;\n  FUN_0022bca0(piVar1);\n  *param_1 = unaff_EDI + 0x177ff3;\n  *(undefined2 *)(param_1 + 0x41) = 0;\n  param_1[0x24] = unaff_EDI + 0x178007;\n  iVar4 = param_2[1];\n  param_1[0x40] = 0;\n  param_1[1] = iVar4;\n  iVar4 = *param_2;\n  param_1[0x42] = 0;\n  param_1[0x43] = 0;\n  iVar4 = *(int *)(iVar4 + -0xc);\n  param_1[0x44] = 0;\n  param_1[0x45] = 0;\n  iVar4 = iVar4 + (int)param_2;\n  FUN_0022c0e0(piVar1,iVar4);\n                    \n  FUN_00211000(piVar1,param_1 + 0x3f);\n  iVar3 = *(int *)(iVar4 + 0x70);\n  *(undefined4 *)(iVar4 + 0x70) = 0;\n  param_1[0x40] = iVar3;\n  *(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74);\n  uVar2 = *(undefined1 *)(iVar4 + 0x75);\n  param_1[0x42] = 0;\n  *(undefined1 *)((int)param_1 + 0x105) = uVar2;\n  param_2[1] = 0;\n  param_1[0x24] = unaff_EDI + 0x17803f;\n  *param_1 = unaff_EDI + 0x17802b;\n                    \n  FUN_002137f0(param_1 + 2,param_2 + 2);\n  param_1[0x42] = (int)(param_1 + 2);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_000559ee();" (call_expression "FUN_000559ee()" identifier (argument_list "()" ( ))) ;) (expression_statement "piVar1 = param_1 + 0x24;" (assignment_expression "piVar1 = param_1 + 0x24" identifier = (binary_expression "param_1 + 0x24" identifier + number_literal)) ;) (expression_statement "FUN_0022bca0(piVar1);" (call_expression "FUN_0022bca0(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "*param_1 = unaff_EDI + 0x177ff3;" (assignment_expression "*param_1 = unaff_EDI + 0x177ff3" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x177ff3" identifier + number_literal)) ;) (expression_statement "*(undefined2 *)(param_1 + 0x41) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x41) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x41)" * (cast_expression "(undefined2 *)(param_1 + 0x41)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x41)" ( (binary_expression "param_1 + 0x41" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x24] = unaff_EDI + 0x178007;" (assignment_expression "param_1[0x24] = unaff_EDI + 0x178007" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x178007" identifier + number_literal)) ;) (expression_statement "iVar4 = param_2[1];" (assignment_expression "iVar4 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x40] = 0;" (assignment_expression "param_1[0x40] = 0" (subscript_expression "param_1[0x40]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = *param_2;" (assignment_expression "iVar4 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "param_1[0x42] = 0;" (assignment_expression "param_1[0x42] = 0" (subscript_expression "param_1[0x42]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x43] = 0;" (assignment_expression "param_1[0x43] = 0" (subscript_expression "param_1[0x43]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar4 = *(int *)(iVar4 + -0xc);" (assignment_expression "iVar4 = *(int *)(iVar4 + -0xc)" identifier = (pointer_expression "*(int *)(iVar4 + -0xc)" * (cast_expression "(int *)(iVar4 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + -0xc)" ( (binary_expression "iVar4 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "param_1[0x44] = 0;" (assignment_expression "param_1[0x44] = 0" (subscript_expression "param_1[0x44]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x45] = 0;" (assignment_expression "param_1[0x45] = 0" (subscript_expression "param_1[0x45]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar4 = iVar4 + (int)param_2;" (assignment_expression "iVar4 = iVar4 + (int)param_2" identifier = (binary_expression "iVar4 + (int)param_2" identifier + (cast_expression "(int)param_2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "FUN_0022c0e0(piVar1,iVar4);" (call_expression "FUN_0022c0e0(piVar1,iVar4)" identifier (argument_list "(piVar1,iVar4)" ( identifier , identifier ))) ;) (expression_statement "FUN_00211000(piVar1,param_1 + 0x3f);" (call_expression "FUN_00211000(piVar1,param_1 + 0x3f)" identifier (argument_list "(piVar1,param_1 + 0x3f)" ( identifier , (binary_expression "param_1 + 0x3f" identifier + number_literal) ))) ;) (expression_statement "iVar3 = *(int *)(iVar4 + 0x70);" (assignment_expression "iVar3 = *(int *)(iVar4 + 0x70)" identifier = (pointer_expression "*(int *)(iVar4 + 0x70)" * (cast_expression "(int *)(iVar4 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x70)" ( (binary_expression "iVar4 + 0x70" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(iVar4 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x70) = 0" (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) )))) = number_literal) ;) (expression_statement "param_1[0x40] = iVar3;" (assignment_expression "param_1[0x40] = iVar3" (subscript_expression "param_1[0x40]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74);" (assignment_expression "*(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74)" (pointer_expression "*(undefined1 *)(param_1 + 0x41)" * (cast_expression "(undefined1 *)(param_1 + 0x41)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x41)" ( (binary_expression "param_1 + 0x41" identifier + number_literal) )))) = (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) ))))) ;) (expression_statement "uVar2 = *(undefined1 *)(iVar4 + 0x75);" (assignment_expression "uVar2 = *(undefined1 *)(iVar4 + 0x75)" identifier = (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) ))))) ;) (expression_statement "param_1[0x42] = 0;" (assignment_expression "param_1[0x42] = 0" (subscript_expression "param_1[0x42]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x105) = uVar2;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x105) = uVar2" (pointer_expression "*(undefined1 *)((int)param_1 + 0x105)" * (cast_expression "(undefined1 *)((int)param_1 + 0x105)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x105)" ( (binary_expression "(int)param_1 + 0x105" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x24] = unaff_EDI + 0x17803f;" (assignment_expression "param_1[0x24] = unaff_EDI + 0x17803f" (subscript_expression "param_1[0x24]" identifier [ number_literal ]) = (binary_expression "unaff_EDI + 0x17803f" identifier + number_literal)) ;) (expression_statement "*param_1 = unaff_EDI + 0x17802b;" (assignment_expression "*param_1 = unaff_EDI + 0x17802b" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x17802b" identifier + number_literal)) ;) (expression_statement "FUN_002137f0(param_1 + 2,param_2 + 2);" (call_expression "FUN_002137f0(param_1 + 2,param_2 + 2)" identifier (argument_list "(param_1 + 2,param_2 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) , (binary_expression "param_2 + 2" identifier + number_literal) ))) ;) (expression_statement "param_1[0x42] = (int)(param_1 + 2);" (assignment_expression "param_1[0x42] = (int)(param_1 + 2)" (subscript_expression "param_1[0x42]" identifier [ number_literal ]) = (cast_expression "(int)(param_1 + 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" 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)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (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 (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (return_statement return ;) })))
(function_definition "void FUN_00214880(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  piVar1 = param_1 + 0x24;\n  FUN_0022bca0(piVar1);\n  *param_1 = unaff_EDI + 0x177ff3;\n  *(undefined2 *)(param_1 + 0x41) = 0;\n  param_1[0x24] = unaff_EDI + 0x178007;\n  iVar4 = param_2[1];\n  param_1[0x40] = 0;\n  param_1[1] = iVar4;\n  iVar4 = *param_2;\n  param_1[0x42] = 0;\n  param_1[0x43] = 0;\n  iVar4 = *(int *)(iVar4 + -0xc);\n  param_1[0x44] = 0;\n  param_1[0x45] = 0;\n  iVar4 = iVar4 + (int)param_2;\n  FUN_0022c0e0(piVar1,iVar4);\n                    \n  FUN_00211000(piVar1,param_1 + 0x3f);\n  iVar3 = *(int *)(iVar4 + 0x70);\n  *(undefined4 *)(iVar4 + 0x70) = 0;\n  param_1[0x40] = iVar3;\n  *(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74);\n  uVar2 = *(undefined1 *)(iVar4 + 0x75);\n  param_1[0x42] = 0;\n  *(undefined1 *)((int)param_1 + 0x105) = uVar2;\n  param_2[1] = 0;\n  param_1[0x24] = unaff_EDI + 0x17803f;\n  *param_1 = unaff_EDI + 0x17802b;\n                    \n  FUN_002137f0(param_1 + 2,param_2 + 2);\n  param_1[0x42] = (int)(param_1 + 2);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00214880(int *param_1,int *param_2)" (identifier "FUN_00214880") (parameter_list "(int *param_1,int *param_2)" (( "(") (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"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  undefined1 uVar2;\n  int iVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  piVar1 = param_1 + 0x24;\n  FUN_0022bca0(piVar1);\n  *param_1 = unaff_EDI + 0x177ff3;\n  *(undefined2 *)(param_1 + 0x41) = 0;\n  param_1[0x24] = unaff_EDI + 0x178007;\n  iVar4 = param_2[1];\n  param_1[0x40] = 0;\n  param_1[1] = iVar4;\n  iVar4 = *param_2;\n  param_1[0x42] = 0;\n  param_1[0x43] = 0;\n  iVar4 = *(int *)(iVar4 + -0xc);\n  param_1[0x44] = 0;\n  param_1[0x45] = 0;\n  iVar4 = iVar4 + (int)param_2;\n  FUN_0022c0e0(piVar1,iVar4);\n                    \n  FUN_00211000(piVar1,param_1 + 0x3f);\n  iVar3 = *(int *)(iVar4 + 0x70);\n  *(undefined4 *)(iVar4 + 0x70) = 0;\n  param_1[0x40] = iVar3;\n  *(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74);\n  uVar2 = *(undefined1 *)(iVar4 + 0x75);\n  param_1[0x42] = 0;\n  *(undefined1 *)((int)param_1 + 0x105) = uVar2;\n  param_2[1] = 0;\n  param_1[0x24] = unaff_EDI + 0x17803f;\n  *param_1 = unaff_EDI + 0x17802b;\n                    \n  FUN_002137f0(param_1 + 2,param_2 + 2);\n  param_1[0x42] = (int)(param_1 + 2);\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "undefined1 uVar2;" (type_identifier "undefined1") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "FUN_000559ee();" (call_expression "FUN_000559ee()" (identifier "FUN_000559ee") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "piVar1 = param_1 + 0x24;" (assignment_expression "piVar1 = param_1 + 0x24" (identifier "piVar1") (= "=") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24"))) (; ";")) (expression_statement "FUN_0022bca0(piVar1);" (call_expression "FUN_0022bca0(piVar1)" (identifier "FUN_0022bca0") (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (expression_statement "*param_1 = unaff_EDI + 0x177ff3;" (assignment_expression "*param_1 = unaff_EDI + 0x177ff3" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "unaff_EDI + 0x177ff3" (identifier "unaff_EDI") (+ "+") (number_literal "0x177ff3"))) (; ";")) (expression_statement "*(undefined2 *)(param_1 + 0x41) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x41) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x41)" (* "*") (cast_expression "(undefined2 *)(param_1 + 0x41)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x41)" (( "(") (binary_expression "param_1 + 0x41" (identifier "param_1") (+ "+") (number_literal "0x41")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x24] = unaff_EDI + 0x178007;" (assignment_expression "param_1[0x24] = unaff_EDI + 0x178007" (subscript_expression "param_1[0x24]" (identifier "param_1") ([ "[") (number_literal "0x24") (] "]")) (= "=") (binary_expression "unaff_EDI + 0x178007" (identifier "unaff_EDI") (+ "+") (number_literal "0x178007"))) (; ";")) (expression_statement "iVar4 = param_2[1];" (assignment_expression "iVar4 = param_2[1]" (identifier "iVar4") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "param_1[0x40] = 0;" (assignment_expression "param_1[0x40] = 0" (subscript_expression "param_1[0x40]" (identifier "param_1") ([ "[") (number_literal "0x40") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "iVar4 = *param_2;" (assignment_expression "iVar4 = *param_2" (identifier "iVar4") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "param_1[0x42] = 0;" (assignment_expression "param_1[0x42] = 0" (subscript_expression "param_1[0x42]" (identifier "param_1") ([ "[") (number_literal "0x42") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x43] = 0;" (assignment_expression "param_1[0x43] = 0" (subscript_expression "param_1[0x43]" (identifier "param_1") ([ "[") (number_literal "0x43") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = *(int *)(iVar4 + -0xc);" (assignment_expression "iVar4 = *(int *)(iVar4 + -0xc)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(iVar4 + -0xc)" (* "*") (cast_expression "(int *)(iVar4 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + -0xc)" (( "(") (binary_expression "iVar4 + -0xc" (identifier "iVar4") (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "param_1[0x44] = 0;" (assignment_expression "param_1[0x44] = 0" (subscript_expression "param_1[0x44]" (identifier "param_1") ([ "[") (number_literal "0x44") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x45] = 0;" (assignment_expression "param_1[0x45] = 0" (subscript_expression "param_1[0x45]" (identifier "param_1") ([ "[") (number_literal "0x45") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = iVar4 + (int)param_2;" (assignment_expression "iVar4 = iVar4 + (int)param_2" (identifier "iVar4") (= "=") (binary_expression "iVar4 + (int)param_2" (identifier "iVar4") (+ "+") (cast_expression "(int)param_2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_2")))) (; ";")) (expression_statement "FUN_0022c0e0(piVar1,iVar4);" (call_expression "FUN_0022c0e0(piVar1,iVar4)" (identifier "FUN_0022c0e0") (argument_list "(piVar1,iVar4)" (( "(") (identifier "piVar1") (, ",") (identifier "iVar4") () ")"))) (; ";")) (expression_statement "FUN_00211000(piVar1,param_1 + 0x3f);" (call_expression "FUN_00211000(piVar1,param_1 + 0x3f)" (identifier "FUN_00211000") (argument_list "(piVar1,param_1 + 0x3f)" (( "(") (identifier "piVar1") (, ",") (binary_expression "param_1 + 0x3f" (identifier "param_1") (+ "+") (number_literal "0x3f")) () ")"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar4 + 0x70);" (assignment_expression "iVar3 = *(int *)(iVar4 + 0x70)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar4 + 0x70)" (* "*") (cast_expression "(int *)(iVar4 + 0x70)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x70)" (( "(") (binary_expression "iVar4 + 0x70" (identifier "iVar4") (+ "+") (number_literal "0x70")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + 0x70) = 0;" (assignment_expression "*(undefined4 *)(iVar4 + 0x70) = 0" (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")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x40] = iVar3;" (assignment_expression "param_1[0x40] = iVar3" (subscript_expression "param_1[0x40]" (identifier "param_1") ([ "[") (number_literal "0x40") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74);" (assignment_expression "*(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74)" (pointer_expression "*(undefined1 *)(param_1 + 0x41)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x41)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x41)" (( "(") (binary_expression "param_1 + 0x41" (identifier "param_1") (+ "+") (number_literal "0x41")) () ")")))) (= "=") (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")) () ")"))))) (; ";")) (expression_statement "uVar2 = *(undefined1 *)(iVar4 + 0x75);" (assignment_expression "uVar2 = *(undefined1 *)(iVar4 + 0x75)" (identifier "uVar2") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "param_1[0x42] = 0;" (assignment_expression "param_1[0x42] = 0" (subscript_expression "param_1[0x42]" (identifier "param_1") ([ "[") (number_literal "0x42") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 0x105) = uVar2;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x105) = uVar2" (pointer_expression "*(undefined1 *)((int)param_1 + 0x105)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 0x105)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x105)" (( "(") (binary_expression "(int)param_1 + 0x105" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x105")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "param_2[1] = 0;" (assignment_expression "param_2[1] = 0" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x24] = unaff_EDI + 0x17803f;" (assignment_expression "param_1[0x24] = unaff_EDI + 0x17803f" (subscript_expression "param_1[0x24]" (identifier "param_1") ([ "[") (number_literal "0x24") (] "]")) (= "=") (binary_expression "unaff_EDI + 0x17803f" (identifier "unaff_EDI") (+ "+") (number_literal "0x17803f"))) (; ";")) (expression_statement "*param_1 = unaff_EDI + 0x17802b;" (assignment_expression "*param_1 = unaff_EDI + 0x17802b" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "unaff_EDI + 0x17802b" (identifier "unaff_EDI") (+ "+") (number_literal "0x17802b"))) (; ";")) (expression_statement "FUN_002137f0(param_1 + 2,param_2 + 2);" (call_expression "FUN_002137f0(param_1 + 2,param_2 + 2)" (identifier "FUN_002137f0") (argument_list "(param_1 + 2,param_2 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) (, ",") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2")) () ")"))) (; ";")) (expression_statement "param_1[0x42] = (int)(param_1 + 2);" (assignment_expression "param_1[0x42] = (int)(param_1 + 2)" (subscript_expression "param_1[0x42]" (identifier "param_1") ([ "[") (number_literal "0x42") (] "]")) (= "=") (cast_expression "(int)(param_1 + 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::ifstream::ifstream(std::ifstream&&) */

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

{
  type_1 *this_00;
  type_1 iVar1;
  type_2 uVar2;
  int var_5;
  type_1 *var_8;
  int var_3;
  
  var_1();
  this_00 = (type_1 *)(var_2 + 0x90);
  ios_base::type_1(this_00);
  *(int *)var_2 = var_3 + 0x177ff3;
  *(type_3 *)(var_2 + 0x104) = 0;
  *(int *)(var_2 + 0x90) = var_3 + 0x178007;
  uVar2 = *(type_2 *)(var_4 + 4);
  *(type_2 *)(var_2 + 0x100) = 0;
  *(type_2 *)(var_2 + 4) = uVar2;
  var_5 = *(int *)var_4;
  *(type_2 *)(var_2 + 0x108) = 0;
  *(type_2 *)(var_2 + 0x10c) = 0;
  var_5 = *(int *)(var_5 + -0xc);
  *(type_2 *)(var_2 + 0x110) = 0;
  *(type_2 *)(var_2 + 0x114) = 0;
  var_8 = (type_1 *)(var_4 + var_5);
  ios_base::var_6(this_00,var_8);
                    /* try { // try from 00214926 to 0021492a has its CatchHandler @ 002149a5 */
  ios::var_7((type_4 *)this_00,(type_5 *)(var_2 + 0xfc));
  uVar2 = *(type_2 *)(var_8 + 0x70);
  *(type_2 *)(var_8 + 0x70) = 0;
  *(type_2 *)(var_2 + 0x100) = uVar2;
  *(type_1 *)(var_2 + 0x104) = var_8[0x74];
  iVar1 = var_8[0x75];
  *(type_2 *)(var_2 + 0x108) = 0;
  *(type_1 *)(var_2 + 0x105) = iVar1;
  *(type_2 *)(var_4 + 4) = 0;
  *(int *)(var_2 + 0x90) = var_3 + 0x17803f;
  *(int *)var_2 = var_3 + 0x17802b;
                    /* try { // try from 0021498c to 00214990 has its CatchHandler @ 002149aa */
  filebuf::var_9((var_9 *)(var_2 + 8),(var_9 *)(var_4 + 8));
  *(var_9 **)(var_2 + 0x108) = (var_9 *)(var_2 + 8);
  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))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (return_statement))))

void MASKED(int *param_1,int *param_2)

{
  int *piVar1;
  undefined1 uVar2;
  int iVar3;
  int iVar4;
  int unaff_EDI;
  
  FUN_000559ee();
  piVar1 = param_1 + 0x24;
  FUN_0022bca0(piVar1);
  *param_1 = unaff_EDI + 0x177ff3;
  *(undefined2 *)(param_1 + 0x41) = 0;
  param_1[0x24] = unaff_EDI + 0x178007;
  iVar4 = param_2[1];
  param_1[0x40] = 0;
  param_1[1] = iVar4;
  iVar4 = *param_2;
  param_1[0x42] = 0;
  param_1[0x43] = 0;
  iVar4 = *(int *)(iVar4 + -0xc);
  param_1[0x44] = 0;
  param_1[0x45] = 0;
  iVar4 = iVar4 + (int)param_2;
  FUN_0022c0e0(piVar1,iVar4);
                    /* try { // try from 00214926 to 0021492a has its CatchHandler @ 002149a5 */
  FUN_00211000(piVar1,param_1 + 0x3f);
  iVar3 = *(int *)(iVar4 + 0x70);
  *(undefined4 *)(iVar4 + 0x70) = 0;
  param_1[0x40] = iVar3;
  *(undefined1 *)(param_1 + 0x41) = *(undefined1 *)(iVar4 + 0x74);
  uVar2 = *(undefined1 *)(iVar4 + 0x75);
  param_1[0x42] = 0;
  *(undefined1 *)((int)param_1 + 0x105) = uVar2;
  param_2[1] = 0;
  param_1[0x24] = unaff_EDI + 0x17803f;
  *param_1 = unaff_EDI + 0x17802b;
                    /* try { // try from 0021498c to 00214990 has its CatchHandler @ 002149aa */
  FUN_002137f0(param_1 + 2,param_2 + 2);
  param_1[0x42] = (int)(param_1 + 2);
  return;
}

