
/* std::wfilebuf::wfilebuf() */

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

{
  locale *this_00;
  bool bVar1;
  uint uVar2;
  codecvt *pcVar3;
  int unaff_EDI;
  
  __x86_get_pc_thunk_di();
  *(undefined4 *)(this + 4) = 0;
  *(undefined4 *)(this + 8) = 0;
  *(int *)this = unaff_EDI + 0x176e8b;
  this_00 = (locale *)(this + 0x1c);
  *(undefined4 *)(this + 0xc) = 0;
  *(undefined4 *)(this + 0x10) = 0;
  *(undefined4 *)(this + 0x14) = 0;
  *(undefined4 *)(this + 0x18) = 0;
  locale::locale(this_00);
  *(int *)this = unaff_EDI + 0x1777cf;
  uVar2 = 0;
  do {
    *(undefined4 *)(this + uVar2 + 0x20) = 0;
    uVar2 = uVar2 + 4;
  } while (uVar2 < 0x18);
  __basic_file<char>::__basic_file((pthread_mutex_t *)(this + 0x38));
  this[0x66] = (wfilebuf)0x0;
  *(undefined4 *)(this + 0x40) = 0;
  *(undefined4 *)(this + 0x44) = 0;
  *(undefined4 *)(this + 0x48) = 0;
  *(undefined4 *)(this + 0x4c) = 0;
  *(undefined4 *)(this + 0x50) = 0;
  *(undefined4 *)(this + 0x54) = 0;
  *(undefined4 *)(this + 0x58) = 0;
  *(undefined4 *)(this + 0x5c) = 0;
  *(undefined4 *)(this + 0x60) = 0x2000;
  *(undefined2 *)(this + 100) = 0;
  *(undefined4 *)(this + 0x68) = 0;
  *(undefined4 *)(this + 0x6c) = 0;
  *(undefined4 *)(this + 0x70) = 0;
  this[0x74] = (wfilebuf)0x0;
  *(undefined4 *)(this + 0x78) = 0;
  *(undefined4 *)(this + 0x7c) = 0;
  *(undefined4 *)(this + 0x80) = 0;
  *(undefined4 *)(this + 0x84) = 0;
  *(undefined4 *)(this + 0x88) = 0;
  bVar1 = has_facet<std::codecvt<wchar_t,char,__mbstate_t>>(this_00);
  if (!bVar1) {
    return;
  }
                    /* try { // try from 0021538e to 00215392 has its CatchHandler @ 002153a1 */
  pcVar3 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(this_00);
  *(codecvt **)(this + 0x78) = pcVar3;
  return;
}



void FUN_00215250(int *param_1)

