
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::fstream::fstream() */

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

{
  int iVar1;
  int iVar2;
  int *in_stack_00000008;
  
  iVar1 = in_stack_00000008[2];
  iVar2 = *(int *)(iVar1 + -0xc);
  *(int *)this = iVar1;
  *(int *)(this + iVar2) = in_stack_00000008[3];
  *(undefined4 *)(this + 4) = 0;
  ios::init((ios *)(this + *(int *)(iVar1 + -0xc)),(streambuf *)0x0);
  iVar1 = in_stack_00000008[4];
  *(int *)(this + 8) = iVar1;
  iVar1 = *(int *)(iVar1 + -0xc);
  *(int *)(this + iVar1 + 8) = in_stack_00000008[5];
                    /* try { // try from 00217409 to 0021740d has its CatchHandler @ 00217466 */
  ios::init((ios *)(this + iVar1 + 8),(streambuf *)0x0);
  iVar1 = in_stack_00000008[1];
  *(int *)this = iVar1;
  *(int *)(this + *(int *)(iVar1 + -0xc)) = in_stack_00000008[6];
  *(int *)(this + 8) = in_stack_00000008[7];
  iVar1 = *in_stack_00000008;
  *(int *)this = iVar1;
  *(int *)(this + *(int *)(iVar1 + -0xc)) = in_stack_00000008[8];
  *(int *)(this + 8) = in_stack_00000008[9];
                    /* try { // try from 00217441 to 00217445 has its CatchHandler @ 0021746a */
  filebuf::filebuf((filebuf *)(this + 0xc));
                    /* try { // try from 00217456 to 0021745a has its CatchHandler @ 00217468 */
  ios::init((ios *)(this + *(int *)(*(int *)this + -0xc)),(streambuf *)(this + 0xc));
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_002173b0(int *param_1,int *param_2)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  
  iVar2 = param_2[2];
  iVar3 = *(int *)(iVar2 + -0xc);
  *param_1 = iVar2;
  *(int *)((int)param_1 + iVar3) = param_2[3];
  param_1[1] = 0;
  FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0);
  iVar2 = param_2[4];
  param_1[2] = iVar2;
  piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);
  *piVar1 = param_2[5];
                    /* try { // try from 00217409 to 0021740d has its CatchHandler @ 00217466 */
  FUN_00211450(piVar1,0);
  iVar2 = param_2[1];
  *param_1 = iVar2;
  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6];
  param_1[2] = param_2[7];
  iVar2 = *param_2;
  *param_1 = iVar2;
  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8];
  param_1[2] = param_2[9];
                    /* try { // try from 00217441 to 00217445 has its CatchHandler @ 0021746a */
  FUN_00213670(param_1 + 3);
                    /* try { // try from 00217456 to 0021745a has its CatchHandler @ 00217468 */
  FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3);
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x177c45
SUB ESP,0x24
MOV EDI,dword ptr [EBP + 0xc]
MOV ESI,dword ptr [EBP + 0x8]
MOV EAX,dword ptr [EDI + 0x8]
MOV EDX,dword ptr [EAX + -0xc]
MOV dword ptr [ESI],EAX
MOV ECX,dword ptr [EDI + 0xc]
MOV dword ptr [EBP + -0x1c],EBX
MOV dword ptr [ESI + EDX*0x1],ECX
MOV dword ptr [ESI + 0x4],0x0
MOV ECX,dword ptr [EAX + -0xc]
PUSH 0x0
ADD ECX,ESI
PUSH ECX
CALL 0x00211450
MOV EAX,dword ptr [EDI + 0x10]
MOV dword ptr [ESI + 0x8],EAX
MOV EAX,dword ptr [EAX + -0xc]
MOV EDX,dword ptr [EDI + 0x14]
LEA EAX,[ESI + EAX*0x1 + 0x8]
MOV dword ptr [EAX],EDX
POP ECX
POP EBX
MOV EBX,dword ptr [EBP + -0x1c]
PUSH 0x0
PUSH EAX
CALL 0x00211450
MOV EAX,dword ptr [EDI + 0x4]
MOV EBX,dword ptr [EBP + -0x1c]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EAX + -0xc]
MOV EDX,dword ptr [EDI + 0x18]
MOV dword ptr [ESI + EAX*0x1],EDX
MOV EAX,dword ptr [EDI + 0x1c]
MOV dword ptr [ESI + 0x8],EAX
MOV EAX,dword ptr [EDI]
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EAX + -0xc]
MOV EDX,dword ptr [EDI + 0x20]
MOV dword ptr [ESI + EAX*0x1],EDX
MOV EAX,dword ptr [EDI + 0x24]
MOV dword ptr [ESI + 0x8],EAX
LEA EAX,[ESI + 0xc]
MOV dword ptr [EBP + -0x20],EAX
MOV dword ptr [ESP],EAX
CALL 0x00213670
POP EAX
POP EDX
PUSH dword ptr [EBP + -0x20]
MOV EAX,dword ptr [ESI]
MOV EBX,dword ptr [EBP + -0x1c]
MOV ECX,dword ptr [EAX + -0xc]
ADD ECX,ESI
PUSH ECX
CALL 0x00211450
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_002173b0(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = param_2[2];\n  iVar3 = *(int *)(iVar2 + -0xc);\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + iVar3) = param_2[3];\n  param_1[1] = 0;\n  FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0);\n  iVar2 = param_2[4];\n  param_1[2] = iVar2;\n  piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n  *piVar1 = param_2[5];\n                    /* try { // try from 00217409 to 0021740d has its CatchHandler @ 00217466 */\n  FUN_00211450(piVar1,0);\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    /* try { // try from 00217441 to 00217445 has its CatchHandler @ 0021746a */\n  FUN_00213670(param_1 + 3);\n                    /* try { // try from 00217456 to 0021745a has its CatchHandler @ 00217468 */\n  FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3);\n  return;\n}\n\n" comment (function_definition "void FUN_002173b0(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = param_2[2];\n  iVar3 = *(int *)(iVar2 + -0xc);\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + iVar3) = param_2[3];\n  param_1[1] = 0;\n  FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0);\n  iVar2 = param_2[4];\n  param_1[2] = iVar2;\n  piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n  *piVar1 = param_2[5];\n                    /* try { // try from 00217409 to 0021740d has its CatchHandler @ 00217466 */\n  FUN_00211450(piVar1,0);\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    /* try { // try from 00217441 to 00217445 has its CatchHandler @ 0021746a */\n  FUN_00213670(param_1 + 3);\n                    /* try { // try from 00217456 to 0021745a has its CatchHandler @ 00217468 */\n  FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3);\n  return;\n}" primitive_type (function_declarator "FUN_002173b0(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  int iVar2;\n  int iVar3;\n  \n  iVar2 = param_2[2];\n  iVar3 = *(int *)(iVar2 + -0xc);\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + iVar3) = param_2[3];\n  param_1[1] = 0;\n  FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0);\n  iVar2 = param_2[4];\n  param_1[2] = iVar2;\n  piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n  *piVar1 = param_2[5];\n                    /* try { // try from 00217409 to 0021740d has its CatchHandler @ 00217466 */\n  FUN_00211450(piVar1,0);\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    /* try { // try from 00217441 to 00217445 has its CatchHandler @ 0021746a */\n  FUN_00213670(param_1 + 3);\n                    /* try { // try from 00217456 to 0021745a has its CatchHandler @ 00217468 */\n  FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar2 = param_2[2];" (assignment_expression "iVar2 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = *(int *)(iVar2 + -0xc);" (assignment_expression "iVar3 = *(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 "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + iVar3) = param_2[3];" (assignment_expression "*(int *)((int)param_1 + iVar3) = param_2[3]" (pointer_expression "*(int *)((int)param_1 + iVar3)" * (cast_expression "(int *)((int)param_1 + iVar3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar3)" ( (binary_expression "(int)param_1 + iVar3" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0);" (call_expression "FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0)" identifier (argument_list "(*(int *)(iVar2 + -0xc) + (int)param_1,0)" ( (binary_expression "*(int *)(iVar2 + -0xc) + (int)param_1" (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) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) , number_literal ))) ;) (expression_statement "iVar2 = param_2[4];" (assignment_expression "iVar2 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = iVar2;" (assignment_expression "param_1[2] = iVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);" (assignment_expression "piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" identifier = (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) ;) (expression_statement "*piVar1 = param_2[5];" (assignment_expression "*piVar1 = param_2[5]" (pointer_expression "*piVar1" * identifier) = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) comment (expression_statement "FUN_00211450(piVar1,0);" (call_expression "FUN_00211450(piVar1,0)" identifier (argument_list "(piVar1,0)" ( identifier , number_literal ))) ;) (expression_statement "iVar2 = param_2[1];" (assignment_expression "iVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[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 "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[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_00213670(param_1 + 3);" (call_expression "FUN_00213670(param_1 + 3)" identifier (argument_list "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))) ;) comment (expression_statement "FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3);" (call_expression "FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3)" identifier (argument_list "(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3)" ( (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (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) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) , (binary_expression "param_1 + 3" identifier + number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::fstream::fstream() */\n\nvoid __thiscall std::fstream::fstream(fstream *this)\n\n{\n  int iVar1;\n  int iVar2;\n  int *in_stack_00000008;\n  \n  iVar1 = in_stack_00000008[2];\n  iVar2 = *(int *)(iVar1 + -0xc);\n  *(int *)this = iVar1;\n  *(int *)(this + iVar2) = in_stack_00000008[3];\n  *(undefined4 *)(this + 4) = 0;\n  ios::init((ios *)(this + *(int *)(iVar1 + -0xc)),(streambuf *)0x0);\n  iVar1 = in_stack_00000008[4];\n  *(int *)(this + 8) = iVar1;\n  iVar1 = *(int *)(iVar1 + -0xc);\n  *(int *)(this + iVar1 + 8) = in_stack_00000008[5];\n                    /* try { // try from 00217409 to 0021740d has its CatchHandler @ 00217466 */\n  ios::init((ios *)(this + iVar1 + 8),(streambuf *)0x0);\n  iVar1 = in_stack_00000008[1];\n  *(int *)this = iVar1;\n  *(int *)(this + *(int *)(iVar1 + -0xc)) = in_stack_00000008[6];\n  *(int *)(this + 8) = in_stack_00000008[7];\n  iVar1 = *in_stack_00000008;\n  *(int *)this = iVar1;\n  *(int *)(this + *(int *)(iVar1 + -0xc)) = in_stack_00000008[8];\n  *(int *)(this + 8) = in_stack_00000008[9];\n                    /* try { // try from 00217441 to 00217445 has its CatchHandler @ 0021746a */\n  filebuf::filebuf((filebuf *)(this + 0xc));\n                    /* try { // try from 00217456 to 0021745a has its CatchHandler @ 00217468 */\n  ios::init((ios *)(this + *(int *)(*(int *)this + -0xc)),(streambuf *)(this + 0xc));\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::fstream::fstream(fstream *this)\n\n{\n  int iVar1;\n  int iVar2;\n  int *in_stack_00000008;\n  \n  iVar1 = in_stack_00000008[2];\n  iVar2 = *(int *)(iVar1 + -0xc);\n  *(int *)this = iVar1;\n  *(int *)(this + iVar2) = in_stack_00000008[3];\n  *(undefined4 *)(this + 4) = 0;\n  ios::init((ios *)(this + *(int *)(iVar1 + -0xc)),(streambuf *)0x0);\n  iVar1 = in_stack_00000008[4];\n  *(int *)(this + 8) = iVar1;\n  iVar1 = *(int *)(iVar1 + -0xc);\n  *(int *)(this + iVar1 + 8) = in_stack_00000008[5];\n                    /* try { // try from 00217409 to 0021740d has its CatchHandler @ 00217466 */\n  ios::init((ios *)(this + iVar1 + 8),(streambuf *)0x0);\n  iVar1 = in_stack_00000008[1];\n  *(int *)this = iVar1;\n  *(int *)(this + *(int *)(iVar1 + -0xc)) = in_stack_00000008[6];\n  *(int *)(this + 8) = in_stack_00000008[7];\n  iVar1 = *in_stack_00000008;\n  *(int *)this = iVar1;\n  *(int *)(this + *(int *)(iVar1 + -0xc)) = in_stack_00000008[8];\n  *(int *)(this + 8) = in_stack_00000008[9];\n                    /* try { // try from 00217441 to 00217445 has its CatchHandler @ 0021746a */\n  filebuf::filebuf((filebuf *)(this + 0xc));\n                    /* try { // try from 00217456 to 0021745a has its CatchHandler @ 00217468 */\n  ios::init((ios *)(this + *(int *)(*(int *)this + -0xc)),(streambuf *)(this + 0xc));\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::fstream::" identifier : : identifier : :) (function_declarator "fstream(fstream *this)" identifier (parameter_list "(fstream *this)" ( (parameter_declaration "fstream *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int *in_stack_00000008;\n  \n  iVar1 = in_stack_00000008[2];\n  iVar2 = *(int *)(iVar1 + -0xc);\n  *(int *)this = iVar1;\n  *(int *)(this + iVar2) = in_stack_00000008[3];\n  *(undefined4 *)(this + 4) = 0;\n  ios::init((ios *)(this + *(int *)(iVar1 + -0xc)),(streambuf *)0x0);\n  iVar1 = in_stack_00000008[4];\n  *(int *)(this + 8) = iVar1;\n  iVar1 = *(int *)(iVar1 + -0xc);\n  *(int *)(this + iVar1 + 8) = in_stack_00000008[5];\n                    /* try { // try from 00217409 to 0021740d has its CatchHandler @ 00217466 */\n  ios::init((ios *)(this + iVar1 + 8),(streambuf *)0x0);\n  iVar1 = in_stack_00000008[1];\n  *(int *)this = iVar1;\n  *(int *)(this + *(int *)(iVar1 + -0xc)) = in_stack_00000008[6];\n  *(int *)(this + 8) = in_stack_00000008[7];\n  iVar1 = *in_stack_00000008;\n  *(int *)this = iVar1;\n  *(int *)(this + *(int *)(iVar1 + -0xc)) = in_stack_00000008[8];\n  *(int *)(this + 8) = in_stack_00000008[9];\n                    /* try { // try from 00217441 to 00217445 has its CatchHandler @ 0021746a */\n  filebuf::filebuf((filebuf *)(this + 0xc));\n                    /* try { // try from 00217456 to 0021745a has its CatchHandler @ 00217468 */\n  ios::init((ios *)(this + *(int *)(*(int *)this + -0xc)),(streambuf *)(this + 0xc));\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *in_stack_00000008;" primitive_type (pointer_declarator "*in_stack_00000008" * identifier) ;) (expression_statement "iVar1 = in_stack_00000008[2];" (assignment_expression "iVar1 = in_stack_00000008[2]" identifier = (subscript_expression "in_stack_00000008[2]" identifier [ number_literal ])) ;) (expression_statement "iVar2 = *(int *)(iVar1 + -0xc);" (assignment_expression "iVar2 = *(int *)(iVar1 + -0xc)" identifier = (pointer_expression "*(int *)(iVar1 + -0xc)" * (cast_expression "(int *)(iVar1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0xc)" ( (binary_expression "iVar1 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "*(int *)this = iVar1;" (assignment_expression "*(int *)this = iVar1" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)(this + iVar2) = in_stack_00000008[3];" (assignment_expression "*(int *)(this + iVar2) = in_stack_00000008[3]" (pointer_expression "*(int *)(this + iVar2)" * (cast_expression "(int *)(this + iVar2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + iVar2)" ( (binary_expression "this + iVar2" identifier + identifier) )))) = (subscript_expression "in_stack_00000008[3]" identifier [ number_literal ])) ;) (expression_statement "*(undefined4 *)(this + 4) = 0;" (assignment_expression "*(undefined4 *)(this + 4) = 0" (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) )))) = number_literal) ;) (labeled_statement "ios::init((ios *)(this + *(int *)(iVar1 + -0xc)),(streambuf *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "init((ios *)(this + *(int *)(iVar1 + -0xc)),(streambuf *)0x0);" (call_expression "init((ios *)(this + *(int *)(iVar1 + -0xc)),(streambuf *)0x0)" identifier (argument_list "((ios *)(this + *(int *)(iVar1 + -0xc)),(streambuf *)0x0)" ( (cast_expression "(ios *)(this + *(int *)(iVar1 + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(iVar1 + -0xc))" ( (binary_expression "this + *(int *)(iVar1 + -0xc)" identifier + (pointer_expression "*(int *)(iVar1 + -0xc)" * (cast_expression "(int *)(iVar1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0xc)" ( (binary_expression "iVar1 + -0xc" identifier + number_literal) ))))) ))) , (cast_expression "(streambuf *)0x0" ( (type_descriptor "streambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) (expression_statement "iVar1 = in_stack_00000008[4];" (assignment_expression "iVar1 = in_stack_00000008[4]" identifier = (subscript_expression "in_stack_00000008[4]" identifier [ number_literal ])) ;) (expression_statement "*(int *)(this + 8) = iVar1;" (assignment_expression "*(int *)(this + 8) = iVar1" (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 "iVar1 = *(int *)(iVar1 + -0xc);" (assignment_expression "iVar1 = *(int *)(iVar1 + -0xc)" identifier = (pointer_expression "*(int *)(iVar1 + -0xc)" * (cast_expression "(int *)(iVar1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0xc)" ( (binary_expression "iVar1 + -0xc" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(this + iVar1 + 8) = in_stack_00000008[5];" (assignment_expression "*(int *)(this + iVar1 + 8) = in_stack_00000008[5]" (pointer_expression "*(int *)(this + iVar1 + 8)" * (cast_expression "(int *)(this + iVar1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + iVar1 + 8)" ( (binary_expression "this + iVar1 + 8" (binary_expression "this + iVar1" identifier + identifier) + number_literal) )))) = (subscript_expression "in_stack_00000008[5]" identifier [ number_literal ])) ;) comment (labeled_statement "ios::init((ios *)(this + iVar1 + 8),(streambuf *)0x0);" statement_identifier : (ERROR ":" :) (expression_statement "init((ios *)(this + iVar1 + 8),(streambuf *)0x0);" (call_expression "init((ios *)(this + iVar1 + 8),(streambuf *)0x0)" identifier (argument_list "((ios *)(this + iVar1 + 8),(streambuf *)0x0)" ( (cast_expression "(ios *)(this + iVar1 + 8)" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + iVar1 + 8)" ( (binary_expression "this + iVar1 + 8" (binary_expression "this + iVar1" identifier + identifier) + number_literal) ))) , (cast_expression "(streambuf *)0x0" ( (type_descriptor "streambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) (expression_statement "iVar1 = in_stack_00000008[1];" (assignment_expression "iVar1 = in_stack_00000008[1]" identifier = (subscript_expression "in_stack_00000008[1]" identifier [ number_literal ])) ;) (expression_statement "*(int *)this = iVar1;" (assignment_expression "*(int *)this = iVar1" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)(this + *(int *)(iVar1 + -0xc)) = in_stack_00000008[6];" (assignment_expression "*(int *)(this + *(int *)(iVar1 + -0xc)) = in_stack_00000008[6]" (pointer_expression "*(int *)(this + *(int *)(iVar1 + -0xc))" * (cast_expression "(int *)(this + *(int *)(iVar1 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(iVar1 + -0xc))" ( (binary_expression "this + *(int *)(iVar1 + -0xc)" identifier + (pointer_expression "*(int *)(iVar1 + -0xc)" * (cast_expression "(int *)(iVar1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0xc)" ( (binary_expression "iVar1 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "in_stack_00000008[6]" identifier [ number_literal ])) ;) (expression_statement "*(int *)(this + 8) = in_stack_00000008[7];" (assignment_expression "*(int *)(this + 8) = in_stack_00000008[7]" (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) )))) = (subscript_expression "in_stack_00000008[7]" identifier [ number_literal ])) ;) (expression_statement "iVar1 = *in_stack_00000008;" (assignment_expression "iVar1 = *in_stack_00000008" identifier = (pointer_expression "*in_stack_00000008" * identifier)) ;) (expression_statement "*(int *)this = iVar1;" (assignment_expression "*(int *)this = iVar1" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (expression_statement "*(int *)(this + *(int *)(iVar1 + -0xc)) = in_stack_00000008[8];" (assignment_expression "*(int *)(this + *(int *)(iVar1 + -0xc)) = in_stack_00000008[8]" (pointer_expression "*(int *)(this + *(int *)(iVar1 + -0xc))" * (cast_expression "(int *)(this + *(int *)(iVar1 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(iVar1 + -0xc))" ( (binary_expression "this + *(int *)(iVar1 + -0xc)" identifier + (pointer_expression "*(int *)(iVar1 + -0xc)" * (cast_expression "(int *)(iVar1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + -0xc)" ( (binary_expression "iVar1 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "in_stack_00000008[8]" identifier [ number_literal ])) ;) (expression_statement "*(int *)(this + 8) = in_stack_00000008[9];" (assignment_expression "*(int *)(this + 8) = in_stack_00000008[9]" (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) )))) = (subscript_expression "in_stack_00000008[9]" identifier [ number_literal ])) ;) comment (labeled_statement "filebuf::filebuf((filebuf *)(this + 0xc));" statement_identifier : (ERROR ":" :) (expression_statement "filebuf((filebuf *)(this + 0xc));" (call_expression "filebuf((filebuf *)(this + 0xc))" identifier (argument_list "((filebuf *)(this + 0xc))" ( (cast_expression "(filebuf *)(this + 0xc)" ( (type_descriptor "filebuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))) ))) ;)) comment (labeled_statement "ios::init((ios *)(this + *(int *)(*(int *)this + -0xc)),(streambuf *)(this + 0xc));" statement_identifier : (ERROR ":" :) (expression_statement "init((ios *)(this + *(int *)(*(int *)this + -0xc)),(streambuf *)(this + 0xc));" (call_expression "init((ios *)(this + *(int *)(*(int *)this + -0xc)),(streambuf *)(this + 0xc))" identifier (argument_list "((ios *)(this + *(int *)(*(int *)this + -0xc)),(streambuf *)(this + 0xc))" ( (cast_expression "(ios *)(this + *(int *)(*(int *)this + -0xc))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc))" ( (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) ))))) ))) , (cast_expression "(streambuf *)(this + 0xc)" ( (type_descriptor "streambuf *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) ))) ))) ;)) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002173b0(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = param_2[2];\n  iVar3 = *(int *)(iVar2 + -0xc);\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + iVar3) = param_2[3];\n  param_1[1] = 0;\n  FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0);\n  iVar2 = param_2[4];\n  param_1[2] = iVar2;\n  piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n  *piVar1 = param_2[5];\n                    \n  FUN_00211450(piVar1,0);\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    \n  FUN_00213670(param_1 + 3);\n                    \n  FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3);\n  return;\n}\n\n" (function_definition "void FUN_002173b0(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = param_2[2];\n  iVar3 = *(int *)(iVar2 + -0xc);\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + iVar3) = param_2[3];\n  param_1[1] = 0;\n  FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0);\n  iVar2 = param_2[4];\n  param_1[2] = iVar2;\n  piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n  *piVar1 = param_2[5];\n                    \n  FUN_00211450(piVar1,0);\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    \n  FUN_00213670(param_1 + 3);\n                    \n  FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3);\n  return;\n}" primitive_type (function_declarator "FUN_002173b0(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  int iVar2;\n  int iVar3;\n  \n  iVar2 = param_2[2];\n  iVar3 = *(int *)(iVar2 + -0xc);\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + iVar3) = param_2[3];\n  param_1[1] = 0;\n  FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0);\n  iVar2 = param_2[4];\n  param_1[2] = iVar2;\n  piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n  *piVar1 = param_2[5];\n                    \n  FUN_00211450(piVar1,0);\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    \n  FUN_00213670(param_1 + 3);\n                    \n  FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar2 = param_2[2];" (assignment_expression "iVar2 = param_2[2]" identifier = (subscript_expression "param_2[2]" identifier [ number_literal ])) ;) (expression_statement "iVar3 = *(int *)(iVar2 + -0xc);" (assignment_expression "iVar3 = *(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 "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + iVar3) = param_2[3];" (assignment_expression "*(int *)((int)param_1 + iVar3) = param_2[3]" (pointer_expression "*(int *)((int)param_1 + iVar3)" * (cast_expression "(int *)((int)param_1 + iVar3)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + iVar3)" ( (binary_expression "(int)param_1 + iVar3" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) )))) = (subscript_expression "param_2[3]" identifier [ number_literal ])) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0);" (call_expression "FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0)" identifier (argument_list "(*(int *)(iVar2 + -0xc) + (int)param_1,0)" ( (binary_expression "*(int *)(iVar2 + -0xc) + (int)param_1" (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) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) , number_literal ))) ;) (expression_statement "iVar2 = param_2[4];" (assignment_expression "iVar2 = param_2[4]" identifier = (subscript_expression "param_2[4]" identifier [ number_literal ])) ;) (expression_statement "param_1[2] = iVar2;" (assignment_expression "param_1[2] = iVar2" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);" (assignment_expression "piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" identifier = (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) + number_literal) )))) ;) (expression_statement "*piVar1 = param_2[5];" (assignment_expression "*piVar1 = param_2[5]" (pointer_expression "*piVar1" * identifier) = (subscript_expression "param_2[5]" identifier [ number_literal ])) ;) (expression_statement "FUN_00211450(piVar1,0);" (call_expression "FUN_00211450(piVar1,0)" identifier (argument_list "(piVar1,0)" ( identifier , number_literal ))) ;) (expression_statement "iVar2 = param_2[1];" (assignment_expression "iVar2 = param_2[1]" identifier = (subscript_expression "param_2[1]" identifier [ number_literal ])) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[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 "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" * (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" ( (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(iVar2 + -0xc)" * (cast_expression "(int *)(iVar2 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -0xc)" ( (binary_expression "iVar2 + -0xc" identifier + number_literal) ))))) )))) = (subscript_expression "param_2[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_00213670(param_1 + 3);" (call_expression "FUN_00213670(param_1 + 3)" identifier (argument_list "(param_1 + 3)" ( (binary_expression "param_1 + 3" identifier + number_literal) ))) ;) (expression_statement "FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3);" (call_expression "FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3)" identifier (argument_list "(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3)" ( (binary_expression "*(int *)(*param_1 + -0xc) + (int)param_1" (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) )))) + (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier)) , (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)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (subscript_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 * 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) + IDENT) )))) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (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) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (call_expression IDENT (argument_list ( 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) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (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)) , (binary_expression IDENT + LIT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_002173b0(int *param_1,int *param_2)\n\n{\n  int *piVar1;\n  int iVar2;\n  int iVar3;\n  \n  iVar2 = param_2[2];\n  iVar3 = *(int *)(iVar2 + -0xc);\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + iVar3) = param_2[3];\n  param_1[1] = 0;\n  FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0);\n  iVar2 = param_2[4];\n  param_1[2] = iVar2;\n  piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n  *piVar1 = param_2[5];\n                    \n  FUN_00211450(piVar1,0);\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    \n  FUN_00213670(param_1 + 3);\n                    \n  FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002173b0(int *param_1,int *param_2)" (identifier "FUN_002173b0") (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  int iVar2;\n  int iVar3;\n  \n  iVar2 = param_2[2];\n  iVar3 = *(int *)(iVar2 + -0xc);\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + iVar3) = param_2[3];\n  param_1[1] = 0;\n  FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0);\n  iVar2 = param_2[4];\n  param_1[2] = iVar2;\n  piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);\n  *piVar1 = param_2[5];\n                    \n  FUN_00211450(piVar1,0);\n  iVar2 = param_2[1];\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6];\n  param_1[2] = param_2[7];\n  iVar2 = *param_2;\n  *param_1 = iVar2;\n  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8];\n  param_1[2] = param_2[9];\n                    \n  FUN_00213670(param_1 + 3);\n                    \n  FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3);\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "iVar2 = param_2[2];" (assignment_expression "iVar2 = param_2[2]" (identifier "iVar2") (= "=") (subscript_expression "param_2[2]" (identifier "param_2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar3 = *(int *)(iVar2 + -0xc);" (assignment_expression "iVar3 = *(int *)(iVar2 + -0xc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) (; ";")) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(int *)((int)param_1 + iVar3) = param_2[3];" (assignment_expression "*(int *)((int)param_1 + iVar3) = param_2[3]" (pointer_expression "*(int *)((int)param_1 + iVar3)" (* "*") (cast_expression "(int *)((int)param_1 + iVar3)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + iVar3)" (( "(") (binary_expression "(int)param_1 + iVar3" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "iVar3")) () ")")))) (= "=") (subscript_expression "param_2[3]" (identifier "param_2") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0);" (call_expression "FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0)" (identifier "FUN_00211450") (argument_list "(*(int *)(iVar2 + -0xc) + (int)param_1,0)" (( "(") (binary_expression "*(int *)(iVar2 + -0xc) + (int)param_1" (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")")))) (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar2 = param_2[4];" (assignment_expression "iVar2 = param_2[4]" (identifier "iVar2") (= "=") (subscript_expression "param_2[4]" (identifier "param_2") ([ "[") (number_literal "4") (] "]"))) (; ";")) (expression_statement "param_1[2] = iVar2;" (assignment_expression "param_1[2] = iVar2" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);" (assignment_expression "piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (identifier "piVar1") (= "=") (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc) + 8)" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc) + 8" (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "8")) () ")")))) (; ";")) (expression_statement "*piVar1 = param_2[5];" (assignment_expression "*piVar1 = param_2[5]" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (subscript_expression "param_2[5]" (identifier "param_2") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "FUN_00211450(piVar1,0);" (call_expression "FUN_00211450(piVar1,0)" (identifier "FUN_00211450") (argument_list "(piVar1,0)" (( "(") (identifier "piVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "iVar2 = param_2[1];" (assignment_expression "iVar2 = param_2[1]" (identifier "iVar2") (= "=") (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" (* "*") (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (= "=") (subscript_expression "param_2[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 "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" (identifier "iVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*param_1 = iVar2;" (assignment_expression "*param_1 = iVar2" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "iVar2")) (; ";")) (expression_statement "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8];" (assignment_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8]" (pointer_expression "*(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" (* "*") (cast_expression "(int *)((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(iVar2 + -0xc))" (( "(") (binary_expression "(int)param_1 + *(int *)(iVar2 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(iVar2 + -0xc)" (* "*") (cast_expression "(int *)(iVar2 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -0xc)" (( "(") (binary_expression "iVar2 + -0xc" (identifier "iVar2") (+ "+") (number_literal "-0xc")) () ")"))))) () ")")))) (= "=") (subscript_expression "param_2[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_00213670(param_1 + 3);" (call_expression "FUN_00213670(param_1 + 3)" (identifier "FUN_00213670") (argument_list "(param_1 + 3)" (( "(") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")"))) (; ";")) (expression_statement "FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3);" (call_expression "FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3)" (identifier "FUN_00211450") (argument_list "(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3)" (( "(") (binary_expression "*(int *)(*param_1 + -0xc) + (int)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")) () ")")))) (+ "+") (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1"))) (, ",") (binary_expression "param_1 + 3" (identifier "param_1") (+ "+") (number_literal "3")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::fstream::fstream() */

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

{
  int var_1;
  int var_3;
  int *in_stack_00000008;
  
  var_1 = in_stack_00000008[2];
  var_3 = *(int *)(var_1 + -0xc);
  *(int *)var_2 = var_1;
  *(int *)(var_2 + var_3) = in_stack_00000008[3];
  *(type_1 *)(var_2 + 4) = 0;
  ios::var_4((type_2 *)(var_2 + *(int *)(var_1 + -0xc)),(type_3 *)0x0);
  var_1 = in_stack_00000008[4];
  *(int *)(var_2 + 8) = var_1;
  var_1 = *(int *)(var_1 + -0xc);
  *(int *)(var_2 + var_1 + 8) = in_stack_00000008[5];
                    /* try { // try from 00217409 to 0021740d has its CatchHandler @ 00217466 */
  ios::var_4((type_2 *)(var_2 + var_1 + 8),(type_3 *)0x0);
  var_1 = in_stack_00000008[1];
  *(int *)var_2 = var_1;
  *(int *)(var_2 + *(int *)(var_1 + -0xc)) = in_stack_00000008[6];
  *(int *)(var_2 + 8) = in_stack_00000008[7];
  var_1 = *in_stack_00000008;
  *(int *)var_2 = var_1;
  *(int *)(var_2 + *(int *)(var_1 + -0xc)) = in_stack_00000008[8];
  *(int *)(var_2 + 8) = in_stack_00000008[9];
                    /* try { // try from 00217441 to 00217445 has its CatchHandler @ 0021746a */
  filebuf::var_5((var_5 *)(var_2 + 0xc));
                    /* try { // try from 00217456 to 0021745a has its CatchHandler @ 00217468 */
  ios::var_4((type_2 *)(var_2 + *(int *)(*(int *)var_2 + -0xc)),(type_3 *)(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))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator 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: (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: (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: (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 (call_expression function: (identifier) arguments: (argument_list (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))) (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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))) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int *param_1,int *param_2)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  
  iVar2 = param_2[2];
  iVar3 = *(int *)(iVar2 + -0xc);
  *param_1 = iVar2;
  *(int *)((int)param_1 + iVar3) = param_2[3];
  param_1[1] = 0;
  FUN_00211450(*(int *)(iVar2 + -0xc) + (int)param_1,0);
  iVar2 = param_2[4];
  param_1[2] = iVar2;
  piVar1 = (int *)((int)param_1 + *(int *)(iVar2 + -0xc) + 8);
  *piVar1 = param_2[5];
                    /* try { // try from 00217409 to 0021740d has its CatchHandler @ 00217466 */
  FUN_00211450(piVar1,0);
  iVar2 = param_2[1];
  *param_1 = iVar2;
  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[6];
  param_1[2] = param_2[7];
  iVar2 = *param_2;
  *param_1 = iVar2;
  *(int *)((int)param_1 + *(int *)(iVar2 + -0xc)) = param_2[8];
  param_1[2] = param_2[9];
                    /* try { // try from 00217441 to 00217445 has its CatchHandler @ 0021746a */
  FUN_00213670(param_1 + 3);
                    /* try { // try from 00217456 to 0021745a has its CatchHandler @ 00217468 */
  FUN_00211450(*(int *)(*param_1 + -0xc) + (int)param_1,param_1 + 3);
  return;
}

