
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wistream::getline(wchar_t*, int, wchar_t) */

wistream * __thiscall
std::wistream::getline(wistream *this,wchar_t *param_1,int param_2,wchar_t param_3)

{
  int iVar1;
  code *pcVar2;
  uint uVar3;
  wchar_t *pwVar4;
  wchar_t wVar5;
  int iVar6;
  undefined1 *puVar7;
  int iVar9;
  wchar_t *pwVar10;
  undefined1 auStack_4c [12];
  wchar_t *local_40;
  undefined **local_3c;
  int local_38;
  int *local_34;
  int local_30;
  sentry local_1d [9];
  undefined4 uStack_14;
  undefined1 *puVar8;
  
  uStack_14 = 0x23613b;
  local_3c = &_GLOBAL_OFFSET_TABLE_;
  *(undefined4 *)(this + 4) = 0;
  sentry::sentry(local_1d,this,true);
  puVar7 = auStack_4c;
  if (local_1d[0] == (sentry)0x0) {
    iVar6 = *(int *)(this + 4);
    puVar7 = auStack_4c;
    if (0 < param_2) {
      *param_1 = L'\0';
      puVar7 = auStack_4c;
    }
joined_r0x0023644b:
    if (iVar6 != 0) {
      return this;
    }
    uVar3 = 4;
LAB_0023618d:
    iVar6 = *(int *)(*(int *)this + -0xc);
    *(uint *)(puVar7 + -0xc) = uVar3 | *(uint *)(this + iVar6 + 0x14);
    *(wistream **)(puVar7 + -0x10) = this + iVar6;
    *(undefined4 *)(puVar7 + -0x14) = 0x2361a8;
    wios::clear(*(wios **)(puVar7 + -0x10),*(_Ios_Iostate *)(puVar7 + -0xc));
    return this;
  }
  local_34 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x7c);
  if ((wchar_t *)local_34[3] <= (wchar_t *)local_34[2]) {
    puVar8 = &stack0xffffffa4;
                    /* try { // try from 002363b1 to 002363b3 has its CatchHandler @ 002364bc */
    wVar5 = (**(code **)(*local_34 + 0x24))();
    goto LAB_0023639c;
  }
  wVar5 = *(wchar_t *)local_34[2];
  do {
    local_30 = *(int *)(this + 4);
joined_r0x002361ef:
    iVar6 = local_30 + 1;
    if (param_2 <= iVar6) {
      if (wVar5 == L'\xffffffff') {
        if (0 < param_2) {
          *param_1 = L'\0';
          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;
          goto LAB_0023618d;
        }
        uVar3 = 2;
      }
      else {
        if (param_3 == wVar5) {
          pwVar4 = (wchar_t *)local_34[3];
          pwVar10 = (wchar_t *)local_34[2];
          goto LAB_002362d0;
        }
        if (0 < param_2) {
          *param_1 = L'\0';
          uVar3 = 4;
          goto LAB_0023618d;
        }
        uVar3 = 4;
      }
LAB_002363e1:
      if (local_30 == 0) {
        uVar3 = uVar3 | 4;
      }
      goto LAB_0023618d;
    }
    if (wVar5 == L'\xffffffff') {
LAB_002363cc:
      uVar3 = 2;
      if (0 < param_2) {
        *param_1 = L'\0';
      }
      goto LAB_002363e1;
    }
    pwVar4 = (wchar_t *)local_34[3];
    pwVar10 = (wchar_t *)local_34[2];
    if (param_3 == wVar5) {
LAB_002362d0:
      *(int *)(this + 4) = iVar6;
      if (pwVar10 < pwVar4) {
        local_34[2] = (int)(pwVar10 + 1);
        if (0 < param_2) {
          *param_1 = L'\0';
        }
      }
      else {
        iVar6 = *local_34;
        *(int **)(puVar7 + -0x10) = local_34;
                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */
        pcVar2 = *(code **)(iVar6 + 0x28);
        *(undefined4 *)(puVar7 + -0x14) = 0x236462;
        (*pcVar2)();
        iVar6 = *(int *)(this + 4);
        if (0 < param_2) {
          *param_1 = L'\0';
        }
      }
      goto joined_r0x0023644b;
    }
    iVar1 = (param_2 - local_30) + -1;
    iVar9 = (int)pwVar4 - (int)pwVar10 >> 2;
    if (iVar1 <= iVar9) {
      iVar9 = iVar1;
    }
    if (iVar9 < 2) {
      *param_1 = wVar5;
      param_1 = param_1 + 1;
      *(int *)(this + 4) = iVar6;
      if (pwVar10 < pwVar4) {
        wVar5 = *pwVar10;
        local_34[2] = (int)(pwVar10 + 1);
      }
      else {
        iVar6 = *local_34;
        *(int **)(puVar7 + -0x10) = local_34;
                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */
        pcVar2 = *(code **)(iVar6 + 0x28);
        *(undefined4 *)(puVar7 + -0x14) = 0x236404;
        wVar5 = (*pcVar2)();
      }
      if (wVar5 == L'\xffffffff') {
        local_30 = *(int *)(this + 4);
        goto LAB_002363cc;
      }
      if ((wchar_t *)local_34[2] < (wchar_t *)local_34[3]) {
        wVar5 = *(wchar_t *)local_34[2];
        local_30 = *(int *)(this + 4);
      }
      else {
        iVar6 = *local_34;
        *(int **)(puVar7 + -0x10) = local_34;
        pcVar2 = *(code **)(iVar6 + 0x24);
        *(undefined4 *)(puVar7 + -0x14) = 0x23642c;
        wVar5 = (*pcVar2)();
        local_30 = *(int *)(this + 4);
      }
      goto joined_r0x002361ef;
    }
    local_40 = pwVar4;
    *(int *)(puVar7 + -8) = iVar9;
    *(wchar_t *)(puVar7 + -0xc) = param_3;
    *(wchar_t **)(puVar7 + -0x10) = pwVar10;
    local_38 = iVar9;
    *(undefined4 *)(puVar7 + -0x14) = 0x236243;
    pwVar4 = wmemchr(*(wchar_t **)(puVar7 + -0x10),*(wchar_t *)(puVar7 + -0xc),
                     *(size_t *)(puVar7 + -8));
    if ((pwVar4 == (wchar_t *)0x0) ||
       (iVar9 = (int)pwVar4 - (int)pwVar10 >> 2, iVar6 = iVar9, pwVar4 = local_40, iVar9 != 0)) {
      local_38 = iVar9;
      *(int *)(puVar7 + -8) = iVar9;
      *(wchar_t **)(puVar7 + -0xc) = pwVar10;
      *(wchar_t **)(puVar7 + -0x10) = param_1;
      *(undefined4 *)(puVar7 + -0x14) = 0x236323;
      wmemcpy(*(wchar_t **)(puVar7 + -0x10),*(wchar_t **)(puVar7 + -0xc),*(size_t *)(puVar7 + -8));
      local_30 = *(int *)(this + 4);
      pwVar4 = (wchar_t *)local_34[3];
      pwVar10 = (wchar_t *)local_34[2];
      iVar6 = local_38;
    }
    param_1 = param_1 + iVar6;
    pwVar10 = pwVar10 + iVar6;
    local_30 = local_30 + iVar9;
    local_34[2] = (int)pwVar10;
    *(int *)(this + 4) = local_30;
    if (pwVar10 < pwVar4) {
      wVar5 = *pwVar10;
      goto joined_r0x002361ef;
    }
    iVar6 = *local_34;
    puVar8 = puVar7 + -0x10;
    *(int **)(puVar7 + -0x10) = local_34;
                    /* try { // try from 00236399 to 0023639b has its CatchHandler @ 002364c1 */
    pcVar2 = *(code **)(iVar6 + 0x24);
    *(undefined4 *)(puVar7 + -0x14) = 0x23639c;
    wVar5 = (*pcVar2)();
LAB_0023639c:
    puVar7 = puVar8 + 0x10;
  } while( true );
}



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

int * FUN_00236130(int *param_1,int *param_2,int param_3,int param_4)

{
  int iVar1;
  code *pcVar2;
  uint uVar3;
  wchar_t *pwVar4;
  int iVar5;
  int iVar6;
  int *piVar7;
  undefined1 *puVar8;
  int iVar10;
  int *piVar11;
  int *piStack_5c;
  int *piStack_58;
  undefined4 uStack_54;
  undefined1 auStack_4c [12];
  int *local_40;
  undefined **local_3c;
  int local_38;
  int *local_34;
  int local_30;
  char local_1d [9];
  undefined4 uStack_14;
  int **ppiVar9;
  
  uStack_14 = 0x23613b;
  local_3c = &__DT_PLTGOT;
  param_1[1] = 0;
  uStack_54 = 1;
  piStack_58 = param_1;
  piStack_5c = (int *)local_1d;
  FUN_0020da70();
  puVar8 = auStack_4c;
  if (local_1d[0] == '\0') {
    iVar6 = param_1[1];
    puVar8 = auStack_4c;
    if (0 < param_3) {
      *param_2 = 0;
      puVar8 = auStack_4c;
    }
joined_r0x0023644b:
    if (iVar6 != 0) {
      return param_1;
    }
    uVar3 = 4;
LAB_0023618d:
    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);
    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);
    *(int *)(puVar8 + -0x10) = iVar6;
    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;
    FUN_002116a0();
    return param_1;
  }
  local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);
  if ((int *)local_34[3] <= (int *)local_34[2]) {
    ppiVar9 = &piStack_5c;
                    /* try { // try from 002363b1 to 002363b3 has its CatchHandler @ 002364bc */
    piStack_5c = local_34;
    iVar5 = (**(code **)(*local_34 + 0x24))();
    goto LAB_0023639c;
  }
  iVar5 = *(int *)local_34[2];
  do {
    local_30 = param_1[1];
joined_r0x002361ef:
    iVar6 = local_30 + 1;
    if (param_3 <= iVar6) {
      if (iVar5 == -1) {
        if (0 < param_3) {
          *param_2 = 0;
          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;
          goto LAB_0023618d;
        }
        uVar3 = 2;
      }
      else {
        if (param_4 == iVar5) {
          piVar7 = (int *)local_34[3];
          piVar11 = (int *)local_34[2];
          goto LAB_002362d0;
        }
        if (0 < param_3) {
          *param_2 = 0;
          uVar3 = 4;
          goto LAB_0023618d;
        }
        uVar3 = 4;
      }
LAB_002363e1:
      if (local_30 == 0) {
        uVar3 = uVar3 | 4;
      }
      goto LAB_0023618d;
    }
    if (iVar5 == -1) {
LAB_002363cc:
      uVar3 = 2;
      if (0 < param_3) {
        *param_2 = 0;
      }
      goto LAB_002363e1;
    }
    piVar7 = (int *)local_34[3];
    piVar11 = (int *)local_34[2];
    if (param_4 == iVar5) {
LAB_002362d0:
      param_1[1] = iVar6;
      if (piVar11 < piVar7) {
        local_34[2] = (int)(piVar11 + 1);
        if (0 < param_3) {
          *param_2 = 0;
        }
      }
      else {
        iVar6 = *local_34;
        *(int **)(puVar8 + -0x10) = local_34;
                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */
        pcVar2 = *(code **)(iVar6 + 0x28);
        *(undefined4 *)(puVar8 + -0x14) = 0x236462;
        (*pcVar2)();
        iVar6 = param_1[1];
        if (0 < param_3) {
          *param_2 = 0;
        }
      }
      goto joined_r0x0023644b;
    }
    iVar1 = (param_3 - local_30) + -1;
    iVar10 = (int)piVar7 - (int)piVar11 >> 2;
    if (iVar1 <= iVar10) {
      iVar10 = iVar1;
    }
    if (iVar10 < 2) {
      *param_2 = iVar5;
      param_2 = param_2 + 1;
      param_1[1] = iVar6;
      if (piVar11 < piVar7) {
        iVar6 = *piVar11;
        local_34[2] = (int)(piVar11 + 1);
      }
      else {
        iVar6 = *local_34;
        *(int **)(puVar8 + -0x10) = local_34;
                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */
        pcVar2 = *(code **)(iVar6 + 0x28);
        *(undefined4 *)(puVar8 + -0x14) = 0x236404;
        iVar6 = (*pcVar2)();
      }
      if (iVar6 == -1) {
        local_30 = param_1[1];
        goto LAB_002363cc;
      }
      if ((int *)local_34[2] < (int *)local_34[3]) {
        iVar5 = *(int *)local_34[2];
        local_30 = param_1[1];
      }
      else {
        iVar6 = *local_34;
        *(int **)(puVar8 + -0x10) = local_34;
        pcVar2 = *(code **)(iVar6 + 0x24);
        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;
        iVar5 = (*pcVar2)();
        local_30 = param_1[1];
      }
      goto joined_r0x002361ef;
    }
    local_40 = piVar7;
    *(int *)(puVar8 + -8) = iVar10;
    *(int *)(puVar8 + -0xc) = param_4;
    *(int **)(puVar8 + -0x10) = piVar11;
    local_38 = iVar10;
    *(undefined4 *)(puVar8 + -0x14) = 0x236243;
    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),
                     *(size_t *)(puVar8 + -8));
    if ((pwVar4 == (wchar_t *)0x0) ||
       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {
      local_38 = iVar10;
      *(int *)(puVar8 + -8) = iVar10;
      *(int **)(puVar8 + -0xc) = piVar11;
      *(int **)(puVar8 + -0x10) = param_2;
      *(undefined4 *)(puVar8 + -0x14) = 0x236323;
      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));
      local_30 = param_1[1];
      piVar7 = (int *)local_34[3];
      piVar11 = (int *)local_34[2];
      iVar6 = local_38;
    }
    param_2 = param_2 + iVar6;
    piVar11 = piVar11 + iVar6;
    local_30 = local_30 + iVar10;
    local_34[2] = (int)piVar11;
    param_1[1] = local_30;
    if (piVar11 < piVar7) {
      iVar5 = *piVar11;
      goto joined_r0x002361ef;
    }
    iVar6 = *local_34;
    ppiVar9 = (int **)(puVar8 + -0x10);
    *(int **)(puVar8 + -0x10) = local_34;
                    /* try { // try from 00236399 to 0023639b has its CatchHandler @ 002364c1 */
    pcVar2 = *(code **)(iVar6 + 0x24);
    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;
    iVar5 = (*pcVar2)();
LAB_0023639c:
    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);
  } while( true );
}


