
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wfilebuf::imbue(std::locale const&) */

void __thiscall std::wfilebuf::imbue(wfilebuf *this,locale *param_1)

{
  int *piVar1;
  undefined4 uVar2;
  bool bVar3;
  char cVar4;
  codecvt *pcVar5;
  int iVar6;
  int iVar7;
  void *__src;
  size_t __n;
  uint local_30;
  uint local_2c [6];
  undefined4 uStack_14;
  
  uStack_14 = 0x216129;
  bVar3 = has_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1);
  if (bVar3) {
    pcVar5 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1);
  }
  else {
    pcVar5 = (codecvt *)0x0;
  }
  cVar4 = __basic_file<char>::is_open((__basic_file<char> *)(this + 0x38));
  if (cVar4 == '\0') goto LAB_002161fb;
  if ((this[0x65] == (wfilebuf)0x0) && (this[0x66] == (wfilebuf)0x0)) {
    *(codecvt **)(this + 0x78) = pcVar5;
    return;
  }
  piVar1 = *(int **)(this + 0x78);
  if (piVar1 == (int *)0x0) {
LAB_00216325:
                    /* WARNING: Subroutine does not return */
    __throw_bad_cast();
  }
  iVar6 = (**(code **)(*piVar1 + 0x14))(piVar1);
  if (iVar6 == -1) goto LAB_00216242;
  if (this[0x65] == (wfilebuf)0x0) {
    if (this[0x66] != (wfilebuf)0x0) {
      cVar4 = _M_terminate_output(this);
      if (cVar4 == '\0') goto LAB_00216242;
      uVar2 = *(undefined4 *)(this + 0x5c);
      *(undefined4 *)(this + 0x14) = 0;
      *(undefined4 *)(this + 0x10) = 0;
      *(undefined4 *)(this + 4) = uVar2;
      *(undefined4 *)(this + 8) = uVar2;
      *(undefined4 *)(this + 0xc) = uVar2;
      *(undefined4 *)(this + 0x18) = 0;
    }
  }
  else {
    piVar1 = *(int **)(this + 0x78);
    if (piVar1 == (int *)0x0) goto LAB_00216325;
    cVar4 = (**(code **)(*piVar1 + 0x18))(piVar1);
    if (cVar4 == '\0') {
      iVar6 = *(int *)(this + 0x7c);
      iVar7 = (**(code **)(**(int **)(this + 0x78) + 0x1c))
                        (*(int **)(this + 0x78),this + 0x54,iVar6,*(undefined4 *)(this + 0x84),
                         *(int *)(this + 8) - *(int *)(this + 4) >> 2);
      __src = (void *)(iVar7 + iVar6);
      *(void **)(this + 0x84) = __src;
      __n = *(int *)(this + 0x88) - (int)__src;
      if (__n != 0) {
        memmove(*(void **)(this + 0x7c),__src,__n);
      }
      *(undefined4 *)(this + 0x14) = 0;
      *(undefined4 *)(this + 0x10) = 0;
      *(int *)(this + 0x84) = *(int *)(this + 0x7c);
      uVar2 = *(undefined4 *)(this + 0x5c);
      *(size_t *)(this + 0x88) = __n + *(int *)(this + 0x7c);
      *(undefined4 *)(this + 4) = uVar2;
      *(undefined4 *)(this + 8) = uVar2;
      *(undefined4 *)(this + 0xc) = uVar2;
      *(undefined4 *)(this + 0x18) = 0;
      *(undefined4 *)(this + 0x4c) = *(undefined4 *)(this + 0x44);
      *(undefined4 *)(this + 0x50) = *(undefined4 *)(this + 0x48);
      *(undefined4 *)(this + 0x54) = *(undefined4 *)(this + 0x44);
      *(undefined4 *)(this + 0x58) = *(undefined4 *)(this + 0x48);
    }
    else {
      if (pcVar5 == (codecvt *)0x0) {
LAB_00216242:
        *(undefined4 *)(this + 0x78) = 0;
        return;
      }
      cVar4 = (**(code **)(*(int *)pcVar5 + 0x18))(pcVar5);
      if (cVar4 == '\0') {
        (**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40));
        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;
      }
    }
  }
LAB_002161fb:
  *(codecvt **)(this + 0x78) = pcVar5;
  return;
}



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

void FUN_00216120(int *param_1,undefined4 param_2)

{
  int *piVar1;
  char cVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  void *__src;
  size_t __n;
  uint local_30;
  uint local_2c [6];
  undefined4 uStack_14;
  
  uStack_14 = 0x216129;
  cVar2 = FUN_0023ddf0(param_2);
  if (cVar2 == '\0') {
    piVar3 = (int *)0x0;
  }
  else {
    piVar3 = (int *)FUN_0023c6c0(param_2);
  }
  cVar2 = FUN_001e73e0(param_1 + 0xe);
  if (cVar2 == '\0') goto LAB_002161fb;
  if ((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')) {
    param_1[0x1e] = (int)piVar3;
    return;
  }
  piVar1 = (int *)param_1[0x1e];
  if (piVar1 == (int *)0x0) {
LAB_00216325:
                    /* WARNING: Subroutine does not return */
    FUN_0022c630();
  }
  iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1);
  if (iVar4 == -1) goto LAB_00216242;
  if (*(char *)((int)param_1 + 0x65) == '\0') {
    if (*(char *)((int)param_1 + 0x66) != '\0') {
      cVar2 = FUN_00215a10(param_1);
      if (cVar2 == '\0') goto LAB_00216242;
      iVar4 = param_1[0x17];
      param_1[5] = 0;
      param_1[4] = 0;
      param_1[1] = iVar4;
      param_1[2] = iVar4;
      param_1[3] = iVar4;
      param_1[6] = 0;
    }
  }
  else {
    piVar1 = (int *)param_1[0x1e];
    if (piVar1 == (int *)0x0) goto LAB_00216325;
    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);
    if (cVar2 == '\0') {
      iVar4 = param_1[0x1f];
      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))
                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],
                         param_1[2] - param_1[1] >> 2);
      __src = (void *)(iVar5 + iVar4);
      param_1[0x21] = (int)__src;
      __n = param_1[0x22] - (int)__src;
      if (__n != 0) {
        memmove((void *)param_1[0x1f],__src,__n);
      }
      param_1[5] = 0;
      param_1[4] = 0;
      param_1[0x21] = param_1[0x1f];
      iVar4 = param_1[0x17];
      param_1[0x22] = __n + param_1[0x1f];
      param_1[1] = iVar4;
      param_1[2] = iVar4;
      param_1[3] = iVar4;
      param_1[6] = 0;
      param_1[0x13] = param_1[0x11];
      param_1[0x14] = param_1[0x12];
      param_1[0x15] = param_1[0x11];
      param_1[0x16] = param_1[0x12];
    }
    else {
      if (piVar3 == (int *)0x0) {
LAB_00216242:
        param_1[0x1e] = 0;
        return;
      }
      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);
      if (cVar2 == '\0') {
        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);
        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;
      }
    }
  }