{
  int *piVar1;
  char cVar2;
  uint uVar3;
  int iVar4;
  int unaff_EDI;
  
  FUN_000559ee();
  param_1[1] = 0;
  param_1[2] = 0;
  *param_1 = unaff_EDI + 0x176e8b;
  piVar1 = param_1 + 7;
  param_1[3] = 0;
  param_1[4] = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  FUN_00238070(piVar1);
  *param_1 = unaff_EDI + 0x1777cf;
  uVar3 = 0;
  do {
    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;
    uVar3 = uVar3 + 4;
  } while (uVar3 < 0x18);
  FUN_001e73d0(param_1 + 0xe,param_1 + 8);
  *(undefined1 *)((int)param_1 + 0x66) = 0;
  param_1[0x10] = 0;
  param_1[0x11] = 0;
  param_1[0x12] = 0;
  param_1[0x13] = 0;
  param_1[0x14] = 0;
  param_1[0x15] = 0;
  param_1[0x16] = 0;
  param_1[0x17] = 0;
  param_1[0x18] = 0x2000;
  *(undefined2 *)(param_1 + 0x19) = 0;
  param_1[0x1a] = 0;
  param_1[0x1b] = 0;
  param_1[0x1c] = 0;
  *(undefined1 *)(param_1 + 0x1d) = 0;
  param_1[0x1e] = 0;
  param_1[0x1f] = 0;
  param_1[0x20] = 0;
  param_1[0x21] = 0;
  param_1[0x22] = 0;
  cVar2 = FUN_0023ddf0(piVar1);
  if (cVar2 == '\0') {
    return;
  }
                    /* try { // try from 0021538e to 00215392 has its CatchHandler @ 002153a1 */
  iVar4 = FUN_0023c6c0(piVar1);
  param_1[0x1e] = iVar4;
  return;
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
CALL 0x000559ee
ADD EDI,0x179da7
PUSH ESI
PUSH EBX
SUB ESP,0x28
MOV ESI,dword ptr [EBP + 0x8]
LEA EAX,[EDI + 0xffffd0dc]
MOV dword ptr [ESI + 0x4],0x0
MOV EBX,EDI
MOV dword ptr [ESI + 0x8],0x0
MOV dword ptr [EBP + -0x20],EAX
ADD EAX,0x8
MOV dword ptr [ESI],EAX
LEA EAX,[ESI + 0x1c]
MOV dword ptr [ESI + 0xc],0x0
MOV dword ptr [ESI + 0x10],0x0
MOV dword ptr [ESI + 0x14],0x0
MOV dword ptr [ESI + 0x18],0x0
PUSH EAX
MOV dword ptr [EBP + -0x1c],EAX
CALL 0x00238070
LEA EAX,[EDI + 0xffffda20]
XOR EDX,EDX
ADD EAX,0x8
MOV dword ptr [ESI],EAX
XOR EAX,EAX
MOV dword ptr [ESI + EAX*0x1 + 0x20],EDX
ADD EAX,0x4
CMP EAX,0x18
JC 0x002152bc
LEA EAX,[ESI + 0x38]
POP EDX
POP EBX
MOV EBX,EDI
MOV ECX,EAX
MOV dword ptr [EBP + -0x24],EAX
LEA EAX,[ESI + 0x20]
PUSH EAX
PUSH ECX
CALL 0x001e73d0
XOR EAX,EAX
MOV byte ptr [ESI + 0x66],0x0
MOV dword ptr [ESI + 0x40],0x0
MOV dword ptr [ESI + 0x44],0x0
MOV dword ptr [ESI + 0x48],0x0
MOV dword ptr [ESI + 0x4c],0x0
MOV dword ptr [ESI + 0x50],0x0
MOV dword ptr [ESI + 0x54],0x0
MOV dword ptr [ESI + 0x58],0x0
MOV dword ptr [ESI + 0x5c],0x0
MOV dword ptr [ESI + 0x60],0x2000
MOV word ptr [ESI + 0x64],AX
MOV dword ptr [ESI + 0x68],0x0
MOV dword ptr [ESI + 0x6c],0x0
MOV dword ptr [ESI + 0x70],0x0
MOV byte ptr [ESI + 0x74],0x0
MOV dword ptr [ESI + 0x78],0x0
MOV dword ptr [ESI + 0x7c],0x0
MOV dword ptr [ESI + 0x80],0x0
MOV dword ptr [ESI + 0x84],0x0
MOV dword ptr [ESI + 0x88],0x0
POP EAX
PUSH dword ptr [EBP + -0x1c]
CALL 0x0023ddf0
ADD ESP,0x10
TEST AL,AL
JNZ 0x00215388
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH dword ptr [EBP + -0x1c]
CALL 0x0023c6c0
MOV dword ptr [ESI + 0x78],EAX
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_00215250(int *param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  param_1[2] = 0;\n  *param_1 = unaff_EDI + 0x176e8b;\n  piVar1 = param_1 + 7;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00238070(piVar1);\n  *param_1 = unaff_EDI + 0x1777cf;\n  uVar3 = 0;\n  do {\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x18);\n  FUN_001e73d0(param_1 + 0xe,param_1 + 8);\n  *(undefined1 *)((int)param_1 + 0x66) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  param_1[0x12] = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0;\n  param_1[0x15] = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0x2000;\n  *(undefined2 *)(param_1 + 0x19) = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  *(undefined1 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  cVar2 = FUN_0023ddf0(piVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    /* try { // try from 0021538e to 00215392 has its CatchHandler @ 002153a1 */\n  iVar4 = FUN_0023c6c0(piVar1);\n  param_1[0x1e] = iVar4;\n  return;\n}\n\n" (function_definition "void FUN_00215250(int *param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  param_1[2] = 0;\n  *param_1 = unaff_EDI + 0x176e8b;\n  piVar1 = param_1 + 7;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00238070(piVar1);\n  *param_1 = unaff_EDI + 0x1777cf;\n  uVar3 = 0;\n  do {\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x18);\n  FUN_001e73d0(param_1 + 0xe,param_1 + 8);\n  *(undefined1 *)((int)param_1 + 0x66) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  param_1[0x12] = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0;\n  param_1[0x15] = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0x2000;\n  *(undefined2 *)(param_1 + 0x19) = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  *(undefined1 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  cVar2 = FUN_0023ddf0(piVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    /* try { // try from 0021538e to 00215392 has its CatchHandler @ 002153a1 */\n  iVar4 = FUN_0023c6c0(piVar1);\n  param_1[0x1e] = iVar4;\n  return;\n}" primitive_type (function_declarator "FUN_00215250(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  param_1[2] = 0;\n  *param_1 = unaff_EDI + 0x176e8b;\n  piVar1 = param_1 + 7;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00238070(piVar1);\n  *param_1 = unaff_EDI + 0x1777cf;\n  uVar3 = 0;\n  do {\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x18);\n  FUN_001e73d0(param_1 + 0xe,param_1 + 8);\n  *(undefined1 *)((int)param_1 + 0x66) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  param_1[0x12] = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0;\n  param_1[0x15] = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0x2000;\n  *(undefined2 *)(param_1 + 0x19) = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  *(undefined1 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  cVar2 = FUN_0023ddf0(piVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    /* try { // try from 0021538e to 00215392 has its CatchHandler @ 002153a1 */\n  iVar4 = FUN_0023c6c0(piVar1);\n  param_1[0x1e] = iVar4;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier 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 "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = unaff_EDI + 0x176e8b;" (assignment_expression "*param_1 = unaff_EDI + 0x176e8b" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x176e8b" identifier + number_literal)) ;) (expression_statement "piVar1 = param_1 + 7;" (assignment_expression "piVar1 = param_1 + 7" identifier = (binary_expression "param_1 + 7" identifier + number_literal)) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00238070(piVar1);" (call_expression "FUN_00238070(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "*param_1 = unaff_EDI + 0x1777cf;" (assignment_expression "*param_1 = unaff_EDI + 0x1777cf" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x1777cf" identifier + number_literal)) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x18);" do (compound_statement "{\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  }" { (expression_statement "*(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + uVar3 + 0x20)" * (cast_expression "(undefined4 *)((int)param_1 + uVar3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar3 + 0x20)" ( (binary_expression "(int)param_1 + uVar3 + 0x20" (binary_expression "(int)param_1 + uVar3" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "uVar3 = uVar3 + 4;" (assignment_expression "uVar3 = uVar3 + 4" identifier = (binary_expression "uVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar3 < 0x18)" ( (binary_expression "uVar3 < 0x18" identifier < number_literal) )) ;) (expression_statement "FUN_001e73d0(param_1 + 0xe,param_1 + 8);" (call_expression "FUN_001e73d0(param_1 + 0xe,param_1 + 8)" identifier (argument_list "(param_1 + 0xe,param_1 + 8)" ( (binary_expression "param_1 + 0xe" identifier + number_literal) , (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x66) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x66) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x66)" * (cast_expression "(undefined1 *)((int)param_1 + 0x66)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x66)" ( (binary_expression "(int)param_1 + 0x66" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x10] = 0;" (assignment_expression "param_1[0x10] = 0" (subscript_expression "param_1[0x10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x11] = 0;" (assignment_expression "param_1[0x11] = 0" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x12] = 0;" (assignment_expression "param_1[0x12] = 0" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x13] = 0;" (assignment_expression "param_1[0x13] = 0" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x14] = 0;" (assignment_expression "param_1[0x14] = 0" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x15] = 0;" (assignment_expression "param_1[0x15] = 0" (subscript_expression "param_1[0x15]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x16] = 0;" (assignment_expression "param_1[0x16] = 0" (subscript_expression "param_1[0x16]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x18] = 0x2000;" (assignment_expression "param_1[0x18] = 0x2000" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(param_1 + 0x19) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x19) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x19)" * (cast_expression "(undefined2 *)(param_1 + 0x19)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x19)" ( (binary_expression "param_1 + 0x19" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x1a] = 0;" (assignment_expression "param_1[0x1a] = 0" (subscript_expression "param_1[0x1a]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1b] = 0;" (assignment_expression "param_1[0x1b] = 0" (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1c] = 0;" (assignment_expression "param_1[0x1c] = 0" (subscript_expression "param_1[0x1c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x1d) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x1d) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x1d)" * (cast_expression "(undefined1 *)(param_1 + 0x1d)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1f] = 0;" (assignment_expression "param_1[0x1f] = 0" (subscript_expression "param_1[0x1f]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x21] = 0;" (assignment_expression "param_1[0x21] = 0" (subscript_expression "param_1[0x21]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x22] = 0;" (assignment_expression "param_1[0x22] = 0" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "cVar2 = FUN_0023ddf0(piVar1);" (assignment_expression "cVar2 = FUN_0023ddf0(piVar1)" identifier = (call_expression "FUN_0023ddf0(piVar1)" identifier (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (cVar2 == '\0') {\n    return;\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "iVar4 = FUN_0023c6c0(piVar1);" (assignment_expression "iVar4 = FUN_0023c6c0(piVar1)" identifier = (call_expression "FUN_0023c6c0(piVar1)" identifier (argument_list "(piVar1)" ( identifier )))) ;) (expression_statement "param_1[0x1e] = iVar4;" (assignment_expression "param_1[0x1e] = iVar4" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::wfilebuf::wfilebuf() */\n\nvoid __thiscall std::wfilebuf::wfilebuf(wfilebuf *this)\n\n{\n  locale *this_00;\n  bool bVar1;\n  uint uVar2;\n  codecvt *pcVar3;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  *(undefined4 *)(this + 4) = 0;\n  *(undefined4 *)(this + 8) = 0;\n  *(int *)this = unaff_EDI + 0x176e8b;\n  this_00 = (locale *)(this + 0x1c);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined4 *)(this + 0x10) = 0;\n  *(undefined4 *)(this + 0x14) = 0;\n  *(undefined4 *)(this + 0x18) = 0;\n  locale::locale(this_00);\n  *(int *)this = unaff_EDI + 0x1777cf;\n  uVar2 = 0;\n  do {\n    *(undefined4 *)(this + uVar2 + 0x20) = 0;\n    uVar2 = uVar2 + 4;\n  } while (uVar2 < 0x18);\n  __basic_file<char>::__basic_file((pthread_mutex_t *)(this + 0x38));\n  this[0x66] = (wfilebuf)0x0;\n  *(undefined4 *)(this + 0x40) = 0;\n  *(undefined4 *)(this + 0x44) = 0;\n  *(undefined4 *)(this + 0x48) = 0;\n  *(undefined4 *)(this + 0x4c) = 0;\n  *(undefined4 *)(this + 0x50) = 0;\n  *(undefined4 *)(this + 0x54) = 0;\n  *(undefined4 *)(this + 0x58) = 0;\n  *(undefined4 *)(this + 0x5c) = 0;\n  *(undefined4 *)(this + 0x60) = 0x2000;\n  *(undefined2 *)(this + 100) = 0;\n  *(undefined4 *)(this + 0x68) = 0;\n  *(undefined4 *)(this + 0x6c) = 0;\n  *(undefined4 *)(this + 0x70) = 0;\n  this[0x74] = (wfilebuf)0x0;\n  *(undefined4 *)(this + 0x78) = 0;\n  *(undefined4 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  *(undefined4 *)(this + 0x84) = 0;\n  *(undefined4 *)(this + 0x88) = 0;\n  bVar1 = has_facet<std::codecvt<wchar_t,char,__mbstate_t>>(this_00);\n  if (!bVar1) {\n    return;\n  }\n                    /* try { // try from 0021538e to 00215392 has its CatchHandler @ 002153a1 */\n  pcVar3 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(this_00);\n  *(codecvt **)(this + 0x78) = pcVar3;\n  return;\n}\n\n" comment (function_definition "void __thiscall std::wfilebuf::wfilebuf(wfilebuf *this)\n\n{\n  locale *this_00;\n  bool bVar1;\n  uint uVar2;\n  codecvt *pcVar3;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  *(undefined4 *)(this + 4) = 0;\n  *(undefined4 *)(this + 8) = 0;\n  *(int *)this = unaff_EDI + 0x176e8b;\n  this_00 = (locale *)(this + 0x1c);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined4 *)(this + 0x10) = 0;\n  *(undefined4 *)(this + 0x14) = 0;\n  *(undefined4 *)(this + 0x18) = 0;\n  locale::locale(this_00);\n  *(int *)this = unaff_EDI + 0x1777cf;\n  uVar2 = 0;\n  do {\n    *(undefined4 *)(this + uVar2 + 0x20) = 0;\n    uVar2 = uVar2 + 4;\n  } while (uVar2 < 0x18);\n  __basic_file<char>::__basic_file((pthread_mutex_t *)(this + 0x38));\n  this[0x66] = (wfilebuf)0x0;\n  *(undefined4 *)(this + 0x40) = 0;\n  *(undefined4 *)(this + 0x44) = 0;\n  *(undefined4 *)(this + 0x48) = 0;\n  *(undefined4 *)(this + 0x4c) = 0;\n  *(undefined4 *)(this + 0x50) = 0;\n  *(undefined4 *)(this + 0x54) = 0;\n  *(undefined4 *)(this + 0x58) = 0;\n  *(undefined4 *)(this + 0x5c) = 0;\n  *(undefined4 *)(this + 0x60) = 0x2000;\n  *(undefined2 *)(this + 100) = 0;\n  *(undefined4 *)(this + 0x68) = 0;\n  *(undefined4 *)(this + 0x6c) = 0;\n  *(undefined4 *)(this + 0x70) = 0;\n  this[0x74] = (wfilebuf)0x0;\n  *(undefined4 *)(this + 0x78) = 0;\n  *(undefined4 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  *(undefined4 *)(this + 0x84) = 0;\n  *(undefined4 *)(this + 0x88) = 0;\n  bVar1 = has_facet<std::codecvt<wchar_t,char,__mbstate_t>>(this_00);\n  if (!bVar1) {\n    return;\n  }\n                    /* try { // try from 0021538e to 00215392 has its CatchHandler @ 002153a1 */\n  pcVar3 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(this_00);\n  *(codecvt **)(this + 0x78) = pcVar3;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wfilebuf::" identifier : : identifier : :) (function_declarator "wfilebuf(wfilebuf *this)" identifier (parameter_list "(wfilebuf *this)" ( (parameter_declaration "wfilebuf *this" type_identifier (pointer_declarator "*this" * identifier)) ))) (compound_statement "{\n  locale *this_00;\n  bool bVar1;\n  uint uVar2;\n  codecvt *pcVar3;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  *(undefined4 *)(this + 4) = 0;\n  *(undefined4 *)(this + 8) = 0;\n  *(int *)this = unaff_EDI + 0x176e8b;\n  this_00 = (locale *)(this + 0x1c);\n  *(undefined4 *)(this + 0xc) = 0;\n  *(undefined4 *)(this + 0x10) = 0;\n  *(undefined4 *)(this + 0x14) = 0;\n  *(undefined4 *)(this + 0x18) = 0;\n  locale::locale(this_00);\n  *(int *)this = unaff_EDI + 0x1777cf;\n  uVar2 = 0;\n  do {\n    *(undefined4 *)(this + uVar2 + 0x20) = 0;\n    uVar2 = uVar2 + 4;\n  } while (uVar2 < 0x18);\n  __basic_file<char>::__basic_file((pthread_mutex_t *)(this + 0x38));\n  this[0x66] = (wfilebuf)0x0;\n  *(undefined4 *)(this + 0x40) = 0;\n  *(undefined4 *)(this + 0x44) = 0;\n  *(undefined4 *)(this + 0x48) = 0;\n  *(undefined4 *)(this + 0x4c) = 0;\n  *(undefined4 *)(this + 0x50) = 0;\n  *(undefined4 *)(this + 0x54) = 0;\n  *(undefined4 *)(this + 0x58) = 0;\n  *(undefined4 *)(this + 0x5c) = 0;\n  *(undefined4 *)(this + 0x60) = 0x2000;\n  *(undefined2 *)(this + 100) = 0;\n  *(undefined4 *)(this + 0x68) = 0;\n  *(undefined4 *)(this + 0x6c) = 0;\n  *(undefined4 *)(this + 0x70) = 0;\n  this[0x74] = (wfilebuf)0x0;\n  *(undefined4 *)(this + 0x78) = 0;\n  *(undefined4 *)(this + 0x7c) = 0;\n  *(undefined4 *)(this + 0x80) = 0;\n  *(undefined4 *)(this + 0x84) = 0;\n  *(undefined4 *)(this + 0x88) = 0;\n  bVar1 = has_facet<std::codecvt<wchar_t,char,__mbstate_t>>(this_00);\n  if (!bVar1) {\n    return;\n  }\n                    /* try { // try from 0021538e to 00215392 has its CatchHandler @ 002153a1 */\n  pcVar3 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(this_00);\n  *(codecvt **)(this + 0x78) = pcVar3;\n  return;\n}" { (declaration "locale *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "bool bVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "codecvt *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * 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 "*(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) ;) (expression_statement "*(undefined4 *)(this + 8) = 0;" (assignment_expression "*(undefined4 *)(this + 8) = 0" (pointer_expression "*(undefined4 *)(this + 8)" * (cast_expression "(undefined4 *)(this + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 8)" ( (binary_expression "this + 8" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)this = unaff_EDI + 0x176e8b;" (assignment_expression "*(int *)this = unaff_EDI + 0x176e8b" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "unaff_EDI + 0x176e8b" identifier + number_literal)) ;) (expression_statement "this_00 = (locale *)(this + 0x1c);" (assignment_expression "this_00 = (locale *)(this + 0x1c)" identifier = (cast_expression "(locale *)(this + 0x1c)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x1c)" ( (binary_expression "this + 0x1c" identifier + number_literal) )))) ;) (expression_statement "*(undefined4 *)(this + 0xc) = 0;" (assignment_expression "*(undefined4 *)(this + 0xc) = 0" (pointer_expression "*(undefined4 *)(this + 0xc)" * (cast_expression "(undefined4 *)(this + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0xc)" ( (binary_expression "this + 0xc" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x10) = 0;" (assignment_expression "*(undefined4 *)(this + 0x10) = 0" (pointer_expression "*(undefined4 *)(this + 0x10)" * (cast_expression "(undefined4 *)(this + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x10)" ( (binary_expression "this + 0x10" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x14) = 0;" (assignment_expression "*(undefined4 *)(this + 0x14) = 0" (pointer_expression "*(undefined4 *)(this + 0x14)" * (cast_expression "(undefined4 *)(this + 0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x14)" ( (binary_expression "this + 0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x18) = 0;" (assignment_expression "*(undefined4 *)(this + 0x18) = 0" (pointer_expression "*(undefined4 *)(this + 0x18)" * (cast_expression "(undefined4 *)(this + 0x18)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x18)" ( (binary_expression "this + 0x18" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "locale::locale(this_00);" statement_identifier : (ERROR ":" :) (expression_statement "locale(this_00);" (call_expression "locale(this_00)" identifier (argument_list "(this_00)" ( identifier ))) ;)) (expression_statement "*(int *)this = unaff_EDI + 0x1777cf;" (assignment_expression "*(int *)this = unaff_EDI + 0x1777cf" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "unaff_EDI + 0x1777cf" identifier + number_literal)) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)(this + uVar2 + 0x20) = 0;\n    uVar2 = uVar2 + 4;\n  } while (uVar2 < 0x18);" do (compound_statement "{\n    *(undefined4 *)(this + uVar2 + 0x20) = 0;\n    uVar2 = uVar2 + 4;\n  }" { (expression_statement "*(undefined4 *)(this + uVar2 + 0x20) = 0;" (assignment_expression "*(undefined4 *)(this + uVar2 + 0x20) = 0" (pointer_expression "*(undefined4 *)(this + uVar2 + 0x20)" * (cast_expression "(undefined4 *)(this + uVar2 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + uVar2 + 0x20)" ( (binary_expression "this + uVar2 + 0x20" (binary_expression "this + uVar2" identifier + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "uVar2 = uVar2 + 4;" (assignment_expression "uVar2 = uVar2 + 4" identifier = (binary_expression "uVar2 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar2 < 0x18)" ( (binary_expression "uVar2 < 0x18" identifier < number_literal) )) ;) (expression_statement "__basic_file<char>::__basic_file((pthread_mutex_t *)(this + 0x38));" (binary_expression "__basic_file<char>::__basic_file((pthread_mutex_t *)(this + 0x38))" (binary_expression "__basic_file<char" identifier < identifier) > (ERROR "::" : :) (call_expression "__basic_file((pthread_mutex_t *)(this + 0x38))" identifier (argument_list "((pthread_mutex_t *)(this + 0x38))" ( (cast_expression "(pthread_mutex_t *)(this + 0x38)" ( (type_descriptor "pthread_mutex_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x38)" ( (binary_expression "this + 0x38" identifier + number_literal) ))) )))) ;) (expression_statement "this[0x66] = (wfilebuf)0x0;" (assignment_expression "this[0x66] = (wfilebuf)0x0" (subscript_expression "this[0x66]" identifier [ number_literal ]) = (cast_expression "(wfilebuf)0x0" ( (type_descriptor "wfilebuf" type_identifier) ) number_literal)) ;) (expression_statement "*(undefined4 *)(this + 0x40) = 0;" (assignment_expression "*(undefined4 *)(this + 0x40) = 0" (pointer_expression "*(undefined4 *)(this + 0x40)" * (cast_expression "(undefined4 *)(this + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x40)" ( (binary_expression "this + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x44) = 0;" (assignment_expression "*(undefined4 *)(this + 0x44) = 0" (pointer_expression "*(undefined4 *)(this + 0x44)" * (cast_expression "(undefined4 *)(this + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x44)" ( (binary_expression "this + 0x44" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x48) = 0;" (assignment_expression "*(undefined4 *)(this + 0x48) = 0" (pointer_expression "*(undefined4 *)(this + 0x48)" * (cast_expression "(undefined4 *)(this + 0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x48)" ( (binary_expression "this + 0x48" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x4c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x4c) = 0" (pointer_expression "*(undefined4 *)(this + 0x4c)" * (cast_expression "(undefined4 *)(this + 0x4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x4c)" ( (binary_expression "this + 0x4c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x50) = 0;" (assignment_expression "*(undefined4 *)(this + 0x50) = 0" (pointer_expression "*(undefined4 *)(this + 0x50)" * (cast_expression "(undefined4 *)(this + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x50)" ( (binary_expression "this + 0x50" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x54) = 0;" (assignment_expression "*(undefined4 *)(this + 0x54) = 0" (pointer_expression "*(undefined4 *)(this + 0x54)" * (cast_expression "(undefined4 *)(this + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x54)" ( (binary_expression "this + 0x54" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x58) = 0;" (assignment_expression "*(undefined4 *)(this + 0x58) = 0" (pointer_expression "*(undefined4 *)(this + 0x58)" * (cast_expression "(undefined4 *)(this + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x58)" ( (binary_expression "this + 0x58" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x5c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x5c) = 0" (pointer_expression "*(undefined4 *)(this + 0x5c)" * (cast_expression "(undefined4 *)(this + 0x5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x5c)" ( (binary_expression "this + 0x5c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x60) = 0x2000;" (assignment_expression "*(undefined4 *)(this + 0x60) = 0x2000" (pointer_expression "*(undefined4 *)(this + 0x60)" * (cast_expression "(undefined4 *)(this + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x60)" ( (binary_expression "this + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined2 *)(this + 100) = 0;" (assignment_expression "*(undefined2 *)(this + 100) = 0" (pointer_expression "*(undefined2 *)(this + 100)" * (cast_expression "(undefined2 *)(this + 100)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 100)" ( (binary_expression "this + 100" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x68) = 0;" (assignment_expression "*(undefined4 *)(this + 0x68) = 0" (pointer_expression "*(undefined4 *)(this + 0x68)" * (cast_expression "(undefined4 *)(this + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x68)" ( (binary_expression "this + 0x68" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x6c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x6c) = 0" (pointer_expression "*(undefined4 *)(this + 0x6c)" * (cast_expression "(undefined4 *)(this + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x6c)" ( (binary_expression "this + 0x6c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x70) = 0;" (assignment_expression "*(undefined4 *)(this + 0x70) = 0" (pointer_expression "*(undefined4 *)(this + 0x70)" * (cast_expression "(undefined4 *)(this + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x70)" ( (binary_expression "this + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "this[0x74] = (wfilebuf)0x0;" (assignment_expression "this[0x74] = (wfilebuf)0x0" (subscript_expression "this[0x74]" identifier [ number_literal ]) = (cast_expression "(wfilebuf)0x0" ( (type_descriptor "wfilebuf" type_identifier) ) number_literal)) ;) (expression_statement "*(undefined4 *)(this + 0x78) = 0;" (assignment_expression "*(undefined4 *)(this + 0x78) = 0" (pointer_expression "*(undefined4 *)(this + 0x78)" * (cast_expression "(undefined4 *)(this + 0x78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x7c) = 0;" (assignment_expression "*(undefined4 *)(this + 0x7c) = 0" (pointer_expression "*(undefined4 *)(this + 0x7c)" * (cast_expression "(undefined4 *)(this + 0x7c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x80) = 0;" (assignment_expression "*(undefined4 *)(this + 0x80) = 0" (pointer_expression "*(undefined4 *)(this + 0x80)" * (cast_expression "(undefined4 *)(this + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x80)" ( (binary_expression "this + 0x80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x84) = 0;" (assignment_expression "*(undefined4 *)(this + 0x84) = 0" (pointer_expression "*(undefined4 *)(this + 0x84)" * (cast_expression "(undefined4 *)(this + 0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x84)" ( (binary_expression "this + 0x84" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(this + 0x88) = 0;" (assignment_expression "*(undefined4 *)(this + 0x88) = 0" (pointer_expression "*(undefined4 *)(this + 0x88)" * (cast_expression "(undefined4 *)(this + 0x88)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x88)" ( (binary_expression "this + 0x88" identifier + number_literal) )))) = number_literal) ;) (expression_statement "bVar1 = has_facet<std::codecvt<wchar_t,char,__mbstate_t>>(this_00);" (comma_expression "bVar1 = has_facet<std::codecvt<wchar_t,char,__mbstate_t>>(this_00)" (binary_expression "bVar1 = has_facet<std::codecvt<wchar_t" (assignment_expression "bVar1 = has_facet<std" identifier = (binary_expression "has_facet<std" identifier < identifier)) (ERROR "::codecvt" : : identifier) < identifier) , (comma_expression "char,__mbstate_t>>(this_00)" identifier , (binary_expression "__mbstate_t>>(this_00)" identifier >> (parenthesized_expression "(this_00)" ( identifier ))))) ;) (if_statement "if (!bVar1) {\n    return;\n  }" if (parenthesized_expression "(!bVar1)" ( (unary_expression "!bVar1" ! identifier) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "pcVar3 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(this_00);" (comma_expression "pcVar3 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(this_00)" (binary_expression "pcVar3 = use_facet<std::codecvt<wchar_t" (assignment_expression "pcVar3 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::codecvt" : : identifier) < identifier) , (comma_expression "char,__mbstate_t>>(this_00)" identifier , (binary_expression "__mbstate_t>>(this_00)" identifier >> (parenthesized_expression "(this_00)" ( identifier ))))) ;) (expression_statement "*(codecvt **)(this + 0x78) = pcVar3;" (assignment_expression "*(codecvt **)(this + 0x78) = pcVar3" (pointer_expression "*(codecvt **)(this + 0x78)" * (cast_expression "(codecvt **)(this + 0x78)" ( (type_descriptor "codecvt **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00215250(int *param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  param_1[2] = 0;\n  *param_1 = unaff_EDI + 0x176e8b;\n  piVar1 = param_1 + 7;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00238070(piVar1);\n  *param_1 = unaff_EDI + 0x1777cf;\n  uVar3 = 0;\n  do {\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x18);\n  FUN_001e73d0(param_1 + 0xe,param_1 + 8);\n  *(undefined1 *)((int)param_1 + 0x66) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  param_1[0x12] = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0;\n  param_1[0x15] = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0x2000;\n  *(undefined2 *)(param_1 + 0x19) = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  *(undefined1 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  cVar2 = FUN_0023ddf0(piVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    \n  iVar4 = FUN_0023c6c0(piVar1);\n  param_1[0x1e] = iVar4;\n  return;\n}\n\n" (function_definition "void FUN_00215250(int *param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  param_1[2] = 0;\n  *param_1 = unaff_EDI + 0x176e8b;\n  piVar1 = param_1 + 7;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00238070(piVar1);\n  *param_1 = unaff_EDI + 0x1777cf;\n  uVar3 = 0;\n  do {\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x18);\n  FUN_001e73d0(param_1 + 0xe,param_1 + 8);\n  *(undefined1 *)((int)param_1 + 0x66) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  param_1[0x12] = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0;\n  param_1[0x15] = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0x2000;\n  *(undefined2 *)(param_1 + 0x19) = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  *(undefined1 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  cVar2 = FUN_0023ddf0(piVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    \n  iVar4 = FUN_0023c6c0(piVar1);\n  param_1[0x1e] = iVar4;\n  return;\n}" primitive_type (function_declarator "FUN_00215250(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  param_1[2] = 0;\n  *param_1 = unaff_EDI + 0x176e8b;\n  piVar1 = param_1 + 7;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00238070(piVar1);\n  *param_1 = unaff_EDI + 0x1777cf;\n  uVar3 = 0;\n  do {\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x18);\n  FUN_001e73d0(param_1 + 0xe,param_1 + 8);\n  *(undefined1 *)((int)param_1 + 0x66) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  param_1[0x12] = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0;\n  param_1[0x15] = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0x2000;\n  *(undefined2 *)(param_1 + 0x19) = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  *(undefined1 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  cVar2 = FUN_0023ddf0(piVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    \n  iVar4 = FUN_0023c6c0(piVar1);\n  param_1[0x1e] = iVar4;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier 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 "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*param_1 = unaff_EDI + 0x176e8b;" (assignment_expression "*param_1 = unaff_EDI + 0x176e8b" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x176e8b" identifier + number_literal)) ;) (expression_statement "piVar1 = param_1 + 7;" (assignment_expression "piVar1 = param_1 + 7" identifier = (binary_expression "param_1 + 7" identifier + number_literal)) ;) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "FUN_00238070(piVar1);" (call_expression "FUN_00238070(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) (expression_statement "*param_1 = unaff_EDI + 0x1777cf;" (assignment_expression "*param_1 = unaff_EDI + 0x1777cf" (pointer_expression "*param_1" * identifier) = (binary_expression "unaff_EDI + 0x1777cf" identifier + number_literal)) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x18);" do (compound_statement "{\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  }" { (expression_statement "*(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + uVar3 + 0x20)" * (cast_expression "(undefined4 *)((int)param_1 + uVar3 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + uVar3 + 0x20)" ( (binary_expression "(int)param_1 + uVar3 + 0x20" (binary_expression "(int)param_1 + uVar3" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + identifier) + number_literal) )))) = number_literal) ;) (expression_statement "uVar3 = uVar3 + 4;" (assignment_expression "uVar3 = uVar3 + 4" identifier = (binary_expression "uVar3 + 4" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar3 < 0x18)" ( (binary_expression "uVar3 < 0x18" identifier < number_literal) )) ;) (expression_statement "FUN_001e73d0(param_1 + 0xe,param_1 + 8);" (call_expression "FUN_001e73d0(param_1 + 0xe,param_1 + 8)" identifier (argument_list "(param_1 + 0xe,param_1 + 8)" ( (binary_expression "param_1 + 0xe" identifier + number_literal) , (binary_expression "param_1 + 8" identifier + number_literal) ))) ;) (expression_statement "*(undefined1 *)((int)param_1 + 0x66) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x66) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x66)" * (cast_expression "(undefined1 *)((int)param_1 + 0x66)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x66)" ( (binary_expression "(int)param_1 + 0x66" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x10] = 0;" (assignment_expression "param_1[0x10] = 0" (subscript_expression "param_1[0x10]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x11] = 0;" (assignment_expression "param_1[0x11] = 0" (subscript_expression "param_1[0x11]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x12] = 0;" (assignment_expression "param_1[0x12] = 0" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x13] = 0;" (assignment_expression "param_1[0x13] = 0" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x14] = 0;" (assignment_expression "param_1[0x14] = 0" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x15] = 0;" (assignment_expression "param_1[0x15] = 0" (subscript_expression "param_1[0x15]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x16] = 0;" (assignment_expression "param_1[0x16] = 0" (subscript_expression "param_1[0x16]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x18] = 0x2000;" (assignment_expression "param_1[0x18] = 0x2000" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined2 *)(param_1 + 0x19) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x19) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x19)" * (cast_expression "(undefined2 *)(param_1 + 0x19)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x19)" ( (binary_expression "param_1 + 0x19" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x1a] = 0;" (assignment_expression "param_1[0x1a] = 0" (subscript_expression "param_1[0x1a]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1b] = 0;" (assignment_expression "param_1[0x1b] = 0" (subscript_expression "param_1[0x1b]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1c] = 0;" (assignment_expression "param_1[0x1c] = 0" (subscript_expression "param_1[0x1c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(undefined1 *)(param_1 + 0x1d) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x1d) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x1d)" * (cast_expression "(undefined1 *)(param_1 + 0x1d)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1d)" ( (binary_expression "param_1 + 0x1d" identifier + number_literal) )))) = number_literal) ;) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x1f] = 0;" (assignment_expression "param_1[0x1f] = 0" (subscript_expression "param_1[0x1f]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x21] = 0;" (assignment_expression "param_1[0x21] = 0" (subscript_expression "param_1[0x21]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x22] = 0;" (assignment_expression "param_1[0x22] = 0" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "cVar2 = FUN_0023ddf0(piVar1);" (assignment_expression "cVar2 = FUN_0023ddf0(piVar1)" identifier = (call_expression "FUN_0023ddf0(piVar1)" identifier (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (cVar2 == '\0') {\n    return;\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar4 = FUN_0023c6c0(piVar1);" (assignment_expression "iVar4 = FUN_0023c6c0(piVar1)" identifier = (call_expression "FUN_0023c6c0(piVar1)" identifier (argument_list "(piVar1)" ( identifier )))) ;) (expression_statement "param_1[0x1e] = iVar4;" (assignment_expression "param_1[0x1e] = iVar4" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (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 (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT < LIT) )) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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 IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = 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 IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_00215250(int *param_1)\n\n{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  param_1[2] = 0;\n  *param_1 = unaff_EDI + 0x176e8b;\n  piVar1 = param_1 + 7;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00238070(piVar1);\n  *param_1 = unaff_EDI + 0x1777cf;\n  uVar3 = 0;\n  do {\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x18);\n  FUN_001e73d0(param_1 + 0xe,param_1 + 8);\n  *(undefined1 *)((int)param_1 + 0x66) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  param_1[0x12] = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0;\n  param_1[0x15] = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0x2000;\n  *(undefined2 *)(param_1 + 0x19) = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  *(undefined1 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  cVar2 = FUN_0023ddf0(piVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    \n  iVar4 = FUN_0023c6c0(piVar1);\n  param_1[0x1e] = iVar4;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00215250(int *param_1)" (identifier "FUN_00215250") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  uint uVar3;\n  int iVar4;\n  int unaff_EDI;\n  \n  FUN_000559ee();\n  param_1[1] = 0;\n  param_1[2] = 0;\n  *param_1 = unaff_EDI + 0x176e8b;\n  piVar1 = param_1 + 7;\n  param_1[3] = 0;\n  param_1[4] = 0;\n  param_1[5] = 0;\n  param_1[6] = 0;\n  FUN_00238070(piVar1);\n  *param_1 = unaff_EDI + 0x1777cf;\n  uVar3 = 0;\n  do {\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x18);\n  FUN_001e73d0(param_1 + 0xe,param_1 + 8);\n  *(undefined1 *)((int)param_1 + 0x66) = 0;\n  param_1[0x10] = 0;\n  param_1[0x11] = 0;\n  param_1[0x12] = 0;\n  param_1[0x13] = 0;\n  param_1[0x14] = 0;\n  param_1[0x15] = 0;\n  param_1[0x16] = 0;\n  param_1[0x17] = 0;\n  param_1[0x18] = 0x2000;\n  *(undefined2 *)(param_1 + 0x19) = 0;\n  param_1[0x1a] = 0;\n  param_1[0x1b] = 0;\n  param_1[0x1c] = 0;\n  *(undefined1 *)(param_1 + 0x1d) = 0;\n  param_1[0x1e] = 0;\n  param_1[0x1f] = 0;\n  param_1[0x20] = 0;\n  param_1[0x21] = 0;\n  param_1[0x22] = 0;\n  cVar2 = FUN_0023ddf0(piVar1);\n  if (cVar2 == '\0') {\n    return;\n  }\n                    \n  iVar4 = FUN_0023c6c0(piVar1);\n  param_1[0x1e] = iVar4;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (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 "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 "param_1[2] = 0;" (assignment_expression "param_1[2] = 0" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = unaff_EDI + 0x176e8b;" (assignment_expression "*param_1 = unaff_EDI + 0x176e8b" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "unaff_EDI + 0x176e8b" (identifier "unaff_EDI") (+ "+") (number_literal "0x176e8b"))) (; ";")) (expression_statement "piVar1 = param_1 + 7;" (assignment_expression "piVar1 = param_1 + 7" (identifier "piVar1") (= "=") (binary_expression "param_1 + 7" (identifier "param_1") (+ "+") (number_literal "7"))) (; ";")) (expression_statement "param_1[3] = 0;" (assignment_expression "param_1[3] = 0" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[5] = 0;" (assignment_expression "param_1[5] = 0" (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00238070(piVar1);" (call_expression "FUN_00238070(piVar1)" (identifier "FUN_00238070") (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (expression_statement "*param_1 = unaff_EDI + 0x1777cf;" (assignment_expression "*param_1 = unaff_EDI + 0x1777cf" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (binary_expression "unaff_EDI + 0x1777cf" (identifier "unaff_EDI") (+ "+") (number_literal "0x1777cf"))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  } while (uVar3 < 0x18);" (do "do") (compound_statement "{\n    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;\n    uVar3 = uVar3 + 4;\n  }" ({ "{") (expression_statement "*(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;" (assignment_expression "*(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0" (pointer_expression "*(undefined4 *)((int)param_1 + uVar3 + 0x20)" (* "*") (cast_expression "(undefined4 *)((int)param_1 + uVar3 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + uVar3 + 0x20)" (( "(") (binary_expression "(int)param_1 + uVar3 + 0x20" (binary_expression "(int)param_1 + uVar3" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (identifier "uVar3")) (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = uVar3 + 4;" (assignment_expression "uVar3 = uVar3 + 4" (identifier "uVar3") (= "=") (binary_expression "uVar3 + 4" (identifier "uVar3") (+ "+") (number_literal "4"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar3 < 0x18)" (( "(") (binary_expression "uVar3 < 0x18" (identifier "uVar3") (< "<") (number_literal "0x18")) () ")")) (; ";")) (expression_statement "FUN_001e73d0(param_1 + 0xe,param_1 + 8);" (call_expression "FUN_001e73d0(param_1 + 0xe,param_1 + 8)" (identifier "FUN_001e73d0") (argument_list "(param_1 + 0xe,param_1 + 8)" (( "(") (binary_expression "param_1 + 0xe" (identifier "param_1") (+ "+") (number_literal "0xe")) (, ",") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))) (; ";")) (expression_statement "*(undefined1 *)((int)param_1 + 0x66) = 0;" (assignment_expression "*(undefined1 *)((int)param_1 + 0x66) = 0" (pointer_expression "*(undefined1 *)((int)param_1 + 0x66)" (* "*") (cast_expression "(undefined1 *)((int)param_1 + 0x66)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x66)" (( "(") (binary_expression "(int)param_1 + 0x66" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x66")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x10] = 0;" (assignment_expression "param_1[0x10] = 0" (subscript_expression "param_1[0x10]" (identifier "param_1") ([ "[") (number_literal "0x10") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x11] = 0;" (assignment_expression "param_1[0x11] = 0" (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x12] = 0;" (assignment_expression "param_1[0x12] = 0" (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x13] = 0;" (assignment_expression "param_1[0x13] = 0" (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x14] = 0;" (assignment_expression "param_1[0x14] = 0" (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x15] = 0;" (assignment_expression "param_1[0x15] = 0" (subscript_expression "param_1[0x15]" (identifier "param_1") ([ "[") (number_literal "0x15") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x16] = 0;" (assignment_expression "param_1[0x16] = 0" (subscript_expression "param_1[0x16]" (identifier "param_1") ([ "[") (number_literal "0x16") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x18] = 0x2000;" (assignment_expression "param_1[0x18] = 0x2000" (subscript_expression "param_1[0x18]" (identifier "param_1") ([ "[") (number_literal "0x18") (] "]")) (= "=") (number_literal "0x2000")) (; ";")) (expression_statement "*(undefined2 *)(param_1 + 0x19) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x19) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x19)" (* "*") (cast_expression "(undefined2 *)(param_1 + 0x19)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x19)" (( "(") (binary_expression "param_1 + 0x19" (identifier "param_1") (+ "+") (number_literal "0x19")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x1a] = 0;" (assignment_expression "param_1[0x1a] = 0" (subscript_expression "param_1[0x1a]" (identifier "param_1") ([ "[") (number_literal "0x1a") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x1b] = 0;" (assignment_expression "param_1[0x1b] = 0" (subscript_expression "param_1[0x1b]" (identifier "param_1") ([ "[") (number_literal "0x1b") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x1c] = 0;" (assignment_expression "param_1[0x1c] = 0" (subscript_expression "param_1[0x1c]" (identifier "param_1") ([ "[") (number_literal "0x1c") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined1 *)(param_1 + 0x1d) = 0;" (assignment_expression "*(undefined1 *)(param_1 + 0x1d) = 0" (pointer_expression "*(undefined1 *)(param_1 + 0x1d)" (* "*") (cast_expression "(undefined1 *)(param_1 + 0x1d)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1d)" (( "(") (binary_expression "param_1 + 0x1d" (identifier "param_1") (+ "+") (number_literal "0x1d")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x1f] = 0;" (assignment_expression "param_1[0x1f] = 0" (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x20] = 0;" (assignment_expression "param_1[0x20] = 0" (subscript_expression "param_1[0x20]" (identifier "param_1") ([ "[") (number_literal "0x20") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x21] = 0;" (assignment_expression "param_1[0x21] = 0" (subscript_expression "param_1[0x21]" (identifier "param_1") ([ "[") (number_literal "0x21") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[0x22] = 0;" (assignment_expression "param_1[0x22] = 0" (subscript_expression "param_1[0x22]" (identifier "param_1") ([ "[") (number_literal "0x22") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "cVar2 = FUN_0023ddf0(piVar1);" (assignment_expression "cVar2 = FUN_0023ddf0(piVar1)" (identifier "cVar2") (= "=") (call_expression "FUN_0023ddf0(piVar1)" (identifier "FUN_0023ddf0") (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') {\n    return;\n  }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar4 = FUN_0023c6c0(piVar1);" (assignment_expression "iVar4 = FUN_0023c6c0(piVar1)" (identifier "iVar4") (= "=") (call_expression "FUN_0023c6c0(piVar1)" (identifier "FUN_0023c6c0") (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (expression_statement "param_1[0x1e] = iVar4;" (assignment_expression "param_1[0x1e] = iVar4" (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::wfilebuf::wfilebuf() */

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

{
  type_1 *this_00;
  bool bVar1;
  type_2 var_4;
  type_3 *pcVar3;
  int var_3;
  
  var_1();
  *(type_4 *)(var_2 + 4) = 0;
  *(type_4 *)(var_2 + 8) = 0;
  *(int *)var_2 = var_3 + 0x176e8b;
  this_00 = (type_1 *)(var_2 + 0x1c);
  *(type_4 *)(var_2 + 0xc) = 0;
  *(type_4 *)(var_2 + 0x10) = 0;
  *(type_4 *)(var_2 + 0x14) = 0;
  *(type_4 *)(var_2 + 0x18) = 0;
  locale::type_1(this_00);
  *(int *)var_2 = var_3 + 0x1777cf;
  var_4 = 0;
  do {
    *(type_4 *)(var_2 + var_4 + 0x20) = 0;
    var_4 = var_4 + 4;
  } while (var_4 < 0x18);
  var_5<var_6>::var_5((type_5 *)(var_2 + 0x38));
  var_2[0x66] = (function_1)0x0;
  *(type_4 *)(var_2 + 0x40) = 0;
  *(type_4 *)(var_2 + 0x44) = 0;
  *(type_4 *)(var_2 + 0x48) = 0;
  *(type_4 *)(var_2 + 0x4c) = 0;
  *(type_4 *)(var_2 + 0x50) = 0;
  *(type_4 *)(var_2 + 0x54) = 0;
  *(type_4 *)(var_2 + 0x58) = 0;
  *(type_4 *)(var_2 + 0x5c) = 0;
  *(type_4 *)(var_2 + 0x60) = 0x2000;
  *(type_6 *)(var_2 + 100) = 0;
  *(type_4 *)(var_2 + 0x68) = 0;
  *(type_4 *)(var_2 + 0x6c) = 0;
  *(type_4 *)(var_2 + 0x70) = 0;
  var_2[0x74] = (function_1)0x0;
  *(type_4 *)(var_2 + 0x78) = 0;
  *(type_4 *)(var_2 + 0x7c) = 0;
  *(type_4 *)(var_2 + 0x80) = 0;
  *(type_4 *)(var_2 + 0x84) = 0;
  *(type_4 *)(var_2 + 0x88) = 0;
  bVar1 = var_7<var_8::type_3<var_9,var_6,var_10>>(this_00);
  if (!bVar1) {
    return;
  }
                    /* try { // try from 0021538e to 00215392 has its CatchHandler @ 002153a1 */
  pcVar3 = var_11<var_8::type_3<var_9,var_6,var_10>>(this_00);
  *(type_3 **)(var_2 + 0x78) = pcVar3;
  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))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) 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: (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: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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: (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 (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: (identifier) right: (number_literal))) (do_statement body: (compound_statement (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: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (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: (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: (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: (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: (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: (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: (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: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (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: (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: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

void MASKED(int *param_1)

{
  int *piVar1;
  char cVar2;
  uint uVar3;
  int iVar4;
  int unaff_EDI;
  
  FUN_000559ee();
  param_1[1] = 0;
  param_1[2] = 0;
  *param_1 = unaff_EDI + 0x176e8b;
  piVar1 = param_1 + 7;
  param_1[3] = 0;
  param_1[4] = 0;
  param_1[5] = 0;
  param_1[6] = 0;
  FUN_00238070(piVar1);
  *param_1 = unaff_EDI + 0x1777cf;
  uVar3 = 0;
  do {
    *(undefined4 *)((int)param_1 + uVar3 + 0x20) = 0;
    uVar3 = uVar3 + 4;
  } while (uVar3 < 0x18);
  FUN_001e73d0(param_1 + 0xe,param_1 + 8);
  *(undefined1 *)((int)param_1 + 0x66) = 0;
  param_1[0x10] = 0;
  param_1[0x11] = 0;
  param_1[0x12] = 0;
  param_1[0x13] = 0;
  param_1[0x14] = 0;
  param_1[0x15] = 0;
  param_1[0x16] = 0;
  param_1[0x17] = 0;
  param_1[0x18] = 0x2000;
  *(undefined2 *)(param_1 + 0x19) = 0;
  param_1[0x1a] = 0;
  param_1[0x1b] = 0;
  param_1[0x1c] = 0;
  *(undefined1 *)(param_1 + 0x1d) = 0;
  param_1[0x1e] = 0;
  param_1[0x1f] = 0;
  param_1[0x20] = 0;
  param_1[0x21] = 0;
  param_1[0x22] = 0;
  cVar2 = FUN_0023ddf0(piVar1);
  if (cVar2 == '\0') {
    return;
  }
                    /* try { // try from 0021538e to 00215392 has its CatchHandler @ 002153a1 */
  iVar4 = FUN_0023c6c0(piVar1);
  param_1[0x1e] = iVar4;
  return;
}