PUSH EBP
MOV EBP,ESP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x158ec5
SUB ESP,0x40
MOV EAX,dword ptr [EBP + 0x8]
MOV dword ptr [EAX + 0x4],0x0
PUSH 0x1
PUSH EAX
LEA EAX,[EBP + -0x19]
PUSH EAX
MOV dword ptr [EBP + -0x38],EBX
CALL 0x0020da70
ADD ESP,0x10
CMP byte ptr [EBP + -0x19],0x0
MOV EAX,dword ptr [EBP + 0x8]
JNZ 0x002361c0
MOV ECX,dword ptr [EAX + 0x4]
MOV EAX,dword ptr [EBP + 0x10]
TEST EAX,EAX
JLE 0x002362f8
MOV EAX,dword ptr [EBP + 0xc]
MOV dword ptr [EAX],0x0
TEST ECX,ECX
JNZ 0x00236300
MOV EAX,0x4
MOV EDX,dword ptr [EBP + 0x8]
MOV ECX,dword ptr [EBP + 0x8]
SUB ESP,0x8
MOV EBX,dword ptr [EBP + -0x38]
MOV EDX,dword ptr [EDX]
ADD ECX,dword ptr [EDX + -0xc]
OR EAX,dword ptr [ECX + 0x14]
PUSH EAX
PUSH ECX
CALL 0x002116a0
MOV EAX,dword ptr [EBP + 0x8]
ADD ESP,0x10
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EBP + 0x8]
MOV EAX,dword ptr [EAX + -0xc]
MOV EDX,dword ptr [EDX + EAX*0x1 + 0x7c]
MOV dword ptr [EBP + -0x30],EDX
MOV EAX,dword ptr [EDX + 0x8]
CMP dword ptr [EDX + 0xc],EAX
JBE 0x002363a8
MOV EAX,dword ptr [EAX]
MOV EDX,dword ptr [EBP + 0x8]
MOV EDX,dword ptr [EDX + 0x4]
MOV dword ptr [EBP + -0x2c],EDX
MOV EBX,dword ptr [EBP + -0x2c]
LEA ECX,[EBX + 0x1]
CMP ECX,dword ptr [EBP + 0x10]
JGE 0x00236295
CMP EAX,-0x1
JZ 0x002363cc
MOV EDI,dword ptr [EBP + -0x30]
MOV EDX,dword ptr [EDI + 0xc]
MOV EDI,dword ptr [EDI + 0x8]
CMP dword ptr [EBP + 0x14],EAX
JZ 0x002362d0
MOV ESI,dword ptr [EBP + 0x10]
SUB ESI,EBX
LEA EBX,[ESI + -0x1]
MOV ESI,EDX
SUB ESI,EDI
SAR ESI,0x2
CMP EBX,ESI
CMOVLE ESI,EBX
CMP ESI,0x1
JLE 0x00236340
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x38]
MOV dword ptr [EBP + -0x3c],EDX
PUSH ESI
PUSH dword ptr [EBP + 0x14]
PUSH EDI
MOV dword ptr [EBP + -0x34],ESI
CALL 0x000290d0
ADD ESP,0x10
MOV ECX,ESI
TEST EAX,EAX
JZ 0x00236310
SUB EAX,EDI
MOV EDX,dword ptr [EBP + -0x3c]
SAR EAX,0x2
MOV ESI,EAX
MOV ECX,EAX
JNZ 0x00236310
SHL ECX,0x2
MOV EAX,dword ptr [EBP + -0x30]
ADD dword ptr [EBP + 0xc],ECX
ADD EDI,ECX
ADD dword ptr [EBP + -0x2c],ESI
MOV ECX,dword ptr [EBP + 0x8]
MOV dword ptr [EAX + 0x8],EDI
MOV EAX,dword ptr [EBP + -0x2c]
MOV dword ptr [ECX + 0x4],EAX
CMP EDI,EDX
JNC 0x00236390
MOV EBX,dword ptr [EBP + -0x2c]
MOV EAX,dword ptr [EDI]
LEA ECX,[EBX + 0x1]
CMP ECX,dword ptr [EBP + 0x10]
JL 0x002361f5
CMP EAX,-0x1
JZ 0x0023648c
CMP dword ptr [EBP + 0x14],EAX
JZ 0x002362c1
MOV EDI,dword ptr [EBP + 0x10]
TEST EDI,EDI
JLE 0x00236410
MOV EAX,dword ptr [EBP + 0xc]
MOV dword ptr [EAX],0x0
MOV EAX,0x4
JMP 0x0023618d
MOV EAX,dword ptr [EBP + -0x30]
MOV EDX,dword ptr [EAX + 0xc]
MOV EDI,dword ptr [EAX + 0x8]
LEA ESI,[ESI]
MOV EAX,dword ptr [EBP + 0x8]
MOV dword ptr [EAX + 0x4],ECX
CMP EDX,EDI
JBE 0x00236456
MOV EAX,dword ptr [EBP + -0x30]
MOV ESI,dword ptr [EBP + 0x10]
ADD EDI,0x4
MOV dword ptr [EAX + 0x8],EDI
TEST ESI,ESI
JG 0x00236440
LEA ESI,[ESI]
TEST ECX,ECX
JZ 0x00236188
MOV EAX,dword ptr [EBP + 0x8]
LEA ESP,[EBP + -0xc]
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0x4
MOV EBX,dword ptr [EBP + -0x38]
MOV dword ptr [EBP + -0x34],ECX
PUSH ECX
PUSH EDI
PUSH dword ptr [EBP + 0xc]
CALL 0x00029370
MOV EAX,dword ptr [EBP + 0x8]
ADD ESP,0x10
MOV ECX,dword ptr [EBP + -0x34]
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [EBP + -0x2c],EAX
MOV EAX,dword ptr [EBP + -0x30]
MOV EDX,dword ptr [EAX + 0xc]
MOV EDI,dword ptr [EAX + 0x8]
JMP 0x00236262
MOV EBX,dword ptr [EBP + 0xc]
MOV dword ptr [EBX],EAX
MOV EAX,dword ptr [EBP + 0x8]
LEA ESI,[EBX + 0x4]
MOV dword ptr [EAX + 0x4],ECX
CMP EDX,EDI
JBE 0x002363f8
MOV EDX,dword ptr [EBP + -0x30]
MOV EAX,dword ptr [EDI]
ADD EDI,0x4
MOV dword ptr [EDX + 0x8],EDI
CMP EAX,-0x1
JZ 0x002363c0
MOV EDX,dword ptr [EBP + -0x30]
MOV EAX,dword ptr [EDX + 0x8]
CMP EAX,dword ptr [EDX + 0xc]
JNC 0x00236420
MOV EDX,dword ptr [EBP + 0x8]
MOV EAX,dword ptr [EAX]
MOV dword ptr [EBP + 0xc],ESI
MOV EDX,dword ptr [EDX + 0x4]
MOV dword ptr [EBP + -0x2c],EDX
JMP 0x002361e6
MOV EDX,dword ptr [EBP + -0x30]
SUB ESP,0xc
MOV EAX,dword ptr [EDX]
PUSH EDX
CALL dword ptr [EAX + 0x24]
ADD ESP,0x10
JMP 0x002361dd
MOV EDX,dword ptr [EBP + -0x30]
SUB ESP,0xc
MOV EAX,dword ptr [EDX]
PUSH EDX
CALL dword ptr [EAX + 0x24]
JMP 0x0023639c
MOV EAX,dword ptr [EBP + 0x8]
MOV dword ptr [EBP + 0xc],ESI
MOV EAX,dword ptr [EAX + 0x4]
MOV dword ptr [EBP + -0x2c],EAX
MOV ECX,dword ptr [EBP + 0x10]
MOV EAX,0x2
TEST ECX,ECX
JLE 0x002363e1
MOV ECX,dword ptr [EBP + 0xc]
MOV dword ptr [ECX],0x0
MOV EDX,dword ptr [EBP + -0x2c]
TEST EDX,EDX
JNZ 0x0023618d
OR EAX,0x4
JMP 0x0023618d
MOV EDX,dword ptr [EBP + -0x30]
SUB ESP,0xc
MOV EAX,dword ptr [EDX]
PUSH EDX
CALL dword ptr [EAX + 0x28]
ADD ESP,0x10
JMP 0x00236361
MOV EAX,0x4
JMP 0x002363e1
MOV EDX,dword ptr [EBP + -0x30]
SUB ESP,0xc
MOV EAX,dword ptr [EDX]
PUSH EDX
CALL dword ptr [EAX + 0x24]
MOV EDX,dword ptr [EBP + 0x8]
ADD ESP,0x10
MOV dword ptr [EBP + 0xc],ESI
MOV ECX,dword ptr [EDX + 0x4]
MOV dword ptr [EBP + -0x2c],ECX
JMP 0x002361e6
MOV EAX,dword ptr [EBP + 0xc]
MOV dword ptr [EAX],0x0
TEST ECX,ECX
JZ 0x00236188
JMP 0x00236300
MOV ECX,dword ptr [EBP + -0x30]
SUB ESP,0xc
MOV EAX,dword ptr [ECX]
PUSH ECX
CALL dword ptr [EAX + 0x28]
MOV EAX,dword ptr [EBP + 0x8]
MOV EBX,dword ptr [EBP + 0x10]
ADD ESP,0x10
MOV ECX,dword ptr [EAX + 0x4]
TEST EBX,EBX
JLE 0x002362f8
MOV EAX,dword ptr [EBP + 0xc]
MOV dword ptr [EAX],0x0
TEST ECX,ECX
JZ 0x00236188
JMP 0x00236300
MOV EAX,dword ptr [EBP + 0x10]
TEST EAX,EAX
JLE 0x002364ad
MOV EAX,dword ptr [EBP + 0xc]
CMP dword ptr [EBP + -0x2c],0x1
MOV dword ptr [EAX],0x0
SBB EAX,EAX
AND EAX,0x4
ADD EAX,0x2
JMP 0x0023618d
MOV EAX,0x2
JMP 0x002363e1
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_00236130(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  code *pcVar2;\n  uint uVar3;\n  wchar_t *pwVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined1 *puVar8;\n  int iVar10;\n  int *piVar11;\n  int *piStack_5c;\n  int *piStack_58;\n  undefined4 uStack_54;\n  undefined1 auStack_4c [12];\n  int *local_40;\n  undefined **local_3c;\n  int local_38;\n  int *local_34;\n  int local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  int **ppiVar9;\n  \n  uStack_14 = 0x23613b;\n  local_3c = &__DT_PLTGOT;\n  param_1[1] = 0;\n  uStack_54 = 1;\n  piStack_58 = param_1;\n  piStack_5c = (int *)local_1d;\n  FUN_0020da70();\n  puVar8 = auStack_4c;\n  if (local_1d[0] == '\0') {\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }\n  local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if ((int *)local_34[3] <= (int *)local_34[2]) {\n    ppiVar9 = &piStack_5c;\n                    /* try { // try from 002363b1 to 002363b3 has its CatchHandler @ 002364bc */\n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }\n  iVar5 = *(int *)local_34[2];\n  do {\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236399 to 0023639b has its CatchHandler @ 002364c1 */\n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  } while( true );\n}\n\n" comment (function_definition "int * FUN_00236130(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  code *pcVar2;\n  uint uVar3;\n  wchar_t *pwVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined1 *puVar8;\n  int iVar10;\n  int *piVar11;\n  int *piStack_5c;\n  int *piStack_58;\n  undefined4 uStack_54;\n  undefined1 auStack_4c [12];\n  int *local_40;\n  undefined **local_3c;\n  int local_38;\n  int *local_34;\n  int local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  int **ppiVar9;\n  \n  uStack_14 = 0x23613b;\n  local_3c = &__DT_PLTGOT;\n  param_1[1] = 0;\n  uStack_54 = 1;\n  piStack_58 = param_1;\n  piStack_5c = (int *)local_1d;\n  FUN_0020da70();\n  puVar8 = auStack_4c;\n  if (local_1d[0] == '\0') {\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }\n  local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if ((int *)local_34[3] <= (int *)local_34[2]) {\n    ppiVar9 = &piStack_5c;\n                    /* try { // try from 002363b1 to 002363b3 has its CatchHandler @ 002364bc */\n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }\n  iVar5 = *(int *)local_34[2];\n  do {\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236399 to 0023639b has its CatchHandler @ 002364c1 */\n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  } while( true );\n}" primitive_type (pointer_declarator "* FUN_00236130(int *param_1,int *param_2,int param_3,int param_4)" * (function_declarator "FUN_00236130(int *param_1,int *param_2,int param_3,int param_4)" identifier (parameter_list "(int *param_1,int *param_2,int param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  uint uVar3;\n  wchar_t *pwVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined1 *puVar8;\n  int iVar10;\n  int *piVar11;\n  int *piStack_5c;\n  int *piStack_58;\n  undefined4 uStack_54;\n  undefined1 auStack_4c [12];\n  int *local_40;\n  undefined **local_3c;\n  int local_38;\n  int *local_34;\n  int local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  int **ppiVar9;\n  \n  uStack_14 = 0x23613b;\n  local_3c = &__DT_PLTGOT;\n  param_1[1] = 0;\n  uStack_54 = 1;\n  piStack_58 = param_1;\n  piStack_5c = (int *)local_1d;\n  FUN_0020da70();\n  puVar8 = auStack_4c;\n  if (local_1d[0] == '\0') {\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }\n  local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if ((int *)local_34[3] <= (int *)local_34[2]) {\n    ppiVar9 = &piStack_5c;\n                    /* try { // try from 002363b1 to 002363b3 has its CatchHandler @ 002364bc */\n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }\n  iVar5 = *(int *)local_34[2];\n  do {\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236399 to 0023639b has its CatchHandler @ 002364c1 */\n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "wchar_t *pwVar4;" type_identifier (pointer_declarator "*pwVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int *piStack_5c;" primitive_type (pointer_declarator "*piStack_5c" * identifier) ;) (declaration "int *piStack_58;" primitive_type (pointer_declarator "*piStack_58" * identifier) ;) (declaration "undefined4 uStack_54;" type_identifier identifier ;) (declaration "undefined1 auStack_4c [12];" type_identifier (array_declarator "auStack_4c [12]" identifier [ number_literal ]) ;) (declaration "int *local_40;" primitive_type (pointer_declarator "*local_40" * identifier) ;) (declaration "undefined **local_3c;" type_identifier (pointer_declarator "**local_3c" * (pointer_declarator "*local_3c" * identifier)) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "char local_1d [9];" primitive_type (array_declarator "local_1d [9]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (declaration "int **ppiVar9;" primitive_type (pointer_declarator "**ppiVar9" * (pointer_declarator "*ppiVar9" * identifier)) ;) (expression_statement "uStack_14 = 0x23613b;" (assignment_expression "uStack_14 = 0x23613b" identifier = number_literal) ;) (expression_statement "local_3c = &__DT_PLTGOT;" (assignment_expression "local_3c = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uStack_54 = 1;" (assignment_expression "uStack_54 = 1" identifier = number_literal) ;) (expression_statement "piStack_58 = param_1;" (assignment_expression "piStack_58 = param_1" identifier = identifier) ;) (expression_statement "piStack_5c = (int *)local_1d;" (assignment_expression "piStack_5c = (int *)local_1d" identifier = (cast_expression "(int *)local_1d" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "FUN_0020da70();" (call_expression "FUN_0020da70()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar8 = auStack_4c;" (assignment_expression "puVar8 = auStack_4c" identifier = identifier) ;) (if_statement "if (local_1d[0] == '\0') {\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }" if (parenthesized_expression "(local_1d[0] == '\0')" ( (binary_expression "local_1d[0] == '\0'" (subscript_expression "local_1d[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }" { (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar8 = auStack_4c;" (assignment_expression "puVar8 = auStack_4c" identifier = identifier) ;) (if_statement "if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "puVar8 = auStack_4c;" (assignment_expression "puVar8 = auStack_4c" identifier = identifier) ;) })) (labeled_statement "joined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }" statement_identifier : (if_statement "if (iVar6 != 0) {\n      return param_1;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) }))) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) (labeled_statement "LAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);" statement_identifier : (expression_statement "iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);" (assignment_expression "iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc)" identifier = (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))))) ;)) (expression_statement "*(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);" (assignment_expression "*(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14)" (pointer_expression "*(uint *)(puVar8 + -0xc)" * (cast_expression "(uint *)(puVar8 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = (binary_expression "uVar3 | *(uint *)(iVar6 + 0x14)" identifier | (pointer_expression "*(uint *)(iVar6 + 0x14)" * (cast_expression "(uint *)(iVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) )))))) ;) (expression_statement "*(int *)(puVar8 + -0x10) = iVar6;" (assignment_expression "*(int *)(puVar8 + -0x10) = iVar6" (pointer_expression "*(int *)(puVar8 + -0x10)" * (cast_expression "(int *)(puVar8 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x2361a8;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x2361a8" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_002116a0();" (call_expression "FUN_002116a0()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);" (assignment_expression "local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((int *)local_34[3] <= (int *)local_34[2]) {\n    ppiVar9 = &piStack_5c;\n                    /* try { // try from 002363b1 to 002363b3 has its CatchHandler @ 002364bc */\n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }" if (parenthesized_expression "((int *)local_34[3] <= (int *)local_34[2])" ( (binary_expression "(int *)local_34[3] <= (int *)local_34[2]" (cast_expression "(int *)local_34[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ])) <= (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    ppiVar9 = &piStack_5c;\n                    /* try { // try from 002363b1 to 002363b3 has its CatchHandler @ 002364bc */\n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }" { (expression_statement "ppiVar9 = &piStack_5c;" (assignment_expression "ppiVar9 = &piStack_5c" identifier = (pointer_expression "&piStack_5c" & identifier)) ;) comment (expression_statement "piStack_5c = local_34;" (assignment_expression "piStack_5c = local_34" identifier = identifier) ;) (expression_statement "iVar5 = (**(code **)(*local_34 + 0x24))();" (assignment_expression "iVar5 = (**(code **)(*local_34 + 0x24))()" identifier = (call_expression "(**(code **)(*local_34 + 0x24))()" (parenthesized_expression "(**(code **)(*local_34 + 0x24))" ( (pointer_expression "**(code **)(*local_34 + 0x24)" * (pointer_expression "*(code **)(*local_34 + 0x24)" * (cast_expression "(code **)(*local_34 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_34 + 0x24)" ( (binary_expression "*local_34 + 0x24" (pointer_expression "*local_34" * identifier) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (goto_statement "goto LAB_0023639c;" goto statement_identifier ;) })) (expression_statement "iVar5 = *(int *)local_34[2];" (assignment_expression "iVar5 = *(int *)local_34[2]" identifier = (pointer_expression "*(int *)local_34[2]" * (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ])))) ;) (do_statement "do {\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236399 to 0023639b has its CatchHandler @ 002364c1 */\n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  } while( true );" do (compound_statement "{\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236399 to 0023639b has its CatchHandler @ 002364c1 */\n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  }" { (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (labeled_statement "joined_r0x002361ef:\n    iVar6 = local_30 + 1;" statement_identifier : (expression_statement "iVar6 = local_30 + 1;" (assignment_expression "iVar6 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;)) (if_statement "if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }" if (parenthesized_expression "(param_3 <= iVar6)" ( (binary_expression "param_3 <= iVar6" identifier <= identifier) )) (compound_statement "{\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }" { (if_statement "if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (compound_statement "{\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }" { (if_statement "if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar3 = (-(uint)(local_30 == 0) & 4) + 2;" (assignment_expression "uVar3 = (-(uint)(local_30 == 0) & 4) + 2" identifier = (binary_expression "(-(uint)(local_30 == 0) & 4) + 2" (parenthesized_expression "(-(uint)(local_30 == 0) & 4)" ( (binary_expression "-(uint)(local_30 == 0) & 4" (unary_expression "-(uint)(local_30 == 0)" - (call_expression "(uint)(local_30 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )))) & number_literal) )) + number_literal)) ;) (goto_statement "goto LAB_0023618d;" goto statement_identifier ;) })) (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) }) (else_clause "else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }" else (compound_statement "{\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }" { (if_statement "if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }" if (parenthesized_expression "(param_4 == iVar5)" ( (binary_expression "param_4 == iVar5" identifier == identifier) )) (compound_statement "{\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }" { (expression_statement "piVar7 = (int *)local_34[3];" (assignment_expression "piVar7 = (int *)local_34[3]" identifier = (cast_expression "(int *)local_34[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ]))) ;) (expression_statement "piVar11 = (int *)local_34[2];" (assignment_expression "piVar11 = (int *)local_34[2]" identifier = (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_002362d0;" goto statement_identifier ;) })) (if_statement "if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) (goto_statement "goto LAB_0023618d;" goto statement_identifier ;) })) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) }))) (labeled_statement "LAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }" statement_identifier : (if_statement "if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar3 = uVar3 | 4;\n      }" { (expression_statement "uVar3 = uVar3 | 4;" (assignment_expression "uVar3 = uVar3 | 4" identifier = (binary_expression "uVar3 | 4" identifier | number_literal)) ;) }))) (goto_statement "goto LAB_0023618d;" goto statement_identifier ;) })) (if_statement "if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (compound_statement "{\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }" { (labeled_statement "LAB_002363cc:\n      uVar3 = 2;" statement_identifier : (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;)) (if_statement "if (0 < param_3) {\n        *param_2 = 0;\n      }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n        *param_2 = 0;\n      }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) })) (goto_statement "goto LAB_002363e1;" goto statement_identifier ;) })) (expression_statement "piVar7 = (int *)local_34[3];" (assignment_expression "piVar7 = (int *)local_34[3]" identifier = (cast_expression "(int *)local_34[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ]))) ;) (expression_statement "piVar11 = (int *)local_34[2];" (assignment_expression "piVar11 = (int *)local_34[2]" identifier = (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) ;) (if_statement "if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }" if (parenthesized_expression "(param_4 == iVar5)" ( (binary_expression "param_4 == iVar5" identifier == identifier) )) (compound_statement "{\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }" { (labeled_statement "LAB_002362d0:\n      param_1[1] = iVar6;" statement_identifier : (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;)) (if_statement "if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }" if (parenthesized_expression "(piVar11 < piVar7)" ( (binary_expression "piVar11 < piVar7" identifier < identifier) )) (compound_statement "{\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }" { (expression_statement "local_34[2] = (int)(piVar11 + 1);" (assignment_expression "local_34[2] = (int)(piVar11 + 1)" (subscript_expression "local_34[2]" identifier [ number_literal ]) = (cast_expression "(int)(piVar11 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar11 + 1)" ( (binary_expression "piVar11 + 1" identifier + number_literal) )))) ;) (if_statement "if (0 < param_3) {\n          *param_2 = 0;\n        }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n          *param_2 = 0;\n        }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) })) }) (else_clause "else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }" else (compound_statement "{\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }" { (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" identifier = (pointer_expression "*local_34" * identifier)) ;) (expression_statement "*(int **)(puVar8 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar8 + -0x10) = local_34" (pointer_expression "*(int **)(puVar8 + -0x10)" * (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) comment (expression_statement "pcVar2 = *(code **)(iVar6 + 0x28);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x28)" identifier = (pointer_expression "*(code **)(iVar6 + 0x28)" * (cast_expression "(code **)(iVar6 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x28)" ( (binary_expression "iVar6 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x236462;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x236462" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*pcVar2)();" (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (0 < param_3) {\n          *param_2 = 0;\n        }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n          *param_2 = 0;\n        }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) })) }))) (goto_statement "goto joined_r0x0023644b;" goto statement_identifier ;) })) (expression_statement "iVar1 = (param_3 - local_30) + -1;" (assignment_expression "iVar1 = (param_3 - local_30) + -1" identifier = (binary_expression "(param_3 - local_30) + -1" (parenthesized_expression "(param_3 - local_30)" ( (binary_expression "param_3 - local_30" identifier - identifier) )) + number_literal)) ;) (expression_statement "iVar10 = (int)piVar7 - (int)piVar11 >> 2;" (assignment_expression "iVar10 = (int)piVar7 - (int)piVar11 >> 2" identifier = (binary_expression "(int)piVar7 - (int)piVar11 >> 2" (binary_expression "(int)piVar7 - (int)piVar11" (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }" if (parenthesized_expression "(iVar1 <= iVar10)" ( (binary_expression "iVar1 <= iVar10" identifier <= identifier) )) (compound_statement "{\n      iVar10 = iVar1;\n    }" { (expression_statement "iVar10 = iVar1;" (assignment_expression "iVar10 = iVar1" identifier = identifier) ;) })) (if_statement "if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }" if (parenthesized_expression "(iVar10 < 2)" ( (binary_expression "iVar10 < 2" identifier < number_literal) )) (compound_statement "{\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }" { (expression_statement "*param_2 = iVar5;" (assignment_expression "*param_2 = iVar5" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }" if (parenthesized_expression "(piVar11 < piVar7)" ( (binary_expression "piVar11 < piVar7" identifier < identifier) )) (compound_statement "{\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }" { (expression_statement "iVar6 = *piVar11;" (assignment_expression "iVar6 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) (expression_statement "local_34[2] = (int)(piVar11 + 1);" (assignment_expression "local_34[2] = (int)(piVar11 + 1)" (subscript_expression "local_34[2]" identifier [ number_literal ]) = (cast_expression "(int)(piVar11 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar11 + 1)" ( (binary_expression "piVar11 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }" else (compound_statement "{\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }" { (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" identifier = (pointer_expression "*local_34" * identifier)) ;) (expression_statement "*(int **)(puVar8 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar8 + -0x10) = local_34" (pointer_expression "*(int **)(puVar8 + -0x10)" * (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) comment (expression_statement "pcVar2 = *(code **)(iVar6 + 0x28);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x28)" identifier = (pointer_expression "*(code **)(iVar6 + 0x28)" * (cast_expression "(code **)(iVar6 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x28)" ( (binary_expression "iVar6 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x236404;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x236404" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = (*pcVar2)();" (assignment_expression "iVar6 = (*pcVar2)()" identifier = (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( )))) ;) }))) (if_statement "if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }" { (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_002363cc;" goto statement_identifier ;) })) (if_statement "if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }" if (parenthesized_expression "((int *)local_34[2] < (int *)local_34[3])" ( (binary_expression "(int *)local_34[2] < (int *)local_34[3]" (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ])) < (cast_expression "(int *)local_34[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ]))) )) (compound_statement "{\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }" { (expression_statement "iVar5 = *(int *)local_34[2];" (assignment_expression "iVar5 = *(int *)local_34[2]" identifier = (pointer_expression "*(int *)local_34[2]" * (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ])))) ;) (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }" else (compound_statement "{\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }" { (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" identifier = (pointer_expression "*local_34" * identifier)) ;) (expression_statement "*(int **)(puVar8 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar8 + -0x10) = local_34" (pointer_expression "*(int **)(puVar8 + -0x10)" * (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar2 = *(code **)(iVar6 + 0x24);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x24)" identifier = (pointer_expression "*(code **)(iVar6 + 0x24)" * (cast_expression "(code **)(iVar6 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x24)" ( (binary_expression "iVar6 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x23642c;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x23642c" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = (*pcVar2)();" (assignment_expression "iVar5 = (*pcVar2)()" identifier = (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }))) (goto_statement "goto joined_r0x002361ef;" goto statement_identifier ;) })) (expression_statement "local_40 = piVar7;" (assignment_expression "local_40 = piVar7" identifier = identifier) ;) (expression_statement "*(int *)(puVar8 + -8) = iVar10;" (assignment_expression "*(int *)(puVar8 + -8) = iVar10" (pointer_expression "*(int *)(puVar8 + -8)" * (cast_expression "(int *)(puVar8 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0xc) = param_4;" (assignment_expression "*(int *)(puVar8 + -0xc) = param_4" (pointer_expression "*(int *)(puVar8 + -0xc)" * (cast_expression "(int *)(puVar8 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar8 + -0x10) = piVar11;" (assignment_expression "*(int **)(puVar8 + -0x10) = piVar11" (pointer_expression "*(int **)(puVar8 + -0x10)" * (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_38 = iVar10;" (assignment_expression "local_38 = iVar10" identifier = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x236243;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x236243" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));" (assignment_expression "pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8))" identifier = (call_expression "wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8))" identifier (argument_list "(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8))" ( (pointer_expression "*(wchar_t **)(puVar8 + -0x10)" * (cast_expression "(wchar_t **)(puVar8 + -0x10)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) , (pointer_expression "*(wchar_t *)(puVar8 + -0xc)" * (cast_expression "(wchar_t *)(puVar8 + -0xc)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(puVar8 + -8)" * (cast_expression "(size_t *)(puVar8 + -8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) )))) ;) (if_statement "if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }" if (parenthesized_expression "((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0))" ( (binary_expression "(pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)" (parenthesized_expression "(pwVar4 == (wchar_t *)0x0)" ( (binary_expression "pwVar4 == (wchar_t *)0x0" identifier == (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)" ( (comma_expression "iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0" (assignment_expression "iVar10 = (int)pwVar4 - (int)piVar11 >> 2" identifier = (binary_expression "(int)pwVar4 - (int)piVar11 >> 2" (binary_expression "(int)pwVar4 - (int)piVar11" (cast_expression "(int)pwVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) , (comma_expression "iVar6 = iVar10, piVar7 = local_40, iVar10 != 0" (assignment_expression "iVar6 = iVar10" identifier = identifier) , (comma_expression "piVar7 = local_40, iVar10 != 0" (assignment_expression "piVar7 = local_40" identifier = identifier) , (binary_expression "iVar10 != 0" identifier != number_literal)))) ))) )) (compound_statement "{\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }" { (expression_statement "local_38 = iVar10;" (assignment_expression "local_38 = iVar10" identifier = identifier) ;) (expression_statement "*(int *)(puVar8 + -8) = iVar10;" (assignment_expression "*(int *)(puVar8 + -8) = iVar10" (pointer_expression "*(int *)(puVar8 + -8)" * (cast_expression "(int *)(puVar8 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar8 + -0xc) = piVar11;" (assignment_expression "*(int **)(puVar8 + -0xc) = piVar11" (pointer_expression "*(int **)(puVar8 + -0xc)" * (cast_expression "(int **)(puVar8 + -0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar8 + -0x10) = param_2;" (assignment_expression "*(int **)(puVar8 + -0x10) = param_2" (pointer_expression "*(int **)(puVar8 + -0x10)" * (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x236323;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x236323" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));" (call_expression "wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8))" identifier (argument_list "(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8))" ( (pointer_expression "*(wchar_t **)(puVar8 + -0x10)" * (cast_expression "(wchar_t **)(puVar8 + -0x10)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) , (pointer_expression "*(wchar_t **)(puVar8 + -0xc)" * (cast_expression "(wchar_t **)(puVar8 + -0xc)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(puVar8 + -8)" * (cast_expression "(size_t *)(puVar8 + -8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) ))) ;) (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "piVar7 = (int *)local_34[3];" (assignment_expression "piVar7 = (int *)local_34[3]" identifier = (cast_expression "(int *)local_34[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ]))) ;) (expression_statement "piVar11 = (int *)local_34[2];" (assignment_expression "piVar11 = (int *)local_34[2]" identifier = (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = local_38;" (assignment_expression "iVar6 = local_38" identifier = identifier) ;) })) (expression_statement "param_2 = param_2 + iVar6;" (assignment_expression "param_2 = param_2 + iVar6" identifier = (binary_expression "param_2 + iVar6" identifier + identifier)) ;) (expression_statement "piVar11 = piVar11 + iVar6;" (assignment_expression "piVar11 = piVar11 + iVar6" identifier = (binary_expression "piVar11 + iVar6" identifier + identifier)) ;) (expression_statement "local_30 = local_30 + iVar10;" (assignment_expression "local_30 = local_30 + iVar10" identifier = (binary_expression "local_30 + iVar10" identifier + identifier)) ;) (expression_statement "local_34[2] = (int)piVar11;" (assignment_expression "local_34[2] = (int)piVar11" (subscript_expression "local_34[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = local_30;" (assignment_expression "param_1[1] = local_30" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }" if (parenthesized_expression "(piVar11 < piVar7)" ( (binary_expression "piVar11 < piVar7" identifier < identifier) )) (compound_statement "{\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }" { (expression_statement "iVar5 = *piVar11;" (assignment_expression "iVar5 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) (goto_statement "goto joined_r0x002361ef;" goto statement_identifier ;) })) (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" identifier = (pointer_expression "*local_34" * identifier)) ;) (expression_statement "ppiVar9 = (int **)(puVar8 + -0x10);" (assignment_expression "ppiVar9 = (int **)(puVar8 + -0x10)" identifier = (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) ;) (expression_statement "*(int **)(puVar8 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar8 + -0x10) = local_34" (pointer_expression "*(int **)(puVar8 + -0x10)" * (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) comment (expression_statement "pcVar2 = *(code **)(iVar6 + 0x24);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x24)" identifier = (pointer_expression "*(code **)(iVar6 + 0x24)" * (cast_expression "(code **)(iVar6 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x24)" ( (binary_expression "iVar6 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x23639c;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x23639c" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = (*pcVar2)();" (assignment_expression "iVar5 = (*pcVar2)()" identifier = (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( )))) ;) (labeled_statement "LAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);" statement_identifier : (expression_statement "puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);" (assignment_expression "puVar8 = (undefined1 *)((int)ppiVar9 + 0x10)" identifier = (cast_expression "(undefined1 *)((int)ppiVar9 + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppiVar9 + 0x10)" ( (binary_expression "(int)ppiVar9 + 0x10" (cast_expression "(int)ppiVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* std::wistream::getline(wchar_t*, int, wchar_t) */\n\nwistream * __thiscall\nstd::wistream::getline(wistream *this,wchar_t *param_1,int param_2,wchar_t param_3)\n\n{\n  int iVar1;\n  code *pcVar2;\n  uint uVar3;\n  wchar_t *pwVar4;\n  wchar_t wVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  int iVar9;\n  wchar_t *pwVar10;\n  undefined1 auStack_4c [12];\n  wchar_t *local_40;\n  undefined **local_3c;\n  int local_38;\n  int *local_34;\n  int local_30;\n  sentry local_1d [9];\n  undefined4 uStack_14;\n  undefined1 *puVar8;\n  \n  uStack_14 = 0x23613b;\n  local_3c = &_GLOBAL_OFFSET_TABLE_;\n  *(undefined4 *)(this + 4) = 0;\n  sentry::sentry(local_1d,this,true);\n  puVar7 = auStack_4c;\n  if (local_1d[0] == (sentry)0x0) {\n    iVar6 = *(int *)(this + 4);\n    puVar7 = auStack_4c;\n    if (0 < param_2) {\n      *param_1 = L'\0';\n      puVar7 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return this;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = *(int *)(*(int *)this + -0xc);\n    *(uint *)(puVar7 + -0xc) = uVar3 | *(uint *)(this + iVar6 + 0x14);\n    *(wistream **)(puVar7 + -0x10) = this + iVar6;\n    *(undefined4 *)(puVar7 + -0x14) = 0x2361a8;\n    wios::clear(*(wios **)(puVar7 + -0x10),*(_Ios_Iostate *)(puVar7 + -0xc));\n    return this;\n  }\n  local_34 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x7c);\n  if ((wchar_t *)local_34[3] <= (wchar_t *)local_34[2]) {\n    puVar8 = &stack0xffffffa4;\n                    /* try { // try from 002363b1 to 002363b3 has its CatchHandler @ 002364bc */\n    wVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }\n  wVar5 = *(wchar_t *)local_34[2];\n  do {\n    local_30 = *(int *)(this + 4);\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_2 <= iVar6) {\n      if (wVar5 == L'\xffffffff') {\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_3 == wVar5) {\n          pwVar4 = (wchar_t *)local_34[3];\n          pwVar10 = (wchar_t *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (wVar5 == L'\xffffffff') {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_2) {\n        *param_1 = L'\0';\n      }\n      goto LAB_002363e1;\n    }\n    pwVar4 = (wchar_t *)local_34[3];\n    pwVar10 = (wchar_t *)local_34[2];\n    if (param_3 == wVar5) {\nLAB_002362d0:\n      *(int *)(this + 4) = iVar6;\n      if (pwVar10 < pwVar4) {\n        local_34[2] = (int)(pwVar10 + 1);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = *(int *)(this + 4);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_2 - local_30) + -1;\n    iVar9 = (int)pwVar4 - (int)pwVar10 >> 2;\n    if (iVar1 <= iVar9) {\n      iVar9 = iVar1;\n    }\n    if (iVar9 < 2) {\n      *param_1 = wVar5;\n      param_1 = param_1 + 1;\n      *(int *)(this + 4) = iVar6;\n      if (pwVar10 < pwVar4) {\n        wVar5 = *pwVar10;\n        local_34[2] = (int)(pwVar10 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236404;\n        wVar5 = (*pcVar2)();\n      }\n      if (wVar5 == L'\xffffffff') {\n        local_30 = *(int *)(this + 4);\n        goto LAB_002363cc;\n      }\n      if ((wchar_t *)local_34[2] < (wchar_t *)local_34[3]) {\n        wVar5 = *(wchar_t *)local_34[2];\n        local_30 = *(int *)(this + 4);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar7 + -0x14) = 0x23642c;\n        wVar5 = (*pcVar2)();\n        local_30 = *(int *)(this + 4);\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = pwVar4;\n    *(int *)(puVar7 + -8) = iVar9;\n    *(wchar_t *)(puVar7 + -0xc) = param_3;\n    *(wchar_t **)(puVar7 + -0x10) = pwVar10;\n    local_38 = iVar9;\n    *(undefined4 *)(puVar7 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar7 + -0x10),*(wchar_t *)(puVar7 + -0xc),\n                     *(size_t *)(puVar7 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar9 = (int)pwVar4 - (int)pwVar10 >> 2, iVar6 = iVar9, pwVar4 = local_40, iVar9 != 0)) {\n      local_38 = iVar9;\n      *(int *)(puVar7 + -8) = iVar9;\n      *(wchar_t **)(puVar7 + -0xc) = pwVar10;\n      *(wchar_t **)(puVar7 + -0x10) = param_1;\n      *(undefined4 *)(puVar7 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar7 + -0x10),*(wchar_t **)(puVar7 + -0xc),*(size_t *)(puVar7 + -8));\n      local_30 = *(int *)(this + 4);\n      pwVar4 = (wchar_t *)local_34[3];\n      pwVar10 = (wchar_t *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_1 = param_1 + iVar6;\n    pwVar10 = pwVar10 + iVar6;\n    local_30 = local_30 + iVar9;\n    local_34[2] = (int)pwVar10;\n    *(int *)(this + 4) = local_30;\n    if (pwVar10 < pwVar4) {\n      wVar5 = *pwVar10;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    puVar8 = puVar7 + -0x10;\n    *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 00236399 to 0023639b has its CatchHandler @ 002364c1 */\n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar7 + -0x14) = 0x23639c;\n    wVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar7 = puVar8 + 0x10;\n  } while( true );\n}\n\n" comment comment (ERROR "wistream * __thiscall\nstd::wistream::getline(wistream *this,wchar_t *param_1,int param_2,wchar_t param_3)" (binary_expression "wistream * __thiscall\nstd::wistream::getline(wistream *this" (binary_expression "wistream * __thiscall" identifier * identifier) (ERROR "std::wistream::getline(wistream" identifier : : identifier : : identifier ( identifier) * identifier) , type_identifier (pointer_declarator "*param_1" * identifier) , (ERROR "int" identifier) identifier , identifier identifier )) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  uint uVar3;\n  wchar_t *pwVar4;\n  wchar_t wVar5;\n  int iVar6;\n  undefined1 *puVar7;\n  int iVar9;\n  wchar_t *pwVar10;\n  undefined1 auStack_4c [12];\n  wchar_t *local_40;\n  undefined **local_3c;\n  int local_38;\n  int *local_34;\n  int local_30;\n  sentry local_1d [9];\n  undefined4 uStack_14;\n  undefined1 *puVar8;\n  \n  uStack_14 = 0x23613b;\n  local_3c = &_GLOBAL_OFFSET_TABLE_;\n  *(undefined4 *)(this + 4) = 0;\n  sentry::sentry(local_1d,this,true);\n  puVar7 = auStack_4c;\n  if (local_1d[0] == (sentry)0x0) {\n    iVar6 = *(int *)(this + 4);\n    puVar7 = auStack_4c;\n    if (0 < param_2) {\n      *param_1 = L'\0';\n      puVar7 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return this;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = *(int *)(*(int *)this + -0xc);\n    *(uint *)(puVar7 + -0xc) = uVar3 | *(uint *)(this + iVar6 + 0x14);\n    *(wistream **)(puVar7 + -0x10) = this + iVar6;\n    *(undefined4 *)(puVar7 + -0x14) = 0x2361a8;\n    wios::clear(*(wios **)(puVar7 + -0x10),*(_Ios_Iostate *)(puVar7 + -0xc));\n    return this;\n  }\n  local_34 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x7c);\n  if ((wchar_t *)local_34[3] <= (wchar_t *)local_34[2]) {\n    puVar8 = &stack0xffffffa4;\n                    /* try { // try from 002363b1 to 002363b3 has its CatchHandler @ 002364bc */\n    wVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }\n  wVar5 = *(wchar_t *)local_34[2];\n  do {\n    local_30 = *(int *)(this + 4);\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_2 <= iVar6) {\n      if (wVar5 == L'\xffffffff') {\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_3 == wVar5) {\n          pwVar4 = (wchar_t *)local_34[3];\n          pwVar10 = (wchar_t *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (wVar5 == L'\xffffffff') {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_2) {\n        *param_1 = L'\0';\n      }\n      goto LAB_002363e1;\n    }\n    pwVar4 = (wchar_t *)local_34[3];\n    pwVar10 = (wchar_t *)local_34[2];\n    if (param_3 == wVar5) {\nLAB_002362d0:\n      *(int *)(this + 4) = iVar6;\n      if (pwVar10 < pwVar4) {\n        local_34[2] = (int)(pwVar10 + 1);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = *(int *)(this + 4);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_2 - local_30) + -1;\n    iVar9 = (int)pwVar4 - (int)pwVar10 >> 2;\n    if (iVar1 <= iVar9) {\n      iVar9 = iVar1;\n    }\n    if (iVar9 < 2) {\n      *param_1 = wVar5;\n      param_1 = param_1 + 1;\n      *(int *)(this + 4) = iVar6;\n      if (pwVar10 < pwVar4) {\n        wVar5 = *pwVar10;\n        local_34[2] = (int)(pwVar10 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236404;\n        wVar5 = (*pcVar2)();\n      }\n      if (wVar5 == L'\xffffffff') {\n        local_30 = *(int *)(this + 4);\n        goto LAB_002363cc;\n      }\n      if ((wchar_t *)local_34[2] < (wchar_t *)local_34[3]) {\n        wVar5 = *(wchar_t *)local_34[2];\n        local_30 = *(int *)(this + 4);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar7 + -0x14) = 0x23642c;\n        wVar5 = (*pcVar2)();\n        local_30 = *(int *)(this + 4);\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = pwVar4;\n    *(int *)(puVar7 + -8) = iVar9;\n    *(wchar_t *)(puVar7 + -0xc) = param_3;\n    *(wchar_t **)(puVar7 + -0x10) = pwVar10;\n    local_38 = iVar9;\n    *(undefined4 *)(puVar7 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar7 + -0x10),*(wchar_t *)(puVar7 + -0xc),\n                     *(size_t *)(puVar7 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar9 = (int)pwVar4 - (int)pwVar10 >> 2, iVar6 = iVar9, pwVar4 = local_40, iVar9 != 0)) {\n      local_38 = iVar9;\n      *(int *)(puVar7 + -8) = iVar9;\n      *(wchar_t **)(puVar7 + -0xc) = pwVar10;\n      *(wchar_t **)(puVar7 + -0x10) = param_1;\n      *(undefined4 *)(puVar7 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar7 + -0x10),*(wchar_t **)(puVar7 + -0xc),*(size_t *)(puVar7 + -8));\n      local_30 = *(int *)(this + 4);\n      pwVar4 = (wchar_t *)local_34[3];\n      pwVar10 = (wchar_t *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_1 = param_1 + iVar6;\n    pwVar10 = pwVar10 + iVar6;\n    local_30 = local_30 + iVar9;\n    local_34[2] = (int)pwVar10;\n    *(int *)(this + 4) = local_30;\n    if (pwVar10 < pwVar4) {\n      wVar5 = *pwVar10;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    puVar8 = puVar7 + -0x10;\n    *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 00236399 to 0023639b has its CatchHandler @ 002364c1 */\n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar7 + -0x14) = 0x23639c;\n    wVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar7 = puVar8 + 0x10;\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "wchar_t *pwVar4;" type_identifier (pointer_declarator "*pwVar4" * identifier) ;) (declaration "wchar_t wVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined1 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "wchar_t *pwVar10;" type_identifier (pointer_declarator "*pwVar10" * identifier) ;) (declaration "undefined1 auStack_4c [12];" type_identifier (array_declarator "auStack_4c [12]" identifier [ number_literal ]) ;) (declaration "wchar_t *local_40;" type_identifier (pointer_declarator "*local_40" * identifier) ;) (declaration "undefined **local_3c;" type_identifier (pointer_declarator "**local_3c" * (pointer_declarator "*local_3c" * identifier)) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "sentry local_1d [9];" type_identifier (array_declarator "local_1d [9]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (expression_statement "uStack_14 = 0x23613b;" (assignment_expression "uStack_14 = 0x23613b" identifier = number_literal) ;) (expression_statement "local_3c = &_GLOBAL_OFFSET_TABLE_;" (assignment_expression "local_3c = &_GLOBAL_OFFSET_TABLE_" identifier = (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier)) ;) (expression_statement "*(undefined4 *)(this + 4) = 0;" (assignment_expression "*(undefined4 *)(this + 4) = 0" (pointer_expression "*(undefined4 *)(this + 4)" * (cast_expression "(undefined4 *)(this + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + 4)" ( (binary_expression "this + 4" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "sentry::sentry(local_1d,this,true);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(local_1d,this,true);" (call_expression "sentry(local_1d,this,true)" identifier (argument_list "(local_1d,this,true)" ( identifier , identifier , true ))) ;)) (expression_statement "puVar7 = auStack_4c;" (assignment_expression "puVar7 = auStack_4c" identifier = identifier) ;) (if_statement "if (local_1d[0] == (sentry)0x0) {\n    iVar6 = *(int *)(this + 4);\n    puVar7 = auStack_4c;\n    if (0 < param_2) {\n      *param_1 = L'\0';\n      puVar7 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return this;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = *(int *)(*(int *)this + -0xc);\n    *(uint *)(puVar7 + -0xc) = uVar3 | *(uint *)(this + iVar6 + 0x14);\n    *(wistream **)(puVar7 + -0x10) = this + iVar6;\n    *(undefined4 *)(puVar7 + -0x14) = 0x2361a8;\n    wios::clear(*(wios **)(puVar7 + -0x10),*(_Ios_Iostate *)(puVar7 + -0xc));\n    return this;\n  }" if (parenthesized_expression "(local_1d[0] == (sentry)0x0)" ( (binary_expression "local_1d[0] == (sentry)0x0" (subscript_expression "local_1d[0]" identifier [ number_literal ]) == (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n    iVar6 = *(int *)(this + 4);\n    puVar7 = auStack_4c;\n    if (0 < param_2) {\n      *param_1 = L'\0';\n      puVar7 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return this;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = *(int *)(*(int *)this + -0xc);\n    *(uint *)(puVar7 + -0xc) = uVar3 | *(uint *)(this + iVar6 + 0x14);\n    *(wistream **)(puVar7 + -0x10) = this + iVar6;\n    *(undefined4 *)(puVar7 + -0x14) = 0x2361a8;\n    wios::clear(*(wios **)(puVar7 + -0x10),*(_Ios_Iostate *)(puVar7 + -0xc));\n    return this;\n  }" { (expression_statement "iVar6 = *(int *)(this + 4);" (assignment_expression "iVar6 = *(int *)(this + 4)" identifier = (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) ))))) ;) (expression_statement "puVar7 = auStack_4c;" (assignment_expression "puVar7 = auStack_4c" identifier = identifier) ;) (if_statement "if (0 < param_2) {\n      *param_1 = L'\0';\n      puVar7 = auStack_4c;\n    }" if (parenthesized_expression "(0 < param_2)" ( (binary_expression "0 < param_2" number_literal < identifier) )) (compound_statement "{\n      *param_1 = L'\0';\n      puVar7 = auStack_4c;\n    }" { (expression_statement "*param_1 = L'\0';" (assignment_expression "*param_1 = L'\0'" (pointer_expression "*param_1" * identifier) = (char_literal "L'\0'" L' escape_sequence ')) ;) (expression_statement "puVar7 = auStack_4c;" (assignment_expression "puVar7 = auStack_4c" identifier = identifier) ;) })) (labeled_statement "joined_r0x0023644b:\n    if (iVar6 != 0) {\n      return this;\n    }" statement_identifier : (if_statement "if (iVar6 != 0) {\n      return this;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      return this;\n    }" { (return_statement "return this;" return identifier ;) }))) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) (labeled_statement "LAB_0023618d:\n    iVar6 = *(int *)(*(int *)this + -0xc);" statement_identifier : (expression_statement "iVar6 = *(int *)(*(int *)this + -0xc);" (assignment_expression "iVar6 = *(int *)(*(int *)this + -0xc)" identifier = (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) ;)) (expression_statement "*(uint *)(puVar7 + -0xc) = uVar3 | *(uint *)(this + iVar6 + 0x14);" (assignment_expression "*(uint *)(puVar7 + -0xc) = uVar3 | *(uint *)(this + iVar6 + 0x14)" (pointer_expression "*(uint *)(puVar7 + -0xc)" * (cast_expression "(uint *)(puVar7 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0xc)" ( (binary_expression "puVar7 + -0xc" identifier + number_literal) )))) = (binary_expression "uVar3 | *(uint *)(this + iVar6 + 0x14)" identifier | (pointer_expression "*(uint *)(this + iVar6 + 0x14)" * (cast_expression "(uint *)(this + iVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(this + iVar6 + 0x14)" ( (binary_expression "this + iVar6 + 0x14" (binary_expression "this + iVar6" identifier + identifier) + number_literal) )))))) ;) (expression_statement "*(wistream **)(puVar7 + -0x10) = this + iVar6;" (assignment_expression "*(wistream **)(puVar7 + -0x10) = this + iVar6" (pointer_expression "*(wistream **)(puVar7 + -0x10)" * (cast_expression "(wistream **)(puVar7 + -0x10)" ( (type_descriptor "wistream **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = (binary_expression "this + iVar6" identifier + identifier)) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x2361a8;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x2361a8" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "wios::clear(*(wios **)(puVar7 + -0x10),*(_Ios_Iostate *)(puVar7 + -0xc));" statement_identifier : (ERROR ":" :) (expression_statement "clear(*(wios **)(puVar7 + -0x10),*(_Ios_Iostate *)(puVar7 + -0xc));" (call_expression "clear(*(wios **)(puVar7 + -0x10),*(_Ios_Iostate *)(puVar7 + -0xc))" identifier (argument_list "(*(wios **)(puVar7 + -0x10),*(_Ios_Iostate *)(puVar7 + -0xc))" ( (pointer_expression "*(wios **)(puVar7 + -0x10)" * (cast_expression "(wios **)(puVar7 + -0x10)" ( (type_descriptor "wios **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) , (pointer_expression "*(_Ios_Iostate *)(puVar7 + -0xc)" * (cast_expression "(_Ios_Iostate *)(puVar7 + -0xc)" ( (type_descriptor "_Ios_Iostate *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0xc)" ( (binary_expression "puVar7 + -0xc" identifier + number_literal) )))) ))) ;)) (return_statement "return this;" return identifier ;) })) (expression_statement "local_34 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x7c);" (assignment_expression "local_34 = *(int **)(this + *(int *)(*(int *)this + -0xc) + 0x7c)" identifier = (pointer_expression "*(int **)(this + *(int *)(*(int *)this + -0xc) + 0x7c)" * (cast_expression "(int **)(this + *(int *)(*(int *)this + -0xc) + 0x7c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(this + *(int *)(*(int *)this + -0xc) + 0x7c)" ( (binary_expression "this + *(int *)(*(int *)this + -0xc) + 0x7c" (binary_expression "this + *(int *)(*(int *)this + -0xc)" identifier + (pointer_expression "*(int *)(*(int *)this + -0xc)" * (cast_expression "(int *)(*(int *)this + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)this + -0xc)" ( (binary_expression "*(int *)this + -0xc" (pointer_expression "*(int *)this" * (cast_expression "(int *)this" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((wchar_t *)local_34[3] <= (wchar_t *)local_34[2]) {\n    puVar8 = &stack0xffffffa4;\n                    /* try { // try from 002363b1 to 002363b3 has its CatchHandler @ 002364bc */\n    wVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }" if (parenthesized_expression "((wchar_t *)local_34[3] <= (wchar_t *)local_34[2])" ( (binary_expression "(wchar_t *)local_34[3] <= (wchar_t *)local_34[2]" (cast_expression "(wchar_t *)local_34[3]" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ])) <= (cast_expression "(wchar_t *)local_34[2]" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    puVar8 = &stack0xffffffa4;\n                    /* try { // try from 002363b1 to 002363b3 has its CatchHandler @ 002364bc */\n    wVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }" { (expression_statement "puVar8 = &stack0xffffffa4;" (assignment_expression "puVar8 = &stack0xffffffa4" identifier = (pointer_expression "&stack0xffffffa4" & identifier)) ;) comment (expression_statement "wVar5 = (**(code **)(*local_34 + 0x24))();" (assignment_expression "wVar5 = (**(code **)(*local_34 + 0x24))()" identifier = (call_expression "(**(code **)(*local_34 + 0x24))()" (parenthesized_expression "(**(code **)(*local_34 + 0x24))" ( (pointer_expression "**(code **)(*local_34 + 0x24)" * (pointer_expression "*(code **)(*local_34 + 0x24)" * (cast_expression "(code **)(*local_34 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_34 + 0x24)" ( (binary_expression "*local_34 + 0x24" (pointer_expression "*local_34" * identifier) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (goto_statement "goto LAB_0023639c;" goto statement_identifier ;) })) (expression_statement "wVar5 = *(wchar_t *)local_34[2];" (assignment_expression "wVar5 = *(wchar_t *)local_34[2]" identifier = (pointer_expression "*(wchar_t *)local_34[2]" * (cast_expression "(wchar_t *)local_34[2]" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ])))) ;) (do_statement "do {\n    local_30 = *(int *)(this + 4);\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_2 <= iVar6) {\n      if (wVar5 == L'\xffffffff') {\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_3 == wVar5) {\n          pwVar4 = (wchar_t *)local_34[3];\n          pwVar10 = (wchar_t *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (wVar5 == L'\xffffffff') {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_2) {\n        *param_1 = L'\0';\n      }\n      goto LAB_002363e1;\n    }\n    pwVar4 = (wchar_t *)local_34[3];\n    pwVar10 = (wchar_t *)local_34[2];\n    if (param_3 == wVar5) {\nLAB_002362d0:\n      *(int *)(this + 4) = iVar6;\n      if (pwVar10 < pwVar4) {\n        local_34[2] = (int)(pwVar10 + 1);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = *(int *)(this + 4);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_2 - local_30) + -1;\n    iVar9 = (int)pwVar4 - (int)pwVar10 >> 2;\n    if (iVar1 <= iVar9) {\n      iVar9 = iVar1;\n    }\n    if (iVar9 < 2) {\n      *param_1 = wVar5;\n      param_1 = param_1 + 1;\n      *(int *)(this + 4) = iVar6;\n      if (pwVar10 < pwVar4) {\n        wVar5 = *pwVar10;\n        local_34[2] = (int)(pwVar10 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236404;\n        wVar5 = (*pcVar2)();\n      }\n      if (wVar5 == L'\xffffffff') {\n        local_30 = *(int *)(this + 4);\n        goto LAB_002363cc;\n      }\n      if ((wchar_t *)local_34[2] < (wchar_t *)local_34[3]) {\n        wVar5 = *(wchar_t *)local_34[2];\n        local_30 = *(int *)(this + 4);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar7 + -0x14) = 0x23642c;\n        wVar5 = (*pcVar2)();\n        local_30 = *(int *)(this + 4);\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = pwVar4;\n    *(int *)(puVar7 + -8) = iVar9;\n    *(wchar_t *)(puVar7 + -0xc) = param_3;\n    *(wchar_t **)(puVar7 + -0x10) = pwVar10;\n    local_38 = iVar9;\n    *(undefined4 *)(puVar7 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar7 + -0x10),*(wchar_t *)(puVar7 + -0xc),\n                     *(size_t *)(puVar7 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar9 = (int)pwVar4 - (int)pwVar10 >> 2, iVar6 = iVar9, pwVar4 = local_40, iVar9 != 0)) {\n      local_38 = iVar9;\n      *(int *)(puVar7 + -8) = iVar9;\n      *(wchar_t **)(puVar7 + -0xc) = pwVar10;\n      *(wchar_t **)(puVar7 + -0x10) = param_1;\n      *(undefined4 *)(puVar7 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar7 + -0x10),*(wchar_t **)(puVar7 + -0xc),*(size_t *)(puVar7 + -8));\n      local_30 = *(int *)(this + 4);\n      pwVar4 = (wchar_t *)local_34[3];\n      pwVar10 = (wchar_t *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_1 = param_1 + iVar6;\n    pwVar10 = pwVar10 + iVar6;\n    local_30 = local_30 + iVar9;\n    local_34[2] = (int)pwVar10;\n    *(int *)(this + 4) = local_30;\n    if (pwVar10 < pwVar4) {\n      wVar5 = *pwVar10;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    puVar8 = puVar7 + -0x10;\n    *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 00236399 to 0023639b has its CatchHandler @ 002364c1 */\n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar7 + -0x14) = 0x23639c;\n    wVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar7 = puVar8 + 0x10;\n  } while( true );" do (compound_statement "{\n    local_30 = *(int *)(this + 4);\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_2 <= iVar6) {\n      if (wVar5 == L'\xffffffff') {\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_3 == wVar5) {\n          pwVar4 = (wchar_t *)local_34[3];\n          pwVar10 = (wchar_t *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (wVar5 == L'\xffffffff') {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_2) {\n        *param_1 = L'\0';\n      }\n      goto LAB_002363e1;\n    }\n    pwVar4 = (wchar_t *)local_34[3];\n    pwVar10 = (wchar_t *)local_34[2];\n    if (param_3 == wVar5) {\nLAB_002362d0:\n      *(int *)(this + 4) = iVar6;\n      if (pwVar10 < pwVar4) {\n        local_34[2] = (int)(pwVar10 + 1);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = *(int *)(this + 4);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_2 - local_30) + -1;\n    iVar9 = (int)pwVar4 - (int)pwVar10 >> 2;\n    if (iVar1 <= iVar9) {\n      iVar9 = iVar1;\n    }\n    if (iVar9 < 2) {\n      *param_1 = wVar5;\n      param_1 = param_1 + 1;\n      *(int *)(this + 4) = iVar6;\n      if (pwVar10 < pwVar4) {\n        wVar5 = *pwVar10;\n        local_34[2] = (int)(pwVar10 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236404;\n        wVar5 = (*pcVar2)();\n      }\n      if (wVar5 == L'\xffffffff') {\n        local_30 = *(int *)(this + 4);\n        goto LAB_002363cc;\n      }\n      if ((wchar_t *)local_34[2] < (wchar_t *)local_34[3]) {\n        wVar5 = *(wchar_t *)local_34[2];\n        local_30 = *(int *)(this + 4);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar7 + -0x14) = 0x23642c;\n        wVar5 = (*pcVar2)();\n        local_30 = *(int *)(this + 4);\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = pwVar4;\n    *(int *)(puVar7 + -8) = iVar9;\n    *(wchar_t *)(puVar7 + -0xc) = param_3;\n    *(wchar_t **)(puVar7 + -0x10) = pwVar10;\n    local_38 = iVar9;\n    *(undefined4 *)(puVar7 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar7 + -0x10),*(wchar_t *)(puVar7 + -0xc),\n                     *(size_t *)(puVar7 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar9 = (int)pwVar4 - (int)pwVar10 >> 2, iVar6 = iVar9, pwVar4 = local_40, iVar9 != 0)) {\n      local_38 = iVar9;\n      *(int *)(puVar7 + -8) = iVar9;\n      *(wchar_t **)(puVar7 + -0xc) = pwVar10;\n      *(wchar_t **)(puVar7 + -0x10) = param_1;\n      *(undefined4 *)(puVar7 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar7 + -0x10),*(wchar_t **)(puVar7 + -0xc),*(size_t *)(puVar7 + -8));\n      local_30 = *(int *)(this + 4);\n      pwVar4 = (wchar_t *)local_34[3];\n      pwVar10 = (wchar_t *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_1 = param_1 + iVar6;\n    pwVar10 = pwVar10 + iVar6;\n    local_30 = local_30 + iVar9;\n    local_34[2] = (int)pwVar10;\n    *(int *)(this + 4) = local_30;\n    if (pwVar10 < pwVar4) {\n      wVar5 = *pwVar10;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    puVar8 = puVar7 + -0x10;\n    *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 00236399 to 0023639b has its CatchHandler @ 002364c1 */\n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar7 + -0x14) = 0x23639c;\n    wVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar7 = puVar8 + 0x10;\n  }" { (expression_statement "local_30 = *(int *)(this + 4);" (assignment_expression "local_30 = *(int *)(this + 4)" identifier = (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) ))))) ;) (labeled_statement "joined_r0x002361ef:\n    iVar6 = local_30 + 1;" statement_identifier : (expression_statement "iVar6 = local_30 + 1;" (assignment_expression "iVar6 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;)) (if_statement "if (param_2 <= iVar6) {\n      if (wVar5 == L'\xffffffff') {\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_3 == wVar5) {\n          pwVar4 = (wchar_t *)local_34[3];\n          pwVar10 = (wchar_t *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }" if (parenthesized_expression "(param_2 <= iVar6)" ( (binary_expression "param_2 <= iVar6" identifier <= identifier) )) (compound_statement "{\n      if (wVar5 == L'\xffffffff') {\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_3 == wVar5) {\n          pwVar4 = (wchar_t *)local_34[3];\n          pwVar10 = (wchar_t *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }" { (if_statement "if (wVar5 == L'\xffffffff') {\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_3 == wVar5) {\n          pwVar4 = (wchar_t *)local_34[3];\n          pwVar10 = (wchar_t *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }" if (parenthesized_expression "(wVar5 == L'\xffffffff')" ( (binary_expression "wVar5 == L'\xffffffff'" identifier == (char_literal "L'\xffffffff'" L' escape_sequence character character character character ')) )) (compound_statement "{\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }" { (if_statement "if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }" if (parenthesized_expression "(0 < param_2)" ( (binary_expression "0 < param_2" number_literal < identifier) )) (compound_statement "{\n          *param_1 = L'\0';\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }" { (expression_statement "*param_1 = L'\0';" (assignment_expression "*param_1 = L'\0'" (pointer_expression "*param_1" * identifier) = (char_literal "L'\0'" L' escape_sequence ')) ;) (expression_statement "uVar3 = (-(uint)(local_30 == 0) & 4) + 2;" (assignment_expression "uVar3 = (-(uint)(local_30 == 0) & 4) + 2" identifier = (binary_expression "(-(uint)(local_30 == 0) & 4) + 2" (parenthesized_expression "(-(uint)(local_30 == 0) & 4)" ( (binary_expression "-(uint)(local_30 == 0) & 4" (unary_expression "-(uint)(local_30 == 0)" - (call_expression "(uint)(local_30 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )))) & number_literal) )) + number_literal)) ;) (goto_statement "goto LAB_0023618d;" goto statement_identifier ;) })) (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) }) (else_clause "else {\n        if (param_3 == wVar5) {\n          pwVar4 = (wchar_t *)local_34[3];\n          pwVar10 = (wchar_t *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }" else (compound_statement "{\n        if (param_3 == wVar5) {\n          pwVar4 = (wchar_t *)local_34[3];\n          pwVar10 = (wchar_t *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }" { (if_statement "if (param_3 == wVar5) {\n          pwVar4 = (wchar_t *)local_34[3];\n          pwVar10 = (wchar_t *)local_34[2];\n          goto LAB_002362d0;\n        }" if (parenthesized_expression "(param_3 == wVar5)" ( (binary_expression "param_3 == wVar5" identifier == identifier) )) (compound_statement "{\n          pwVar4 = (wchar_t *)local_34[3];\n          pwVar10 = (wchar_t *)local_34[2];\n          goto LAB_002362d0;\n        }" { (expression_statement "pwVar4 = (wchar_t *)local_34[3];" (assignment_expression "pwVar4 = (wchar_t *)local_34[3]" identifier = (cast_expression "(wchar_t *)local_34[3]" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ]))) ;) (expression_statement "pwVar10 = (wchar_t *)local_34[2];" (assignment_expression "pwVar10 = (wchar_t *)local_34[2]" identifier = (cast_expression "(wchar_t *)local_34[2]" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_002362d0;" goto statement_identifier ;) })) (if_statement "if (0 < param_2) {\n          *param_1 = L'\0';\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }" if (parenthesized_expression "(0 < param_2)" ( (binary_expression "0 < param_2" number_literal < identifier) )) (compound_statement "{\n          *param_1 = L'\0';\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }" { (expression_statement "*param_1 = L'\0';" (assignment_expression "*param_1 = L'\0'" (pointer_expression "*param_1" * identifier) = (char_literal "L'\0'" L' escape_sequence ')) ;) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) (goto_statement "goto LAB_0023618d;" goto statement_identifier ;) })) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) }))) (labeled_statement "LAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }" statement_identifier : (if_statement "if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar3 = uVar3 | 4;\n      }" { (expression_statement "uVar3 = uVar3 | 4;" (assignment_expression "uVar3 = uVar3 | 4" identifier = (binary_expression "uVar3 | 4" identifier | number_literal)) ;) }))) (goto_statement "goto LAB_0023618d;" goto statement_identifier ;) })) (if_statement "if (wVar5 == L'\xffffffff') {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_2) {\n        *param_1 = L'\0';\n      }\n      goto LAB_002363e1;\n    }" if (parenthesized_expression "(wVar5 == L'\xffffffff')" ( (binary_expression "wVar5 == L'\xffffffff'" identifier == (char_literal "L'\xffffffff'" L' escape_sequence character character character character ')) )) (compound_statement "{\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_2) {\n        *param_1 = L'\0';\n      }\n      goto LAB_002363e1;\n    }" { (labeled_statement "LAB_002363cc:\n      uVar3 = 2;" statement_identifier : (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;)) (if_statement "if (0 < param_2) {\n        *param_1 = L'\0';\n      }" if (parenthesized_expression "(0 < param_2)" ( (binary_expression "0 < param_2" number_literal < identifier) )) (compound_statement "{\n        *param_1 = L'\0';\n      }" { (expression_statement "*param_1 = L'\0';" (assignment_expression "*param_1 = L'\0'" (pointer_expression "*param_1" * identifier) = (char_literal "L'\0'" L' escape_sequence ')) ;) })) (goto_statement "goto LAB_002363e1;" goto statement_identifier ;) })) (expression_statement "pwVar4 = (wchar_t *)local_34[3];" (assignment_expression "pwVar4 = (wchar_t *)local_34[3]" identifier = (cast_expression "(wchar_t *)local_34[3]" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ]))) ;) (expression_statement "pwVar10 = (wchar_t *)local_34[2];" (assignment_expression "pwVar10 = (wchar_t *)local_34[2]" identifier = (cast_expression "(wchar_t *)local_34[2]" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) ;) (if_statement "if (param_3 == wVar5) {\nLAB_002362d0:\n      *(int *)(this + 4) = iVar6;\n      if (pwVar10 < pwVar4) {\n        local_34[2] = (int)(pwVar10 + 1);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = *(int *)(this + 4);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }\n      goto joined_r0x0023644b;\n    }" if (parenthesized_expression "(param_3 == wVar5)" ( (binary_expression "param_3 == wVar5" identifier == identifier) )) (compound_statement "{\nLAB_002362d0:\n      *(int *)(this + 4) = iVar6;\n      if (pwVar10 < pwVar4) {\n        local_34[2] = (int)(pwVar10 + 1);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = *(int *)(this + 4);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }\n      goto joined_r0x0023644b;\n    }" { (labeled_statement "LAB_002362d0:\n      *(int *)(this + 4) = iVar6;" statement_identifier : (expression_statement "*(int *)(this + 4) = iVar6;" (assignment_expression "*(int *)(this + 4) = iVar6" (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) )))) = identifier) ;)) (if_statement "if (pwVar10 < pwVar4) {\n        local_34[2] = (int)(pwVar10 + 1);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = *(int *)(this + 4);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }" if (parenthesized_expression "(pwVar10 < pwVar4)" ( (binary_expression "pwVar10 < pwVar4" identifier < identifier) )) (compound_statement "{\n        local_34[2] = (int)(pwVar10 + 1);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }" { (expression_statement "local_34[2] = (int)(pwVar10 + 1);" (assignment_expression "local_34[2] = (int)(pwVar10 + 1)" (subscript_expression "local_34[2]" identifier [ number_literal ]) = (cast_expression "(int)(pwVar10 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pwVar10 + 1)" ( (binary_expression "pwVar10 + 1" identifier + number_literal) )))) ;) (if_statement "if (0 < param_2) {\n          *param_1 = L'\0';\n        }" if (parenthesized_expression "(0 < param_2)" ( (binary_expression "0 < param_2" number_literal < identifier) )) (compound_statement "{\n          *param_1 = L'\0';\n        }" { (expression_statement "*param_1 = L'\0';" (assignment_expression "*param_1 = L'\0'" (pointer_expression "*param_1" * identifier) = (char_literal "L'\0'" L' escape_sequence ')) ;) })) }) (else_clause "else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = *(int *)(this + 4);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }" else (compound_statement "{\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = *(int *)(this + 4);\n        if (0 < param_2) {\n          *param_1 = L'\0';\n        }\n      }" { (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" identifier = (pointer_expression "*local_34" * identifier)) ;) (expression_statement "*(int **)(puVar7 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar7 + -0x10) = local_34" (pointer_expression "*(int **)(puVar7 + -0x10)" * (cast_expression "(int **)(puVar7 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = identifier) ;) comment (expression_statement "pcVar2 = *(code **)(iVar6 + 0x28);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x28)" identifier = (pointer_expression "*(code **)(iVar6 + 0x28)" * (cast_expression "(code **)(iVar6 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x28)" ( (binary_expression "iVar6 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x236462;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x236462" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*pcVar2)();" (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar6 = *(int *)(this + 4);" (assignment_expression "iVar6 = *(int *)(this + 4)" identifier = (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) ))))) ;) (if_statement "if (0 < param_2) {\n          *param_1 = L'\0';\n        }" if (parenthesized_expression "(0 < param_2)" ( (binary_expression "0 < param_2" number_literal < identifier) )) (compound_statement "{\n          *param_1 = L'\0';\n        }" { (expression_statement "*param_1 = L'\0';" (assignment_expression "*param_1 = L'\0'" (pointer_expression "*param_1" * identifier) = (char_literal "L'\0'" L' escape_sequence ')) ;) })) }))) (goto_statement "goto joined_r0x0023644b;" goto statement_identifier ;) })) (expression_statement "iVar1 = (param_2 - local_30) + -1;" (assignment_expression "iVar1 = (param_2 - local_30) + -1" identifier = (binary_expression "(param_2 - local_30) + -1" (parenthesized_expression "(param_2 - local_30)" ( (binary_expression "param_2 - local_30" identifier - identifier) )) + number_literal)) ;) (expression_statement "iVar9 = (int)pwVar4 - (int)pwVar10 >> 2;" (assignment_expression "iVar9 = (int)pwVar4 - (int)pwVar10 >> 2" identifier = (binary_expression "(int)pwVar4 - (int)pwVar10 >> 2" (binary_expression "(int)pwVar4 - (int)pwVar10" (cast_expression "(int)pwVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pwVar10" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (iVar1 <= iVar9) {\n      iVar9 = iVar1;\n    }" if (parenthesized_expression "(iVar1 <= iVar9)" ( (binary_expression "iVar1 <= iVar9" identifier <= identifier) )) (compound_statement "{\n      iVar9 = iVar1;\n    }" { (expression_statement "iVar9 = iVar1;" (assignment_expression "iVar9 = iVar1" identifier = identifier) ;) })) (if_statement "if (iVar9 < 2) {\n      *param_1 = wVar5;\n      param_1 = param_1 + 1;\n      *(int *)(this + 4) = iVar6;\n      if (pwVar10 < pwVar4) {\n        wVar5 = *pwVar10;\n        local_34[2] = (int)(pwVar10 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236404;\n        wVar5 = (*pcVar2)();\n      }\n      if (wVar5 == L'\xffffffff') {\n        local_30 = *(int *)(this + 4);\n        goto LAB_002363cc;\n      }\n      if ((wchar_t *)local_34[2] < (wchar_t *)local_34[3]) {\n        wVar5 = *(wchar_t *)local_34[2];\n        local_30 = *(int *)(this + 4);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar7 + -0x14) = 0x23642c;\n        wVar5 = (*pcVar2)();\n        local_30 = *(int *)(this + 4);\n      }\n      goto joined_r0x002361ef;\n    }" if (parenthesized_expression "(iVar9 < 2)" ( (binary_expression "iVar9 < 2" identifier < number_literal) )) (compound_statement "{\n      *param_1 = wVar5;\n      param_1 = param_1 + 1;\n      *(int *)(this + 4) = iVar6;\n      if (pwVar10 < pwVar4) {\n        wVar5 = *pwVar10;\n        local_34[2] = (int)(pwVar10 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236404;\n        wVar5 = (*pcVar2)();\n      }\n      if (wVar5 == L'\xffffffff') {\n        local_30 = *(int *)(this + 4);\n        goto LAB_002363cc;\n      }\n      if ((wchar_t *)local_34[2] < (wchar_t *)local_34[3]) {\n        wVar5 = *(wchar_t *)local_34[2];\n        local_30 = *(int *)(this + 4);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar7 + -0x14) = 0x23642c;\n        wVar5 = (*pcVar2)();\n        local_30 = *(int *)(this + 4);\n      }\n      goto joined_r0x002361ef;\n    }" { (expression_statement "*param_1 = wVar5;" (assignment_expression "*param_1 = wVar5" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) (expression_statement "*(int *)(this + 4) = iVar6;" (assignment_expression "*(int *)(this + 4) = iVar6" (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) )))) = identifier) ;) (if_statement "if (pwVar10 < pwVar4) {\n        wVar5 = *pwVar10;\n        local_34[2] = (int)(pwVar10 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236404;\n        wVar5 = (*pcVar2)();\n      }" if (parenthesized_expression "(pwVar10 < pwVar4)" ( (binary_expression "pwVar10 < pwVar4" identifier < identifier) )) (compound_statement "{\n        wVar5 = *pwVar10;\n        local_34[2] = (int)(pwVar10 + 1);\n      }" { (expression_statement "wVar5 = *pwVar10;" (assignment_expression "wVar5 = *pwVar10" identifier = (pointer_expression "*pwVar10" * identifier)) ;) (expression_statement "local_34[2] = (int)(pwVar10 + 1);" (assignment_expression "local_34[2] = (int)(pwVar10 + 1)" (subscript_expression "local_34[2]" identifier [ number_literal ]) = (cast_expression "(int)(pwVar10 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(pwVar10 + 1)" ( (binary_expression "pwVar10 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236404;\n        wVar5 = (*pcVar2)();\n      }" else (compound_statement "{\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */\n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar7 + -0x14) = 0x236404;\n        wVar5 = (*pcVar2)();\n      }" { (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" identifier = (pointer_expression "*local_34" * identifier)) ;) (expression_statement "*(int **)(puVar7 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar7 + -0x10) = local_34" (pointer_expression "*(int **)(puVar7 + -0x10)" * (cast_expression "(int **)(puVar7 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = identifier) ;) comment (expression_statement "pcVar2 = *(code **)(iVar6 + 0x28);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x28)" identifier = (pointer_expression "*(code **)(iVar6 + 0x28)" * (cast_expression "(code **)(iVar6 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x28)" ( (binary_expression "iVar6 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x236404;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x236404" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "wVar5 = (*pcVar2)();" (assignment_expression "wVar5 = (*pcVar2)()" identifier = (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( )))) ;) }))) (if_statement "if (wVar5 == L'\xffffffff') {\n        local_30 = *(int *)(this + 4);\n        goto LAB_002363cc;\n      }" if (parenthesized_expression "(wVar5 == L'\xffffffff')" ( (binary_expression "wVar5 == L'\xffffffff'" identifier == (char_literal "L'\xffffffff'" L' escape_sequence character character character character ')) )) (compound_statement "{\n        local_30 = *(int *)(this + 4);\n        goto LAB_002363cc;\n      }" { (expression_statement "local_30 = *(int *)(this + 4);" (assignment_expression "local_30 = *(int *)(this + 4)" identifier = (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) ))))) ;) (goto_statement "goto LAB_002363cc;" goto statement_identifier ;) })) (if_statement "if ((wchar_t *)local_34[2] < (wchar_t *)local_34[3]) {\n        wVar5 = *(wchar_t *)local_34[2];\n        local_30 = *(int *)(this + 4);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar7 + -0x14) = 0x23642c;\n        wVar5 = (*pcVar2)();\n        local_30 = *(int *)(this + 4);\n      }" if (parenthesized_expression "((wchar_t *)local_34[2] < (wchar_t *)local_34[3])" ( (binary_expression "(wchar_t *)local_34[2] < (wchar_t *)local_34[3]" (cast_expression "(wchar_t *)local_34[2]" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ])) < (cast_expression "(wchar_t *)local_34[3]" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ]))) )) (compound_statement "{\n        wVar5 = *(wchar_t *)local_34[2];\n        local_30 = *(int *)(this + 4);\n      }" { (expression_statement "wVar5 = *(wchar_t *)local_34[2];" (assignment_expression "wVar5 = *(wchar_t *)local_34[2]" identifier = (pointer_expression "*(wchar_t *)local_34[2]" * (cast_expression "(wchar_t *)local_34[2]" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ])))) ;) (expression_statement "local_30 = *(int *)(this + 4);" (assignment_expression "local_30 = *(int *)(this + 4)" identifier = (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) ))))) ;) }) (else_clause "else {\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar7 + -0x14) = 0x23642c;\n        wVar5 = (*pcVar2)();\n        local_30 = *(int *)(this + 4);\n      }" else (compound_statement "{\n        iVar6 = *local_34;\n        *(int **)(puVar7 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar7 + -0x14) = 0x23642c;\n        wVar5 = (*pcVar2)();\n        local_30 = *(int *)(this + 4);\n      }" { (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" identifier = (pointer_expression "*local_34" * identifier)) ;) (expression_statement "*(int **)(puVar7 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar7 + -0x10) = local_34" (pointer_expression "*(int **)(puVar7 + -0x10)" * (cast_expression "(int **)(puVar7 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar2 = *(code **)(iVar6 + 0x24);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x24)" identifier = (pointer_expression "*(code **)(iVar6 + 0x24)" * (cast_expression "(code **)(iVar6 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x24)" ( (binary_expression "iVar6 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x23642c;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x23642c" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "wVar5 = (*pcVar2)();" (assignment_expression "wVar5 = (*pcVar2)()" identifier = (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "local_30 = *(int *)(this + 4);" (assignment_expression "local_30 = *(int *)(this + 4)" identifier = (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) ))))) ;) }))) (goto_statement "goto joined_r0x002361ef;" goto statement_identifier ;) })) (expression_statement "local_40 = pwVar4;" (assignment_expression "local_40 = pwVar4" identifier = identifier) ;) (expression_statement "*(int *)(puVar7 + -8) = iVar9;" (assignment_expression "*(int *)(puVar7 + -8) = iVar9" (pointer_expression "*(int *)(puVar7 + -8)" * (cast_expression "(int *)(puVar7 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(wchar_t *)(puVar7 + -0xc) = param_3;" (assignment_expression "*(wchar_t *)(puVar7 + -0xc) = param_3" (pointer_expression "*(wchar_t *)(puVar7 + -0xc)" * (cast_expression "(wchar_t *)(puVar7 + -0xc)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0xc)" ( (binary_expression "puVar7 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(wchar_t **)(puVar7 + -0x10) = pwVar10;" (assignment_expression "*(wchar_t **)(puVar7 + -0x10) = pwVar10" (pointer_expression "*(wchar_t **)(puVar7 + -0x10)" * (cast_expression "(wchar_t **)(puVar7 + -0x10)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_38 = iVar9;" (assignment_expression "local_38 = iVar9" identifier = identifier) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x236243;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x236243" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pwVar4 = wmemchr(*(wchar_t **)(puVar7 + -0x10),*(wchar_t *)(puVar7 + -0xc),\n                     *(size_t *)(puVar7 + -8));" (assignment_expression "pwVar4 = wmemchr(*(wchar_t **)(puVar7 + -0x10),*(wchar_t *)(puVar7 + -0xc),\n                     *(size_t *)(puVar7 + -8))" identifier = (call_expression "wmemchr(*(wchar_t **)(puVar7 + -0x10),*(wchar_t *)(puVar7 + -0xc),\n                     *(size_t *)(puVar7 + -8))" identifier (argument_list "(*(wchar_t **)(puVar7 + -0x10),*(wchar_t *)(puVar7 + -0xc),\n                     *(size_t *)(puVar7 + -8))" ( (pointer_expression "*(wchar_t **)(puVar7 + -0x10)" * (cast_expression "(wchar_t **)(puVar7 + -0x10)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) , (pointer_expression "*(wchar_t *)(puVar7 + -0xc)" * (cast_expression "(wchar_t *)(puVar7 + -0xc)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0xc)" ( (binary_expression "puVar7 + -0xc" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(puVar7 + -8)" * (cast_expression "(size_t *)(puVar7 + -8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) )))) ;) (if_statement "if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar9 = (int)pwVar4 - (int)pwVar10 >> 2, iVar6 = iVar9, pwVar4 = local_40, iVar9 != 0)) {\n      local_38 = iVar9;\n      *(int *)(puVar7 + -8) = iVar9;\n      *(wchar_t **)(puVar7 + -0xc) = pwVar10;\n      *(wchar_t **)(puVar7 + -0x10) = param_1;\n      *(undefined4 *)(puVar7 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar7 + -0x10),*(wchar_t **)(puVar7 + -0xc),*(size_t *)(puVar7 + -8));\n      local_30 = *(int *)(this + 4);\n      pwVar4 = (wchar_t *)local_34[3];\n      pwVar10 = (wchar_t *)local_34[2];\n      iVar6 = local_38;\n    }" if (parenthesized_expression "((pwVar4 == (wchar_t *)0x0) ||\n       (iVar9 = (int)pwVar4 - (int)pwVar10 >> 2, iVar6 = iVar9, pwVar4 = local_40, iVar9 != 0))" ( (binary_expression "(pwVar4 == (wchar_t *)0x0) ||\n       (iVar9 = (int)pwVar4 - (int)pwVar10 >> 2, iVar6 = iVar9, pwVar4 = local_40, iVar9 != 0)" (parenthesized_expression "(pwVar4 == (wchar_t *)0x0)" ( (binary_expression "pwVar4 == (wchar_t *)0x0" identifier == (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar9 = (int)pwVar4 - (int)pwVar10 >> 2, iVar6 = iVar9, pwVar4 = local_40, iVar9 != 0)" ( (comma_expression "iVar9 = (int)pwVar4 - (int)pwVar10 >> 2, iVar6 = iVar9, pwVar4 = local_40, iVar9 != 0" (assignment_expression "iVar9 = (int)pwVar4 - (int)pwVar10 >> 2" identifier = (binary_expression "(int)pwVar4 - (int)pwVar10 >> 2" (binary_expression "(int)pwVar4 - (int)pwVar10" (cast_expression "(int)pwVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pwVar10" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) , (comma_expression "iVar6 = iVar9, pwVar4 = local_40, iVar9 != 0" (assignment_expression "iVar6 = iVar9" identifier = identifier) , (comma_expression "pwVar4 = local_40, iVar9 != 0" (assignment_expression "pwVar4 = local_40" identifier = identifier) , (binary_expression "iVar9 != 0" identifier != number_literal)))) ))) )) (compound_statement "{\n      local_38 = iVar9;\n      *(int *)(puVar7 + -8) = iVar9;\n      *(wchar_t **)(puVar7 + -0xc) = pwVar10;\n      *(wchar_t **)(puVar7 + -0x10) = param_1;\n      *(undefined4 *)(puVar7 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar7 + -0x10),*(wchar_t **)(puVar7 + -0xc),*(size_t *)(puVar7 + -8));\n      local_30 = *(int *)(this + 4);\n      pwVar4 = (wchar_t *)local_34[3];\n      pwVar10 = (wchar_t *)local_34[2];\n      iVar6 = local_38;\n    }" { (expression_statement "local_38 = iVar9;" (assignment_expression "local_38 = iVar9" identifier = identifier) ;) (expression_statement "*(int *)(puVar7 + -8) = iVar9;" (assignment_expression "*(int *)(puVar7 + -8) = iVar9" (pointer_expression "*(int *)(puVar7 + -8)" * (cast_expression "(int *)(puVar7 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(wchar_t **)(puVar7 + -0xc) = pwVar10;" (assignment_expression "*(wchar_t **)(puVar7 + -0xc) = pwVar10" (pointer_expression "*(wchar_t **)(puVar7 + -0xc)" * (cast_expression "(wchar_t **)(puVar7 + -0xc)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0xc)" ( (binary_expression "puVar7 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(wchar_t **)(puVar7 + -0x10) = param_1;" (assignment_expression "*(wchar_t **)(puVar7 + -0x10) = param_1" (pointer_expression "*(wchar_t **)(puVar7 + -0x10)" * (cast_expression "(wchar_t **)(puVar7 + -0x10)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x236323;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x236323" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "wmemcpy(*(wchar_t **)(puVar7 + -0x10),*(wchar_t **)(puVar7 + -0xc),*(size_t *)(puVar7 + -8));" (call_expression "wmemcpy(*(wchar_t **)(puVar7 + -0x10),*(wchar_t **)(puVar7 + -0xc),*(size_t *)(puVar7 + -8))" identifier (argument_list "(*(wchar_t **)(puVar7 + -0x10),*(wchar_t **)(puVar7 + -0xc),*(size_t *)(puVar7 + -8))" ( (pointer_expression "*(wchar_t **)(puVar7 + -0x10)" * (cast_expression "(wchar_t **)(puVar7 + -0x10)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) , (pointer_expression "*(wchar_t **)(puVar7 + -0xc)" * (cast_expression "(wchar_t **)(puVar7 + -0xc)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0xc)" ( (binary_expression "puVar7 + -0xc" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(puVar7 + -8)" * (cast_expression "(size_t *)(puVar7 + -8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -8)" ( (binary_expression "puVar7 + -8" identifier + number_literal) )))) ))) ;) (expression_statement "local_30 = *(int *)(this + 4);" (assignment_expression "local_30 = *(int *)(this + 4)" identifier = (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) ))))) ;) (expression_statement "pwVar4 = (wchar_t *)local_34[3];" (assignment_expression "pwVar4 = (wchar_t *)local_34[3]" identifier = (cast_expression "(wchar_t *)local_34[3]" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ]))) ;) (expression_statement "pwVar10 = (wchar_t *)local_34[2];" (assignment_expression "pwVar10 = (wchar_t *)local_34[2]" identifier = (cast_expression "(wchar_t *)local_34[2]" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = local_38;" (assignment_expression "iVar6 = local_38" identifier = identifier) ;) })) (expression_statement "param_1 = param_1 + iVar6;" (assignment_expression "param_1 = param_1 + iVar6" identifier = (binary_expression "param_1 + iVar6" identifier + identifier)) ;) (expression_statement "pwVar10 = pwVar10 + iVar6;" (assignment_expression "pwVar10 = pwVar10 + iVar6" identifier = (binary_expression "pwVar10 + iVar6" identifier + identifier)) ;) (expression_statement "local_30 = local_30 + iVar9;" (assignment_expression "local_30 = local_30 + iVar9" identifier = (binary_expression "local_30 + iVar9" identifier + identifier)) ;) (expression_statement "local_34[2] = (int)pwVar10;" (assignment_expression "local_34[2] = (int)pwVar10" (subscript_expression "local_34[2]" identifier [ number_literal ]) = (cast_expression "(int)pwVar10" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*(int *)(this + 4) = local_30;" (assignment_expression "*(int *)(this + 4) = local_30" (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) )))) = identifier) ;) (if_statement "if (pwVar10 < pwVar4) {\n      wVar5 = *pwVar10;\n      goto joined_r0x002361ef;\n    }" if (parenthesized_expression "(pwVar10 < pwVar4)" ( (binary_expression "pwVar10 < pwVar4" identifier < identifier) )) (compound_statement "{\n      wVar5 = *pwVar10;\n      goto joined_r0x002361ef;\n    }" { (expression_statement "wVar5 = *pwVar10;" (assignment_expression "wVar5 = *pwVar10" identifier = (pointer_expression "*pwVar10" * identifier)) ;) (goto_statement "goto joined_r0x002361ef;" goto statement_identifier ;) })) (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" identifier = (pointer_expression "*local_34" * identifier)) ;) (expression_statement "puVar8 = puVar7 + -0x10;" (assignment_expression "puVar8 = puVar7 + -0x10" identifier = (binary_expression "puVar7 + -0x10" identifier + number_literal)) ;) (expression_statement "*(int **)(puVar7 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar7 + -0x10) = local_34" (pointer_expression "*(int **)(puVar7 + -0x10)" * (cast_expression "(int **)(puVar7 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + -0x10)" ( (binary_expression "puVar7 + -0x10" identifier + number_literal) )))) = identifier) ;) comment (expression_statement "pcVar2 = *(code **)(iVar6 + 0x24);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x24)" identifier = (pointer_expression "*(code **)(iVar6 + 0x24)" * (cast_expression "(code **)(iVar6 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x24)" ( (binary_expression "iVar6 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar7 + -0x14) = 0x23639c;" (assignment_expression "*(undefined4 *)(puVar7 + -0x14) = 0x23639c" (pointer_expression "*(undefined4 *)(puVar7 + -0x14)" * (cast_expression "(undefined4 *)(puVar7 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + -0x14)" ( (binary_expression "puVar7 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "wVar5 = (*pcVar2)();" (assignment_expression "wVar5 = (*pcVar2)()" identifier = (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( )))) ;) (labeled_statement "LAB_0023639c:\n    puVar7 = puVar8 + 0x10;" statement_identifier : (expression_statement "puVar7 = puVar8 + 0x10;" (assignment_expression "puVar7 = puVar8 + 0x10" identifier = (binary_expression "puVar8 + 0x10" identifier + number_literal)) ;)) }) while (parenthesized_expression "( true )" ( true )) ;) }))
(translation_unit "int * FUN_00236130(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  code *pcVar2;\n  uint uVar3;\n  wchar_t *pwVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined1 *puVar8;\n  int iVar10;\n  int *piVar11;\n  int *piStack_5c;\n  int *piStack_58;\n  undefined4 uStack_54;\n  undefined1 auStack_4c [12];\n  int *local_40;\n  undefined **local_3c;\n  int local_38;\n  int *local_34;\n  int local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  int **ppiVar9;\n  \n  uStack_14 = 0x23613b;\n  local_3c = &__DT_PLTGOT;\n  param_1[1] = 0;\n  uStack_54 = 1;\n  piStack_58 = param_1;\n  piStack_5c = (int *)local_1d;\n  FUN_0020da70();\n  puVar8 = auStack_4c;\n  if (local_1d[0] == '\0') {\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }\n  local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if ((int *)local_34[3] <= (int *)local_34[2]) {\n    ppiVar9 = &piStack_5c;\n                    \n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }\n  iVar5 = *(int *)local_34[2];\n  do {\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    \n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  } while( true );\n}\n\n" (function_definition "int * FUN_00236130(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  code *pcVar2;\n  uint uVar3;\n  wchar_t *pwVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined1 *puVar8;\n  int iVar10;\n  int *piVar11;\n  int *piStack_5c;\n  int *piStack_58;\n  undefined4 uStack_54;\n  undefined1 auStack_4c [12];\n  int *local_40;\n  undefined **local_3c;\n  int local_38;\n  int *local_34;\n  int local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  int **ppiVar9;\n  \n  uStack_14 = 0x23613b;\n  local_3c = &__DT_PLTGOT;\n  param_1[1] = 0;\n  uStack_54 = 1;\n  piStack_58 = param_1;\n  piStack_5c = (int *)local_1d;\n  FUN_0020da70();\n  puVar8 = auStack_4c;\n  if (local_1d[0] == '\0') {\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }\n  local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if ((int *)local_34[3] <= (int *)local_34[2]) {\n    ppiVar9 = &piStack_5c;\n                    \n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }\n  iVar5 = *(int *)local_34[2];\n  do {\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    \n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  } while( true );\n}" primitive_type (pointer_declarator "* FUN_00236130(int *param_1,int *param_2,int param_3,int param_4)" * (function_declarator "FUN_00236130(int *param_1,int *param_2,int param_3,int param_4)" identifier (parameter_list "(int *param_1,int *param_2,int param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "int param_4" primitive_type identifier) )))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  uint uVar3;\n  wchar_t *pwVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined1 *puVar8;\n  int iVar10;\n  int *piVar11;\n  int *piStack_5c;\n  int *piStack_58;\n  undefined4 uStack_54;\n  undefined1 auStack_4c [12];\n  int *local_40;\n  undefined **local_3c;\n  int local_38;\n  int *local_34;\n  int local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  int **ppiVar9;\n  \n  uStack_14 = 0x23613b;\n  local_3c = &__DT_PLTGOT;\n  param_1[1] = 0;\n  uStack_54 = 1;\n  piStack_58 = param_1;\n  piStack_5c = (int *)local_1d;\n  FUN_0020da70();\n  puVar8 = auStack_4c;\n  if (local_1d[0] == '\0') {\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }\n  local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if ((int *)local_34[3] <= (int *)local_34[2]) {\n    ppiVar9 = &piStack_5c;\n                    \n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }\n  iVar5 = *(int *)local_34[2];\n  do {\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    \n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  } while( true );\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "wchar_t *pwVar4;" type_identifier (pointer_declarator "*pwVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined1 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "int iVar10;" primitive_type identifier ;) (declaration "int *piVar11;" primitive_type (pointer_declarator "*piVar11" * identifier) ;) (declaration "int *piStack_5c;" primitive_type (pointer_declarator "*piStack_5c" * identifier) ;) (declaration "int *piStack_58;" primitive_type (pointer_declarator "*piStack_58" * identifier) ;) (declaration "undefined4 uStack_54;" type_identifier identifier ;) (declaration "undefined1 auStack_4c [12];" type_identifier (array_declarator "auStack_4c [12]" identifier [ number_literal ]) ;) (declaration "int *local_40;" primitive_type (pointer_declarator "*local_40" * identifier) ;) (declaration "undefined **local_3c;" type_identifier (pointer_declarator "**local_3c" * (pointer_declarator "*local_3c" * identifier)) ;) (declaration "int local_38;" primitive_type identifier ;) (declaration "int *local_34;" primitive_type (pointer_declarator "*local_34" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "char local_1d [9];" primitive_type (array_declarator "local_1d [9]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (declaration "int **ppiVar9;" primitive_type (pointer_declarator "**ppiVar9" * (pointer_declarator "*ppiVar9" * identifier)) ;) (expression_statement "uStack_14 = 0x23613b;" (assignment_expression "uStack_14 = 0x23613b" identifier = number_literal) ;) (expression_statement "local_3c = &__DT_PLTGOT;" (assignment_expression "local_3c = &__DT_PLTGOT" identifier = (pointer_expression "&__DT_PLTGOT" & identifier)) ;) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uStack_54 = 1;" (assignment_expression "uStack_54 = 1" identifier = number_literal) ;) (expression_statement "piStack_58 = param_1;" (assignment_expression "piStack_58 = param_1" identifier = identifier) ;) (expression_statement "piStack_5c = (int *)local_1d;" (assignment_expression "piStack_5c = (int *)local_1d" identifier = (cast_expression "(int *)local_1d" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "FUN_0020da70();" (call_expression "FUN_0020da70()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar8 = auStack_4c;" (assignment_expression "puVar8 = auStack_4c" identifier = identifier) ;) (if_statement "if (local_1d[0] == '\0') {\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }" if (parenthesized_expression "(local_1d[0] == '\0')" ( (binary_expression "local_1d[0] == '\0'" (subscript_expression "local_1d[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }" { (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "puVar8 = auStack_4c;" (assignment_expression "puVar8 = auStack_4c" identifier = identifier) ;) (if_statement "if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "puVar8 = auStack_4c;" (assignment_expression "puVar8 = auStack_4c" identifier = identifier) ;) })) (labeled_statement "joined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }" statement_identifier : (if_statement "if (iVar6 != 0) {\n      return param_1;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) }))) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) (labeled_statement "LAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);" statement_identifier : (expression_statement "iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);" (assignment_expression "iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc)" identifier = (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) )))))) ;)) (expression_statement "*(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);" (assignment_expression "*(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14)" (pointer_expression "*(uint *)(puVar8 + -0xc)" * (cast_expression "(uint *)(puVar8 + -0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = (binary_expression "uVar3 | *(uint *)(iVar6 + 0x14)" identifier | (pointer_expression "*(uint *)(iVar6 + 0x14)" * (cast_expression "(uint *)(iVar6 + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) )))))) ;) (expression_statement "*(int *)(puVar8 + -0x10) = iVar6;" (assignment_expression "*(int *)(puVar8 + -0x10) = iVar6" (pointer_expression "*(int *)(puVar8 + -0x10)" * (cast_expression "(int *)(puVar8 + -0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x2361a8;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x2361a8" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_002116a0();" (call_expression "FUN_002116a0()" identifier (argument_list "()" ( ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);" (assignment_expression "local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" identifier = (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" * (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" ( (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (pointer_expression "*(int *)(*param_1 + -0xc)" * (cast_expression "(int *)(*param_1 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0xc)" ( (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((int *)local_34[3] <= (int *)local_34[2]) {\n    ppiVar9 = &piStack_5c;\n                    \n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }" if (parenthesized_expression "((int *)local_34[3] <= (int *)local_34[2])" ( (binary_expression "(int *)local_34[3] <= (int *)local_34[2]" (cast_expression "(int *)local_34[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ])) <= (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    ppiVar9 = &piStack_5c;\n                    \n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }" { (expression_statement "ppiVar9 = &piStack_5c;" (assignment_expression "ppiVar9 = &piStack_5c" identifier = (pointer_expression "&piStack_5c" & identifier)) ;) (expression_statement "piStack_5c = local_34;" (assignment_expression "piStack_5c = local_34" identifier = identifier) ;) (expression_statement "iVar5 = (**(code **)(*local_34 + 0x24))();" (assignment_expression "iVar5 = (**(code **)(*local_34 + 0x24))()" identifier = (call_expression "(**(code **)(*local_34 + 0x24))()" (parenthesized_expression "(**(code **)(*local_34 + 0x24))" ( (pointer_expression "**(code **)(*local_34 + 0x24)" * (pointer_expression "*(code **)(*local_34 + 0x24)" * (cast_expression "(code **)(*local_34 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*local_34 + 0x24)" ( (binary_expression "*local_34 + 0x24" (pointer_expression "*local_34" * identifier) + number_literal) ))))) )) (argument_list "()" ( )))) ;) (goto_statement "goto LAB_0023639c;" goto statement_identifier ;) })) (expression_statement "iVar5 = *(int *)local_34[2];" (assignment_expression "iVar5 = *(int *)local_34[2]" identifier = (pointer_expression "*(int *)local_34[2]" * (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ])))) ;) (do_statement "do {\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    \n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  } while( true );" do (compound_statement "{\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    \n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  }" { (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (labeled_statement "joined_r0x002361ef:\n    iVar6 = local_30 + 1;" statement_identifier : (expression_statement "iVar6 = local_30 + 1;" (assignment_expression "iVar6 = local_30 + 1" identifier = (binary_expression "local_30 + 1" identifier + number_literal)) ;)) (if_statement "if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }" if (parenthesized_expression "(param_3 <= iVar6)" ( (binary_expression "param_3 <= iVar6" identifier <= identifier) )) (compound_statement "{\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }" { (if_statement "if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (compound_statement "{\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }" { (if_statement "if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar3 = (-(uint)(local_30 == 0) & 4) + 2;" (assignment_expression "uVar3 = (-(uint)(local_30 == 0) & 4) + 2" identifier = (binary_expression "(-(uint)(local_30 == 0) & 4) + 2" (parenthesized_expression "(-(uint)(local_30 == 0) & 4)" ( (binary_expression "-(uint)(local_30 == 0) & 4" (unary_expression "-(uint)(local_30 == 0)" - (call_expression "(uint)(local_30 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )))) & number_literal) )) + number_literal)) ;) (goto_statement "goto LAB_0023618d;" goto statement_identifier ;) })) (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;) }) (else_clause "else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }" else (compound_statement "{\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }" { (if_statement "if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }" if (parenthesized_expression "(param_4 == iVar5)" ( (binary_expression "param_4 == iVar5" identifier == identifier) )) (compound_statement "{\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }" { (expression_statement "piVar7 = (int *)local_34[3];" (assignment_expression "piVar7 = (int *)local_34[3]" identifier = (cast_expression "(int *)local_34[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ]))) ;) (expression_statement "piVar11 = (int *)local_34[2];" (assignment_expression "piVar11 = (int *)local_34[2]" identifier = (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) ;) (goto_statement "goto LAB_002362d0;" goto statement_identifier ;) })) (if_statement "if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) (goto_statement "goto LAB_0023618d;" goto statement_identifier ;) })) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" identifier = number_literal) ;) }))) (labeled_statement "LAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }" statement_identifier : (if_statement "if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar3 = uVar3 | 4;\n      }" { (expression_statement "uVar3 = uVar3 | 4;" (assignment_expression "uVar3 = uVar3 | 4" identifier = (binary_expression "uVar3 | 4" identifier | number_literal)) ;) }))) (goto_statement "goto LAB_0023618d;" goto statement_identifier ;) })) (if_statement "if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (compound_statement "{\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }" { (labeled_statement "LAB_002363cc:\n      uVar3 = 2;" statement_identifier : (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" identifier = number_literal) ;)) (if_statement "if (0 < param_3) {\n        *param_2 = 0;\n      }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n        *param_2 = 0;\n      }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) })) (goto_statement "goto LAB_002363e1;" goto statement_identifier ;) })) (expression_statement "piVar7 = (int *)local_34[3];" (assignment_expression "piVar7 = (int *)local_34[3]" identifier = (cast_expression "(int *)local_34[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ]))) ;) (expression_statement "piVar11 = (int *)local_34[2];" (assignment_expression "piVar11 = (int *)local_34[2]" identifier = (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) ;) (if_statement "if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }" if (parenthesized_expression "(param_4 == iVar5)" ( (binary_expression "param_4 == iVar5" identifier == identifier) )) (compound_statement "{\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }" { (labeled_statement "LAB_002362d0:\n      param_1[1] = iVar6;" statement_identifier : (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;)) (if_statement "if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }" if (parenthesized_expression "(piVar11 < piVar7)" ( (binary_expression "piVar11 < piVar7" identifier < identifier) )) (compound_statement "{\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }" { (expression_statement "local_34[2] = (int)(piVar11 + 1);" (assignment_expression "local_34[2] = (int)(piVar11 + 1)" (subscript_expression "local_34[2]" identifier [ number_literal ]) = (cast_expression "(int)(piVar11 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar11 + 1)" ( (binary_expression "piVar11 + 1" identifier + number_literal) )))) ;) (if_statement "if (0 < param_3) {\n          *param_2 = 0;\n        }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n          *param_2 = 0;\n        }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) })) }) (else_clause "else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }" else (compound_statement "{\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }" { (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" identifier = (pointer_expression "*local_34" * identifier)) ;) (expression_statement "*(int **)(puVar8 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar8 + -0x10) = local_34" (pointer_expression "*(int **)(puVar8 + -0x10)" * (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar2 = *(code **)(iVar6 + 0x28);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x28)" identifier = (pointer_expression "*(code **)(iVar6 + 0x28)" * (cast_expression "(code **)(iVar6 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x28)" ( (binary_expression "iVar6 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x236462;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x236462" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*pcVar2)();" (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (if_statement "if (0 < param_3) {\n          *param_2 = 0;\n        }" if (parenthesized_expression "(0 < param_3)" ( (binary_expression "0 < param_3" number_literal < identifier) )) (compound_statement "{\n          *param_2 = 0;\n        }" { (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;) })) }))) (goto_statement "goto joined_r0x0023644b;" goto statement_identifier ;) })) (expression_statement "iVar1 = (param_3 - local_30) + -1;" (assignment_expression "iVar1 = (param_3 - local_30) + -1" identifier = (binary_expression "(param_3 - local_30) + -1" (parenthesized_expression "(param_3 - local_30)" ( (binary_expression "param_3 - local_30" identifier - identifier) )) + number_literal)) ;) (expression_statement "iVar10 = (int)piVar7 - (int)piVar11 >> 2;" (assignment_expression "iVar10 = (int)piVar7 - (int)piVar11 >> 2" identifier = (binary_expression "(int)piVar7 - (int)piVar11 >> 2" (binary_expression "(int)piVar7 - (int)piVar11" (cast_expression "(int)piVar7" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) ;) (if_statement "if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }" if (parenthesized_expression "(iVar1 <= iVar10)" ( (binary_expression "iVar1 <= iVar10" identifier <= identifier) )) (compound_statement "{\n      iVar10 = iVar1;\n    }" { (expression_statement "iVar10 = iVar1;" (assignment_expression "iVar10 = iVar1" identifier = identifier) ;) })) (if_statement "if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }" if (parenthesized_expression "(iVar10 < 2)" ( (binary_expression "iVar10 < 2" identifier < number_literal) )) (compound_statement "{\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }" { (expression_statement "*param_2 = iVar5;" (assignment_expression "*param_2 = iVar5" (pointer_expression "*param_2" * identifier) = identifier) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }" if (parenthesized_expression "(piVar11 < piVar7)" ( (binary_expression "piVar11 < piVar7" identifier < identifier) )) (compound_statement "{\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }" { (expression_statement "iVar6 = *piVar11;" (assignment_expression "iVar6 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) (expression_statement "local_34[2] = (int)(piVar11 + 1);" (assignment_expression "local_34[2] = (int)(piVar11 + 1)" (subscript_expression "local_34[2]" identifier [ number_literal ]) = (cast_expression "(int)(piVar11 + 1)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(piVar11 + 1)" ( (binary_expression "piVar11 + 1" identifier + number_literal) )))) ;) }) (else_clause "else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }" else (compound_statement "{\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }" { (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" identifier = (pointer_expression "*local_34" * identifier)) ;) (expression_statement "*(int **)(puVar8 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar8 + -0x10) = local_34" (pointer_expression "*(int **)(puVar8 + -0x10)" * (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar2 = *(code **)(iVar6 + 0x28);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x28)" identifier = (pointer_expression "*(code **)(iVar6 + 0x28)" * (cast_expression "(code **)(iVar6 + 0x28)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x28)" ( (binary_expression "iVar6 + 0x28" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x236404;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x236404" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = (*pcVar2)();" (assignment_expression "iVar6 = (*pcVar2)()" identifier = (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( )))) ;) }))) (if_statement "if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }" { (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_002363cc;" goto statement_identifier ;) })) (if_statement "if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }" if (parenthesized_expression "((int *)local_34[2] < (int *)local_34[3])" ( (binary_expression "(int *)local_34[2] < (int *)local_34[3]" (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ])) < (cast_expression "(int *)local_34[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ]))) )) (compound_statement "{\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }" { (expression_statement "iVar5 = *(int *)local_34[2];" (assignment_expression "iVar5 = *(int *)local_34[2]" identifier = (pointer_expression "*(int *)local_34[2]" * (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ])))) ;) (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }) (else_clause "else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }" else (compound_statement "{\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }" { (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" identifier = (pointer_expression "*local_34" * identifier)) ;) (expression_statement "*(int **)(puVar8 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar8 + -0x10) = local_34" (pointer_expression "*(int **)(puVar8 + -0x10)" * (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar2 = *(code **)(iVar6 + 0x24);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x24)" identifier = (pointer_expression "*(code **)(iVar6 + 0x24)" * (cast_expression "(code **)(iVar6 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x24)" ( (binary_expression "iVar6 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x23642c;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x23642c" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = (*pcVar2)();" (assignment_expression "iVar5 = (*pcVar2)()" identifier = (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( )))) ;) (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) }))) (goto_statement "goto joined_r0x002361ef;" goto statement_identifier ;) })) (expression_statement "local_40 = piVar7;" (assignment_expression "local_40 = piVar7" identifier = identifier) ;) (expression_statement "*(int *)(puVar8 + -8) = iVar10;" (assignment_expression "*(int *)(puVar8 + -8) = iVar10" (pointer_expression "*(int *)(puVar8 + -8)" * (cast_expression "(int *)(puVar8 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(puVar8 + -0xc) = param_4;" (assignment_expression "*(int *)(puVar8 + -0xc) = param_4" (pointer_expression "*(int *)(puVar8 + -0xc)" * (cast_expression "(int *)(puVar8 + -0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar8 + -0x10) = piVar11;" (assignment_expression "*(int **)(puVar8 + -0x10) = piVar11" (pointer_expression "*(int **)(puVar8 + -0x10)" * (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "local_38 = iVar10;" (assignment_expression "local_38 = iVar10" identifier = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x236243;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x236243" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));" (assignment_expression "pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8))" identifier = (call_expression "wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8))" identifier (argument_list "(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8))" ( (pointer_expression "*(wchar_t **)(puVar8 + -0x10)" * (cast_expression "(wchar_t **)(puVar8 + -0x10)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) , (pointer_expression "*(wchar_t *)(puVar8 + -0xc)" * (cast_expression "(wchar_t *)(puVar8 + -0xc)" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(puVar8 + -8)" * (cast_expression "(size_t *)(puVar8 + -8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) )))) ;) (if_statement "if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }" if (parenthesized_expression "((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0))" ( (binary_expression "(pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)" (parenthesized_expression "(pwVar4 == (wchar_t *)0x0)" ( (binary_expression "pwVar4 == (wchar_t *)0x0" identifier == (cast_expression "(wchar_t *)0x0" ( (type_descriptor "wchar_t *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)" ( (comma_expression "iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0" (assignment_expression "iVar10 = (int)pwVar4 - (int)piVar11 >> 2" identifier = (binary_expression "(int)pwVar4 - (int)piVar11 >> 2" (binary_expression "(int)pwVar4 - (int)piVar11" (cast_expression "(int)pwVar4" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier)) >> number_literal)) , (comma_expression "iVar6 = iVar10, piVar7 = local_40, iVar10 != 0" (assignment_expression "iVar6 = iVar10" identifier = identifier) , (comma_expression "piVar7 = local_40, iVar10 != 0" (assignment_expression "piVar7 = local_40" identifier = identifier) , (binary_expression "iVar10 != 0" identifier != number_literal)))) ))) )) (compound_statement "{\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }" { (expression_statement "local_38 = iVar10;" (assignment_expression "local_38 = iVar10" identifier = identifier) ;) (expression_statement "*(int *)(puVar8 + -8) = iVar10;" (assignment_expression "*(int *)(puVar8 + -8) = iVar10" (pointer_expression "*(int *)(puVar8 + -8)" * (cast_expression "(int *)(puVar8 + -8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar8 + -0xc) = piVar11;" (assignment_expression "*(int **)(puVar8 + -0xc) = piVar11" (pointer_expression "*(int **)(puVar8 + -0xc)" * (cast_expression "(int **)(puVar8 + -0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int **)(puVar8 + -0x10) = param_2;" (assignment_expression "*(int **)(puVar8 + -0x10) = param_2" (pointer_expression "*(int **)(puVar8 + -0x10)" * (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x236323;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x236323" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));" (call_expression "wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8))" identifier (argument_list "(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8))" ( (pointer_expression "*(wchar_t **)(puVar8 + -0x10)" * (cast_expression "(wchar_t **)(puVar8 + -0x10)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) , (pointer_expression "*(wchar_t **)(puVar8 + -0xc)" * (cast_expression "(wchar_t **)(puVar8 + -0xc)" ( (type_descriptor "wchar_t **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0xc)" ( (binary_expression "puVar8 + -0xc" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(puVar8 + -8)" * (cast_expression "(size_t *)(puVar8 + -8)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -8)" ( (binary_expression "puVar8 + -8" identifier + number_literal) )))) ))) ;) (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" identifier = (subscript_expression "param_1[1]" identifier [ number_literal ])) ;) (expression_statement "piVar7 = (int *)local_34[3];" (assignment_expression "piVar7 = (int *)local_34[3]" identifier = (cast_expression "(int *)local_34[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[3]" identifier [ number_literal ]))) ;) (expression_statement "piVar11 = (int *)local_34[2];" (assignment_expression "piVar11 = (int *)local_34[2]" identifier = (cast_expression "(int *)local_34[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_34[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar6 = local_38;" (assignment_expression "iVar6 = local_38" identifier = identifier) ;) })) (expression_statement "param_2 = param_2 + iVar6;" (assignment_expression "param_2 = param_2 + iVar6" identifier = (binary_expression "param_2 + iVar6" identifier + identifier)) ;) (expression_statement "piVar11 = piVar11 + iVar6;" (assignment_expression "piVar11 = piVar11 + iVar6" identifier = (binary_expression "piVar11 + iVar6" identifier + identifier)) ;) (expression_statement "local_30 = local_30 + iVar10;" (assignment_expression "local_30 = local_30 + iVar10" identifier = (binary_expression "local_30 + iVar10" identifier + identifier)) ;) (expression_statement "local_34[2] = (int)piVar11;" (assignment_expression "local_34[2] = (int)piVar11" (subscript_expression "local_34[2]" identifier [ number_literal ]) = (cast_expression "(int)piVar11" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "param_1[1] = local_30;" (assignment_expression "param_1[1] = local_30" (subscript_expression "param_1[1]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }" if (parenthesized_expression "(piVar11 < piVar7)" ( (binary_expression "piVar11 < piVar7" identifier < identifier) )) (compound_statement "{\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }" { (expression_statement "iVar5 = *piVar11;" (assignment_expression "iVar5 = *piVar11" identifier = (pointer_expression "*piVar11" * identifier)) ;) (goto_statement "goto joined_r0x002361ef;" goto statement_identifier ;) })) (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" identifier = (pointer_expression "*local_34" * identifier)) ;) (expression_statement "ppiVar9 = (int **)(puVar8 + -0x10);" (assignment_expression "ppiVar9 = (int **)(puVar8 + -0x10)" identifier = (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) ;) (expression_statement "*(int **)(puVar8 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar8 + -0x10) = local_34" (pointer_expression "*(int **)(puVar8 + -0x10)" * (cast_expression "(int **)(puVar8 + -0x10)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar8 + -0x10)" ( (binary_expression "puVar8 + -0x10" identifier + number_literal) )))) = identifier) ;) (expression_statement "pcVar2 = *(code **)(iVar6 + 0x24);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x24)" identifier = (pointer_expression "*(code **)(iVar6 + 0x24)" * (cast_expression "(code **)(iVar6 + 0x24)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0x24)" ( (binary_expression "iVar6 + 0x24" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x23639c;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x23639c" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" * (cast_expression "(undefined4 *)(puVar8 + -0x14)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar8 + -0x14)" ( (binary_expression "puVar8 + -0x14" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar5 = (*pcVar2)();" (assignment_expression "iVar5 = (*pcVar2)()" identifier = (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" ( (pointer_expression "*pcVar2" * identifier) )) (argument_list "()" ( )))) ;) (labeled_statement "LAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);" statement_identifier : (expression_statement "puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);" (assignment_expression "puVar8 = (undefined1 *)((int)ppiVar9 + 0x10)" identifier = (cast_expression "(undefined1 *)((int)ppiVar9 + 0x10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppiVar9 + 0x10)" ( (binary_expression "(int)ppiVar9 + 0x10" (cast_expression "(int)ppiVar9" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE IDENT ;) (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))))) ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) <= (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 ( )))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) & LIT) )) + LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT | LIT)) ;) }))) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (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 == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) }))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) >> LIT)) , (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT != LIT)))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( )))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) ;)) }) while (parenthesized_expression ( BOOL )) ;) })))
(function_definition "int * FUN_00236130(int *param_1,int *param_2,int param_3,int param_4)\n\n{\n  int iVar1;\n  code *pcVar2;\n  uint uVar3;\n  wchar_t *pwVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined1 *puVar8;\n  int iVar10;\n  int *piVar11;\n  int *piStack_5c;\n  int *piStack_58;\n  undefined4 uStack_54;\n  undefined1 auStack_4c [12];\n  int *local_40;\n  undefined **local_3c;\n  int local_38;\n  int *local_34;\n  int local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  int **ppiVar9;\n  \n  uStack_14 = 0x23613b;\n  local_3c = &__DT_PLTGOT;\n  param_1[1] = 0;\n  uStack_54 = 1;\n  piStack_58 = param_1;\n  piStack_5c = (int *)local_1d;\n  FUN_0020da70();\n  puVar8 = auStack_4c;\n  if (local_1d[0] == '\0') {\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }\n  local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if ((int *)local_34[3] <= (int *)local_34[2]) {\n    ppiVar9 = &piStack_5c;\n                    \n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }\n  iVar5 = *(int *)local_34[2];\n  do {\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    \n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  } while( true );\n}" (primitive_type "int") (pointer_declarator "* FUN_00236130(int *param_1,int *param_2,int param_3,int param_4)" (* "*") (function_declarator "FUN_00236130(int *param_1,int *param_2,int param_3,int param_4)" (identifier "FUN_00236130") (parameter_list "(int *param_1,int *param_2,int param_3,int param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")")))) (compound_statement "{\n  int iVar1;\n  code *pcVar2;\n  uint uVar3;\n  wchar_t *pwVar4;\n  int iVar5;\n  int iVar6;\n  int *piVar7;\n  undefined1 *puVar8;\n  int iVar10;\n  int *piVar11;\n  int *piStack_5c;\n  int *piStack_58;\n  undefined4 uStack_54;\n  undefined1 auStack_4c [12];\n  int *local_40;\n  undefined **local_3c;\n  int local_38;\n  int *local_34;\n  int local_30;\n  char local_1d [9];\n  undefined4 uStack_14;\n  int **ppiVar9;\n  \n  uStack_14 = 0x23613b;\n  local_3c = &__DT_PLTGOT;\n  param_1[1] = 0;\n  uStack_54 = 1;\n  piStack_58 = param_1;\n  piStack_5c = (int *)local_1d;\n  FUN_0020da70();\n  puVar8 = auStack_4c;\n  if (local_1d[0] == '\0') {\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }\n  local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);\n  if ((int *)local_34[3] <= (int *)local_34[2]) {\n    ppiVar9 = &piStack_5c;\n                    \n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }\n  iVar5 = *(int *)local_34[2];\n  do {\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    \n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  } while( true );\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "code *pcVar2;" (type_identifier "code") (pointer_declarator "*pcVar2" (* "*") (identifier "pcVar2")) (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "wchar_t *pwVar4;" (type_identifier "wchar_t") (pointer_declarator "*pwVar4" (* "*") (identifier "pwVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "undefined1 *puVar8;" (type_identifier "undefined1") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "int iVar10;" (primitive_type "int") (identifier "iVar10") (; ";")) (declaration "int *piVar11;" (primitive_type "int") (pointer_declarator "*piVar11" (* "*") (identifier "piVar11")) (; ";")) (declaration "int *piStack_5c;" (primitive_type "int") (pointer_declarator "*piStack_5c" (* "*") (identifier "piStack_5c")) (; ";")) (declaration "int *piStack_58;" (primitive_type "int") (pointer_declarator "*piStack_58" (* "*") (identifier "piStack_58")) (; ";")) (declaration "undefined4 uStack_54;" (type_identifier "undefined4") (identifier "uStack_54") (; ";")) (declaration "undefined1 auStack_4c [12];" (type_identifier "undefined1") (array_declarator "auStack_4c [12]" (identifier "auStack_4c") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "int *local_40;" (primitive_type "int") (pointer_declarator "*local_40" (* "*") (identifier "local_40")) (; ";")) (declaration "undefined **local_3c;" (type_identifier "undefined") (pointer_declarator "**local_3c" (* "*") (pointer_declarator "*local_3c" (* "*") (identifier "local_3c"))) (; ";")) (declaration "int local_38;" (primitive_type "int") (identifier "local_38") (; ";")) (declaration "int *local_34;" (primitive_type "int") (pointer_declarator "*local_34" (* "*") (identifier "local_34")) (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "char local_1d [9];" (primitive_type "char") (array_declarator "local_1d [9]" (identifier "local_1d") ([ "[") (number_literal "9") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (declaration "int **ppiVar9;" (primitive_type "int") (pointer_declarator "**ppiVar9" (* "*") (pointer_declarator "*ppiVar9" (* "*") (identifier "ppiVar9"))) (; ";")) (expression_statement "uStack_14 = 0x23613b;" (assignment_expression "uStack_14 = 0x23613b" (identifier "uStack_14") (= "=") (number_literal "0x23613b")) (; ";")) (expression_statement "local_3c = &__DT_PLTGOT;" (assignment_expression "local_3c = &__DT_PLTGOT" (identifier "local_3c") (= "=") (pointer_expression "&__DT_PLTGOT" (& "&") (identifier "__DT_PLTGOT"))) (; ";")) (expression_statement "param_1[1] = 0;" (assignment_expression "param_1[1] = 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_54 = 1;" (assignment_expression "uStack_54 = 1" (identifier "uStack_54") (= "=") (number_literal "1")) (; ";")) (expression_statement "piStack_58 = param_1;" (assignment_expression "piStack_58 = param_1" (identifier "piStack_58") (= "=") (identifier "param_1")) (; ";")) (expression_statement "piStack_5c = (int *)local_1d;" (assignment_expression "piStack_5c = (int *)local_1d" (identifier "piStack_5c") (= "=") (cast_expression "(int *)local_1d" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "local_1d"))) (; ";")) (expression_statement "FUN_0020da70();" (call_expression "FUN_0020da70()" (identifier "FUN_0020da70") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar8 = auStack_4c;" (assignment_expression "puVar8 = auStack_4c" (identifier "puVar8") (= "=") (identifier "auStack_4c")) (; ";")) (if_statement "if (local_1d[0] == '\0') {\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }" (if "if") (parenthesized_expression "(local_1d[0] == '\0')" (( "(") (binary_expression "local_1d[0] == '\0'" (subscript_expression "local_1d[0]" (identifier "local_1d") ([ "[") (number_literal "0") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    iVar6 = param_1[1];\n    puVar8 = auStack_4c;\n    if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }\njoined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }\n    uVar3 = 4;\nLAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);\n    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);\n    *(int *)(puVar8 + -0x10) = iVar6;\n    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;\n    FUN_002116a0();\n    return param_1;\n  }" ({ "{") (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" (identifier "iVar6") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "puVar8 = auStack_4c;" (assignment_expression "puVar8 = auStack_4c" (identifier "puVar8") (= "=") (identifier "auStack_4c")) (; ";")) (if_statement "if (0 < param_3) {\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }" (if "if") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n      *param_2 = 0;\n      puVar8 = auStack_4c;\n    }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar8 = auStack_4c;" (assignment_expression "puVar8 = auStack_4c" (identifier "puVar8") (= "=") (identifier "auStack_4c")) (; ";")) (} "}"))) (labeled_statement "joined_r0x0023644b:\n    if (iVar6 != 0) {\n      return param_1;\n    }" (statement_identifier "joined_r0x0023644b") (: ":") (if_statement "if (iVar6 != 0) {\n      return param_1;\n    }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return param_1;\n    }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" (identifier "uVar3") (= "=") (number_literal "4")) (; ";")) (labeled_statement "LAB_0023618d:\n    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);" (statement_identifier "LAB_0023618d") (: ":") (expression_statement "iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);" (assignment_expression "iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc)" (identifier "iVar6") (= "=") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")")))))) (; ";"))) (expression_statement "*(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);" (assignment_expression "*(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14)" (pointer_expression "*(uint *)(puVar8 + -0xc)" (* "*") (cast_expression "(uint *)(puVar8 + -0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0xc)" (( "(") (binary_expression "puVar8 + -0xc" (identifier "puVar8") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (binary_expression "uVar3 | *(uint *)(iVar6 + 0x14)" (identifier "uVar3") (| "|") (pointer_expression "*(uint *)(iVar6 + 0x14)" (* "*") (cast_expression "(uint *)(iVar6 + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x14)" (( "(") (binary_expression "iVar6 + 0x14" (identifier "iVar6") (+ "+") (number_literal "0x14")) () ")")))))) (; ";")) (expression_statement "*(int *)(puVar8 + -0x10) = iVar6;" (assignment_expression "*(int *)(puVar8 + -0x10) = iVar6" (pointer_expression "*(int *)(puVar8 + -0x10)" (* "*") (cast_expression "(int *)(puVar8 + -0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x2361a8;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x2361a8" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x2361a8")) (; ";")) (expression_statement "FUN_002116a0();" (call_expression "FUN_002116a0()" (identifier "FUN_002116a0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);" (assignment_expression "local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (identifier "local_34") (= "=") (pointer_expression "*(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (* "*") (cast_expression "(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c)" (( "(") (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c" (binary_expression "(int)param_1 + *(int *)(*param_1 + -0xc)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(int *)(*param_1 + -0xc)" (* "*") (cast_expression "(int *)(*param_1 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0xc)" (( "(") (binary_expression "*param_1 + -0xc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0xc")) () ")"))))) (+ "+") (number_literal "0x7c")) () ")"))))) (; ";")) (if_statement "if ((int *)local_34[3] <= (int *)local_34[2]) {\n    ppiVar9 = &piStack_5c;\n                    \n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }" (if "if") (parenthesized_expression "((int *)local_34[3] <= (int *)local_34[2])" (( "(") (binary_expression "(int *)local_34[3] <= (int *)local_34[2]" (cast_expression "(int *)local_34[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[3]" (identifier "local_34") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (cast_expression "(int *)local_34[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]")))) () ")")) (compound_statement "{\n    ppiVar9 = &piStack_5c;\n                    \n    piStack_5c = local_34;\n    iVar5 = (**(code **)(*local_34 + 0x24))();\n    goto LAB_0023639c;\n  }" ({ "{") (expression_statement "ppiVar9 = &piStack_5c;" (assignment_expression "ppiVar9 = &piStack_5c" (identifier "ppiVar9") (= "=") (pointer_expression "&piStack_5c" (& "&") (identifier "piStack_5c"))) (; ";")) (expression_statement "piStack_5c = local_34;" (assignment_expression "piStack_5c = local_34" (identifier "piStack_5c") (= "=") (identifier "local_34")) (; ";")) (expression_statement "iVar5 = (**(code **)(*local_34 + 0x24))();" (assignment_expression "iVar5 = (**(code **)(*local_34 + 0x24))()" (identifier "iVar5") (= "=") (call_expression "(**(code **)(*local_34 + 0x24))()" (parenthesized_expression "(**(code **)(*local_34 + 0x24))" (( "(") (pointer_expression "**(code **)(*local_34 + 0x24)" (* "*") (pointer_expression "*(code **)(*local_34 + 0x24)" (* "*") (cast_expression "(code **)(*local_34 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*local_34 + 0x24)" (( "(") (binary_expression "*local_34 + 0x24" (pointer_expression "*local_34" (* "*") (identifier "local_34")) (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (goto_statement "goto LAB_0023639c;" (goto "goto") (statement_identifier "LAB_0023639c") (; ";")) (} "}"))) (expression_statement "iVar5 = *(int *)local_34[2];" (assignment_expression "iVar5 = *(int *)local_34[2]" (identifier "iVar5") (= "=") (pointer_expression "*(int *)local_34[2]" (* "*") (cast_expression "(int *)local_34[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (do_statement "do {\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    \n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  } while( true );" (do "do") (compound_statement "{\n    local_30 = param_1[1];\njoined_r0x002361ef:\n    iVar6 = local_30 + 1;\n    if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }\n    if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }\n    piVar7 = (int *)local_34[3];\n    piVar11 = (int *)local_34[2];\n    if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }\n    iVar1 = (param_3 - local_30) + -1;\n    iVar10 = (int)piVar7 - (int)piVar11 >> 2;\n    if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }\n    if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }\n    local_40 = piVar7;\n    *(int *)(puVar8 + -8) = iVar10;\n    *(int *)(puVar8 + -0xc) = param_4;\n    *(int **)(puVar8 + -0x10) = piVar11;\n    local_38 = iVar10;\n    *(undefined4 *)(puVar8 + -0x14) = 0x236243;\n    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));\n    if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }\n    param_2 = param_2 + iVar6;\n    piVar11 = piVar11 + iVar6;\n    local_30 = local_30 + iVar10;\n    local_34[2] = (int)piVar11;\n    param_1[1] = local_30;\n    if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }\n    iVar6 = *local_34;\n    ppiVar9 = (int **)(puVar8 + -0x10);\n    *(int **)(puVar8 + -0x10) = local_34;\n                    \n    pcVar2 = *(code **)(iVar6 + 0x24);\n    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;\n    iVar5 = (*pcVar2)();\nLAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);\n  }" ({ "{") (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" (identifier "local_30") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (labeled_statement "joined_r0x002361ef:\n    iVar6 = local_30 + 1;" (statement_identifier "joined_r0x002361ef") (: ":") (expression_statement "iVar6 = local_30 + 1;" (assignment_expression "iVar6 = local_30 + 1" (identifier "iVar6") (= "=") (binary_expression "local_30 + 1" (identifier "local_30") (+ "+") (number_literal "1"))) (; ";"))) (if_statement "if (param_3 <= iVar6) {\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }" (if "if") (parenthesized_expression "(param_3 <= iVar6)" (( "(") (binary_expression "param_3 <= iVar6" (identifier "param_3") (<= "<=") (identifier "iVar6")) () ")")) (compound_statement "{\n      if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }\nLAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }\n      goto LAB_0023618d;\n    }" ({ "{") (if_statement "if (iVar5 == -1) {\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }\n      else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }" (if "if") (parenthesized_expression "(iVar5 == -1)" (( "(") (binary_expression "iVar5 == -1" (identifier "iVar5") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }\n        uVar3 = 2;\n      }" ({ "{") (if_statement "if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }" (if "if") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n          *param_2 = 0;\n          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;\n          goto LAB_0023618d;\n        }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = (-(uint)(local_30 == 0) & 4) + 2;" (assignment_expression "uVar3 = (-(uint)(local_30 == 0) & 4) + 2" (identifier "uVar3") (= "=") (binary_expression "(-(uint)(local_30 == 0) & 4) + 2" (parenthesized_expression "(-(uint)(local_30 == 0) & 4)" (( "(") (binary_expression "-(uint)(local_30 == 0) & 4" (unary_expression "-(uint)(local_30 == 0)" (- "-") (call_expression "(uint)(local_30 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")))) (& "&") (number_literal "4")) () ")")) (+ "+") (number_literal "2"))) (; ";")) (goto_statement "goto LAB_0023618d;" (goto "goto") (statement_identifier "LAB_0023618d") (; ";")) (} "}"))) (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" (identifier "uVar3") (= "=") (number_literal "2")) (; ";")) (} "}")) (else_clause "else {\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }" (else "else") (compound_statement "{\n        if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }\n        if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }\n        uVar3 = 4;\n      }" ({ "{") (if_statement "if (param_4 == iVar5) {\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }" (if "if") (parenthesized_expression "(param_4 == iVar5)" (( "(") (binary_expression "param_4 == iVar5" (identifier "param_4") (== "==") (identifier "iVar5")) () ")")) (compound_statement "{\n          piVar7 = (int *)local_34[3];\n          piVar11 = (int *)local_34[2];\n          goto LAB_002362d0;\n        }" ({ "{") (expression_statement "piVar7 = (int *)local_34[3];" (assignment_expression "piVar7 = (int *)local_34[3]" (identifier "piVar7") (= "=") (cast_expression "(int *)local_34[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[3]" (identifier "local_34") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "piVar11 = (int *)local_34[2];" (assignment_expression "piVar11 = (int *)local_34[2]" (identifier "piVar11") (= "=") (cast_expression "(int *)local_34[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]")))) (; ";")) (goto_statement "goto LAB_002362d0;" (goto "goto") (statement_identifier "LAB_002362d0") (; ";")) (} "}"))) (if_statement "if (0 < param_3) {\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }" (if "if") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n          *param_2 = 0;\n          uVar3 = 4;\n          goto LAB_0023618d;\n        }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" (identifier "uVar3") (= "=") (number_literal "4")) (; ";")) (goto_statement "goto LAB_0023618d;" (goto "goto") (statement_identifier "LAB_0023618d") (; ";")) (} "}"))) (expression_statement "uVar3 = 4;" (assignment_expression "uVar3 = 4" (identifier "uVar3") (= "=") (number_literal "4")) (; ";")) (} "}")))) (labeled_statement "LAB_002363e1:\n      if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }" (statement_identifier "LAB_002363e1") (: ":") (if_statement "if (local_30 == 0) {\n        uVar3 = uVar3 | 4;\n      }" (if "if") (parenthesized_expression "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar3 = uVar3 | 4;\n      }" ({ "{") (expression_statement "uVar3 = uVar3 | 4;" (assignment_expression "uVar3 = uVar3 | 4" (identifier "uVar3") (= "=") (binary_expression "uVar3 | 4" (identifier "uVar3") (| "|") (number_literal "4"))) (; ";")) (} "}")))) (goto_statement "goto LAB_0023618d;" (goto "goto") (statement_identifier "LAB_0023618d") (; ";")) (} "}"))) (if_statement "if (iVar5 == -1) {\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }" (if "if") (parenthesized_expression "(iVar5 == -1)" (( "(") (binary_expression "iVar5 == -1" (identifier "iVar5") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\nLAB_002363cc:\n      uVar3 = 2;\n      if (0 < param_3) {\n        *param_2 = 0;\n      }\n      goto LAB_002363e1;\n    }" ({ "{") (labeled_statement "LAB_002363cc:\n      uVar3 = 2;" (statement_identifier "LAB_002363cc") (: ":") (expression_statement "uVar3 = 2;" (assignment_expression "uVar3 = 2" (identifier "uVar3") (= "=") (number_literal "2")) (; ";"))) (if_statement "if (0 < param_3) {\n        *param_2 = 0;\n      }" (if "if") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n        *param_2 = 0;\n      }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (goto_statement "goto LAB_002363e1;" (goto "goto") (statement_identifier "LAB_002363e1") (; ";")) (} "}"))) (expression_statement "piVar7 = (int *)local_34[3];" (assignment_expression "piVar7 = (int *)local_34[3]" (identifier "piVar7") (= "=") (cast_expression "(int *)local_34[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[3]" (identifier "local_34") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "piVar11 = (int *)local_34[2];" (assignment_expression "piVar11 = (int *)local_34[2]" (identifier "piVar11") (= "=") (cast_expression "(int *)local_34[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]")))) (; ";")) (if_statement "if (param_4 == iVar5) {\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }" (if "if") (parenthesized_expression "(param_4 == iVar5)" (( "(") (binary_expression "param_4 == iVar5" (identifier "param_4") (== "==") (identifier "iVar5")) () ")")) (compound_statement "{\nLAB_002362d0:\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      goto joined_r0x0023644b;\n    }" ({ "{") (labeled_statement "LAB_002362d0:\n      param_1[1] = iVar6;" (statement_identifier "LAB_002362d0") (: ":") (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar6")) (; ";"))) (if_statement "if (piVar11 < piVar7) {\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }" (if "if") (parenthesized_expression "(piVar11 < piVar7)" (( "(") (binary_expression "piVar11 < piVar7" (identifier "piVar11") (< "<") (identifier "piVar7")) () ")")) (compound_statement "{\n        local_34[2] = (int)(piVar11 + 1);\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }" ({ "{") (expression_statement "local_34[2] = (int)(piVar11 + 1);" (assignment_expression "local_34[2] = (int)(piVar11 + 1)" (subscript_expression "local_34[2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)(piVar11 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(piVar11 + 1)" (( "(") (binary_expression "piVar11 + 1" (identifier "piVar11") (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if (0 < param_3) {\n          *param_2 = 0;\n        }" (if "if") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n          *param_2 = 0;\n        }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }" (else "else") (compound_statement "{\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236462;\n        (*pcVar2)();\n        iVar6 = param_1[1];\n        if (0 < param_3) {\n          *param_2 = 0;\n        }\n      }" ({ "{") (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" (identifier "iVar6") (= "=") (pointer_expression "*local_34" (* "*") (identifier "local_34"))) (; ";")) (expression_statement "*(int **)(puVar8 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar8 + -0x10) = local_34" (pointer_expression "*(int **)(puVar8 + -0x10)" (* "*") (cast_expression "(int **)(puVar8 + -0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "pcVar2 = *(code **)(iVar6 + 0x28);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x28)" (identifier "pcVar2") (= "=") (pointer_expression "*(code **)(iVar6 + 0x28)" (* "*") (cast_expression "(code **)(iVar6 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x28)" (( "(") (binary_expression "iVar6 + 0x28" (identifier "iVar6") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x236462;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x236462" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x236462")) (; ";")) (expression_statement "(*pcVar2)();" (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar6 = param_1[1];" (assignment_expression "iVar6 = param_1[1]" (identifier "iVar6") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (if_statement "if (0 < param_3) {\n          *param_2 = 0;\n        }" (if "if") (parenthesized_expression "(0 < param_3)" (( "(") (binary_expression "0 < param_3" (number_literal "0") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n          *param_2 = 0;\n        }" ({ "{") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")))) (goto_statement "goto joined_r0x0023644b;" (goto "goto") (statement_identifier "joined_r0x0023644b") (; ";")) (} "}"))) (expression_statement "iVar1 = (param_3 - local_30) + -1;" (assignment_expression "iVar1 = (param_3 - local_30) + -1" (identifier "iVar1") (= "=") (binary_expression "(param_3 - local_30) + -1" (parenthesized_expression "(param_3 - local_30)" (( "(") (binary_expression "param_3 - local_30" (identifier "param_3") (- "-") (identifier "local_30")) () ")")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "iVar10 = (int)piVar7 - (int)piVar11 >> 2;" (assignment_expression "iVar10 = (int)piVar7 - (int)piVar11 >> 2" (identifier "iVar10") (= "=") (binary_expression "(int)piVar7 - (int)piVar11 >> 2" (binary_expression "(int)piVar7 - (int)piVar11" (cast_expression "(int)piVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar7")) (- "-") (cast_expression "(int)piVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar11"))) (>> ">>") (number_literal "2"))) (; ";")) (if_statement "if (iVar1 <= iVar10) {\n      iVar10 = iVar1;\n    }" (if "if") (parenthesized_expression "(iVar1 <= iVar10)" (( "(") (binary_expression "iVar1 <= iVar10" (identifier "iVar1") (<= "<=") (identifier "iVar10")) () ")")) (compound_statement "{\n      iVar10 = iVar1;\n    }" ({ "{") (expression_statement "iVar10 = iVar1;" (assignment_expression "iVar10 = iVar1" (identifier "iVar10") (= "=") (identifier "iVar1")) (; ";")) (} "}"))) (if_statement "if (iVar10 < 2) {\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }" (if "if") (parenthesized_expression "(iVar10 < 2)" (( "(") (binary_expression "iVar10 < 2" (identifier "iVar10") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n      *param_2 = iVar5;\n      param_2 = param_2 + 1;\n      param_1[1] = iVar6;\n      if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }\n      if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }\n      if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }\n      goto joined_r0x002361ef;\n    }" ({ "{") (expression_statement "*param_2 = iVar5;" (assignment_expression "*param_2 = iVar5" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "param_1[1] = iVar6;" (assignment_expression "param_1[1] = iVar6" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (if_statement "if (piVar11 < piVar7) {\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }" (if "if") (parenthesized_expression "(piVar11 < piVar7)" (( "(") (binary_expression "piVar11 < piVar7" (identifier "piVar11") (< "<") (identifier "piVar7")) () ")")) (compound_statement "{\n        iVar6 = *piVar11;\n        local_34[2] = (int)(piVar11 + 1);\n      }" ({ "{") (expression_statement "iVar6 = *piVar11;" (assignment_expression "iVar6 = *piVar11" (identifier "iVar6") (= "=") (pointer_expression "*piVar11" (* "*") (identifier "piVar11"))) (; ";")) (expression_statement "local_34[2] = (int)(piVar11 + 1);" (assignment_expression "local_34[2] = (int)(piVar11 + 1)" (subscript_expression "local_34[2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)(piVar11 + 1)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(piVar11 + 1)" (( "(") (binary_expression "piVar11 + 1" (identifier "piVar11") (+ "+") (number_literal "1")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }" (else "else") (compound_statement "{\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n                    \n        pcVar2 = *(code **)(iVar6 + 0x28);\n        *(undefined4 *)(puVar8 + -0x14) = 0x236404;\n        iVar6 = (*pcVar2)();\n      }" ({ "{") (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" (identifier "iVar6") (= "=") (pointer_expression "*local_34" (* "*") (identifier "local_34"))) (; ";")) (expression_statement "*(int **)(puVar8 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar8 + -0x10) = local_34" (pointer_expression "*(int **)(puVar8 + -0x10)" (* "*") (cast_expression "(int **)(puVar8 + -0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "pcVar2 = *(code **)(iVar6 + 0x28);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x28)" (identifier "pcVar2") (= "=") (pointer_expression "*(code **)(iVar6 + 0x28)" (* "*") (cast_expression "(code **)(iVar6 + 0x28)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x28)" (( "(") (binary_expression "iVar6 + 0x28" (identifier "iVar6") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x236404;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x236404" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x236404")) (; ";")) (expression_statement "iVar6 = (*pcVar2)();" (assignment_expression "iVar6 = (*pcVar2)()" (identifier "iVar6") (= "=") (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar6 == -1) {\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }" (if "if") (parenthesized_expression "(iVar6 == -1)" (( "(") (binary_expression "iVar6 == -1" (identifier "iVar6") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n        local_30 = param_1[1];\n        goto LAB_002363cc;\n      }" ({ "{") (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" (identifier "local_30") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (goto_statement "goto LAB_002363cc;" (goto "goto") (statement_identifier "LAB_002363cc") (; ";")) (} "}"))) (if_statement "if ((int *)local_34[2] < (int *)local_34[3]) {\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }\n      else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }" (if "if") (parenthesized_expression "((int *)local_34[2] < (int *)local_34[3])" (( "(") (binary_expression "(int *)local_34[2] < (int *)local_34[3]" (cast_expression "(int *)local_34[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(int *)local_34[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[3]" (identifier "local_34") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n        iVar5 = *(int *)local_34[2];\n        local_30 = param_1[1];\n      }" ({ "{") (expression_statement "iVar5 = *(int *)local_34[2];" (assignment_expression "iVar5 = *(int *)local_34[2]" (identifier "iVar5") (= "=") (pointer_expression "*(int *)local_34[2]" (* "*") (cast_expression "(int *)local_34[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" (identifier "local_30") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }" (else "else") (compound_statement "{\n        iVar6 = *local_34;\n        *(int **)(puVar8 + -0x10) = local_34;\n        pcVar2 = *(code **)(iVar6 + 0x24);\n        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;\n        iVar5 = (*pcVar2)();\n        local_30 = param_1[1];\n      }" ({ "{") (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" (identifier "iVar6") (= "=") (pointer_expression "*local_34" (* "*") (identifier "local_34"))) (; ";")) (expression_statement "*(int **)(puVar8 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar8 + -0x10) = local_34" (pointer_expression "*(int **)(puVar8 + -0x10)" (* "*") (cast_expression "(int **)(puVar8 + -0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "pcVar2 = *(code **)(iVar6 + 0x24);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x24)" (identifier "pcVar2") (= "=") (pointer_expression "*(code **)(iVar6 + 0x24)" (* "*") (cast_expression "(code **)(iVar6 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x24)" (( "(") (binary_expression "iVar6 + 0x24" (identifier "iVar6") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x23642c;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x23642c" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x23642c")) (; ";")) (expression_statement "iVar5 = (*pcVar2)();" (assignment_expression "iVar5 = (*pcVar2)()" (identifier "iVar5") (= "=") (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" (identifier "local_30") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}")))) (goto_statement "goto joined_r0x002361ef;" (goto "goto") (statement_identifier "joined_r0x002361ef") (; ";")) (} "}"))) (expression_statement "local_40 = piVar7;" (assignment_expression "local_40 = piVar7" (identifier "local_40") (= "=") (identifier "piVar7")) (; ";")) (expression_statement "*(int *)(puVar8 + -8) = iVar10;" (assignment_expression "*(int *)(puVar8 + -8) = iVar10" (pointer_expression "*(int *)(puVar8 + -8)" (* "*") (cast_expression "(int *)(puVar8 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -8)" (( "(") (binary_expression "puVar8 + -8" (identifier "puVar8") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "*(int *)(puVar8 + -0xc) = param_4;" (assignment_expression "*(int *)(puVar8 + -0xc) = param_4" (pointer_expression "*(int *)(puVar8 + -0xc)" (* "*") (cast_expression "(int *)(puVar8 + -0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0xc)" (( "(") (binary_expression "puVar8 + -0xc" (identifier "puVar8") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "param_4")) (; ";")) (expression_statement "*(int **)(puVar8 + -0x10) = piVar11;" (assignment_expression "*(int **)(puVar8 + -0x10) = piVar11" (pointer_expression "*(int **)(puVar8 + -0x10)" (* "*") (cast_expression "(int **)(puVar8 + -0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "piVar11")) (; ";")) (expression_statement "local_38 = iVar10;" (assignment_expression "local_38 = iVar10" (identifier "local_38") (= "=") (identifier "iVar10")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x236243;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x236243" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x236243")) (; ";")) (expression_statement "pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8));" (assignment_expression "pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8))" (identifier "pwVar4") (= "=") (call_expression "wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8))" (identifier "wmemchr") (argument_list "(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),\n                     *(size_t *)(puVar8 + -8))" (( "(") (pointer_expression "*(wchar_t **)(puVar8 + -0x10)" (* "*") (cast_expression "(wchar_t **)(puVar8 + -0x10)" (( "(") (type_descriptor "wchar_t **" (type_identifier "wchar_t") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (, ",") (pointer_expression "*(wchar_t *)(puVar8 + -0xc)" (* "*") (cast_expression "(wchar_t *)(puVar8 + -0xc)" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0xc)" (( "(") (binary_expression "puVar8 + -0xc" (identifier "puVar8") (+ "+") (number_literal "-0xc")) () ")")))) (, ",") (pointer_expression "*(size_t *)(puVar8 + -8)" (* "*") (cast_expression "(size_t *)(puVar8 + -8)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -8)" (( "(") (binary_expression "puVar8 + -8" (identifier "puVar8") (+ "+") (number_literal "-8")) () ")")))) () ")")))) (; ";")) (if_statement "if ((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }" (if "if") (parenthesized_expression "((pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0))" (( "(") (binary_expression "(pwVar4 == (wchar_t *)0x0) ||\n       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)" (parenthesized_expression "(pwVar4 == (wchar_t *)0x0)" (( "(") (binary_expression "pwVar4 == (wchar_t *)0x0" (identifier "pwVar4") (== "==") (cast_expression "(wchar_t *)0x0" (( "(") (type_descriptor "wchar_t *" (type_identifier "wchar_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)" (( "(") (comma_expression "iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0" (assignment_expression "iVar10 = (int)pwVar4 - (int)piVar11 >> 2" (identifier "iVar10") (= "=") (binary_expression "(int)pwVar4 - (int)piVar11 >> 2" (binary_expression "(int)pwVar4 - (int)piVar11" (cast_expression "(int)pwVar4" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pwVar4")) (- "-") (cast_expression "(int)piVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar11"))) (>> ">>") (number_literal "2"))) (, ",") (comma_expression "iVar6 = iVar10, piVar7 = local_40, iVar10 != 0" (assignment_expression "iVar6 = iVar10" (identifier "iVar6") (= "=") (identifier "iVar10")) (, ",") (comma_expression "piVar7 = local_40, iVar10 != 0" (assignment_expression "piVar7 = local_40" (identifier "piVar7") (= "=") (identifier "local_40")) (, ",") (binary_expression "iVar10 != 0" (identifier "iVar10") (!= "!=") (number_literal "0"))))) () ")"))) () ")")) (compound_statement "{\n      local_38 = iVar10;\n      *(int *)(puVar8 + -8) = iVar10;\n      *(int **)(puVar8 + -0xc) = piVar11;\n      *(int **)(puVar8 + -0x10) = param_2;\n      *(undefined4 *)(puVar8 + -0x14) = 0x236323;\n      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));\n      local_30 = param_1[1];\n      piVar7 = (int *)local_34[3];\n      piVar11 = (int *)local_34[2];\n      iVar6 = local_38;\n    }" ({ "{") (expression_statement "local_38 = iVar10;" (assignment_expression "local_38 = iVar10" (identifier "local_38") (= "=") (identifier "iVar10")) (; ";")) (expression_statement "*(int *)(puVar8 + -8) = iVar10;" (assignment_expression "*(int *)(puVar8 + -8) = iVar10" (pointer_expression "*(int *)(puVar8 + -8)" (* "*") (cast_expression "(int *)(puVar8 + -8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -8)" (( "(") (binary_expression "puVar8 + -8" (identifier "puVar8") (+ "+") (number_literal "-8")) () ")")))) (= "=") (identifier "iVar10")) (; ";")) (expression_statement "*(int **)(puVar8 + -0xc) = piVar11;" (assignment_expression "*(int **)(puVar8 + -0xc) = piVar11" (pointer_expression "*(int **)(puVar8 + -0xc)" (* "*") (cast_expression "(int **)(puVar8 + -0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0xc)" (( "(") (binary_expression "puVar8 + -0xc" (identifier "puVar8") (+ "+") (number_literal "-0xc")) () ")")))) (= "=") (identifier "piVar11")) (; ";")) (expression_statement "*(int **)(puVar8 + -0x10) = param_2;" (assignment_expression "*(int **)(puVar8 + -0x10) = param_2" (pointer_expression "*(int **)(puVar8 + -0x10)" (* "*") (cast_expression "(int **)(puVar8 + -0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x236323;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x236323" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x236323")) (; ";")) (expression_statement "wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));" (call_expression "wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8))" (identifier "wmemcpy") (argument_list "(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8))" (( "(") (pointer_expression "*(wchar_t **)(puVar8 + -0x10)" (* "*") (cast_expression "(wchar_t **)(puVar8 + -0x10)" (( "(") (type_descriptor "wchar_t **" (type_identifier "wchar_t") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (, ",") (pointer_expression "*(wchar_t **)(puVar8 + -0xc)" (* "*") (cast_expression "(wchar_t **)(puVar8 + -0xc)" (( "(") (type_descriptor "wchar_t **" (type_identifier "wchar_t") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0xc)" (( "(") (binary_expression "puVar8 + -0xc" (identifier "puVar8") (+ "+") (number_literal "-0xc")) () ")")))) (, ",") (pointer_expression "*(size_t *)(puVar8 + -8)" (* "*") (cast_expression "(size_t *)(puVar8 + -8)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -8)" (( "(") (binary_expression "puVar8 + -8" (identifier "puVar8") (+ "+") (number_literal "-8")) () ")")))) () ")"))) (; ";")) (expression_statement "local_30 = param_1[1];" (assignment_expression "local_30 = param_1[1]" (identifier "local_30") (= "=") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "piVar7 = (int *)local_34[3];" (assignment_expression "piVar7 = (int *)local_34[3]" (identifier "piVar7") (= "=") (cast_expression "(int *)local_34[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[3]" (identifier "local_34") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "piVar11 = (int *)local_34[2];" (assignment_expression "piVar11 = (int *)local_34[2]" (identifier "piVar11") (= "=") (cast_expression "(int *)local_34[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_34[2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "iVar6 = local_38;" (assignment_expression "iVar6 = local_38" (identifier "iVar6") (= "=") (identifier "local_38")) (; ";")) (} "}"))) (expression_statement "param_2 = param_2 + iVar6;" (assignment_expression "param_2 = param_2 + iVar6" (identifier "param_2") (= "=") (binary_expression "param_2 + iVar6" (identifier "param_2") (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "piVar11 = piVar11 + iVar6;" (assignment_expression "piVar11 = piVar11 + iVar6" (identifier "piVar11") (= "=") (binary_expression "piVar11 + iVar6" (identifier "piVar11") (+ "+") (identifier "iVar6"))) (; ";")) (expression_statement "local_30 = local_30 + iVar10;" (assignment_expression "local_30 = local_30 + iVar10" (identifier "local_30") (= "=") (binary_expression "local_30 + iVar10" (identifier "local_30") (+ "+") (identifier "iVar10"))) (; ";")) (expression_statement "local_34[2] = (int)piVar11;" (assignment_expression "local_34[2] = (int)piVar11" (subscript_expression "local_34[2]" (identifier "local_34") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(int)piVar11" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar11"))) (; ";")) (expression_statement "param_1[1] = local_30;" (assignment_expression "param_1[1] = local_30" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "local_30")) (; ";")) (if_statement "if (piVar11 < piVar7) {\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }" (if "if") (parenthesized_expression "(piVar11 < piVar7)" (( "(") (binary_expression "piVar11 < piVar7" (identifier "piVar11") (< "<") (identifier "piVar7")) () ")")) (compound_statement "{\n      iVar5 = *piVar11;\n      goto joined_r0x002361ef;\n    }" ({ "{") (expression_statement "iVar5 = *piVar11;" (assignment_expression "iVar5 = *piVar11" (identifier "iVar5") (= "=") (pointer_expression "*piVar11" (* "*") (identifier "piVar11"))) (; ";")) (goto_statement "goto joined_r0x002361ef;" (goto "goto") (statement_identifier "joined_r0x002361ef") (; ";")) (} "}"))) (expression_statement "iVar6 = *local_34;" (assignment_expression "iVar6 = *local_34" (identifier "iVar6") (= "=") (pointer_expression "*local_34" (* "*") (identifier "local_34"))) (; ";")) (expression_statement "ppiVar9 = (int **)(puVar8 + -0x10);" (assignment_expression "ppiVar9 = (int **)(puVar8 + -0x10)" (identifier "ppiVar9") (= "=") (cast_expression "(int **)(puVar8 + -0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (; ";")) (expression_statement "*(int **)(puVar8 + -0x10) = local_34;" (assignment_expression "*(int **)(puVar8 + -0x10) = local_34" (pointer_expression "*(int **)(puVar8 + -0x10)" (* "*") (cast_expression "(int **)(puVar8 + -0x10)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar8 + -0x10)" (( "(") (binary_expression "puVar8 + -0x10" (identifier "puVar8") (+ "+") (number_literal "-0x10")) () ")")))) (= "=") (identifier "local_34")) (; ";")) (expression_statement "pcVar2 = *(code **)(iVar6 + 0x24);" (assignment_expression "pcVar2 = *(code **)(iVar6 + 0x24)" (identifier "pcVar2") (= "=") (pointer_expression "*(code **)(iVar6 + 0x24)" (* "*") (cast_expression "(code **)(iVar6 + 0x24)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0x24)" (( "(") (binary_expression "iVar6 + 0x24" (identifier "iVar6") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(puVar8 + -0x14) = 0x23639c;" (assignment_expression "*(undefined4 *)(puVar8 + -0x14) = 0x23639c" (pointer_expression "*(undefined4 *)(puVar8 + -0x14)" (* "*") (cast_expression "(undefined4 *)(puVar8 + -0x14)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar8 + -0x14)" (( "(") (binary_expression "puVar8 + -0x14" (identifier "puVar8") (+ "+") (number_literal "-0x14")) () ")")))) (= "=") (number_literal "0x23639c")) (; ";")) (expression_statement "iVar5 = (*pcVar2)();" (assignment_expression "iVar5 = (*pcVar2)()" (identifier "iVar5") (= "=") (call_expression "(*pcVar2)()" (parenthesized_expression "(*pcVar2)" (( "(") (pointer_expression "*pcVar2" (* "*") (identifier "pcVar2")) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (labeled_statement "LAB_0023639c:\n    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);" (statement_identifier "LAB_0023639c") (: ":") (expression_statement "puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);" (assignment_expression "puVar8 = (undefined1 *)((int)ppiVar9 + 0x10)" (identifier "puVar8") (= "=") (cast_expression "(undefined1 *)((int)ppiVar9 + 0x10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)ppiVar9 + 0x10)" (( "(") (binary_expression "(int)ppiVar9 + 0x10" (cast_expression "(int)ppiVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "ppiVar9")) (+ "+") (number_literal "0x10")) () ")")))) (; ";"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* std::wistream::getline(wchar_t*, int, wchar_t) */

type_8 * __thiscall
std::type_8::getline(type_8 *var_1,type_3 *var_14,int var_2,type_3 var_9)

{
  int var_12;
  type_1 *pcVar2;
  type_2 var_5;
  type_3 *var_11;
  type_3 var_8;
  int var_3;
  type_4 *var_4;
  int var_13;
  type_3 *var_10;
  type_4 auStack_4c [12];
  type_3 *local_40;
  type_5 **local_3c;
  int local_38;
  int *local_34;
  int var_7;
  type_6 local_1d [9];
  type_7 uStack_14;
  type_4 *var_17;
  
  uStack_14 = 0x23613b;
  local_3c = &_GLOBAL_OFFSET_TABLE_;
  *(type_7 *)(var_1 + 4) = 0;
  sentry::type_6(local_1d,var_1,true);
  var_4 = auStack_4c;
  if (local_1d[0] == (type_6)0x0) {
    var_3 = *(int *)(var_1 + 4);
    var_4 = auStack_4c;
    if (0 < var_2) {
      *var_14 = L'\0';
      var_4 = auStack_4c;
    }
joined_r0x0023644b:
    if (var_3 != 0) {
      return var_1;
    }
    var_5 = 4;
LAB_0023618d:
    var_3 = *(int *)(*(int *)var_1 + -0xc);
    *(type_2 *)(var_4 + -0xc) = var_5 | *(type_2 *)(var_1 + var_3 + 0x14);
    *(type_8 **)(var_4 + -0x10) = var_1 + var_3;
    *(type_7 *)(var_4 + -0x14) = 0x2361a8;
    wios::var_6(*(type_9 **)(var_4 + -0x10),*(type_10 *)(var_4 + -0xc));
    return var_1;
  }
  local_34 = *(int **)(var_1 + *(int *)(*(int *)var_1 + -0xc) + 0x7c);
  if ((type_3 *)local_34[3] <= (type_3 *)local_34[2]) {
    var_17 = &stack0xffffffa4;
                    /* try { // try from 002363b1 to 002363b3 has its CatchHandler @ 002364bc */
    var_8 = (**(type_1 **)(*local_34 + 0x24))();
    goto LAB_0023639c;
  }
  var_8 = *(type_3 *)local_34[2];
  do {
    var_7 = *(int *)(var_1 + 4);
joined_r0x002361ef:
    var_3 = var_7 + 1;
    if (var_2 <= var_3) {
      if (var_8 == L'\xffffffff') {
        if (0 < var_2) {
          *var_14 = L'\0';
          var_5 = (-(type_2)(var_7 == 0) & 4) + 2;
          goto LAB_0023618d;
        }
        var_5 = 2;
      }
      else {
        if (var_9 == var_8) {
          var_11 = (type_3 *)local_34[3];
          var_10 = (type_3 *)local_34[2];
          goto LAB_002362d0;
        }
        if (0 < var_2) {
          *var_14 = L'\0';
          var_5 = 4;
          goto LAB_0023618d;
        }
        var_5 = 4;
      }
LAB_002363e1:
      if (var_7 == 0) {
        var_5 = var_5 | 4;
      }
      goto LAB_0023618d;
    }
    if (var_8 == L'\xffffffff') {
LAB_002363cc:
      var_5 = 2;
      if (0 < var_2) {
        *var_14 = L'\0';
      }
      goto LAB_002363e1;
    }
    var_11 = (type_3 *)local_34[3];
    var_10 = (type_3 *)local_34[2];
    if (var_9 == var_8) {
LAB_002362d0:
      *(int *)(var_1 + 4) = var_3;
      if (var_10 < var_11) {
        local_34[2] = (int)(var_10 + 1);
        if (0 < var_2) {
          *var_14 = L'\0';
        }
      }
      else {
        var_3 = *local_34;
        *(int **)(var_4 + -0x10) = local_34;
                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */
        pcVar2 = *(type_1 **)(var_3 + 0x28);
        *(type_7 *)(var_4 + -0x14) = 0x236462;
        (*pcVar2)();
        var_3 = *(int *)(var_1 + 4);
        if (0 < var_2) {
          *var_14 = L'\0';
        }
      }
      goto joined_r0x0023644b;
    }
    var_12 = (var_2 - var_7) + -1;
    var_13 = (int)var_11 - (int)var_10 >> 2;
    if (var_12 <= var_13) {
      var_13 = var_12;
    }
    if (var_13 < 2) {
      *var_14 = var_8;
      var_14 = var_14 + 1;
      *(int *)(var_1 + 4) = var_3;
      if (var_10 < var_11) {
        var_8 = *var_10;
        local_34[2] = (int)(var_10 + 1);
      }
      else {
        var_3 = *local_34;
        *(int **)(var_4 + -0x10) = local_34;
                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */
        pcVar2 = *(type_1 **)(var_3 + 0x28);
        *(type_7 *)(var_4 + -0x14) = 0x236404;
        var_8 = (*pcVar2)();
      }
      if (var_8 == L'\xffffffff') {
        var_7 = *(int *)(var_1 + 4);
        goto LAB_002363cc;
      }
      if ((type_3 *)local_34[2] < (type_3 *)local_34[3]) {
        var_8 = *(type_3 *)local_34[2];
        var_7 = *(int *)(var_1 + 4);
      }
      else {
        var_3 = *local_34;
        *(int **)(var_4 + -0x10) = local_34;
        pcVar2 = *(type_1 **)(var_3 + 0x24);
        *(type_7 *)(var_4 + -0x14) = 0x23642c;
        var_8 = (*pcVar2)();
        var_7 = *(int *)(var_1 + 4);
      }
      goto joined_r0x002361ef;
    }
    local_40 = var_11;
    *(int *)(var_4 + -8) = var_13;
    *(type_3 *)(var_4 + -0xc) = var_9;
    *(type_3 **)(var_4 + -0x10) = var_10;
    local_38 = var_13;
    *(type_7 *)(var_4 + -0x14) = 0x236243;
    var_11 = var_15(*(type_3 **)(var_4 + -0x10),*(type_3 *)(var_4 + -0xc),
                     *(size_t *)(var_4 + -8));
    if ((var_11 == (type_3 *)0x0) ||
       (var_13 = (int)var_11 - (int)var_10 >> 2, var_3 = var_13, var_11 = local_40, var_13 != 0)) {
      local_38 = var_13;
      *(int *)(var_4 + -8) = var_13;
      *(type_3 **)(var_4 + -0xc) = var_10;
      *(type_3 **)(var_4 + -0x10) = var_14;
      *(type_7 *)(var_4 + -0x14) = 0x236323;
      var_16(*(type_3 **)(var_4 + -0x10),*(type_3 **)(var_4 + -0xc),*(size_t *)(var_4 + -8));
      var_7 = *(int *)(var_1 + 4);
      var_11 = (type_3 *)local_34[3];
      var_10 = (type_3 *)local_34[2];
      var_3 = local_38;
    }
    var_14 = var_14 + var_3;
    var_10 = var_10 + var_3;
    var_7 = var_7 + var_13;
    local_34[2] = (int)var_10;
    *(int *)(var_1 + 4) = var_7;
    if (var_10 < var_11) {
      var_8 = *var_10;
      goto joined_r0x002361ef;
    }
    var_3 = *local_34;
    var_17 = var_4 + -0x10;
    *(int **)(var_4 + -0x10) = local_34;
                    /* try { // try from 00236399 to 0023639b has its CatchHandler @ 002364c1 */
    pcVar2 = *(type_1 **)(var_3 + 0x24);
    *(type_7 *)(var_4 + -0x14) = 0x23639c;
    var_8 = (*pcVar2)();
LAB_0023639c:
    var_4 = var_17 + 0x10;
  } while( true );
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) 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: (type_identifier) 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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator 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: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (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))))) (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))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (goto_statement label: (statement_identifier)))) (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))))) (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: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) 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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (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: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (number_literal))) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (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: (identifier) right: (number_literal))))) (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: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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))))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))))))) condition: (parenthesized_expression (true))))))

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

int * MASKED(int *param_1,int *param_2,int param_3,int param_4)

{
  int iVar1;
  code *pcVar2;
  uint uVar3;
  wchar_t *pwVar4;
  int iVar5;
  int iVar6;
  int *piVar7;
  undefined1 *puVar8;
  int iVar10;
  int *piVar11;
  int *piStack_5c;
  int *piStack_58;
  undefined4 uStack_54;
  undefined1 auStack_4c [12];
  int *local_40;
  undefined **local_3c;
  int local_38;
  int *local_34;
  int local_30;
  char local_1d [9];
  undefined4 uStack_14;
  int **ppiVar9;
  
  uStack_14 = 0x23613b;
  local_3c = &__DT_PLTGOT;
  param_1[1] = 0;
  uStack_54 = 1;
  piStack_58 = param_1;
  piStack_5c = (int *)local_1d;
  FUN_0020da70();
  puVar8 = auStack_4c;
  if (local_1d[0] == '\0') {
    iVar6 = param_1[1];
    puVar8 = auStack_4c;
    if (0 < param_3) {
      *param_2 = 0;
      puVar8 = auStack_4c;
    }
joined_r0x0023644b:
    if (iVar6 != 0) {
      return param_1;
    }
    uVar3 = 4;
LAB_0023618d:
    iVar6 = (int)param_1 + *(int *)(*param_1 + -0xc);
    *(uint *)(puVar8 + -0xc) = uVar3 | *(uint *)(iVar6 + 0x14);
    *(int *)(puVar8 + -0x10) = iVar6;
    *(undefined4 *)(puVar8 + -0x14) = 0x2361a8;
    FUN_002116a0();
    return param_1;
  }
  local_34 = *(int **)((int)param_1 + *(int *)(*param_1 + -0xc) + 0x7c);
  if ((int *)local_34[3] <= (int *)local_34[2]) {
    ppiVar9 = &piStack_5c;
                    /* try { // try from 002363b1 to 002363b3 has its CatchHandler @ 002364bc */
    piStack_5c = local_34;
    iVar5 = (**(code **)(*local_34 + 0x24))();
    goto LAB_0023639c;
  }
  iVar5 = *(int *)local_34[2];
  do {
    local_30 = param_1[1];
joined_r0x002361ef:
    iVar6 = local_30 + 1;
    if (param_3 <= iVar6) {
      if (iVar5 == -1) {
        if (0 < param_3) {
          *param_2 = 0;
          uVar3 = (-(uint)(local_30 == 0) & 4) + 2;
          goto LAB_0023618d;
        }
        uVar3 = 2;
      }
      else {
        if (param_4 == iVar5) {
          piVar7 = (int *)local_34[3];
          piVar11 = (int *)local_34[2];
          goto LAB_002362d0;
        }
        if (0 < param_3) {
          *param_2 = 0;
          uVar3 = 4;
          goto LAB_0023618d;
        }
        uVar3 = 4;
      }
LAB_002363e1:
      if (local_30 == 0) {
        uVar3 = uVar3 | 4;
      }
      goto LAB_0023618d;
    }
    if (iVar5 == -1) {
LAB_002363cc:
      uVar3 = 2;
      if (0 < param_3) {
        *param_2 = 0;
      }
      goto LAB_002363e1;
    }
    piVar7 = (int *)local_34[3];
    piVar11 = (int *)local_34[2];
    if (param_4 == iVar5) {
LAB_002362d0:
      param_1[1] = iVar6;
      if (piVar11 < piVar7) {
        local_34[2] = (int)(piVar11 + 1);
        if (0 < param_3) {
          *param_2 = 0;
        }
      }
      else {
        iVar6 = *local_34;
        *(int **)(puVar8 + -0x10) = local_34;
                    /* try { // try from 0023645f to 00236461 has its CatchHandler @ 002364c6 */
        pcVar2 = *(code **)(iVar6 + 0x28);
        *(undefined4 *)(puVar8 + -0x14) = 0x236462;
        (*pcVar2)();
        iVar6 = param_1[1];
        if (0 < param_3) {
          *param_2 = 0;
        }
      }
      goto joined_r0x0023644b;
    }
    iVar1 = (param_3 - local_30) + -1;
    iVar10 = (int)piVar7 - (int)piVar11 >> 2;
    if (iVar1 <= iVar10) {
      iVar10 = iVar1;
    }
    if (iVar10 < 2) {
      *param_2 = iVar5;
      param_2 = param_2 + 1;
      param_1[1] = iVar6;
      if (piVar11 < piVar7) {
        iVar6 = *piVar11;
        local_34[2] = (int)(piVar11 + 1);
      }
      else {
        iVar6 = *local_34;
        *(int **)(puVar8 + -0x10) = local_34;
                    /* try { // try from 00236401 to 0023642b has its CatchHandler @ 002364b7 */
        pcVar2 = *(code **)(iVar6 + 0x28);
        *(undefined4 *)(puVar8 + -0x14) = 0x236404;
        iVar6 = (*pcVar2)();
      }
      if (iVar6 == -1) {
        local_30 = param_1[1];
        goto LAB_002363cc;
      }
      if ((int *)local_34[2] < (int *)local_34[3]) {
        iVar5 = *(int *)local_34[2];
        local_30 = param_1[1];
      }
      else {
        iVar6 = *local_34;
        *(int **)(puVar8 + -0x10) = local_34;
        pcVar2 = *(code **)(iVar6 + 0x24);
        *(undefined4 *)(puVar8 + -0x14) = 0x23642c;
        iVar5 = (*pcVar2)();
        local_30 = param_1[1];
      }
      goto joined_r0x002361ef;
    }
    local_40 = piVar7;
    *(int *)(puVar8 + -8) = iVar10;
    *(int *)(puVar8 + -0xc) = param_4;
    *(int **)(puVar8 + -0x10) = piVar11;
    local_38 = iVar10;
    *(undefined4 *)(puVar8 + -0x14) = 0x236243;
    pwVar4 = wmemchr(*(wchar_t **)(puVar8 + -0x10),*(wchar_t *)(puVar8 + -0xc),
                     *(size_t *)(puVar8 + -8));
    if ((pwVar4 == (wchar_t *)0x0) ||
       (iVar10 = (int)pwVar4 - (int)piVar11 >> 2, iVar6 = iVar10, piVar7 = local_40, iVar10 != 0)) {
      local_38 = iVar10;
      *(int *)(puVar8 + -8) = iVar10;
      *(int **)(puVar8 + -0xc) = piVar11;
      *(int **)(puVar8 + -0x10) = param_2;
      *(undefined4 *)(puVar8 + -0x14) = 0x236323;
      wmemcpy(*(wchar_t **)(puVar8 + -0x10),*(wchar_t **)(puVar8 + -0xc),*(size_t *)(puVar8 + -8));
      local_30 = param_1[1];
      piVar7 = (int *)local_34[3];
      piVar11 = (int *)local_34[2];
      iVar6 = local_38;
    }
    param_2 = param_2 + iVar6;
    piVar11 = piVar11 + iVar6;
    local_30 = local_30 + iVar10;
    local_34[2] = (int)piVar11;
    param_1[1] = local_30;
    if (piVar11 < piVar7) {
      iVar5 = *piVar11;
      goto joined_r0x002361ef;
    }
    iVar6 = *local_34;
    ppiVar9 = (int **)(puVar8 + -0x10);
    *(int **)(puVar8 + -0x10) = local_34;
                    /* try { // try from 00236399 to 0023639b has its CatchHandler @ 002364c1 */
    pcVar2 = *(code **)(iVar6 + 0x24);
    *(undefined4 *)(puVar8 + -0x14) = 0x23639c;
    iVar5 = (*pcVar2)();
LAB_0023639c:
    puVar8 = (undefined1 *)((int)ppiVar9 + 0x10);
  } while( true );
}