LAB_002161fb:
  param_1[0x1e] = (int)piVar3;
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x178ed7
SUB ESP,0x28
MOV EDI,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [ESP + 0x3c]
PUSH EDI
CALL 0x0023ddf0
ADD ESP,0x10
TEST AL,AL
JZ 0x00216250
SUB ESP,0xc
PUSH EDI
CALL 0x0023c6c0
ADD ESP,0x10
MOV EDI,EAX
SUB ESP,0xc
LEA EAX,[ESI + 0x38]
PUSH EAX
CALL 0x001e73e0
ADD ESP,0x10
TEST AL,AL
JZ 0x002161fb
CMP byte ptr [ESI + 0x65],0x0
JZ 0x00216210
MOV EAX,dword ptr [ESI + 0x78]
TEST EAX,EAX
JZ 0x00216325
SUB ESP,0xc
MOV EDX,dword ptr [EAX]
PUSH EAX
CALL dword ptr [EDX + 0x14]
ADD ESP,0x10
CMP EAX,-0x1
JZ 0x00216242
CMP byte ptr [ESI + 0x65],0x0
JZ 0x00216228
MOV EAX,dword ptr [ESI + 0x78]
TEST EAX,EAX
JZ 0x00216325
SUB ESP,0xc
MOV EDX,dword ptr [EAX]
PUSH EAX
CALL dword ptr [EDX + 0x18]
ADD ESP,0x10
TEST AL,AL
JZ 0x00216260
TEST EDI,EDI
JZ 0x00216242
SUB ESP,0xc
MOV EAX,dword ptr [EDI]
PUSH EDI
CALL dword ptr [EAX + 0x18]
ADD ESP,0x10
TEST AL,AL
JNZ 0x002161fb
MOV EAX,dword ptr [ESI]
MOV EDX,ESP
SUB ESP,0x8
PUSH dword ptr [ESI + 0x40]
PUSH 0x1
PUSH 0x0
PUSH 0x0
PUSH ESI
PUSH EDX
CALL dword ptr [EAX + 0x10]
ADD ESP,0x1c
MOV EAX,dword ptr [ESP + 0x4]
AND EAX,dword ptr [ESP]
CMP EAX,-0x1
JZ 0x00216242
MOV dword ptr [ESI + 0x78],EDI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP byte ptr [ESI + 0x66],0x0
JNZ 0x0021617a
MOV dword ptr [ESI + 0x78],EDI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP byte ptr [ESI + 0x66],0x0
JZ 0x002161fb
SUB ESP,0xc
PUSH ESI
CALL 0x00215a10
ADD ESP,0x10
TEST AL,AL
JNZ 0x002162e8
XOR EDI,EDI
MOV dword ptr [ESI + 0x78],EDI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR EDI,EDI
JMP 0x00216159
MOV EDX,dword ptr [ESI + 0x78]
MOV EAX,dword ptr [ESI + 0x8]
SUB ESP,0xc
SUB EAX,dword ptr [ESI + 0x4]
MOV EBP,dword ptr [ESI + 0x7c]
MOV ECX,dword ptr [EDX]
SAR EAX,0x2
PUSH EAX
LEA EAX,[ESI + 0x54]
PUSH dword ptr [ESI + 0x84]
PUSH EBP
PUSH EAX
PUSH EDX
CALL dword ptr [ECX + 0x1c]
ADD EAX,EBP
MOV EBP,dword ptr [ESI + 0x88]
MOV dword ptr [ESI + 0x84],EAX
ADD ESP,0x20
SUB EBP,EAX
JNZ 0x00216310
MOV EAX,dword ptr [ESI + 0x7c]
MOV EDX,dword ptr [ESI + 0x48]
MOV dword ptr [ESI + 0x14],0x0
MOV dword ptr [ESI + 0x10],0x0
ADD EBP,EAX
MOV dword ptr [ESI + 0x84],EAX
MOV EAX,dword ptr [ESI + 0x5c]
MOV dword ptr [ESI + 0x88],EBP
MOV dword ptr [ESI + 0x4],EAX
MOV dword ptr [ESI + 0x8],EAX
MOV dword ptr [ESI + 0xc],EAX
MOV EAX,dword ptr [ESI + 0x44]
MOV dword ptr [ESI + 0x18],0x0
MOV dword ptr [ESI + 0x4c],EAX
MOV dword ptr [ESI + 0x50],EDX
MOV dword ptr [ESI + 0x54],EAX
MOV dword ptr [ESI + 0x58],EDX
JMP 0x002161fb
MOV EAX,dword ptr [ESI + 0x5c]
MOV dword ptr [ESI + 0x14],0x0
MOV dword ptr [ESI + 0x10],0x0
MOV dword ptr [ESI + 0x4],EAX
MOV dword ptr [ESI + 0x8],EAX
MOV dword ptr [ESI + 0xc],EAX
MOV dword ptr [ESI + 0x18],0x0
JMP 0x002161fb
SUB ESP,0x4
PUSH EBP
PUSH EAX
PUSH dword ptr [ESI + 0x7c]
CALL 0x000298a0
ADD ESP,0x10
JMP 0x00216299
CALL 0x0022c630
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00216120(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  void *__src;\n  size_t __n;\n  uint local_30;\n  uint local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x216129;\n  cVar2 = FUN_0023ddf0(param_2);\n  if (cVar2 == '\0') {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }\n  cVar2 = FUN_001e73e0(param_1 + 0xe);\n  if (cVar2 == '\0') goto LAB_002161fb;\n  if ((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')) {\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }\n  piVar1 = (int *)param_1[0x1e];\n  if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    /* WARNING: Subroutine does not return */\n    FUN_0022c630();\n  }\n  iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1);\n  if (iVar4 == -1) goto LAB_00216242;\n  if (*(char *)((int)param_1 + 0x65) == '\0') {\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }\n  else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }\nLAB_002161fb:\n  param_1[0x1e] = (int)piVar3;\n  return;\n}\n\n" comment (function_definition "void FUN_00216120(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  void *__src;\n  size_t __n;\n  uint local_30;\n  uint local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x216129;\n  cVar2 = FUN_0023ddf0(param_2);\n  if (cVar2 == '\0') {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }\n  cVar2 = FUN_001e73e0(param_1 + 0xe);\n  if (cVar2 == '\0') goto LAB_002161fb;\n  if ((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')) {\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }\n  piVar1 = (int *)param_1[0x1e];\n  if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    /* WARNING: Subroutine does not return */\n    FUN_0022c630();\n  }\n  iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1);\n  if (iVar4 == -1) goto LAB_00216242;\n  if (*(char *)((int)param_1 + 0x65) == '\0') {\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }\n  else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }\nLAB_002161fb:\n  param_1[0x1e] = (int)piVar3;\n  return;\n}" primitive_type (function_declarator "FUN_00216120(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  void *__src;\n  size_t __n;\n  uint local_30;\n  uint local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x216129;\n  cVar2 = FUN_0023ddf0(param_2);\n  if (cVar2 == '\0') {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }\n  cVar2 = FUN_001e73e0(param_1 + 0xe);\n  if (cVar2 == '\0') goto LAB_002161fb;\n  if ((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')) {\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }\n  piVar1 = (int *)param_1[0x1e];\n  if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    /* WARNING: Subroutine does not return */\n    FUN_0022c630();\n  }\n  iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1);\n  if (iVar4 == -1) goto LAB_00216242;\n  if (*(char *)((int)param_1 + 0x65) == '\0') {\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }\n  else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }\nLAB_002161fb:\n  param_1[0x1e] = (int)piVar3;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_2c [6];" type_identifier (array_declarator "local_2c [6]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x216129;" (assignment_expression "uStack_14 = 0x216129" identifier = number_literal) ;) (expression_statement "cVar2 = FUN_0023ddf0(param_2);" (assignment_expression "cVar2 = FUN_0023ddf0(param_2)" identifier = (call_expression "FUN_0023ddf0(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (cVar2 == '\0') {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar3 = (int *)0x0;\n  }" { (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }" else (compound_statement "{\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }" { (expression_statement "piVar3 = (int *)FUN_0023c6c0(param_2);" (assignment_expression "piVar3 = (int *)FUN_0023c6c0(param_2)" identifier = (cast_expression "(int *)FUN_0023c6c0(param_2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0023c6c0(param_2)" identifier (argument_list "(param_2)" ( identifier ))))) ;) }))) (expression_statement "cVar2 = FUN_001e73e0(param_1 + 0xe);" (assignment_expression "cVar2 = FUN_001e73e0(param_1 + 0xe)" identifier = (call_expression "FUN_001e73e0(param_1 + 0xe)" identifier (argument_list "(param_1 + 0xe)" ( (binary_expression "param_1 + 0xe" identifier + number_literal) )))) ;) (if_statement "if (cVar2 == '\0') goto LAB_002161fb;" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_002161fb;" goto statement_identifier ;)) (if_statement "if ((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')) {\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }" if (parenthesized_expression "((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0'))" ( (binary_expression "(*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')" (parenthesized_expression "(*(char *)((int)param_1 + 0x65) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x65) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x65)" * (cast_expression "(char *)((int)param_1 + 0x65)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x65)" ( (binary_expression "(int)param_1 + 0x65" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(char *)((int)param_1 + 0x66) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x66) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x66)" * (cast_expression "(char *)((int)param_1 + 0x66)" ( (type_descriptor "char *" primitive_type (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) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }" { (expression_statement "param_1[0x1e] = (int)piVar3;" (assignment_expression "param_1[0x1e] = (int)piVar3" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "piVar1 = (int *)param_1[0x1e];" (assignment_expression "piVar1 = (int *)param_1[0x1e]" identifier = (cast_expression "(int *)param_1[0x1e]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1e]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    /* WARNING: Subroutine does not return */\n    FUN_0022c630();\n  }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00216325:\n                    /* WARNING: Subroutine does not return */\n    FUN_0022c630();\n  }" { (labeled_statement "LAB_00216325:\n                    /* WARNING: Subroutine does not return */\n    FUN_0022c630();" statement_identifier : comment (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" identifier (argument_list "()" ( ))) ;)) })) (expression_statement "iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" ( (pointer_expression "**(code **)(*piVar1 + 0x14)" * (pointer_expression "*(code **)(*piVar1 + 0x14)" * (cast_expression "(code **)(*piVar1 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (iVar4 == -1) goto LAB_00216242;" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00216242;" goto statement_identifier ;)) (if_statement "if (*(char *)((int)param_1 + 0x65) == '\0') {\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }\n  else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x65) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x65) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x65)" * (cast_expression "(char *)((int)param_1 + 0x65)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x65)" ( (binary_expression "(int)param_1 + 0x65" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }" { (if_statement "if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x66) != '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x66) != '\0'" (pointer_expression "*(char *)((int)param_1 + 0x66)" * (cast_expression "(char *)((int)param_1 + 0x66)" ( (type_descriptor "char *" primitive_type (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) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }" { (expression_statement "cVar2 = FUN_00215a10(param_1);" (assignment_expression "cVar2 = FUN_00215a10(param_1)" identifier = (call_expression "FUN_00215a10(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (cVar2 == '\0') goto LAB_00216242;" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00216242;" goto statement_identifier ;)) (expression_statement "iVar4 = param_1[0x17];" (assignment_expression "iVar4 = param_1[0x17]" identifier = (subscript_expression "param_1[0x17]" identifier [ 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[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = iVar4;" (assignment_expression "param_1[3] = iVar4" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) })) }) (else_clause "else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }" else (compound_statement "{\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }" { (expression_statement "piVar1 = (int *)param_1[0x1e];" (assignment_expression "piVar1 = (int *)param_1[0x1e]" identifier = (cast_expression "(int *)param_1[0x1e]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1e]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 == (int *)0x0) goto LAB_00216325;" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00216325;" goto statement_identifier ;)) (expression_statement "cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);" (assignment_expression "cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x18))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x18))" ( (pointer_expression "**(code **)(*piVar1 + 0x18)" * (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }" { (expression_statement "iVar4 = param_1[0x1f];" (assignment_expression "iVar4 = param_1[0x1f]" identifier = (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);" (assignment_expression "iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2)" identifier = (call_expression "(**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2)" (parenthesized_expression "(**(code **)(*(int *)param_1[0x1e] + 0x1c))" ( (pointer_expression "**(code **)(*(int *)param_1[0x1e] + 0x1c)" * (pointer_expression "*(code **)(*(int *)param_1[0x1e] + 0x1c)" * (cast_expression "(code **)(*(int *)param_1[0x1e] + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)param_1[0x1e] + 0x1c)" ( (binary_expression "*(int *)param_1[0x1e] + 0x1c" (pointer_expression "*(int *)param_1[0x1e]" * (cast_expression "(int *)param_1[0x1e]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1e]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2)" ( (cast_expression "(int *)param_1[0x1e]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1e]" identifier [ number_literal ])) , (binary_expression "param_1 + 0x15" identifier + number_literal) , identifier , (subscript_expression "param_1[0x21]" identifier [ number_literal ]) , (binary_expression "param_1[2] - param_1[1] >> 2" (binary_expression "param_1[2] - param_1[1]" (subscript_expression "param_1[2]" identifier [ number_literal ]) - (subscript_expression "param_1[1]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "__src = (void *)(iVar5 + iVar4);" (assignment_expression "__src = (void *)(iVar5 + iVar4)" identifier = (cast_expression "(void *)(iVar5 + iVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar4)" ( (binary_expression "iVar5 + iVar4" identifier + identifier) )))) ;) (expression_statement "param_1[0x21] = (int)__src;" (assignment_expression "param_1[0x21] = (int)__src" (subscript_expression "param_1[0x21]" identifier [ number_literal ]) = (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "__n = param_1[0x22] - (int)__src;" (assignment_expression "__n = param_1[0x22] - (int)__src" identifier = (binary_expression "param_1[0x22] - (int)__src" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\n        memmove((void *)param_1[0x1f],__src,__n);\n      }" { (expression_statement "memmove((void *)param_1[0x1f],__src,__n);" (call_expression "memmove((void *)param_1[0x1f],__src,__n)" identifier (argument_list "((void *)param_1[0x1f],__src,__n)" ( (cast_expression "(void *)param_1[0x1f]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) , identifier , identifier ))) ;) })) (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[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x21] = param_1[0x1f];" (assignment_expression "param_1[0x21] = param_1[0x1f]" (subscript_expression "param_1[0x21]" identifier [ number_literal ]) = (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = param_1[0x17];" (assignment_expression "iVar4 = param_1[0x17]" identifier = (subscript_expression "param_1[0x17]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x22] = __n + param_1[0x1f];" (assignment_expression "param_1[0x22] = __n + param_1[0x1f]" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) = (binary_expression "__n + param_1[0x1f]" identifier + (subscript_expression "param_1[0x1f]" identifier [ number_literal ]))) ;) (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = iVar4;" (assignment_expression "param_1[3] = iVar4" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x13] = param_1[0x11];" (assignment_expression "param_1[0x13] = param_1[0x11]" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = (subscript_expression "param_1[0x11]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x14] = param_1[0x12];" (assignment_expression "param_1[0x14] = param_1[0x12]" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) = (subscript_expression "param_1[0x12]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x15] = param_1[0x11];" (assignment_expression "param_1[0x15] = param_1[0x11]" (subscript_expression "param_1[0x15]" identifier [ number_literal ]) = (subscript_expression "param_1[0x11]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x16] = param_1[0x12];" (assignment_expression "param_1[0x16] = param_1[0x12]" (subscript_expression "param_1[0x16]" identifier [ number_literal ]) = (subscript_expression "param_1[0x12]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }" else (compound_statement "{\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }" { (if_statement "if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }" if (parenthesized_expression "(piVar3 == (int *)0x0)" ( (binary_expression "piVar3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }" { (labeled_statement "LAB_00216242:\n        param_1[0x1e] = 0;" statement_identifier : (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;)) (return_statement "return;" return ;) })) (expression_statement "cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);" (assignment_expression "cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3)" identifier = (call_expression "(**(code **)(*piVar3 + 0x18))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 0x18))" ( (pointer_expression "**(code **)(*piVar3 + 0x18)" * (pointer_expression "*(code **)(*piVar3 + 0x18)" * (cast_expression "(code **)(*piVar3 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x18)" ( (binary_expression "*piVar3 + 0x18" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3)" ( identifier )))) ;) (if_statement "if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }" { (expression_statement "(**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);" (call_expression "(**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10])" (parenthesized_expression "(**(code **)(*param_1 + 0x10))" ( (pointer_expression "**(code **)(*param_1 + 0x10)" * (pointer_expression "*(code **)(*param_1 + 0x10)" * (cast_expression "(code **)(*param_1 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(local_2c,param_1,0,0,1,param_1[0x10])" ( identifier , identifier , number_literal , number_literal , number_literal , (subscript_expression "param_1[0x10]" identifier [ number_literal ]) ))) ;) (if_statement "if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;" if (parenthesized_expression "((local_2c[0] & local_30) == 0xffffffff)" ( (binary_expression "(local_2c[0] & local_30) == 0xffffffff" (parenthesized_expression "(local_2c[0] & local_30)" ( (binary_expression "local_2c[0] & local_30" (subscript_expression "local_2c[0]" identifier [ number_literal ]) & identifier) )) == number_literal) )) (goto_statement "goto LAB_00216242;" goto statement_identifier ;)) })) }))) }))) (labeled_statement "LAB_002161fb:\n  param_1[0x1e] = (int)piVar3;" statement_identifier : (expression_statement "param_1[0x1e] = (int)piVar3;" (assignment_expression "param_1[0x1e] = (int)piVar3" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wfilebuf::imbue(std::locale const&) */\n\nvoid __thiscall std::wfilebuf::imbue(wfilebuf *this,locale *param_1)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  bool bVar3;\n  char cVar4;\n  codecvt *pcVar5;\n  int iVar6;\n  int iVar7;\n  void *__src;\n  size_t __n;\n  uint local_30;\n  uint local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x216129;\n  bVar3 = has_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1);\n  if (bVar3) {\n    pcVar5 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1);\n  }\n  else {\n    pcVar5 = (codecvt *)0x0;\n  }\n  cVar4 = __basic_file<char>::is_open((__basic_file<char> *)(this + 0x38));\n  if (cVar4 == '\0') goto LAB_002161fb;\n  if ((this[0x65] == (wfilebuf)0x0) && (this[0x66] == (wfilebuf)0x0)) {\n    *(codecvt **)(this + 0x78) = pcVar5;\n    return;\n  }\n  piVar1 = *(int **)(this + 0x78);\n  if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }\n  iVar6 = (**(code **)(*piVar1 + 0x14))(piVar1);\n  if (iVar6 == -1) goto LAB_00216242;\n  if (this[0x65] == (wfilebuf)0x0) {\n    if (this[0x66] != (wfilebuf)0x0) {\n      cVar4 = _M_terminate_output(this);\n      if (cVar4 == '\0') goto LAB_00216242;\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n    }\n  }\n  else {\n    piVar1 = *(int **)(this + 0x78);\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar4 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar4 == '\0') {\n      iVar6 = *(int *)(this + 0x7c);\n      iVar7 = (**(code **)(**(int **)(this + 0x78) + 0x1c))\n                        (*(int **)(this + 0x78),this + 0x54,iVar6,*(undefined4 *)(this + 0x84),\n                         *(int *)(this + 8) - *(int *)(this + 4) >> 2);\n      __src = (void *)(iVar7 + iVar6);\n      *(void **)(this + 0x84) = __src;\n      __n = *(int *)(this + 0x88) - (int)__src;\n      if (__n != 0) {\n        memmove(*(void **)(this + 0x7c),__src,__n);\n      }\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(int *)(this + 0x84) = *(int *)(this + 0x7c);\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(size_t *)(this + 0x88) = __n + *(int *)(this + 0x7c);\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n      *(undefined4 *)(this + 0x4c) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x50) = *(undefined4 *)(this + 0x48);\n      *(undefined4 *)(this + 0x54) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x58) = *(undefined4 *)(this + 0x48);\n    }\n    else {\n      if (pcVar5 == (codecvt *)0x0) {\nLAB_00216242:\n        *(undefined4 *)(this + 0x78) = 0;\n        return;\n      }\n      cVar4 = (**(code **)(*(int *)pcVar5 + 0x18))(pcVar5);\n      if (cVar4 == '\0') {\n        (**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40));\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }\nLAB_002161fb:\n  *(codecvt **)(this + 0x78) = pcVar5;\n  return;\n}\n\n" comment comment (function_definition "void __thiscall std::wfilebuf::imbue(wfilebuf *this,locale *param_1)\n\n{\n  int *piVar1;\n  undefined4 uVar2;\n  bool bVar3;\n  char cVar4;\n  codecvt *pcVar5;\n  int iVar6;\n  int iVar7;\n  void *__src;\n  size_t __n;\n  uint local_30;\n  uint local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x216129;\n  bVar3 = has_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1);\n  if (bVar3) {\n    pcVar5 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1);\n  }\n  else {\n    pcVar5 = (codecvt *)0x0;\n  }\n  cVar4 = __basic_file<char>::is_open((__basic_file<char> *)(this + 0x38));\n  if (cVar4 == '\0') goto LAB_002161fb;\n  if ((this[0x65] == (wfilebuf)0x0) && (this[0x66] == (wfilebuf)0x0)) {\n    *(codecvt **)(this + 0x78) = pcVar5;\n    return;\n  }\n  piVar1 = *(int **)(this + 0x78);\n  if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }\n  iVar6 = (**(code **)(*piVar1 + 0x14))(piVar1);\n  if (iVar6 == -1) goto LAB_00216242;\n  if (this[0x65] == (wfilebuf)0x0) {\n    if (this[0x66] != (wfilebuf)0x0) {\n      cVar4 = _M_terminate_output(this);\n      if (cVar4 == '\0') goto LAB_00216242;\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n    }\n  }\n  else {\n    piVar1 = *(int **)(this + 0x78);\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar4 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar4 == '\0') {\n      iVar6 = *(int *)(this + 0x7c);\n      iVar7 = (**(code **)(**(int **)(this + 0x78) + 0x1c))\n                        (*(int **)(this + 0x78),this + 0x54,iVar6,*(undefined4 *)(this + 0x84),\n                         *(int *)(this + 8) - *(int *)(this + 4) >> 2);\n      __src = (void *)(iVar7 + iVar6);\n      *(void **)(this + 0x84) = __src;\n      __n = *(int *)(this + 0x88) - (int)__src;\n      if (__n != 0) {\n        memmove(*(void **)(this + 0x7c),__src,__n);\n      }\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(int *)(this + 0x84) = *(int *)(this + 0x7c);\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(size_t *)(this + 0x88) = __n + *(int *)(this + 0x7c);\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n      *(undefined4 *)(this + 0x4c) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x50) = *(undefined4 *)(this + 0x48);\n      *(undefined4 *)(this + 0x54) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x58) = *(undefined4 *)(this + 0x48);\n    }\n    else {\n      if (pcVar5 == (codecvt *)0x0) {\nLAB_00216242:\n        *(undefined4 *)(this + 0x78) = 0;\n        return;\n      }\n      cVar4 = (**(code **)(*(int *)pcVar5 + 0x18))(pcVar5);\n      if (cVar4 == '\0') {\n        (**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40));\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }\nLAB_002161fb:\n  *(codecvt **)(this + 0x78) = pcVar5;\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "std::wfilebuf::" identifier : : identifier : :) (function_declarator "imbue(wfilebuf *this,locale *param_1)" identifier (parameter_list "(wfilebuf *this,locale *param_1)" ( (parameter_declaration "wfilebuf *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "locale *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  undefined4 uVar2;\n  bool bVar3;\n  char cVar4;\n  codecvt *pcVar5;\n  int iVar6;\n  int iVar7;\n  void *__src;\n  size_t __n;\n  uint local_30;\n  uint local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x216129;\n  bVar3 = has_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1);\n  if (bVar3) {\n    pcVar5 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1);\n  }\n  else {\n    pcVar5 = (codecvt *)0x0;\n  }\n  cVar4 = __basic_file<char>::is_open((__basic_file<char> *)(this + 0x38));\n  if (cVar4 == '\0') goto LAB_002161fb;\n  if ((this[0x65] == (wfilebuf)0x0) && (this[0x66] == (wfilebuf)0x0)) {\n    *(codecvt **)(this + 0x78) = pcVar5;\n    return;\n  }\n  piVar1 = *(int **)(this + 0x78);\n  if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }\n  iVar6 = (**(code **)(*piVar1 + 0x14))(piVar1);\n  if (iVar6 == -1) goto LAB_00216242;\n  if (this[0x65] == (wfilebuf)0x0) {\n    if (this[0x66] != (wfilebuf)0x0) {\n      cVar4 = _M_terminate_output(this);\n      if (cVar4 == '\0') goto LAB_00216242;\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n    }\n  }\n  else {\n    piVar1 = *(int **)(this + 0x78);\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar4 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar4 == '\0') {\n      iVar6 = *(int *)(this + 0x7c);\n      iVar7 = (**(code **)(**(int **)(this + 0x78) + 0x1c))\n                        (*(int **)(this + 0x78),this + 0x54,iVar6,*(undefined4 *)(this + 0x84),\n                         *(int *)(this + 8) - *(int *)(this + 4) >> 2);\n      __src = (void *)(iVar7 + iVar6);\n      *(void **)(this + 0x84) = __src;\n      __n = *(int *)(this + 0x88) - (int)__src;\n      if (__n != 0) {\n        memmove(*(void **)(this + 0x7c),__src,__n);\n      }\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(int *)(this + 0x84) = *(int *)(this + 0x7c);\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(size_t *)(this + 0x88) = __n + *(int *)(this + 0x7c);\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n      *(undefined4 *)(this + 0x4c) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x50) = *(undefined4 *)(this + 0x48);\n      *(undefined4 *)(this + 0x54) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x58) = *(undefined4 *)(this + 0x48);\n    }\n    else {\n      if (pcVar5 == (codecvt *)0x0) {\nLAB_00216242:\n        *(undefined4 *)(this + 0x78) = 0;\n        return;\n      }\n      cVar4 = (**(code **)(*(int *)pcVar5 + 0x18))(pcVar5);\n      if (cVar4 == '\0') {\n        (**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40));\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }\nLAB_002161fb:\n  *(codecvt **)(this + 0x78) = pcVar5;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "codecvt *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_2c [6];" type_identifier (array_declarator "local_2c [6]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x216129;" (assignment_expression "uStack_14 = 0x216129" identifier = number_literal) ;) (expression_statement "bVar3 = has_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1);" (comma_expression "bVar3 = has_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1)" (binary_expression "bVar3 = has_facet<std::codecvt<wchar_t" (assignment_expression "bVar3 = has_facet<std" identifier = (binary_expression "has_facet<std" identifier < identifier)) (ERROR "::codecvt" : : identifier) < identifier) , (comma_expression "char,__mbstate_t>>(param_1)" identifier , (binary_expression "__mbstate_t>>(param_1)" identifier >> (parenthesized_expression "(param_1)" ( identifier ))))) ;) (if_statement "if (bVar3) {\n    pcVar5 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1);\n  }\n  else {\n    pcVar5 = (codecvt *)0x0;\n  }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n    pcVar5 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1);\n  }" { (expression_statement "pcVar5 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1);" (comma_expression "pcVar5 = use_facet<std::codecvt<wchar_t,char,__mbstate_t>>(param_1)" (binary_expression "pcVar5 = use_facet<std::codecvt<wchar_t" (assignment_expression "pcVar5 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::codecvt" : : identifier) < identifier) , (comma_expression "char,__mbstate_t>>(param_1)" identifier , (binary_expression "__mbstate_t>>(param_1)" identifier >> (parenthesized_expression "(param_1)" ( identifier ))))) ;) }) (else_clause "else {\n    pcVar5 = (codecvt *)0x0;\n  }" else (compound_statement "{\n    pcVar5 = (codecvt *)0x0;\n  }" { (expression_statement "pcVar5 = (codecvt *)0x0;" (assignment_expression "pcVar5 = (codecvt *)0x0" identifier = (cast_expression "(codecvt *)0x0" ( (type_descriptor "codecvt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "cVar4 = __basic_file<char>::is_open((__basic_file<char> *)(this + 0x38));" (assignment_expression "cVar4 = __basic_file<char>::is_open((__basic_file<char> *)(this + 0x38))" identifier = (binary_expression "__basic_file<char>::is_open((__basic_file<char> *)(this + 0x38))" (binary_expression "__basic_file<char" identifier < identifier) > (ERROR "::" : :) (call_expression "is_open((__basic_file<char> *)(this + 0x38))" identifier (argument_list "((__basic_file<char> *)(this + 0x38))" ( (call_expression "(__basic_file<char> *)(this + 0x38)" (parenthesized_expression "(__basic_file<char> *)" ( (binary_expression "__basic_file<char> *" (binary_expression "__basic_file<char" identifier < identifier) > (pointer_expression "*" * identifier)) )) (argument_list "(this + 0x38)" ( (binary_expression "this + 0x38" identifier + number_literal) ))) ))))) ;) (if_statement "if (cVar4 == '\0') goto LAB_002161fb;" if (parenthesized_expression "(cVar4 == '\0')" ( (binary_expression "cVar4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_002161fb;" goto statement_identifier ;)) (if_statement "if ((this[0x65] == (wfilebuf)0x0) && (this[0x66] == (wfilebuf)0x0)) {\n    *(codecvt **)(this + 0x78) = pcVar5;\n    return;\n  }" if (parenthesized_expression "((this[0x65] == (wfilebuf)0x0) && (this[0x66] == (wfilebuf)0x0))" ( (binary_expression "(this[0x65] == (wfilebuf)0x0) && (this[0x66] == (wfilebuf)0x0)" (parenthesized_expression "(this[0x65] == (wfilebuf)0x0)" ( (binary_expression "this[0x65] == (wfilebuf)0x0" (subscript_expression "this[0x65]" identifier [ number_literal ]) == (cast_expression "(wfilebuf)0x0" ( (type_descriptor "wfilebuf" type_identifier) ) number_literal)) )) && (parenthesized_expression "(this[0x66] == (wfilebuf)0x0)" ( (binary_expression "this[0x66] == (wfilebuf)0x0" (subscript_expression "this[0x66]" identifier [ number_literal ]) == (cast_expression "(wfilebuf)0x0" ( (type_descriptor "wfilebuf" type_identifier) ) number_literal)) ))) )) (compound_statement "{\n    *(codecvt **)(this + 0x78) = pcVar5;\n    return;\n  }" { (expression_statement "*(codecvt **)(this + 0x78) = pcVar5;" (assignment_expression "*(codecvt **)(this + 0x78) = pcVar5" (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 ;) })) (expression_statement "piVar1 = *(int **)(this + 0x78);" (assignment_expression "piVar1 = *(int **)(this + 0x78)" identifier = (pointer_expression "*(int **)(this + 0x78)" * (cast_expression "(int **)(this + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00216325:\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();\n  }" { (labeled_statement "LAB_00216325:\n                    /* WARNING: Subroutine does not return */\n    __throw_bad_cast();" statement_identifier : comment (expression_statement "__throw_bad_cast();" (call_expression "__throw_bad_cast()" identifier (argument_list "()" ( ))) ;)) })) (expression_statement "iVar6 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "iVar6 = (**(code **)(*piVar1 + 0x14))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" ( (pointer_expression "**(code **)(*piVar1 + 0x14)" * (pointer_expression "*(code **)(*piVar1 + 0x14)" * (cast_expression "(code **)(*piVar1 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (iVar6 == -1) goto LAB_00216242;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00216242;" goto statement_identifier ;)) (if_statement "if (this[0x65] == (wfilebuf)0x0) {\n    if (this[0x66] != (wfilebuf)0x0) {\n      cVar4 = _M_terminate_output(this);\n      if (cVar4 == '\0') goto LAB_00216242;\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n    }\n  }\n  else {\n    piVar1 = *(int **)(this + 0x78);\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar4 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar4 == '\0') {\n      iVar6 = *(int *)(this + 0x7c);\n      iVar7 = (**(code **)(**(int **)(this + 0x78) + 0x1c))\n                        (*(int **)(this + 0x78),this + 0x54,iVar6,*(undefined4 *)(this + 0x84),\n                         *(int *)(this + 8) - *(int *)(this + 4) >> 2);\n      __src = (void *)(iVar7 + iVar6);\n      *(void **)(this + 0x84) = __src;\n      __n = *(int *)(this + 0x88) - (int)__src;\n      if (__n != 0) {\n        memmove(*(void **)(this + 0x7c),__src,__n);\n      }\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(int *)(this + 0x84) = *(int *)(this + 0x7c);\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(size_t *)(this + 0x88) = __n + *(int *)(this + 0x7c);\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n      *(undefined4 *)(this + 0x4c) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x50) = *(undefined4 *)(this + 0x48);\n      *(undefined4 *)(this + 0x54) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x58) = *(undefined4 *)(this + 0x48);\n    }\n    else {\n      if (pcVar5 == (codecvt *)0x0) {\nLAB_00216242:\n        *(undefined4 *)(this + 0x78) = 0;\n        return;\n      }\n      cVar4 = (**(code **)(*(int *)pcVar5 + 0x18))(pcVar5);\n      if (cVar4 == '\0') {\n        (**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40));\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }" if (parenthesized_expression "(this[0x65] == (wfilebuf)0x0)" ( (binary_expression "this[0x65] == (wfilebuf)0x0" (subscript_expression "this[0x65]" identifier [ number_literal ]) == (cast_expression "(wfilebuf)0x0" ( (type_descriptor "wfilebuf" type_identifier) ) number_literal)) )) (compound_statement "{\n    if (this[0x66] != (wfilebuf)0x0) {\n      cVar4 = _M_terminate_output(this);\n      if (cVar4 == '\0') goto LAB_00216242;\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n    }\n  }" { (if_statement "if (this[0x66] != (wfilebuf)0x0) {\n      cVar4 = _M_terminate_output(this);\n      if (cVar4 == '\0') goto LAB_00216242;\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n    }" if (parenthesized_expression "(this[0x66] != (wfilebuf)0x0)" ( (binary_expression "this[0x66] != (wfilebuf)0x0" (subscript_expression "this[0x66]" identifier [ number_literal ]) != (cast_expression "(wfilebuf)0x0" ( (type_descriptor "wfilebuf" type_identifier) ) number_literal)) )) (compound_statement "{\n      cVar4 = _M_terminate_output(this);\n      if (cVar4 == '\0') goto LAB_00216242;\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n    }" { (expression_statement "cVar4 = _M_terminate_output(this);" (assignment_expression "cVar4 = _M_terminate_output(this)" identifier = (call_expression "_M_terminate_output(this)" identifier (argument_list "(this)" ( identifier )))) ;) (if_statement "if (cVar4 == '\0') goto LAB_00216242;" if (parenthesized_expression "(cVar4 == '\0')" ( (binary_expression "cVar4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00216242;" goto statement_identifier ;)) (expression_statement "uVar2 = *(undefined4 *)(this + 0x5c);" (assignment_expression "uVar2 = *(undefined4 *)(this + 0x5c)" identifier = (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) ))))) ;) (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 + 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 + 4) = uVar2;" (assignment_expression "*(undefined4 *)(this + 4) = uVar2" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 8) = uVar2;" (assignment_expression "*(undefined4 *)(this + 8) = uVar2" (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) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0xc) = uVar2;" (assignment_expression "*(undefined4 *)(this + 0xc) = uVar2" (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) )))) = identifier) ;) (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) ;) })) }) (else_clause "else {\n    piVar1 = *(int **)(this + 0x78);\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar4 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar4 == '\0') {\n      iVar6 = *(int *)(this + 0x7c);\n      iVar7 = (**(code **)(**(int **)(this + 0x78) + 0x1c))\n                        (*(int **)(this + 0x78),this + 0x54,iVar6,*(undefined4 *)(this + 0x84),\n                         *(int *)(this + 8) - *(int *)(this + 4) >> 2);\n      __src = (void *)(iVar7 + iVar6);\n      *(void **)(this + 0x84) = __src;\n      __n = *(int *)(this + 0x88) - (int)__src;\n      if (__n != 0) {\n        memmove(*(void **)(this + 0x7c),__src,__n);\n      }\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(int *)(this + 0x84) = *(int *)(this + 0x7c);\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(size_t *)(this + 0x88) = __n + *(int *)(this + 0x7c);\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n      *(undefined4 *)(this + 0x4c) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x50) = *(undefined4 *)(this + 0x48);\n      *(undefined4 *)(this + 0x54) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x58) = *(undefined4 *)(this + 0x48);\n    }\n    else {\n      if (pcVar5 == (codecvt *)0x0) {\nLAB_00216242:\n        *(undefined4 *)(this + 0x78) = 0;\n        return;\n      }\n      cVar4 = (**(code **)(*(int *)pcVar5 + 0x18))(pcVar5);\n      if (cVar4 == '\0') {\n        (**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40));\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }" else (compound_statement "{\n    piVar1 = *(int **)(this + 0x78);\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar4 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar4 == '\0') {\n      iVar6 = *(int *)(this + 0x7c);\n      iVar7 = (**(code **)(**(int **)(this + 0x78) + 0x1c))\n                        (*(int **)(this + 0x78),this + 0x54,iVar6,*(undefined4 *)(this + 0x84),\n                         *(int *)(this + 8) - *(int *)(this + 4) >> 2);\n      __src = (void *)(iVar7 + iVar6);\n      *(void **)(this + 0x84) = __src;\n      __n = *(int *)(this + 0x88) - (int)__src;\n      if (__n != 0) {\n        memmove(*(void **)(this + 0x7c),__src,__n);\n      }\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(int *)(this + 0x84) = *(int *)(this + 0x7c);\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(size_t *)(this + 0x88) = __n + *(int *)(this + 0x7c);\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n      *(undefined4 *)(this + 0x4c) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x50) = *(undefined4 *)(this + 0x48);\n      *(undefined4 *)(this + 0x54) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x58) = *(undefined4 *)(this + 0x48);\n    }\n    else {\n      if (pcVar5 == (codecvt *)0x0) {\nLAB_00216242:\n        *(undefined4 *)(this + 0x78) = 0;\n        return;\n      }\n      cVar4 = (**(code **)(*(int *)pcVar5 + 0x18))(pcVar5);\n      if (cVar4 == '\0') {\n        (**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40));\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }" { (expression_statement "piVar1 = *(int **)(this + 0x78);" (assignment_expression "piVar1 = *(int **)(this + 0x78)" identifier = (pointer_expression "*(int **)(this + 0x78)" * (cast_expression "(int **)(this + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) ))))) ;) (if_statement "if (piVar1 == (int *)0x0) goto LAB_00216325;" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00216325;" goto statement_identifier ;)) (expression_statement "cVar4 = (**(code **)(*piVar1 + 0x18))(piVar1);" (assignment_expression "cVar4 = (**(code **)(*piVar1 + 0x18))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x18))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x18))" ( (pointer_expression "**(code **)(*piVar1 + 0x18)" * (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (cVar4 == '\0') {\n      iVar6 = *(int *)(this + 0x7c);\n      iVar7 = (**(code **)(**(int **)(this + 0x78) + 0x1c))\n                        (*(int **)(this + 0x78),this + 0x54,iVar6,*(undefined4 *)(this + 0x84),\n                         *(int *)(this + 8) - *(int *)(this + 4) >> 2);\n      __src = (void *)(iVar7 + iVar6);\n      *(void **)(this + 0x84) = __src;\n      __n = *(int *)(this + 0x88) - (int)__src;\n      if (__n != 0) {\n        memmove(*(void **)(this + 0x7c),__src,__n);\n      }\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(int *)(this + 0x84) = *(int *)(this + 0x7c);\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(size_t *)(this + 0x88) = __n + *(int *)(this + 0x7c);\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n      *(undefined4 *)(this + 0x4c) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x50) = *(undefined4 *)(this + 0x48);\n      *(undefined4 *)(this + 0x54) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x58) = *(undefined4 *)(this + 0x48);\n    }\n    else {\n      if (pcVar5 == (codecvt *)0x0) {\nLAB_00216242:\n        *(undefined4 *)(this + 0x78) = 0;\n        return;\n      }\n      cVar4 = (**(code **)(*(int *)pcVar5 + 0x18))(pcVar5);\n      if (cVar4 == '\0') {\n        (**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40));\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }" if (parenthesized_expression "(cVar4 == '\0')" ( (binary_expression "cVar4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar6 = *(int *)(this + 0x7c);\n      iVar7 = (**(code **)(**(int **)(this + 0x78) + 0x1c))\n                        (*(int **)(this + 0x78),this + 0x54,iVar6,*(undefined4 *)(this + 0x84),\n                         *(int *)(this + 8) - *(int *)(this + 4) >> 2);\n      __src = (void *)(iVar7 + iVar6);\n      *(void **)(this + 0x84) = __src;\n      __n = *(int *)(this + 0x88) - (int)__src;\n      if (__n != 0) {\n        memmove(*(void **)(this + 0x7c),__src,__n);\n      }\n      *(undefined4 *)(this + 0x14) = 0;\n      *(undefined4 *)(this + 0x10) = 0;\n      *(int *)(this + 0x84) = *(int *)(this + 0x7c);\n      uVar2 = *(undefined4 *)(this + 0x5c);\n      *(size_t *)(this + 0x88) = __n + *(int *)(this + 0x7c);\n      *(undefined4 *)(this + 4) = uVar2;\n      *(undefined4 *)(this + 8) = uVar2;\n      *(undefined4 *)(this + 0xc) = uVar2;\n      *(undefined4 *)(this + 0x18) = 0;\n      *(undefined4 *)(this + 0x4c) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x50) = *(undefined4 *)(this + 0x48);\n      *(undefined4 *)(this + 0x54) = *(undefined4 *)(this + 0x44);\n      *(undefined4 *)(this + 0x58) = *(undefined4 *)(this + 0x48);\n    }" { (expression_statement "iVar6 = *(int *)(this + 0x7c);" (assignment_expression "iVar6 = *(int *)(this + 0x7c)" identifier = (pointer_expression "*(int *)(this + 0x7c)" * (cast_expression "(int *)(this + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = (**(code **)(**(int **)(this + 0x78) + 0x1c))\n                        (*(int **)(this + 0x78),this + 0x54,iVar6,*(undefined4 *)(this + 0x84),\n                         *(int *)(this + 8) - *(int *)(this + 4) >> 2);" (assignment_expression "iVar7 = (**(code **)(**(int **)(this + 0x78) + 0x1c))\n                        (*(int **)(this + 0x78),this + 0x54,iVar6,*(undefined4 *)(this + 0x84),\n                         *(int *)(this + 8) - *(int *)(this + 4) >> 2)" identifier = (call_expression "(**(code **)(**(int **)(this + 0x78) + 0x1c))\n                        (*(int **)(this + 0x78),this + 0x54,iVar6,*(undefined4 *)(this + 0x84),\n                         *(int *)(this + 8) - *(int *)(this + 4) >> 2)" (parenthesized_expression "(**(code **)(**(int **)(this + 0x78) + 0x1c))" ( (pointer_expression "**(code **)(**(int **)(this + 0x78) + 0x1c)" * (pointer_expression "*(code **)(**(int **)(this + 0x78) + 0x1c)" * (cast_expression "(code **)(**(int **)(this + 0x78) + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(**(int **)(this + 0x78) + 0x1c)" ( (binary_expression "**(int **)(this + 0x78) + 0x1c" (pointer_expression "**(int **)(this + 0x78)" * (pointer_expression "*(int **)(this + 0x78)" * (cast_expression "(int **)(this + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) ))))) + number_literal) ))))) )) (argument_list "(*(int **)(this + 0x78),this + 0x54,iVar6,*(undefined4 *)(this + 0x84),\n                         *(int *)(this + 8) - *(int *)(this + 4) >> 2)" ( (pointer_expression "*(int **)(this + 0x78)" * (cast_expression "(int **)(this + 0x78)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x78)" ( (binary_expression "this + 0x78" identifier + number_literal) )))) , (binary_expression "this + 0x54" identifier + number_literal) , identifier , (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) )))) , (binary_expression "*(int *)(this + 8) - *(int *)(this + 4) >> 2" (binary_expression "*(int *)(this + 8) - *(int *)(this + 4)" (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) )))) - (pointer_expression "*(int *)(this + 4)" * (cast_expression "(int *)(this + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) ))))) >> number_literal) )))) ;) (expression_statement "__src = (void *)(iVar7 + iVar6);" (assignment_expression "__src = (void *)(iVar7 + iVar6)" identifier = (cast_expression "(void *)(iVar7 + iVar6)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + iVar6)" ( (binary_expression "iVar7 + iVar6" identifier + identifier) )))) ;) (expression_statement "*(void **)(this + 0x84) = __src;" (assignment_expression "*(void **)(this + 0x84) = __src" (pointer_expression "*(void **)(this + 0x84)" * (cast_expression "(void **)(this + 0x84)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x84)" ( (binary_expression "this + 0x84" identifier + number_literal) )))) = identifier) ;) (expression_statement "__n = *(int *)(this + 0x88) - (int)__src;" (assignment_expression "__n = *(int *)(this + 0x88) - (int)__src" identifier = (binary_expression "*(int *)(this + 0x88) - (int)__src" (pointer_expression "*(int *)(this + 0x88)" * (cast_expression "(int *)(this + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x88)" ( (binary_expression "this + 0x88" identifier + number_literal) )))) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (__n != 0) {\n        memmove(*(void **)(this + 0x7c),__src,__n);\n      }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\n        memmove(*(void **)(this + 0x7c),__src,__n);\n      }" { (expression_statement "memmove(*(void **)(this + 0x7c),__src,__n);" (call_expression "memmove(*(void **)(this + 0x7c),__src,__n)" identifier (argument_list "(*(void **)(this + 0x7c),__src,__n)" ( (pointer_expression "*(void **)(this + 0x7c)" * (cast_expression "(void **)(this + 0x7c)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) )))) , identifier , identifier ))) ;) })) (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 + 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 "*(int *)(this + 0x84) = *(int *)(this + 0x7c);" (assignment_expression "*(int *)(this + 0x84) = *(int *)(this + 0x7c)" (pointer_expression "*(int *)(this + 0x84)" * (cast_expression "(int *)(this + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x84)" ( (binary_expression "this + 0x84" identifier + number_literal) )))) = (pointer_expression "*(int *)(this + 0x7c)" * (cast_expression "(int *)(this + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = *(undefined4 *)(this + 0x5c);" (assignment_expression "uVar2 = *(undefined4 *)(this + 0x5c)" identifier = (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) ))))) ;) (expression_statement "*(size_t *)(this + 0x88) = __n + *(int *)(this + 0x7c);" (assignment_expression "*(size_t *)(this + 0x88) = __n + *(int *)(this + 0x7c)" (pointer_expression "*(size_t *)(this + 0x88)" * (cast_expression "(size_t *)(this + 0x88)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x88)" ( (binary_expression "this + 0x88" identifier + number_literal) )))) = (binary_expression "__n + *(int *)(this + 0x7c)" identifier + (pointer_expression "*(int *)(this + 0x7c)" * (cast_expression "(int *)(this + 0x7c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 0x7c)" ( (binary_expression "this + 0x7c" identifier + number_literal) )))))) ;) (expression_statement "*(undefined4 *)(this + 4) = uVar2;" (assignment_expression "*(undefined4 *)(this + 4) = uVar2" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 8) = uVar2;" (assignment_expression "*(undefined4 *)(this + 8) = uVar2" (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) )))) = identifier) ;) (expression_statement "*(undefined4 *)(this + 0xc) = uVar2;" (assignment_expression "*(undefined4 *)(this + 0xc) = uVar2" (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) )))) = identifier) ;) (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) ;) (expression_statement "*(undefined4 *)(this + 0x4c) = *(undefined4 *)(this + 0x44);" (assignment_expression "*(undefined4 *)(this + 0x4c) = *(undefined4 *)(this + 0x44)" (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) )))) = (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) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x50) = *(undefined4 *)(this + 0x48);" (assignment_expression "*(undefined4 *)(this + 0x50) = *(undefined4 *)(this + 0x48)" (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) )))) = (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) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x54) = *(undefined4 *)(this + 0x44);" (assignment_expression "*(undefined4 *)(this + 0x54) = *(undefined4 *)(this + 0x44)" (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) )))) = (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) ))))) ;) (expression_statement "*(undefined4 *)(this + 0x58) = *(undefined4 *)(this + 0x48);" (assignment_expression "*(undefined4 *)(this + 0x58) = *(undefined4 *)(this + 0x48)" (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) )))) = (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) ))))) ;) }) (else_clause "else {\n      if (pcVar5 == (codecvt *)0x0) {\nLAB_00216242:\n        *(undefined4 *)(this + 0x78) = 0;\n        return;\n      }\n      cVar4 = (**(code **)(*(int *)pcVar5 + 0x18))(pcVar5);\n      if (cVar4 == '\0') {\n        (**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40));\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }" else (compound_statement "{\n      if (pcVar5 == (codecvt *)0x0) {\nLAB_00216242:\n        *(undefined4 *)(this + 0x78) = 0;\n        return;\n      }\n      cVar4 = (**(code **)(*(int *)pcVar5 + 0x18))(pcVar5);\n      if (cVar4 == '\0') {\n        (**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40));\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }" { (if_statement "if (pcVar5 == (codecvt *)0x0) {\nLAB_00216242:\n        *(undefined4 *)(this + 0x78) = 0;\n        return;\n      }" if (parenthesized_expression "(pcVar5 == (codecvt *)0x0)" ( (binary_expression "pcVar5 == (codecvt *)0x0" identifier == (cast_expression "(codecvt *)0x0" ( (type_descriptor "codecvt *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00216242:\n        *(undefined4 *)(this + 0x78) = 0;\n        return;\n      }" { (labeled_statement "LAB_00216242:\n        *(undefined4 *)(this + 0x78) = 0;" statement_identifier : (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) ;)) (return_statement "return;" return ;) })) (expression_statement "cVar4 = (**(code **)(*(int *)pcVar5 + 0x18))(pcVar5);" (assignment_expression "cVar4 = (**(code **)(*(int *)pcVar5 + 0x18))(pcVar5)" identifier = (call_expression "(**(code **)(*(int *)pcVar5 + 0x18))(pcVar5)" (parenthesized_expression "(**(code **)(*(int *)pcVar5 + 0x18))" ( (pointer_expression "**(code **)(*(int *)pcVar5 + 0x18)" * (pointer_expression "*(code **)(*(int *)pcVar5 + 0x18)" * (cast_expression "(code **)(*(int *)pcVar5 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)pcVar5 + 0x18)" ( (binary_expression "*(int *)pcVar5 + 0x18" (pointer_expression "*(int *)pcVar5" * (cast_expression "(int *)pcVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(pcVar5)" ( identifier )))) ;) (if_statement "if (cVar4 == '\0') {\n        (**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40));\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }" if (parenthesized_expression "(cVar4 == '\0')" ( (binary_expression "cVar4 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40));\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }" { (expression_statement "(**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40));" (call_expression "(**(code **)(*(int *)this + 0x10))(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40))" (parenthesized_expression "(**(code **)(*(int *)this + 0x10))" ( (pointer_expression "**(code **)(*(int *)this + 0x10)" * (pointer_expression "*(code **)(*(int *)this + 0x10)" * (cast_expression "(code **)(*(int *)this + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)this + 0x10)" ( (binary_expression "*(int *)this + 0x10" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) )) (argument_list "(local_2c,this,0,0,1,*(undefined4 *)(this + 0x40))" ( identifier , identifier , number_literal , number_literal , number_literal , (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) )))) ))) ;) (if_statement "if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;" if (parenthesized_expression "((local_2c[0] & local_30) == 0xffffffff)" ( (binary_expression "(local_2c[0] & local_30) == 0xffffffff" (parenthesized_expression "(local_2c[0] & local_30)" ( (binary_expression "local_2c[0] & local_30" (subscript_expression "local_2c[0]" identifier [ number_literal ]) & identifier) )) == number_literal) )) (goto_statement "goto LAB_00216242;" goto statement_identifier ;)) })) }))) }))) (labeled_statement "LAB_002161fb:\n  *(codecvt **)(this + 0x78) = pcVar5;" statement_identifier : (expression_statement "*(codecvt **)(this + 0x78) = pcVar5;" (assignment_expression "*(codecvt **)(this + 0x78) = pcVar5" (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_00216120(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  void *__src;\n  size_t __n;\n  uint local_30;\n  uint local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x216129;\n  cVar2 = FUN_0023ddf0(param_2);\n  if (cVar2 == '\0') {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }\n  cVar2 = FUN_001e73e0(param_1 + 0xe);\n  if (cVar2 == '\0') goto LAB_002161fb;\n  if ((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')) {\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }\n  piVar1 = (int *)param_1[0x1e];\n  if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    \n    FUN_0022c630();\n  }\n  iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1);\n  if (iVar4 == -1) goto LAB_00216242;\n  if (*(char *)((int)param_1 + 0x65) == '\0') {\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }\n  else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }\nLAB_002161fb:\n  param_1[0x1e] = (int)piVar3;\n  return;\n}\n\n" (function_definition "void FUN_00216120(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  void *__src;\n  size_t __n;\n  uint local_30;\n  uint local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x216129;\n  cVar2 = FUN_0023ddf0(param_2);\n  if (cVar2 == '\0') {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }\n  cVar2 = FUN_001e73e0(param_1 + 0xe);\n  if (cVar2 == '\0') goto LAB_002161fb;\n  if ((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')) {\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }\n  piVar1 = (int *)param_1[0x1e];\n  if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    \n    FUN_0022c630();\n  }\n  iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1);\n  if (iVar4 == -1) goto LAB_00216242;\n  if (*(char *)((int)param_1 + 0x65) == '\0') {\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }\n  else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }\nLAB_002161fb:\n  param_1[0x1e] = (int)piVar3;\n  return;\n}" primitive_type (function_declarator "FUN_00216120(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  void *__src;\n  size_t __n;\n  uint local_30;\n  uint local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x216129;\n  cVar2 = FUN_0023ddf0(param_2);\n  if (cVar2 == '\0') {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }\n  cVar2 = FUN_001e73e0(param_1 + 0xe);\n  if (cVar2 == '\0') goto LAB_002161fb;\n  if ((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')) {\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }\n  piVar1 = (int *)param_1[0x1e];\n  if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    \n    FUN_0022c630();\n  }\n  iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1);\n  if (iVar4 == -1) goto LAB_00216242;\n  if (*(char *)((int)param_1 + 0x65) == '\0') {\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }\n  else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }\nLAB_002161fb:\n  param_1[0x1e] = (int)piVar3;\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "uint local_30;" type_identifier identifier ;) (declaration "uint local_2c [6];" type_identifier (array_declarator "local_2c [6]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x216129;" (assignment_expression "uStack_14 = 0x216129" identifier = number_literal) ;) (expression_statement "cVar2 = FUN_0023ddf0(param_2);" (assignment_expression "cVar2 = FUN_0023ddf0(param_2)" identifier = (call_expression "FUN_0023ddf0(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (cVar2 == '\0') {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    piVar3 = (int *)0x0;\n  }" { (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }" else (compound_statement "{\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }" { (expression_statement "piVar3 = (int *)FUN_0023c6c0(param_2);" (assignment_expression "piVar3 = (int *)FUN_0023c6c0(param_2)" identifier = (cast_expression "(int *)FUN_0023c6c0(param_2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0023c6c0(param_2)" identifier (argument_list "(param_2)" ( identifier ))))) ;) }))) (expression_statement "cVar2 = FUN_001e73e0(param_1 + 0xe);" (assignment_expression "cVar2 = FUN_001e73e0(param_1 + 0xe)" identifier = (call_expression "FUN_001e73e0(param_1 + 0xe)" identifier (argument_list "(param_1 + 0xe)" ( (binary_expression "param_1 + 0xe" identifier + number_literal) )))) ;) (if_statement "if (cVar2 == '\0') goto LAB_002161fb;" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_002161fb;" goto statement_identifier ;)) (if_statement "if ((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')) {\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }" if (parenthesized_expression "((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0'))" ( (binary_expression "(*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')" (parenthesized_expression "(*(char *)((int)param_1 + 0x65) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x65) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x65)" * (cast_expression "(char *)((int)param_1 + 0x65)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x65)" ( (binary_expression "(int)param_1 + 0x65" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(char *)((int)param_1 + 0x66) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x66) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x66)" * (cast_expression "(char *)((int)param_1 + 0x66)" ( (type_descriptor "char *" primitive_type (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) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }" { (expression_statement "param_1[0x1e] = (int)piVar3;" (assignment_expression "param_1[0x1e] = (int)piVar3" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })) (expression_statement "piVar1 = (int *)param_1[0x1e];" (assignment_expression "piVar1 = (int *)param_1[0x1e]" identifier = (cast_expression "(int *)param_1[0x1e]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1e]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    \n    FUN_0022c630();\n  }" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00216325:\n                    \n    FUN_0022c630();\n  }" { (labeled_statement "LAB_00216325:\n                    \n    FUN_0022c630();" statement_identifier : (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" identifier (argument_list "()" ( ))) ;)) })) (expression_statement "iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" ( (pointer_expression "**(code **)(*piVar1 + 0x14)" * (pointer_expression "*(code **)(*piVar1 + 0x14)" * (cast_expression "(code **)(*piVar1 + 0x14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x14)" ( (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (iVar4 == -1) goto LAB_00216242;" if (parenthesized_expression "(iVar4 == -1)" ( (binary_expression "iVar4 == -1" identifier == number_literal) )) (goto_statement "goto LAB_00216242;" goto statement_identifier ;)) (if_statement "if (*(char *)((int)param_1 + 0x65) == '\0') {\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }\n  else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x65) == '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x65) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x65)" * (cast_expression "(char *)((int)param_1 + 0x65)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_1 + 0x65)" ( (binary_expression "(int)param_1 + 0x65" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }" { (if_statement "if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }" if (parenthesized_expression "(*(char *)((int)param_1 + 0x66) != '\0')" ( (binary_expression "*(char *)((int)param_1 + 0x66) != '\0'" (pointer_expression "*(char *)((int)param_1 + 0x66)" * (cast_expression "(char *)((int)param_1 + 0x66)" ( (type_descriptor "char *" primitive_type (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) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }" { (expression_statement "cVar2 = FUN_00215a10(param_1);" (assignment_expression "cVar2 = FUN_00215a10(param_1)" identifier = (call_expression "FUN_00215a10(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (if_statement "if (cVar2 == '\0') goto LAB_00216242;" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_00216242;" goto statement_identifier ;)) (expression_statement "iVar4 = param_1[0x17];" (assignment_expression "iVar4 = param_1[0x17]" identifier = (subscript_expression "param_1[0x17]" identifier [ 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[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = iVar4;" (assignment_expression "param_1[3] = iVar4" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) })) }) (else_clause "else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }" else (compound_statement "{\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }" { (expression_statement "piVar1 = (int *)param_1[0x1e];" (assignment_expression "piVar1 = (int *)param_1[0x1e]" identifier = (cast_expression "(int *)param_1[0x1e]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1e]" identifier [ number_literal ]))) ;) (if_statement "if (piVar1 == (int *)0x0) goto LAB_00216325;" if (parenthesized_expression "(piVar1 == (int *)0x0)" ( (binary_expression "piVar1 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00216325;" goto statement_identifier ;)) (expression_statement "cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);" (assignment_expression "cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1)" identifier = (call_expression "(**(code **)(*piVar1 + 0x18))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x18))" ( (pointer_expression "**(code **)(*piVar1 + 0x18)" * (pointer_expression "*(code **)(*piVar1 + 0x18)" * (cast_expression "(code **)(*piVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 0x18)" ( (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "(piVar1)" ( identifier )))) ;) (if_statement "if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }" { (expression_statement "iVar4 = param_1[0x1f];" (assignment_expression "iVar4 = param_1[0x1f]" identifier = (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) ;) (expression_statement "iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);" (assignment_expression "iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2)" identifier = (call_expression "(**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2)" (parenthesized_expression "(**(code **)(*(int *)param_1[0x1e] + 0x1c))" ( (pointer_expression "**(code **)(*(int *)param_1[0x1e] + 0x1c)" * (pointer_expression "*(code **)(*(int *)param_1[0x1e] + 0x1c)" * (cast_expression "(code **)(*(int *)param_1[0x1e] + 0x1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)param_1[0x1e] + 0x1c)" ( (binary_expression "*(int *)param_1[0x1e] + 0x1c" (pointer_expression "*(int *)param_1[0x1e]" * (cast_expression "(int *)param_1[0x1e]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1e]" identifier [ number_literal ]))) + number_literal) ))))) )) (argument_list "((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2)" ( (cast_expression "(int *)param_1[0x1e]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1e]" identifier [ number_literal ])) , (binary_expression "param_1 + 0x15" identifier + number_literal) , identifier , (subscript_expression "param_1[0x21]" identifier [ number_literal ]) , (binary_expression "param_1[2] - param_1[1] >> 2" (binary_expression "param_1[2] - param_1[1]" (subscript_expression "param_1[2]" identifier [ number_literal ]) - (subscript_expression "param_1[1]" identifier [ number_literal ])) >> number_literal) )))) ;) (expression_statement "__src = (void *)(iVar5 + iVar4);" (assignment_expression "__src = (void *)(iVar5 + iVar4)" identifier = (cast_expression "(void *)(iVar5 + iVar4)" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar4)" ( (binary_expression "iVar5 + iVar4" identifier + identifier) )))) ;) (expression_statement "param_1[0x21] = (int)__src;" (assignment_expression "param_1[0x21] = (int)__src" (subscript_expression "param_1[0x21]" identifier [ number_literal ]) = (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "__n = param_1[0x22] - (int)__src;" (assignment_expression "__n = param_1[0x22] - (int)__src" identifier = (binary_expression "param_1[0x22] - (int)__src" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) - (cast_expression "(int)__src" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (compound_statement "{\n        memmove((void *)param_1[0x1f],__src,__n);\n      }" { (expression_statement "memmove((void *)param_1[0x1f],__src,__n);" (call_expression "memmove((void *)param_1[0x1f],__src,__n)" identifier (argument_list "((void *)param_1[0x1f],__src,__n)" ( (cast_expression "(void *)param_1[0x1f]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) , identifier , identifier ))) ;) })) (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[4] = 0;" (assignment_expression "param_1[4] = 0" (subscript_expression "param_1[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x21] = param_1[0x1f];" (assignment_expression "param_1[0x21] = param_1[0x1f]" (subscript_expression "param_1[0x21]" identifier [ number_literal ]) = (subscript_expression "param_1[0x1f]" identifier [ number_literal ])) ;) (expression_statement "iVar4 = param_1[0x17];" (assignment_expression "iVar4 = param_1[0x17]" identifier = (subscript_expression "param_1[0x17]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x22] = __n + param_1[0x1f];" (assignment_expression "param_1[0x22] = __n + param_1[0x1f]" (subscript_expression "param_1[0x22]" identifier [ number_literal ]) = (binary_expression "__n + param_1[0x1f]" identifier + (subscript_expression "param_1[0x1f]" identifier [ number_literal ]))) ;) (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[3] = iVar4;" (assignment_expression "param_1[3] = iVar4" (subscript_expression "param_1[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[6] = 0;" (assignment_expression "param_1[6] = 0" (subscript_expression "param_1[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_1[0x13] = param_1[0x11];" (assignment_expression "param_1[0x13] = param_1[0x11]" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = (subscript_expression "param_1[0x11]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x14] = param_1[0x12];" (assignment_expression "param_1[0x14] = param_1[0x12]" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) = (subscript_expression "param_1[0x12]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x15] = param_1[0x11];" (assignment_expression "param_1[0x15] = param_1[0x11]" (subscript_expression "param_1[0x15]" identifier [ number_literal ]) = (subscript_expression "param_1[0x11]" identifier [ number_literal ])) ;) (expression_statement "param_1[0x16] = param_1[0x12];" (assignment_expression "param_1[0x16] = param_1[0x12]" (subscript_expression "param_1[0x16]" identifier [ number_literal ]) = (subscript_expression "param_1[0x12]" identifier [ number_literal ])) ;) }) (else_clause "else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }" else (compound_statement "{\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }" { (if_statement "if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }" if (parenthesized_expression "(piVar3 == (int *)0x0)" ( (binary_expression "piVar3 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }" { (labeled_statement "LAB_00216242:\n        param_1[0x1e] = 0;" statement_identifier : (expression_statement "param_1[0x1e] = 0;" (assignment_expression "param_1[0x1e] = 0" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = number_literal) ;)) (return_statement "return;" return ;) })) (expression_statement "cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);" (assignment_expression "cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3)" identifier = (call_expression "(**(code **)(*piVar3 + 0x18))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 0x18))" ( (pointer_expression "**(code **)(*piVar3 + 0x18)" * (pointer_expression "*(code **)(*piVar3 + 0x18)" * (cast_expression "(code **)(*piVar3 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar3 + 0x18)" ( (binary_expression "*piVar3 + 0x18" (pointer_expression "*piVar3" * identifier) + number_literal) ))))) )) (argument_list "(piVar3)" ( identifier )))) ;) (if_statement "if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }" { (expression_statement "(**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);" (call_expression "(**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10])" (parenthesized_expression "(**(code **)(*param_1 + 0x10))" ( (pointer_expression "**(code **)(*param_1 + 0x10)" * (pointer_expression "*(code **)(*param_1 + 0x10)" * (cast_expression "(code **)(*param_1 + 0x10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_1 + 0x10)" ( (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" * identifier) + number_literal) ))))) )) (argument_list "(local_2c,param_1,0,0,1,param_1[0x10])" ( identifier , identifier , number_literal , number_literal , number_literal , (subscript_expression "param_1[0x10]" identifier [ number_literal ]) ))) ;) (if_statement "if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;" if (parenthesized_expression "((local_2c[0] & local_30) == 0xffffffff)" ( (binary_expression "(local_2c[0] & local_30) == 0xffffffff" (parenthesized_expression "(local_2c[0] & local_30)" ( (binary_expression "local_2c[0] & local_30" (subscript_expression "local_2c[0]" identifier [ number_literal ]) & identifier) )) == number_literal) )) (goto_statement "goto LAB_00216242;" goto statement_identifier ;)) })) }))) }))) (labeled_statement "LAB_002161fb:\n  param_1[0x1e] = (int)piVar3;" statement_identifier : (expression_statement "param_1[0x1e] = (int)piVar3;" (assignment_expression "param_1[0x1e] = (int)piVar3" (subscript_expression "param_1[0x1e]" identifier [ number_literal ]) = (cast_expression "(int)piVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;)) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = 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 { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) + LIT) ))))) )) (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , (binary_expression IDENT + LIT) , IDENT , (subscript_expression IDENT [ LIT ]) , (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) - (subscript_expression IDENT [ LIT ])) >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT , IDENT ))) ;) })) (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 ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;)) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT , IDENT , LIT , LIT , LIT , (subscript_expression IDENT [ LIT ]) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) & IDENT) )) == LIT) )) (goto_statement goto statement_identifier ;)) })) }))) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;)) (return_statement return ;) })))
(function_definition "void FUN_00216120(int *param_1,undefined4 param_2)\n\n{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  void *__src;\n  size_t __n;\n  uint local_30;\n  uint local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x216129;\n  cVar2 = FUN_0023ddf0(param_2);\n  if (cVar2 == '\0') {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }\n  cVar2 = FUN_001e73e0(param_1 + 0xe);\n  if (cVar2 == '\0') goto LAB_002161fb;\n  if ((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')) {\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }\n  piVar1 = (int *)param_1[0x1e];\n  if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    \n    FUN_0022c630();\n  }\n  iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1);\n  if (iVar4 == -1) goto LAB_00216242;\n  if (*(char *)((int)param_1 + 0x65) == '\0') {\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }\n  else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }\nLAB_002161fb:\n  param_1[0x1e] = (int)piVar3;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00216120(int *param_1,undefined4 param_2)" (identifier "FUN_00216120") (parameter_list "(int *param_1,undefined4 param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int *piVar3;\n  int iVar4;\n  int iVar5;\n  void *__src;\n  size_t __n;\n  uint local_30;\n  uint local_2c [6];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x216129;\n  cVar2 = FUN_0023ddf0(param_2);\n  if (cVar2 == '\0') {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }\n  cVar2 = FUN_001e73e0(param_1 + 0xe);\n  if (cVar2 == '\0') goto LAB_002161fb;\n  if ((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')) {\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }\n  piVar1 = (int *)param_1[0x1e];\n  if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    \n    FUN_0022c630();\n  }\n  iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1);\n  if (iVar4 == -1) goto LAB_00216242;\n  if (*(char *)((int)param_1 + 0x65) == '\0') {\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }\n  else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }\nLAB_002161fb:\n  param_1[0x1e] = (int)piVar3;\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "void *__src;" (primitive_type "void") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "uint local_30;" (type_identifier "uint") (identifier "local_30") (; ";")) (declaration "uint local_2c [6];" (type_identifier "uint") (array_declarator "local_2c [6]" (identifier "local_2c") ([ "[") (number_literal "6") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x216129;" (assignment_expression "uStack_14 = 0x216129" (identifier "uStack_14") (= "=") (number_literal "0x216129")) (; ";")) (expression_statement "cVar2 = FUN_0023ddf0(param_2);" (assignment_expression "cVar2 = FUN_0023ddf0(param_2)" (identifier "cVar2") (= "=") (call_expression "FUN_0023ddf0(param_2)" (identifier "FUN_0023ddf0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') {\n    piVar3 = (int *)0x0;\n  }\n  else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    piVar3 = (int *)0x0;\n  }" ({ "{") (expression_statement "piVar3 = (int *)0x0;" (assignment_expression "piVar3 = (int *)0x0" (identifier "piVar3") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")) (else_clause "else {\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }" (else "else") (compound_statement "{\n    piVar3 = (int *)FUN_0023c6c0(param_2);\n  }" ({ "{") (expression_statement "piVar3 = (int *)FUN_0023c6c0(param_2);" (assignment_expression "piVar3 = (int *)FUN_0023c6c0(param_2)" (identifier "piVar3") (= "=") (cast_expression "(int *)FUN_0023c6c0(param_2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0023c6c0(param_2)" (identifier "FUN_0023c6c0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))))) (; ";")) (} "}")))) (expression_statement "cVar2 = FUN_001e73e0(param_1 + 0xe);" (assignment_expression "cVar2 = FUN_001e73e0(param_1 + 0xe)" (identifier "cVar2") (= "=") (call_expression "FUN_001e73e0(param_1 + 0xe)" (identifier "FUN_001e73e0") (argument_list "(param_1 + 0xe)" (( "(") (binary_expression "param_1 + 0xe" (identifier "param_1") (+ "+") (number_literal "0xe")) () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') goto LAB_002161fb;" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_002161fb;" (goto "goto") (statement_identifier "LAB_002161fb") (; ";"))) (if_statement "if ((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')) {\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }" (if "if") (parenthesized_expression "((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0'))" (( "(") (binary_expression "(*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')" (parenthesized_expression "(*(char *)((int)param_1 + 0x65) == '\0')" (( "(") (binary_expression "*(char *)((int)param_1 + 0x65) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x65)" (* "*") (cast_expression "(char *)((int)param_1 + 0x65)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x65)" (( "(") (binary_expression "(int)param_1 + 0x65" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x65")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)((int)param_1 + 0x66) == '\0')" (( "(") (binary_expression "*(char *)((int)param_1 + 0x66) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x66)" (* "*") (cast_expression "(char *)((int)param_1 + 0x66)" (( "(") (type_descriptor "char *" (primitive_type "char") (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")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    param_1[0x1e] = (int)piVar3;\n    return;\n  }" ({ "{") (expression_statement "param_1[0x1e] = (int)piVar3;" (assignment_expression "param_1[0x1e] = (int)piVar3" (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "piVar1 = (int *)param_1[0x1e];" (assignment_expression "piVar1 = (int *)param_1[0x1e]" (identifier "piVar1") (= "=") (cast_expression "(int *)param_1[0x1e]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]")))) (; ";")) (if_statement "if (piVar1 == (int *)0x0) {\nLAB_00216325:\n                    \n    FUN_0022c630();\n  }" (if "if") (parenthesized_expression "(piVar1 == (int *)0x0)" (( "(") (binary_expression "piVar1 == (int *)0x0" (identifier "piVar1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_00216325:\n                    \n    FUN_0022c630();\n  }" ({ "{") (labeled_statement "LAB_00216325:\n                    \n    FUN_0022c630();" (statement_identifier "LAB_00216325") (: ":") (expression_statement "FUN_0022c630();" (call_expression "FUN_0022c630()" (identifier "FUN_0022c630") (argument_list "()" (( "(") () ")"))) (; ";"))) (} "}"))) (expression_statement "iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1);" (assignment_expression "iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(*piVar1 + 0x14))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x14))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x14)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x14)" (* "*") (cast_expression "(code **)(*piVar1 + 0x14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x14)" (( "(") (binary_expression "*piVar1 + 0x14" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (if_statement "if (iVar4 == -1) goto LAB_00216242;" (if "if") (parenthesized_expression "(iVar4 == -1)" (( "(") (binary_expression "iVar4 == -1" (identifier "iVar4") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_00216242;" (goto "goto") (statement_identifier "LAB_00216242") (; ";"))) (if_statement "if (*(char *)((int)param_1 + 0x65) == '\0') {\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }\n  else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)((int)param_1 + 0x65) == '\0')" (( "(") (binary_expression "*(char *)((int)param_1 + 0x65) == '\0'" (pointer_expression "*(char *)((int)param_1 + 0x65)" (* "*") (cast_expression "(char *)((int)param_1 + 0x65)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_1 + 0x65)" (( "(") (binary_expression "(int)param_1 + 0x65" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (number_literal "0x65")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }\n  }" ({ "{") (if_statement "if (*(char *)((int)param_1 + 0x66) != '\0') {\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }" (if "if") (parenthesized_expression "(*(char *)((int)param_1 + 0x66) != '\0')" (( "(") (binary_expression "*(char *)((int)param_1 + 0x66) != '\0'" (pointer_expression "*(char *)((int)param_1 + 0x66)" (* "*") (cast_expression "(char *)((int)param_1 + 0x66)" (( "(") (type_descriptor "char *" (primitive_type "char") (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")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      cVar2 = FUN_00215a10(param_1);\n      if (cVar2 == '\0') goto LAB_00216242;\n      iVar4 = param_1[0x17];\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n    }" ({ "{") (expression_statement "cVar2 = FUN_00215a10(param_1);" (assignment_expression "cVar2 = FUN_00215a10(param_1)" (identifier "cVar2") (= "=") (call_expression "FUN_00215a10(param_1)" (identifier "FUN_00215a10") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') goto LAB_00216242;" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_00216242;" (goto "goto") (statement_identifier "LAB_00216242") (; ";"))) (expression_statement "iVar4 = param_1[0x17];" (assignment_expression "iVar4 = param_1[0x17]" (identifier "iVar4") (= "=") (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]"))) (; ";")) (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[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[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "param_1[3] = iVar4;" (assignment_expression "param_1[3] = iVar4" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (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")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }" (else "else") (compound_statement "{\n    piVar1 = (int *)param_1[0x1e];\n    if (piVar1 == (int *)0x0) goto LAB_00216325;\n    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);\n    if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }\n  }" ({ "{") (expression_statement "piVar1 = (int *)param_1[0x1e];" (assignment_expression "piVar1 = (int *)param_1[0x1e]" (identifier "piVar1") (= "=") (cast_expression "(int *)param_1[0x1e]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]")))) (; ";")) (if_statement "if (piVar1 == (int *)0x0) goto LAB_00216325;" (if "if") (parenthesized_expression "(piVar1 == (int *)0x0)" (( "(") (binary_expression "piVar1 == (int *)0x0" (identifier "piVar1") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_00216325;" (goto "goto") (statement_identifier "LAB_00216325") (; ";"))) (expression_statement "cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);" (assignment_expression "cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1)" (identifier "cVar2") (= "=") (call_expression "(**(code **)(*piVar1 + 0x18))(piVar1)" (parenthesized_expression "(**(code **)(*piVar1 + 0x18))" (( "(") (pointer_expression "**(code **)(*piVar1 + 0x18)" (* "*") (pointer_expression "*(code **)(*piVar1 + 0x18)" (* "*") (cast_expression "(code **)(*piVar1 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 0x18)" (( "(") (binary_expression "*piVar1 + 0x18" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') {\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }\n    else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      iVar4 = param_1[0x1f];\n      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);\n      __src = (void *)(iVar5 + iVar4);\n      param_1[0x21] = (int)__src;\n      __n = param_1[0x22] - (int)__src;\n      if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }\n      param_1[5] = 0;\n      param_1[4] = 0;\n      param_1[0x21] = param_1[0x1f];\n      iVar4 = param_1[0x17];\n      param_1[0x22] = __n + param_1[0x1f];\n      param_1[1] = iVar4;\n      param_1[2] = iVar4;\n      param_1[3] = iVar4;\n      param_1[6] = 0;\n      param_1[0x13] = param_1[0x11];\n      param_1[0x14] = param_1[0x12];\n      param_1[0x15] = param_1[0x11];\n      param_1[0x16] = param_1[0x12];\n    }" ({ "{") (expression_statement "iVar4 = param_1[0x1f];" (assignment_expression "iVar4 = param_1[0x1f]" (identifier "iVar4") (= "=") (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]"))) (; ";")) (expression_statement "iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2);" (assignment_expression "iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2)" (identifier "iVar5") (= "=") (call_expression "(**(code **)(*(int *)param_1[0x1e] + 0x1c))\n                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2)" (parenthesized_expression "(**(code **)(*(int *)param_1[0x1e] + 0x1c))" (( "(") (pointer_expression "**(code **)(*(int *)param_1[0x1e] + 0x1c)" (* "*") (pointer_expression "*(code **)(*(int *)param_1[0x1e] + 0x1c)" (* "*") (cast_expression "(code **)(*(int *)param_1[0x1e] + 0x1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)param_1[0x1e] + 0x1c)" (( "(") (binary_expression "*(int *)param_1[0x1e] + 0x1c" (pointer_expression "*(int *)param_1[0x1e]" (* "*") (cast_expression "(int *)param_1[0x1e]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]")))) (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (argument_list "((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],\n                         param_1[2] - param_1[1] >> 2)" (( "(") (cast_expression "(int *)param_1[0x1e]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]"))) (, ",") (binary_expression "param_1 + 0x15" (identifier "param_1") (+ "+") (number_literal "0x15")) (, ",") (identifier "iVar4") (, ",") (subscript_expression "param_1[0x21]" (identifier "param_1") ([ "[") (number_literal "0x21") (] "]")) (, ",") (binary_expression "param_1[2] - param_1[1] >> 2" (binary_expression "param_1[2] - param_1[1]" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (- "-") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (>> ">>") (number_literal "2")) () ")")))) (; ";")) (expression_statement "__src = (void *)(iVar5 + iVar4);" (assignment_expression "__src = (void *)(iVar5 + iVar4)" (identifier "__src") (= "=") (cast_expression "(void *)(iVar5 + iVar4)" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar4)" (( "(") (binary_expression "iVar5 + iVar4" (identifier "iVar5") (+ "+") (identifier "iVar4")) () ")")))) (; ";")) (expression_statement "param_1[0x21] = (int)__src;" (assignment_expression "param_1[0x21] = (int)__src" (subscript_expression "param_1[0x21]" (identifier "param_1") ([ "[") (number_literal "0x21") (] "]")) (= "=") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src"))) (; ";")) (expression_statement "__n = param_1[0x22] - (int)__src;" (assignment_expression "__n = param_1[0x22] - (int)__src" (identifier "__n") (= "=") (binary_expression "param_1[0x22] - (int)__src" (subscript_expression "param_1[0x22]" (identifier "param_1") ([ "[") (number_literal "0x22") (] "]")) (- "-") (cast_expression "(int)__src" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "__src")))) (; ";")) (if_statement "if (__n != 0) {\n        memmove((void *)param_1[0x1f],__src,__n);\n      }" (if "if") (parenthesized_expression "(__n != 0)" (( "(") (binary_expression "__n != 0" (identifier "__n") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        memmove((void *)param_1[0x1f],__src,__n);\n      }" ({ "{") (expression_statement "memmove((void *)param_1[0x1f],__src,__n);" (call_expression "memmove((void *)param_1[0x1f],__src,__n)" (identifier "memmove") (argument_list "((void *)param_1[0x1f],__src,__n)" (( "(") (cast_expression "(void *)param_1[0x1f]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]"))) (, ",") (identifier "__src") (, ",") (identifier "__n") () ")"))) (; ";")) (} "}"))) (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[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[0x21] = param_1[0x1f];" (assignment_expression "param_1[0x21] = param_1[0x1f]" (subscript_expression "param_1[0x21]" (identifier "param_1") ([ "[") (number_literal "0x21") (] "]")) (= "=") (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]"))) (; ";")) (expression_statement "iVar4 = param_1[0x17];" (assignment_expression "iVar4 = param_1[0x17]" (identifier "iVar4") (= "=") (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]"))) (; ";")) (expression_statement "param_1[0x22] = __n + param_1[0x1f];" (assignment_expression "param_1[0x22] = __n + param_1[0x1f]" (subscript_expression "param_1[0x22]" (identifier "param_1") ([ "[") (number_literal "0x22") (] "]")) (= "=") (binary_expression "__n + param_1[0x1f]" (identifier "__n") (+ "+") (subscript_expression "param_1[0x1f]" (identifier "param_1") ([ "[") (number_literal "0x1f") (] "]")))) (; ";")) (expression_statement "param_1[1] = iVar4;" (assignment_expression "param_1[1] = iVar4" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "param_1[2] = iVar4;" (assignment_expression "param_1[2] = iVar4" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (expression_statement "param_1[3] = iVar4;" (assignment_expression "param_1[3] = iVar4" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "iVar4")) (; ";")) (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 "param_1[0x13] = param_1[0x11];" (assignment_expression "param_1[0x13] = param_1[0x11]" (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")) (= "=") (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]"))) (; ";")) (expression_statement "param_1[0x14] = param_1[0x12];" (assignment_expression "param_1[0x14] = param_1[0x12]" (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]")) (= "=") (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]"))) (; ";")) (expression_statement "param_1[0x15] = param_1[0x11];" (assignment_expression "param_1[0x15] = param_1[0x11]" (subscript_expression "param_1[0x15]" (identifier "param_1") ([ "[") (number_literal "0x15") (] "]")) (= "=") (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]"))) (; ";")) (expression_statement "param_1[0x16] = param_1[0x12];" (assignment_expression "param_1[0x16] = param_1[0x12]" (subscript_expression "param_1[0x16]" (identifier "param_1") ([ "[") (number_literal "0x16") (] "]")) (= "=") (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }" (else "else") (compound_statement "{\n      if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }\n      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);\n      if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }\n    }" ({ "{") (if_statement "if (piVar3 == (int *)0x0) {\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }" (if "if") (parenthesized_expression "(piVar3 == (int *)0x0)" (( "(") (binary_expression "piVar3 == (int *)0x0" (identifier "piVar3") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_00216242:\n        param_1[0x1e] = 0;\n        return;\n      }" ({ "{") (labeled_statement "LAB_00216242:\n        param_1[0x1e] = 0;" (statement_identifier "LAB_00216242") (: ":") (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")) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);" (assignment_expression "cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3)" (identifier "cVar2") (= "=") (call_expression "(**(code **)(*piVar3 + 0x18))(piVar3)" (parenthesized_expression "(**(code **)(*piVar3 + 0x18))" (( "(") (pointer_expression "**(code **)(*piVar3 + 0x18)" (* "*") (pointer_expression "*(code **)(*piVar3 + 0x18)" (* "*") (cast_expression "(code **)(*piVar3 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar3 + 0x18)" (( "(") (binary_expression "*piVar3 + 0x18" (pointer_expression "*piVar3" (* "*") (identifier "piVar3")) (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (argument_list "(piVar3)" (( "(") (identifier "piVar3") () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') {\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);\n        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;\n      }" ({ "{") (expression_statement "(**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);" (call_expression "(**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10])" (parenthesized_expression "(**(code **)(*param_1 + 0x10))" (( "(") (pointer_expression "**(code **)(*param_1 + 0x10)" (* "*") (pointer_expression "*(code **)(*param_1 + 0x10)" (* "*") (cast_expression "(code **)(*param_1 + 0x10)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_1 + 0x10)" (( "(") (binary_expression "*param_1 + 0x10" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x10")) () ")"))))) () ")")) (argument_list "(local_2c,param_1,0,0,1,param_1[0x10])" (( "(") (identifier "local_2c") (, ",") (identifier "param_1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "1") (, ",") (subscript_expression "param_1[0x10]" (identifier "param_1") ([ "[") (number_literal "0x10") (] "]")) () ")"))) (; ";")) (if_statement "if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;" (if "if") (parenthesized_expression "((local_2c[0] & local_30) == 0xffffffff)" (( "(") (binary_expression "(local_2c[0] & local_30) == 0xffffffff" (parenthesized_expression "(local_2c[0] & local_30)" (( "(") (binary_expression "local_2c[0] & local_30" (subscript_expression "local_2c[0]" (identifier "local_2c") ([ "[") (number_literal "0") (] "]")) (& "&") (identifier "local_30")) () ")")) (== "==") (number_literal "0xffffffff")) () ")")) (goto_statement "goto LAB_00216242;" (goto "goto") (statement_identifier "LAB_00216242") (; ";"))) (} "}"))) (} "}")))) (} "}")))) (labeled_statement "LAB_002161fb:\n  param_1[0x1e] = (int)piVar3;" (statement_identifier "LAB_002161fb") (: ":") (expression_statement "param_1[0x1e] = (int)piVar3;" (assignment_expression "param_1[0x1e] = (int)piVar3" (subscript_expression "param_1[0x1e]" (identifier "param_1") ([ "[") (number_literal "0x1e") (] "]")) (= "=") (cast_expression "(int)piVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar3"))) (; ";"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wfilebuf::imbue(std::locale const&) */

void __thiscall var_2::type_1::function_1(type_1 *var_9,type_2 *param_1)

{
  int *var_11;
  type_3 uVar2;
  bool bVar3;
  char var_10;
  type_4 *var_18;
  int var_13;
  int var_15;
  void *__src;
  size_t var_16;
  type_5 var_19;
  type_5 local_2c [6];
  type_3 uStack_14;
  
  uStack_14 = 0x216129;
  bVar3 = var_1<var_2::type_4<var_3,var_7,var_4>>(param_1);
  if (bVar3) {
    var_18 = var_5<var_2::type_4<var_3,var_7,var_4>>(param_1);
  }
  else {
    var_18 = (type_4 *)0x0;
  }
  var_10 = var_6<var_7>::var_8((var_6<var_7> *)(var_9 + 0x38));
  if (var_10 == '\0') goto LAB_002161fb;
  if ((var_9[0x65] == (type_1)0x0) && (var_9[0x66] == (type_1)0x0)) {
    *(type_4 **)(var_9 + 0x78) = var_18;
    return;
  }
  var_11 = *(int **)(var_9 + 0x78);
  if (var_11 == (int *)0x0) {
LAB_00216325:
                    /* WARNING: Subroutine does not return */
    var_12();
  }
  var_13 = (**(type_6 **)(*var_11 + 0x14))(var_11);
  if (var_13 == -1) goto LAB_00216242;
  if (var_9[0x65] == (type_1)0x0) {
    if (var_9[0x66] != (type_1)0x0) {
      var_10 = var_14(var_9);
      if (var_10 == '\0') goto LAB_00216242;
      uVar2 = *(type_3 *)(var_9 + 0x5c);
      *(type_3 *)(var_9 + 0x14) = 0;
      *(type_3 *)(var_9 + 0x10) = 0;
      *(type_3 *)(var_9 + 4) = uVar2;
      *(type_3 *)(var_9 + 8) = uVar2;
      *(type_3 *)(var_9 + 0xc) = uVar2;
      *(type_3 *)(var_9 + 0x18) = 0;
    }
  }
  else {
    var_11 = *(int **)(var_9 + 0x78);
    if (var_11 == (int *)0x0) goto LAB_00216325;
    var_10 = (**(type_6 **)(*var_11 + 0x18))(var_11);
    if (var_10 == '\0') {
      var_13 = *(int *)(var_9 + 0x7c);
      var_15 = (**(type_6 **)(**(int **)(var_9 + 0x78) + 0x1c))
                        (*(int **)(var_9 + 0x78),var_9 + 0x54,var_13,*(type_3 *)(var_9 + 0x84),
                         *(int *)(var_9 + 8) - *(int *)(var_9 + 4) >> 2);
      __src = (void *)(var_15 + var_13);
      *(void **)(var_9 + 0x84) = __src;
      var_16 = *(int *)(var_9 + 0x88) - (int)__src;
      if (var_16 != 0) {
        var_17(*(void **)(var_9 + 0x7c),__src,var_16);
      }
      *(type_3 *)(var_9 + 0x14) = 0;
      *(type_3 *)(var_9 + 0x10) = 0;
      *(int *)(var_9 + 0x84) = *(int *)(var_9 + 0x7c);
      uVar2 = *(type_3 *)(var_9 + 0x5c);
      *(size_t *)(var_9 + 0x88) = var_16 + *(int *)(var_9 + 0x7c);
      *(type_3 *)(var_9 + 4) = uVar2;
      *(type_3 *)(var_9 + 8) = uVar2;
      *(type_3 *)(var_9 + 0xc) = uVar2;
      *(type_3 *)(var_9 + 0x18) = 0;
      *(type_3 *)(var_9 + 0x4c) = *(type_3 *)(var_9 + 0x44);
      *(type_3 *)(var_9 + 0x50) = *(type_3 *)(var_9 + 0x48);
      *(type_3 *)(var_9 + 0x54) = *(type_3 *)(var_9 + 0x44);
      *(type_3 *)(var_9 + 0x58) = *(type_3 *)(var_9 + 0x48);
    }
    else {
      if (var_18 == (type_4 *)0x0) {
LAB_00216242:
        *(type_3 *)(var_9 + 0x78) = 0;
        return;
      }
      var_10 = (**(type_6 **)(*(int *)var_18 + 0x18))(var_18);
      if (var_10 == '\0') {
        (**(type_6 **)(*(int *)var_9 + 0x10))(local_2c,var_9,0,0,1,*(type_3 *)(var_9 + 0x40));
        if ((local_2c[0] & var_19) == 0xffffffff) goto LAB_00216242;
      }
    }
  }
LAB_002161fb:
  *(type_4 **)(var_9 + 0x78) = var_18;
  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: (type_identifier) 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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) 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 (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_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: (number_literal))))) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_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: (number_literal))))) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_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: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_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: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (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: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (number_literal))))))) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) (binary_expression left: (identifier) right: (number_literal)) (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) (identifier) (identifier)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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: (subscript_expression argument: (identifier) index: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (number_literal) (number_literal) (number_literal) (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (return_statement))))

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

void MASKED(int *param_1,undefined4 param_2)

{
  int *piVar1;
  char cVar2;
  int *piVar3;
  int iVar4;
  int iVar5;
  void *__src;
  size_t __n;
  uint local_30;
  uint local_2c [6];
  undefined4 uStack_14;
  
  uStack_14 = 0x216129;
  cVar2 = FUN_0023ddf0(param_2);
  if (cVar2 == '\0') {
    piVar3 = (int *)0x0;
  }
  else {
    piVar3 = (int *)FUN_0023c6c0(param_2);
  }
  cVar2 = FUN_001e73e0(param_1 + 0xe);
  if (cVar2 == '\0') goto LAB_002161fb;
  if ((*(char *)((int)param_1 + 0x65) == '\0') && (*(char *)((int)param_1 + 0x66) == '\0')) {
    param_1[0x1e] = (int)piVar3;
    return;
  }
  piVar1 = (int *)param_1[0x1e];
  if (piVar1 == (int *)0x0) {
LAB_00216325:
                    /* WARNING: Subroutine does not return */
    FUN_0022c630();
  }
  iVar4 = (**(code **)(*piVar1 + 0x14))(piVar1);
  if (iVar4 == -1) goto LAB_00216242;
  if (*(char *)((int)param_1 + 0x65) == '\0') {
    if (*(char *)((int)param_1 + 0x66) != '\0') {
      cVar2 = FUN_00215a10(param_1);
      if (cVar2 == '\0') goto LAB_00216242;
      iVar4 = param_1[0x17];
      param_1[5] = 0;
      param_1[4] = 0;
      param_1[1] = iVar4;
      param_1[2] = iVar4;
      param_1[3] = iVar4;
      param_1[6] = 0;
    }
  }
  else {
    piVar1 = (int *)param_1[0x1e];
    if (piVar1 == (int *)0x0) goto LAB_00216325;
    cVar2 = (**(code **)(*piVar1 + 0x18))(piVar1);
    if (cVar2 == '\0') {
      iVar4 = param_1[0x1f];
      iVar5 = (**(code **)(*(int *)param_1[0x1e] + 0x1c))
                        ((int *)param_1[0x1e],param_1 + 0x15,iVar4,param_1[0x21],
                         param_1[2] - param_1[1] >> 2);
      __src = (void *)(iVar5 + iVar4);
      param_1[0x21] = (int)__src;
      __n = param_1[0x22] - (int)__src;
      if (__n != 0) {
        memmove((void *)param_1[0x1f],__src,__n);
      }
      param_1[5] = 0;
      param_1[4] = 0;
      param_1[0x21] = param_1[0x1f];
      iVar4 = param_1[0x17];
      param_1[0x22] = __n + param_1[0x1f];
      param_1[1] = iVar4;
      param_1[2] = iVar4;
      param_1[3] = iVar4;
      param_1[6] = 0;
      param_1[0x13] = param_1[0x11];
      param_1[0x14] = param_1[0x12];
      param_1[0x15] = param_1[0x11];
      param_1[0x16] = param_1[0x12];
    }
    else {
      if (piVar3 == (int *)0x0) {
LAB_00216242:
        param_1[0x1e] = 0;
        return;
      }
      cVar2 = (**(code **)(*piVar3 + 0x18))(piVar3);
      if (cVar2 == '\0') {
        (**(code **)(*param_1 + 0x10))(local_2c,param_1,0,0,1,param_1[0x10]);
        if ((local_2c[0] & local_30) == 0xffffffff) goto LAB_00216242;
      }
    }
  }
LAB_002161fb:
  param_1[0x1e] = (int)piVar3;
  return;
}

