
/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::istream& std::TEMPNAMEPLACEHOLDERVALUE(std::istream&, char*) */

istream * std::operator>>(istream *param_1,char *param_2)

{
  long *plVar1;
  void *__src;
  uint uVar2;
  int iVar3;
  ctype *pcVar4;
  long lVar5;
  byte *pbVar6;
  byte *pbVar7;
  ulong uVar8;
  long lVar9;
  long lVar10;
  long lVar11;
  _Ios_Iostate _Var12;
  size_t __n;
  long lVar13;
  char *local_58;
  sentry local_41;
  locale local_40 [16];
  
  istream::sentry::sentry(&local_41,param_1,false);
  lVar5 = *(long *)param_1;
  if (local_41 == (sentry)0x0) {
    _Var12 = _S_failbit;
LAB_003224d5:
    ios::clear((ios *)(param_1 + *(long *)(lVar5 + -0x18)),
               _Var12 | *(_Ios_Iostate *)((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20));
    return param_1;
  }
  lVar13 = *(long *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10);
  if (lVar13 < 1) {
    lVar13 = 0x7fffffffffffffff;
  }
  locale::locale(local_40,(locale *)(param_1 + *(long *)(lVar5 + -0x18) + 0xd0));
                    /* try { // try from 003223a5 to 003223a9 has its CatchHandler @ 00322603 */
  pcVar4 = use_facet<std::ctype<char>>(local_40);
  locale::~locale(local_40);
  plVar1 = *(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xe8);
  if ((byte *)plVar1[2] < (byte *)plVar1[3]) {
    uVar8 = (ulong)*(byte *)plVar1[2];
  }
  else {
                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */
    uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);
  }
  lVar11 = 0;
LAB_003223e8:
  uVar2 = (uint)uVar8;
  if (lVar11 < lVar13 + -1) {
    do {
      local_58 = param_2;
      if ((int)uVar8 == -1) goto LAB_003225a4;
      lVar5 = *(long *)(pcVar4 + 0x30);
      if ((*(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;
      __src = (void *)plVar1[2];
      lVar10 = (lVar13 - lVar11) + -1;
      lVar9 = plVar1[3] - (long)__src;
      if (lVar9 < lVar10) {
        lVar10 = lVar9;
      }
      if (lVar10 < 2) {
        *param_2 = (char)uVar8;
        param_2 = param_2 + 1;
        lVar11 = lVar11 + 1;
        pbVar7 = (byte *)plVar1[3];
        if ((byte *)plVar1[2] < pbVar7) {
          pbVar6 = (byte *)plVar1[2] + 1;
          plVar1[2] = (long)pbVar6;
        }
        else {
          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);
          local_58 = param_2;
          if (iVar3 == -1) goto LAB_003225a4;
          pbVar6 = (byte *)plVar1[2];
          pbVar7 = (byte *)plVar1[3];
        }
        if (pbVar6 < pbVar7) {
          uVar8 = (ulong)*pbVar6;
        }
        else {
                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */
          uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);
        }
        goto LAB_003223e8;
      }
      pbVar7 = (byte *)((long)__src + 1);
      if ((pbVar7 < (byte *)(lVar10 + (long)__src)) &&
         ((*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {
        do {
          pbVar7 = pbVar7 + 1;
          if ((byte *)(lVar10 + (long)__src) <= pbVar7) break;
        } while ((*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20) == 0);
        __n = (long)pbVar7 - (long)__src;
        if (__n != 0) goto LAB_0032254b;
        plVar1[2] = (long)pbVar7;
        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;
      }
      else {
        __n = 1;
LAB_0032254b:
        memcpy(param_2,__src,__n);
        pbVar7 = (byte *)(plVar1[2] + __n);
        param_2 = param_2 + __n;
        plVar1[2] = (long)pbVar7;
        lVar11 = lVar11 + __n;
        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;
      }
      uVar8 = (ulong)*pbVar7;
      uVar2 = (uint)*pbVar7;
      if (lVar13 + -1 <= lVar11) break;
    } while( true );
  }
  local_58 = param_2;
  if (uVar2 == 0xffffffff) {
LAB_003225a4:
    *local_58 = '\0';
    lVar5 = *(long *)param_1;
    _Var12 = (-(uint)(lVar11 == 0) & 4) + _S_eofbit;
    *(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0;
  }
  else {
LAB_003224ac:
    *param_2 = '\0';
    lVar5 = *(long *)param_1;
    *(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0;
    if (lVar11 != 0) {
      return param_1;
    }
    _Var12 = _S_failbit;
  }
  goto LAB_003224d5;
LAB_00322588:
                    /* try { // try from 0032258e to 0032259e has its CatchHandler @ 00322613 */
  uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);
  goto LAB_003223e8;
}



long * FUN_00322340(long *param_1,undefined1 *param_2)

{
  long *plVar1;
  long lVar2;
  void *__src;
  int iVar3;
  long lVar4;
  byte *pbVar5;
  byte *pbVar6;
  ulong uVar7;
  long lVar8;
  long lVar9;
  long lVar10;
  uint uVar11;
  size_t __n;
  long lVar12;
  undefined1 *local_58;
  char local_41;
  undefined1 local_40 [16];
  
  FUN_002faf30(&local_41,param_1,0);
  lVar4 = *param_1;
  if (local_41 == '\0') {
    uVar11 = 4;
LAB_003224d5:
    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;
    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));
    return param_1;
  }
  lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10);
  if (lVar12 < 1) {
    lVar12 = 0x7fffffffffffffff;
  }
  FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0);
                    /* try { // try from 003223a5 to 003223a9 has its CatchHandler @ 00322603 */
  lVar4 = FUN_002ec670(local_40);
  FUN_002dd1b0(local_40);
  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);
  if ((byte *)plVar1[2] < (byte *)plVar1[3]) {
    uVar7 = (ulong)*(byte *)plVar1[2];
  }
  else {
                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */
    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);
  }
  lVar10 = 0;
LAB_003223e8:
  uVar11 = (uint)uVar7;
  if (lVar10 < lVar12 + -1) {
    do {
      local_58 = param_2;
      if ((int)uVar7 == -1) goto LAB_003225a4;
      lVar2 = *(long *)(lVar4 + 0x30);
      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;
      __src = (void *)plVar1[2];
      lVar9 = (lVar12 - lVar10) + -1;
      lVar8 = plVar1[3] - (long)__src;
      if (lVar8 < lVar9) {
        lVar9 = lVar8;
      }
      if (lVar9 < 2) {
        *param_2 = (char)uVar7;
        param_2 = param_2 + 1;
        lVar10 = lVar10 + 1;
        pbVar6 = (byte *)plVar1[3];
        if ((byte *)plVar1[2] < pbVar6) {
          pbVar5 = (byte *)plVar1[2] + 1;
          plVar1[2] = (long)pbVar5;
        }
        else {
          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);
          local_58 = param_2;
          if (iVar3 == -1) goto LAB_003225a4;
          pbVar5 = (byte *)plVar1[2];
          pbVar6 = (byte *)plVar1[3];
        }
        if (pbVar5 < pbVar6) {
          uVar7 = (ulong)*pbVar5;
        }
        else {
                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */
          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);
        }
        goto LAB_003223e8;
      }
      pbVar6 = (byte *)((long)__src + 1);
      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&
         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {
        do {
          pbVar6 = pbVar6 + 1;
          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;
        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);
        __n = (long)pbVar6 - (long)__src;
        if (__n != 0) goto LAB_0032254b;
        plVar1[2] = (long)pbVar6;
        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;
      }
      else {
        __n = 1;
LAB_0032254b:
        memcpy(param_2,__src,__n);
        pbVar6 = (byte *)(plVar1[2] + __n);
        param_2 = param_2 + __n;
        plVar1[2] = (long)pbVar6;
        lVar10 = lVar10 + __n;
        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;
      }
      uVar7 = (ulong)*pbVar6;
      uVar11 = (uint)*pbVar6;
      if (lVar12 + -1 <= lVar10) break;
    } while( true );
  }
  local_58 = param_2;
  if (uVar11 == 0xffffffff) {
LAB_003225a4:
    *local_58 = 0;
    lVar4 = *param_1;
    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;
    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;
  }
  else {
LAB_003224ac:
    *param_2 = 0;
    lVar4 = *param_1;
    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;
    if (lVar10 != 0) {
      return param_1;
    }
    uVar11 = 4;
  }
  goto LAB_003224d5;
LAB_00322588:
                    /* try { // try from 0032258e to 0032259e has its CatchHandler @ 00322613 */
  uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);
  goto LAB_003223e8;
}


PUSH R15
XOR EDX,EDX
PUSH R14
PUSH R13
MOV R13,RDI
PUSH R12
MOV R12,RSI
MOV RSI,R13
PUSH RBP
PUSH RBX
SUB RSP,0x38
LEA RDI,[RSP + 0x27]
CALL 0x002faf30
CMP byte ptr [RSP + 0x27],0x0
MOV RAX,qword ptr [R13]
JZ 0x003224d0
MOV RSI,qword ptr [RAX + -0x18]
LEA RBX,[RSP + 0x28]
MOV RAX,0x7fffffffffffffff
MOV RDI,RBX
ADD RSI,R13
MOV R14,qword ptr [RSI + 0x10]
TEST R14,R14
CMOVLE R14,RAX
ADD RSI,0xd0
CALL 0x002dca70
MOV RDI,RBX
CALL 0x002ec670
MOV RDI,RBX
MOV R15,RAX
CALL 0x002dd1b0
MOV RAX,qword ptr [R13]
MOV RAX,qword ptr [RAX + -0x18]
MOV RBX,qword ptr [R13 + RAX*0x1 + 0xe8]
MOV RAX,qword ptr [RBX + 0x10]
CMP qword ptr [RBX + 0x18],RAX
JBE 0x003225ce
MOVZX EAX,byte ptr [RAX]
LEA RDI,[R14 + -0x1]
XOR EBP,EBP
MOV qword ptr [RSP + 0x8],RDI
NOP dword ptr [RAX]
CMP RBP,qword ptr [RSP + 0x8]
JGE 0x003224a3
CMP EAX,-0x1
JZ 0x003225ef
MOV RDI,qword ptr [R15 + 0x30]
MOVZX EDX,AL
TEST byte ptr [RDI + RDX*0x2 + 0x1],0x20
JNZ 0x003224ac
MOV R8,qword ptr [RBX + 0x18]
MOV RSI,qword ptr [RBX + 0x10]
MOV RDX,R14
SUB RDX,RBP
MOV RCX,R8
SUB RDX,0x1
SUB RCX,RSI
CMP RDX,RCX
CMOVG RDX,RCX
CMP RDX,0x1
JLE 0x00322500
ADD RDX,RSI
LEA RAX,[RSI + 0x1]
CMP RDX,RAX
JBE 0x00322540
MOVZX ECX,byte ptr [RSI + 0x1]
TEST byte ptr [RDI + RCX*0x2 + 0x1],0x20
JZ 0x0032246a
JMP 0x00322540
MOVZX ECX,byte ptr [RAX]
TEST byte ptr [RDI + RCX*0x2 + 0x1],0x20
JNZ 0x00322473
ADD RAX,0x1
CMP RDX,RAX
JA 0x00322460
MOV RCX,RAX
SUB RCX,RSI
MOV R9,RCX
JNZ 0x0032254b
ADD R12,R9
MOV qword ptr [RBX + 0x10],RAX
ADD RBP,RCX
CMP R8,RAX
JBE 0x00322588
MOVZX EAX,byte ptr [RAX]
CMP RBP,qword ptr [RSP + 0x8]
JL 0x003223f3
CMP EAX,-0x1
JZ 0x003225ef
MOV byte ptr [R12],0x0
MOV RAX,qword ptr [R13]
MOV RDX,qword ptr [RAX + -0x18]
MOV qword ptr [R13 + RDX*0x1 + 0x10],0x0
TEST RBP,RBP
JNZ 0x003224e4
MOV ESI,0x4
JMP 0x003224d5
MOV ESI,0x4
MOV RDI,qword ptr [RAX + -0x18]
ADD RDI,R13
OR ESI,dword ptr [RDI + 0x20]
CALL 0x00300870
ADD RSP,0x38
MOV RAX,R13
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV byte ptr [R12],AL
MOV RAX,qword ptr [RBX + 0x10]
LEA RSI,[R12 + 0x1]
ADD RBP,0x1
MOV RDX,qword ptr [RBX + 0x18]
MOV qword ptr [RSP + 0x10],RSI
CMP RAX,RDX
JNC 0x00322596
ADD RAX,0x1
MOV qword ptr [RBX + 0x10],RAX
CMP RDX,RAX
JBE 0x003225dc
MOVZX EAX,byte ptr [RAX]
MOV R12,qword ptr [RSP + 0x10]
JMP 0x003223e8
MOV ECX,0x1
MOV R9D,0x1
MOV RDX,R9
MOV RDI,R12
MOV qword ptr [RSP + 0x18],RCX
MOV qword ptr [RSP + 0x10],R9
CALL 0x00147aa0
MOV R9,qword ptr [RSP + 0x10]
MOV RAX,qword ptr [RBX + 0x10]
MOV RCX,qword ptr [RSP + 0x18]
MOV R8,qword ptr [RBX + 0x18]
ADD RAX,R9
ADD R12,R9
MOV qword ptr [RBX + 0x10],RAX
ADD RBP,RCX
CMP R8,RAX
JA 0x00322495
MOV RAX,qword ptr [RBX]
MOV RDI,RBX
CALL qword ptr [RAX + 0x48]
JMP 0x003223e8
MOV RAX,qword ptr [RBX]
MOV RDI,RBX
CALL qword ptr [RAX + 0x50]
CMP EAX,-0x1
JNZ 0x003225f6
MOV RAX,qword ptr [RSP + 0x10]
CMP RBP,0x1
SBB ESI,ESI
MOV byte ptr [RAX],0x0
MOV RAX,qword ptr [R13]
AND ESI,0x4
ADD ESI,0x2
MOV RDX,qword ptr [RAX + -0x18]
MOV qword ptr [R13 + RDX*0x1 + 0x10],0x0
JMP 0x003224d5
MOV RAX,qword ptr [RBX]
MOV RDI,RBX
CALL qword ptr [RAX + 0x48]
JMP 0x003223d6
MOV RAX,qword ptr [RBX]
MOV RDI,RBX
CALL qword ptr [RAX + 0x48]
MOV R12,qword ptr [RSP + 0x10]
JMP 0x003223e8
MOV qword ptr [RSP + 0x10],R12
JMP 0x003225a4
MOV RAX,qword ptr [RBX + 0x10]
MOV RDX,qword ptr [RBX + 0x18]
JMP 0x00322527
(translation_unit "long * FUN_00322340(long *param_1,undefined1 *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  void *__src;\n  int iVar3;\n  long lVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  uint uVar11;\n  size_t __n;\n  long lVar12;\n  undefined1 *local_58;\n  char local_41;\n  undefined1 local_40 [16];\n  \n  FUN_002faf30(&local_41,param_1,0);\n  lVar4 = *param_1;\n  if (local_41 == '\0') {\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }\n  lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10);\n  if (lVar12 < 1) {\n    lVar12 = 0x7fffffffffffffff;\n  }\n  FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0);\n                    /* try { // try from 003223a5 to 003223a9 has its CatchHandler @ 00322603 */\n  lVar4 = FUN_002ec670(local_40);\n  FUN_002dd1b0(local_40);\n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n  if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */\n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }\n  lVar10 = 0;\nLAB_003223e8:\n  uVar11 = (uint)uVar7;\n  if (lVar10 < lVar12 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }\n  local_58 = param_2;\n  if (uVar11 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }\n  goto LAB_003224d5;\nLAB_00322588:\n                    /* try { // try from 0032258e to 0032259e has its CatchHandler @ 00322613 */\n  uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  goto LAB_003223e8;\n}\n\n" (function_definition "long * FUN_00322340(long *param_1,undefined1 *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  void *__src;\n  int iVar3;\n  long lVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  uint uVar11;\n  size_t __n;\n  long lVar12;\n  undefined1 *local_58;\n  char local_41;\n  undefined1 local_40 [16];\n  \n  FUN_002faf30(&local_41,param_1,0);\n  lVar4 = *param_1;\n  if (local_41 == '\0') {\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }\n  lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10);\n  if (lVar12 < 1) {\n    lVar12 = 0x7fffffffffffffff;\n  }\n  FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0);\n                    /* try { // try from 003223a5 to 003223a9 has its CatchHandler @ 00322603 */\n  lVar4 = FUN_002ec670(local_40);\n  FUN_002dd1b0(local_40);\n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n  if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */\n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }\n  lVar10 = 0;\nLAB_003223e8:\n  uVar11 = (uint)uVar7;\n  if (lVar10 < lVar12 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }\n  local_58 = param_2;\n  if (uVar11 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }\n  goto LAB_003224d5;\nLAB_00322588:\n                    /* try { // try from 0032258e to 0032259e has its CatchHandler @ 00322613 */\n  uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  goto LAB_003223e8;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_00322340(long *param_1,undefined1 *param_2)" * (function_declarator "FUN_00322340(long *param_1,undefined1 *param_2)" identifier (parameter_list "(long *param_1,undefined1 *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  void *__src;\n  int iVar3;\n  long lVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  uint uVar11;\n  size_t __n;\n  long lVar12;\n  undefined1 *local_58;\n  char local_41;\n  undefined1 local_40 [16];\n  \n  FUN_002faf30(&local_41,param_1,0);\n  lVar4 = *param_1;\n  if (local_41 == '\0') {\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }\n  lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10);\n  if (lVar12 < 1) {\n    lVar12 = 0x7fffffffffffffff;\n  }\n  FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0);\n                    /* try { // try from 003223a5 to 003223a9 has its CatchHandler @ 00322603 */\n  lVar4 = FUN_002ec670(local_40);\n  FUN_002dd1b0(local_40);\n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n  if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */\n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }\n  lVar10 = 0;\nLAB_003223e8:\n  uVar11 = (uint)uVar7;\n  if (lVar10 < lVar12 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }\n  local_58 = param_2;\n  if (uVar11 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }\n  goto LAB_003224d5;\nLAB_00322588:\n                    /* try { // try from 0032258e to 0032259e has its CatchHandler @ 00322613 */\n  uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  goto LAB_003223e8;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "char local_41;" primitive_type identifier ;) (declaration "undefined1 local_40 [16];" type_identifier (array_declarator "local_40 [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_002faf30(&local_41,param_1,0);" (call_expression "FUN_002faf30(&local_41,param_1,0)" identifier (argument_list "(&local_41,param_1,0)" ( (pointer_expression "&local_41" & identifier) , identifier , number_literal ))) ;) (expression_statement "lVar4 = *param_1;" (assignment_expression "lVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (local_41 == '\0') {\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }" if (parenthesized_expression "(local_41 == '\0')" ( (binary_expression "local_41 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }" { (expression_statement "uVar11 = 4;" (assignment_expression "uVar11 = 4" identifier = number_literal) ;) (labeled_statement "LAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;" statement_identifier : (expression_statement "lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;" (assignment_expression "lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1" identifier = (binary_expression "*(long *)(lVar4 + -0x18) + (long)param_1" (pointer_expression "*(long *)(lVar4 + -0x18)" * (cast_expression "(long *)(lVar4 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -0x18)" ( (binary_expression "lVar4 + -0x18" identifier + number_literal) )))) + (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;)) (expression_statement "FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));" (call_expression "FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20))" identifier (argument_list "(lVar4,uVar11 | *(uint *)(lVar4 + 0x20))" ( identifier , (binary_expression "uVar11 | *(uint *)(lVar4 + 0x20)" identifier | (pointer_expression "*(uint *)(lVar4 + 0x20)" * (cast_expression "(uint *)(lVar4 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) ))))) ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10);" (assignment_expression "lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" identifier = (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" ( (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar4 + -0x18)" * (cast_expression "(long *)(lVar4 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -0x18)" ( (binary_expression "lVar4 + -0x18" identifier + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (lVar12 < 1) {\n    lVar12 = 0x7fffffffffffffff;\n  }" if (parenthesized_expression "(lVar12 < 1)" ( (binary_expression "lVar12 < 1" identifier < number_literal) )) (compound_statement "{\n    lVar12 = 0x7fffffffffffffff;\n  }" { (expression_statement "lVar12 = 0x7fffffffffffffff;" (assignment_expression "lVar12 = 0x7fffffffffffffff" identifier = number_literal) ;) })) (expression_statement "FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0);" (call_expression "FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0)" identifier (argument_list "(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0)" ( identifier , (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0" (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar4 + -0x18)" * (cast_expression "(long *)(lVar4 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -0x18)" ( (binary_expression "lVar4 + -0x18" identifier + number_literal) ))))) + number_literal) ))) ;) comment (expression_statement "lVar4 = FUN_002ec670(local_40);" (assignment_expression "lVar4 = FUN_002ec670(local_40)" identifier = (call_expression "FUN_002ec670(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (expression_statement "FUN_002dd1b0(local_40);" (call_expression "FUN_002dd1b0(local_40)" identifier (argument_list "(local_40)" ( identifier ))) ;) (expression_statement "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);" (assignment_expression "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" identifier = (pointer_expression "*(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" * (cast_expression "(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" ( (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */\n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }" if (parenthesized_expression "((byte *)plVar1[2] < (byte *)plVar1[3])" ( (binary_expression "(byte *)plVar1[2] < (byte *)plVar1[3]" (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ])) < (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ]))) )) (compound_statement "{\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }" { (expression_statement "uVar7 = (ulong)*(byte *)plVar1[2];" (assignment_expression "uVar7 = (ulong)*(byte *)plVar1[2]" identifier = (binary_expression "(ulong)*(byte *)plVar1[2]" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */\n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }" else (compound_statement "{\n                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */\n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }" { comment (expression_statement "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);" (assignment_expression "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x48))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x48))" ( (pointer_expression "**(code **)(*plVar1 + 0x48)" * (pointer_expression "*(code **)(*plVar1 + 0x48)" * (cast_expression "(code **)(*plVar1 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x48)" ( (binary_expression "*plVar1 + 0x48" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;) }))) (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" identifier = number_literal) ;) (labeled_statement "LAB_003223e8:\n  uVar11 = (uint)uVar7;" statement_identifier : (expression_statement "uVar11 = (uint)uVar7;" (assignment_expression "uVar11 = (uint)uVar7" identifier = (cast_expression "(uint)uVar7" ( (type_descriptor "uint" type_identifier) ) identifier)) ;)) (if_statement "if (lVar10 < lVar12 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }" if (parenthesized_expression "(lVar10 < lVar12 + -1)" ( (binary_expression "lVar10 < lVar12 + -1" identifier < (binary_expression "lVar12 + -1" identifier + number_literal)) )) (compound_statement "{\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }" { (do_statement "do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );" do (compound_statement "{\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    }" { (expression_statement "local_58 = param_2;" (assignment_expression "local_58 = param_2" identifier = identifier) ;) (if_statement "if ((int)uVar7 == -1) goto LAB_003225a4;" if (parenthesized_expression "((int)uVar7 == -1)" ( (binary_expression "(int)uVar7 == -1" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (goto_statement "goto LAB_003225a4;" goto statement_identifier ;)) (expression_statement "lVar2 = *(long *)(lVar4 + 0x30);" (assignment_expression "lVar2 = *(long *)(lVar4 + 0x30)" identifier = (pointer_expression "*(long *)(lVar4 + 0x30)" * (cast_expression "(long *)(lVar4 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x30)" ( (binary_expression "lVar4 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;" if (parenthesized_expression "((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0)" ( (binary_expression "(*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0" (parenthesized_expression "(*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20)" ( (binary_expression "*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20" (pointer_expression "*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2)" * (cast_expression "(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 1 + (uVar7 & 0xff) * 2)" ( (binary_expression "lVar2 + 1 + (uVar7 & 0xff) * 2" (binary_expression "lVar2 + 1" identifier + number_literal) + (binary_expression "(uVar7 & 0xff) * 2" (parenthesized_expression "(uVar7 & 0xff)" ( (binary_expression "uVar7 & 0xff" identifier & number_literal) )) * number_literal)) )))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_003224ac;" goto statement_identifier ;)) (expression_statement "__src = (void *)plVar1[2];" (assignment_expression "__src = (void *)plVar1[2]" identifier = (cast_expression "(void *)plVar1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "lVar9 = (lVar12 - lVar10) + -1;" (assignment_expression "lVar9 = (lVar12 - lVar10) + -1" identifier = (binary_expression "(lVar12 - lVar10) + -1" (parenthesized_expression "(lVar12 - lVar10)" ( (binary_expression "lVar12 - lVar10" identifier - identifier) )) + number_literal)) ;) (expression_statement "lVar8 = plVar1[3] - (long)__src;" (assignment_expression "lVar8 = plVar1[3] - (long)__src" identifier = (binary_expression "plVar1[3] - (long)__src" (subscript_expression "plVar1[3]" identifier [ number_literal ]) - (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }" if (parenthesized_expression "(lVar8 < lVar9)" ( (binary_expression "lVar8 < lVar9" identifier < identifier) )) (compound_statement "{\n        lVar9 = lVar8;\n      }" { (expression_statement "lVar9 = lVar8;" (assignment_expression "lVar9 = lVar8" identifier = identifier) ;) })) (if_statement "if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }" if (parenthesized_expression "(lVar9 < 2)" ( (binary_expression "lVar9 < 2" identifier < number_literal) )) (compound_statement "{\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }" { (expression_statement "*param_2 = (char)uVar7;" (assignment_expression "*param_2 = (char)uVar7" (pointer_expression "*param_2" * identifier) = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) 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 "lVar10 = lVar10 + 1;" (assignment_expression "lVar10 = lVar10 + 1" identifier = (binary_expression "lVar10 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6 = (byte *)plVar1[3];" (assignment_expression "pbVar6 = (byte *)plVar1[3]" identifier = (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ]))) ;) (if_statement "if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }" if (parenthesized_expression "((byte *)plVar1[2] < pbVar6)" ( (binary_expression "(byte *)plVar1[2] < pbVar6" (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ])) < identifier) )) (compound_statement "{\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }" { (expression_statement "pbVar5 = (byte *)plVar1[2] + 1;" (assignment_expression "pbVar5 = (byte *)plVar1[2] + 1" identifier = (binary_expression "(byte *)plVar1[2] + 1" (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ])) + number_literal)) ;) (expression_statement "plVar1[2] = (long)pbVar5;" (assignment_expression "plVar1[2] = (long)pbVar5" (subscript_expression "plVar1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) }) (else_clause "else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }" else (compound_statement "{\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }" { (expression_statement "iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);" (assignment_expression "iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x50))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x50))" ( (pointer_expression "**(code **)(*plVar1 + 0x50)" * (pointer_expression "*(code **)(*plVar1 + 0x50)" * (cast_expression "(code **)(*plVar1 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x50)" ( (binary_expression "*plVar1 + 0x50" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;) (expression_statement "local_58 = param_2;" (assignment_expression "local_58 = param_2" identifier = identifier) ;) (if_statement "if (iVar3 == -1) goto LAB_003225a4;" if (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) (goto_statement "goto LAB_003225a4;" goto statement_identifier ;)) (expression_statement "pbVar5 = (byte *)plVar1[2];" (assignment_expression "pbVar5 = (byte *)plVar1[2]" identifier = (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar6 = (byte *)plVar1[3];" (assignment_expression "pbVar6 = (byte *)plVar1[3]" identifier = (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ]))) ;) }))) (if_statement "if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }" if (parenthesized_expression "(pbVar5 < pbVar6)" ( (binary_expression "pbVar5 < pbVar6" identifier < identifier) )) (compound_statement "{\n          uVar7 = (ulong)*pbVar5;\n        }" { (expression_statement "uVar7 = (ulong)*pbVar5;" (assignment_expression "uVar7 = (ulong)*pbVar5" identifier = (binary_expression "(ulong)*pbVar5" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) }) (else_clause "else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }" else (compound_statement "{\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }" { comment (expression_statement "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);" (assignment_expression "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x48))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x48))" ( (pointer_expression "**(code **)(*plVar1 + 0x48)" * (pointer_expression "*(code **)(*plVar1 + 0x48)" * (cast_expression "(code **)(*plVar1 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x48)" ( (binary_expression "*plVar1 + 0x48" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;) }))) (goto_statement "goto LAB_003223e8;" goto statement_identifier ;) })) (expression_statement "pbVar6 = (byte *)((long)__src + 1);" (assignment_expression "pbVar6 = (byte *)((long)__src + 1)" identifier = (cast_expression "(byte *)((long)__src + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__src + 1)" ( (binary_expression "(long)__src + 1" (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (if_statement "if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }" if (parenthesized_expression "((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0))" ( (binary_expression "(pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)" (parenthesized_expression "(pbVar6 < (byte *)(lVar9 + (long)__src))" ( (binary_expression "pbVar6 < (byte *)(lVar9 + (long)__src)" identifier < (cast_expression "(byte *)(lVar9 + (long)__src)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar9 + (long)__src)" ( (binary_expression "lVar9 + (long)__src" identifier + (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) )) && (parenthesized_expression "((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)" ( (binary_expression "(*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0" (parenthesized_expression "(*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20)" ( (binary_expression "*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20" (pointer_expression "*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2)" * (cast_expression "(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2)" ( (binary_expression "lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2" (binary_expression "lVar2 + 1" identifier + number_literal) + (binary_expression "(ulong)*(byte *)((long)__src + 1) * 2" (binary_expression "(ulong)*(byte *)((long)__src + 1)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)((long)__src + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__src + 1)" ( (binary_expression "(long)__src + 1" (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }" { (do_statement "do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);" do (compound_statement "{\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        }" { (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (if_statement "if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;" if (parenthesized_expression "((byte *)(lVar9 + (long)__src) <= pbVar6)" ( (binary_expression "(byte *)(lVar9 + (long)__src) <= pbVar6" (cast_expression "(byte *)(lVar9 + (long)__src)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar9 + (long)__src)" ( (binary_expression "lVar9 + (long)__src" identifier + (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) <= identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0)" ( (binary_expression "(*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0" (parenthesized_expression "(*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20)" ( (binary_expression "*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20" (pointer_expression "*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2)" * (cast_expression "(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 1 + (ulong)*pbVar6 * 2)" ( (binary_expression "lVar2 + 1 + (ulong)*pbVar6 * 2" (binary_expression "lVar2 + 1" identifier + number_literal) + (binary_expression "(ulong)*pbVar6 * 2" (binary_expression "(ulong)*pbVar6" (parenthesized_expression "(ulong)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) == number_literal) )) ;) (expression_statement "__n = (long)pbVar6 - (long)__src;" (assignment_expression "__n = (long)pbVar6 - (long)__src" identifier = (binary_expression "(long)pbVar6 - (long)__src" (cast_expression "(long)pbVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (__n != 0) goto LAB_0032254b;" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (goto_statement "goto LAB_0032254b;" goto statement_identifier ;)) (expression_statement "plVar1[2] = (long)pbVar6;" (assignment_expression "plVar1[2] = (long)pbVar6" (subscript_expression "plVar1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;" if (parenthesized_expression "((byte *)plVar1[3] <= pbVar6)" ( (binary_expression "(byte *)plVar1[3] <= pbVar6" (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ])) <= identifier) )) (goto_statement "goto LAB_00322588;" goto statement_identifier ;)) }) (else_clause "else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }" else (compound_statement "{\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }" { (expression_statement "__n = 1;" (assignment_expression "__n = 1" identifier = number_literal) ;) (labeled_statement "LAB_0032254b:\n        memcpy(param_2,__src,__n);" statement_identifier : (expression_statement "memcpy(param_2,__src,__n);" (call_expression "memcpy(param_2,__src,__n)" identifier (argument_list "(param_2,__src,__n)" ( identifier , identifier , identifier ))) ;)) (expression_statement "pbVar6 = (byte *)(plVar1[2] + __n);" (assignment_expression "pbVar6 = (byte *)(plVar1[2] + __n)" identifier = (cast_expression "(byte *)(plVar1[2] + __n)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar1[2] + __n)" ( (binary_expression "plVar1[2] + __n" (subscript_expression "plVar1[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "param_2 = param_2 + __n;" (assignment_expression "param_2 = param_2 + __n" identifier = (binary_expression "param_2 + __n" identifier + identifier)) ;) (expression_statement "plVar1[2] = (long)pbVar6;" (assignment_expression "plVar1[2] = (long)pbVar6" (subscript_expression "plVar1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "lVar10 = lVar10 + __n;" (assignment_expression "lVar10 = lVar10 + __n" identifier = (binary_expression "lVar10 + __n" identifier + identifier)) ;) (if_statement "if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;" if (parenthesized_expression "((byte *)plVar1[3] <= pbVar6)" ( (binary_expression "(byte *)plVar1[3] <= pbVar6" (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ])) <= identifier) )) (goto_statement "goto LAB_00322588;" goto statement_identifier ;)) }))) (expression_statement "uVar7 = (ulong)*pbVar6;" (assignment_expression "uVar7 = (ulong)*pbVar6" identifier = (binary_expression "(ulong)*pbVar6" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) (expression_statement "uVar11 = (uint)*pbVar6;" (assignment_expression "uVar11 = (uint)*pbVar6" identifier = (binary_expression "(uint)*pbVar6" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (lVar12 + -1 <= lVar10) break;" if (parenthesized_expression "(lVar12 + -1 <= lVar10)" ( (binary_expression "lVar12 + -1 <= lVar10" (binary_expression "lVar12 + -1" identifier + number_literal) <= identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "local_58 = param_2;" (assignment_expression "local_58 = param_2" identifier = identifier) ;) (if_statement "if (uVar11 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }" if (parenthesized_expression "(uVar11 == 0xffffffff)" ( (binary_expression "uVar11 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }" { (labeled_statement "LAB_003225a4:\n    *local_58 = 0;" statement_identifier : (expression_statement "*local_58 = 0;" (assignment_expression "*local_58 = 0" (pointer_expression "*local_58" * identifier) = number_literal) ;)) (expression_statement "lVar4 = *param_1;" (assignment_expression "lVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;" (assignment_expression "uVar11 = (-(uint)(lVar10 == 0) & 4) + 2" identifier = (binary_expression "(-(uint)(lVar10 == 0) & 4) + 2" (parenthesized_expression "(-(uint)(lVar10 == 0) & 4)" ( (binary_expression "-(uint)(lVar10 == 0) & 4" (unary_expression "-(uint)(lVar10 == 0)" - (call_expression "(uint)(lVar10 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar10 == 0)" ( (binary_expression "lVar10 == 0" identifier == number_literal) )))) & number_literal) )) + number_literal)) ;) (expression_statement "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;" (assignment_expression "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0" (pointer_expression "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" * (cast_expression "(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" ( (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar4 + -0x18)" * (cast_expression "(long *)(lVar4 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -0x18)" ( (binary_expression "lVar4 + -0x18" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }" else (compound_statement "{\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }" { (labeled_statement "LAB_003224ac:\n    *param_2 = 0;" statement_identifier : (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;)) (expression_statement "lVar4 = *param_1;" (assignment_expression "lVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;" (assignment_expression "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0" (pointer_expression "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" * (cast_expression "(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" ( (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar4 + -0x18)" * (cast_expression "(long *)(lVar4 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -0x18)" ( (binary_expression "lVar4 + -0x18" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (if_statement "if (lVar10 != 0) {\n      return param_1;\n    }" if (parenthesized_expression "(lVar10 != 0)" ( (binary_expression "lVar10 != 0" identifier != number_literal) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "uVar11 = 4;" (assignment_expression "uVar11 = 4" identifier = number_literal) ;) }))) (goto_statement "goto LAB_003224d5;" goto statement_identifier ;) (labeled_statement "LAB_00322588:\n                    /* try { // try from 0032258e to 0032259e has its CatchHandler @ 00322613 */\n  uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);" statement_identifier : comment (expression_statement "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);" (assignment_expression "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x48))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x48))" ( (pointer_expression "**(code **)(*plVar1 + 0x48)" * (pointer_expression "*(code **)(*plVar1 + 0x48)" * (cast_expression "(code **)(*plVar1 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x48)" ( (binary_expression "*plVar1 + 0x48" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;)) (goto_statement "goto LAB_003223e8;" goto statement_identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n/* std::istream& std::TEMPNAMEPLACEHOLDERVALUE(std::istream&, char*) */\n\nistream * std::operator>>(istream *param_1,char *param_2)\n\n{\n  long *plVar1;\n  void *__src;\n  uint uVar2;\n  int iVar3;\n  ctype *pcVar4;\n  long lVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  ulong uVar8;\n  long lVar9;\n  long lVar10;\n  long lVar11;\n  _Ios_Iostate _Var12;\n  size_t __n;\n  long lVar13;\n  char *local_58;\n  sentry local_41;\n  locale local_40 [16];\n  \n  istream::sentry::sentry(&local_41,param_1,false);\n  lVar5 = *(long *)param_1;\n  if (local_41 == (sentry)0x0) {\n    _Var12 = _S_failbit;\nLAB_003224d5:\n    ios::clear((ios *)(param_1 + *(long *)(lVar5 + -0x18)),\n               _Var12 | *(_Ios_Iostate *)((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20));\n    return param_1;\n  }\n  lVar13 = *(long *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10);\n  if (lVar13 < 1) {\n    lVar13 = 0x7fffffffffffffff;\n  }\n  locale::locale(local_40,(locale *)(param_1 + *(long *)(lVar5 + -0x18) + 0xd0));\n                    /* try { // try from 003223a5 to 003223a9 has its CatchHandler @ 00322603 */\n  pcVar4 = use_facet<std::ctype<char>>(local_40);\n  locale::~locale(local_40);\n  plVar1 = *(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xe8);\n  if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar8 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */\n    uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }\n  lVar11 = 0;\nLAB_003223e8:\n  uVar2 = (uint)uVar8;\n  if (lVar11 < lVar13 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar8 == -1) goto LAB_003225a4;\n      lVar5 = *(long *)(pcVar4 + 0x30);\n      if ((*(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar10 = (lVar13 - lVar11) + -1;\n      lVar9 = plVar1[3] - (long)__src;\n      if (lVar9 < lVar10) {\n        lVar10 = lVar9;\n      }\n      if (lVar10 < 2) {\n        *param_2 = (char)uVar8;\n        param_2 = param_2 + 1;\n        lVar11 = lVar11 + 1;\n        pbVar7 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar7) {\n          pbVar6 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar6;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar6 = (byte *)plVar1[2];\n          pbVar7 = (byte *)plVar1[3];\n        }\n        if (pbVar6 < pbVar7) {\n          uVar8 = (ulong)*pbVar6;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar7 = (byte *)((long)__src + 1);\n      if ((pbVar7 < (byte *)(lVar10 + (long)__src)) &&\n         ((*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar7 = pbVar7 + 1;\n          if ((byte *)(lVar10 + (long)__src) <= pbVar7) break;\n        } while ((*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20) == 0);\n        __n = (long)pbVar7 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar7;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar7 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar7;\n        lVar11 = lVar11 + __n;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }\n      uVar8 = (ulong)*pbVar7;\n      uVar2 = (uint)*pbVar7;\n      if (lVar13 + -1 <= lVar11) break;\n    } while( true );\n  }\n  local_58 = param_2;\n  if (uVar2 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = '\0';\n    lVar5 = *(long *)param_1;\n    _Var12 = (-(uint)(lVar11 == 0) & 4) + _S_eofbit;\n    *(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = '\0';\n    lVar5 = *(long *)param_1;\n    *(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0;\n    if (lVar11 != 0) {\n      return param_1;\n    }\n    _Var12 = _S_failbit;\n  }\n  goto LAB_003224d5;\nLAB_00322588:\n                    /* try { // try from 0032258e to 0032259e has its CatchHandler @ 00322613 */\n  uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  goto LAB_003223e8;\n}\n\n" comment comment (ERROR "istream * std::operator>>(istream *param_1,char *param_2)" (binary_expression "istream * std::operator>>(istream *param_1,char *param_2)" (binary_expression "istream * std" identifier * identifier) (ERROR "::operator" : : identifier) >> (parenthesized_expression "(istream *param_1,char *param_2)" ( (comma_expression "istream *param_1,char *param_2" (binary_expression "istream *param_1" identifier * identifier) , (binary_expression "char *param_2" identifier * identifier)) )))) (compound_statement "{\n  long *plVar1;\n  void *__src;\n  uint uVar2;\n  int iVar3;\n  ctype *pcVar4;\n  long lVar5;\n  byte *pbVar6;\n  byte *pbVar7;\n  ulong uVar8;\n  long lVar9;\n  long lVar10;\n  long lVar11;\n  _Ios_Iostate _Var12;\n  size_t __n;\n  long lVar13;\n  char *local_58;\n  sentry local_41;\n  locale local_40 [16];\n  \n  istream::sentry::sentry(&local_41,param_1,false);\n  lVar5 = *(long *)param_1;\n  if (local_41 == (sentry)0x0) {\n    _Var12 = _S_failbit;\nLAB_003224d5:\n    ios::clear((ios *)(param_1 + *(long *)(lVar5 + -0x18)),\n               _Var12 | *(_Ios_Iostate *)((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20));\n    return param_1;\n  }\n  lVar13 = *(long *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10);\n  if (lVar13 < 1) {\n    lVar13 = 0x7fffffffffffffff;\n  }\n  locale::locale(local_40,(locale *)(param_1 + *(long *)(lVar5 + -0x18) + 0xd0));\n                    /* try { // try from 003223a5 to 003223a9 has its CatchHandler @ 00322603 */\n  pcVar4 = use_facet<std::ctype<char>>(local_40);\n  locale::~locale(local_40);\n  plVar1 = *(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xe8);\n  if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar8 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */\n    uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }\n  lVar11 = 0;\nLAB_003223e8:\n  uVar2 = (uint)uVar8;\n  if (lVar11 < lVar13 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar8 == -1) goto LAB_003225a4;\n      lVar5 = *(long *)(pcVar4 + 0x30);\n      if ((*(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar10 = (lVar13 - lVar11) + -1;\n      lVar9 = plVar1[3] - (long)__src;\n      if (lVar9 < lVar10) {\n        lVar10 = lVar9;\n      }\n      if (lVar10 < 2) {\n        *param_2 = (char)uVar8;\n        param_2 = param_2 + 1;\n        lVar11 = lVar11 + 1;\n        pbVar7 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar7) {\n          pbVar6 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar6;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar6 = (byte *)plVar1[2];\n          pbVar7 = (byte *)plVar1[3];\n        }\n        if (pbVar6 < pbVar7) {\n          uVar8 = (ulong)*pbVar6;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar7 = (byte *)((long)__src + 1);\n      if ((pbVar7 < (byte *)(lVar10 + (long)__src)) &&\n         ((*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar7 = pbVar7 + 1;\n          if ((byte *)(lVar10 + (long)__src) <= pbVar7) break;\n        } while ((*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20) == 0);\n        __n = (long)pbVar7 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar7;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar7 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar7;\n        lVar11 = lVar11 + __n;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }\n      uVar8 = (ulong)*pbVar7;\n      uVar2 = (uint)*pbVar7;\n      if (lVar13 + -1 <= lVar11) break;\n    } while( true );\n  }\n  local_58 = param_2;\n  if (uVar2 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = '\0';\n    lVar5 = *(long *)param_1;\n    _Var12 = (-(uint)(lVar11 == 0) & 4) + _S_eofbit;\n    *(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = '\0';\n    lVar5 = *(long *)param_1;\n    *(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0;\n    if (lVar11 != 0) {\n      return param_1;\n    }\n    _Var12 = _S_failbit;\n  }\n  goto LAB_003224d5;\nLAB_00322588:\n                    /* try { // try from 0032258e to 0032259e has its CatchHandler @ 00322613 */\n  uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  goto LAB_003223e8;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "ctype *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (declaration "long lVar5;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "byte *pbVar7;" type_identifier (pointer_declarator "*pbVar7" * identifier) ;) (declaration "ulong uVar8;" type_identifier identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar11;" (sized_type_specifier "long" long) identifier ;) (declaration "_Ios_Iostate _Var12;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "long lVar13;" (sized_type_specifier "long" long) identifier ;) (declaration "char *local_58;" primitive_type (pointer_declarator "*local_58" * identifier) ;) (declaration "sentry local_41;" type_identifier identifier ;) (declaration "locale local_40 [16];" type_identifier (array_declarator "local_40 [16]" identifier [ number_literal ]) ;) (labeled_statement "istream::sentry::sentry(&local_41,param_1,false);" statement_identifier : (ERROR ":" :) (labeled_statement "sentry::sentry(&local_41,param_1,false);" statement_identifier : (ERROR ":" :) (expression_statement "sentry(&local_41,param_1,false);" (call_expression "sentry(&local_41,param_1,false)" identifier (argument_list "(&local_41,param_1,false)" ( (pointer_expression "&local_41" & identifier) , identifier , false ))) ;))) (expression_statement "lVar5 = *(long *)param_1;" (assignment_expression "lVar5 = *(long *)param_1" identifier = (pointer_expression "*(long *)param_1" * (cast_expression "(long *)param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (local_41 == (sentry)0x0) {\n    _Var12 = _S_failbit;\nLAB_003224d5:\n    ios::clear((ios *)(param_1 + *(long *)(lVar5 + -0x18)),\n               _Var12 | *(_Ios_Iostate *)((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20));\n    return param_1;\n  }" if (parenthesized_expression "(local_41 == (sentry)0x0)" ( (binary_expression "local_41 == (sentry)0x0" identifier == (cast_expression "(sentry)0x0" ( (type_descriptor "sentry" type_identifier) ) number_literal)) )) (compound_statement "{\n    _Var12 = _S_failbit;\nLAB_003224d5:\n    ios::clear((ios *)(param_1 + *(long *)(lVar5 + -0x18)),\n               _Var12 | *(_Ios_Iostate *)((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20));\n    return param_1;\n  }" { (expression_statement "_Var12 = _S_failbit;" (assignment_expression "_Var12 = _S_failbit" identifier = identifier) ;) (labeled_statement "LAB_003224d5:\n    ios::clear((ios *)(param_1 + *(long *)(lVar5 + -0x18)),\n               _Var12 | *(_Ios_Iostate *)((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20));" statement_identifier : (labeled_statement "ios::clear((ios *)(param_1 + *(long *)(lVar5 + -0x18)),\n               _Var12 | *(_Ios_Iostate *)((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20));" statement_identifier : (ERROR ":" :) (expression_statement "clear((ios *)(param_1 + *(long *)(lVar5 + -0x18)),\n               _Var12 | *(_Ios_Iostate *)((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20));" (call_expression "clear((ios *)(param_1 + *(long *)(lVar5 + -0x18)),\n               _Var12 | *(_Ios_Iostate *)((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20))" identifier (argument_list "((ios *)(param_1 + *(long *)(lVar5 + -0x18)),\n               _Var12 | *(_Ios_Iostate *)((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20))" ( (cast_expression "(ios *)(param_1 + *(long *)(lVar5 + -0x18))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(long *)(lVar5 + -0x18))" ( (binary_expression "param_1 + *(long *)(lVar5 + -0x18)" identifier + (pointer_expression "*(long *)(lVar5 + -0x18)" * (cast_expression "(long *)(lVar5 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + -0x18)" ( (binary_expression "lVar5 + -0x18" identifier + number_literal) ))))) ))) , (binary_expression "_Var12 | *(_Ios_Iostate *)((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20)" identifier | (pointer_expression "*(_Ios_Iostate *)((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20)" * (cast_expression "(_Ios_Iostate *)((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20)" ( (type_descriptor "_Ios_Iostate *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20)" ( (binary_expression "(ios *)(param_1 + *(long *)(lVar5 + -0x18)) + 0x20" (cast_expression "(ios *)(param_1 + *(long *)(lVar5 + -0x18))" ( (type_descriptor "ios *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(long *)(lVar5 + -0x18))" ( (binary_expression "param_1 + *(long *)(lVar5 + -0x18)" identifier + (pointer_expression "*(long *)(lVar5 + -0x18)" * (cast_expression "(long *)(lVar5 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + -0x18)" ( (binary_expression "lVar5 + -0x18" identifier + number_literal) ))))) ))) + number_literal) ))))) ))) ;))) (return_statement "return param_1;" return identifier ;) })) (expression_statement "lVar13 = *(long *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10);" (assignment_expression "lVar13 = *(long *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10)" identifier = (pointer_expression "*(long *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10)" * (cast_expression "(long *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(long *)(lVar5 + -0x18) + 0x10)" ( (binary_expression "param_1 + *(long *)(lVar5 + -0x18) + 0x10" (binary_expression "param_1 + *(long *)(lVar5 + -0x18)" identifier + (pointer_expression "*(long *)(lVar5 + -0x18)" * (cast_expression "(long *)(lVar5 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + -0x18)" ( (binary_expression "lVar5 + -0x18" identifier + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (lVar13 < 1) {\n    lVar13 = 0x7fffffffffffffff;\n  }" if (parenthesized_expression "(lVar13 < 1)" ( (binary_expression "lVar13 < 1" identifier < number_literal) )) (compound_statement "{\n    lVar13 = 0x7fffffffffffffff;\n  }" { (expression_statement "lVar13 = 0x7fffffffffffffff;" (assignment_expression "lVar13 = 0x7fffffffffffffff" identifier = number_literal) ;) })) (labeled_statement "locale::locale(local_40,(locale *)(param_1 + *(long *)(lVar5 + -0x18) + 0xd0));" statement_identifier : (ERROR ":" :) (expression_statement "locale(local_40,(locale *)(param_1 + *(long *)(lVar5 + -0x18) + 0xd0));" (call_expression "locale(local_40,(locale *)(param_1 + *(long *)(lVar5 + -0x18) + 0xd0))" identifier (argument_list "(local_40,(locale *)(param_1 + *(long *)(lVar5 + -0x18) + 0xd0))" ( identifier , (cast_expression "(locale *)(param_1 + *(long *)(lVar5 + -0x18) + 0xd0)" ( (type_descriptor "locale *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(long *)(lVar5 + -0x18) + 0xd0)" ( (binary_expression "param_1 + *(long *)(lVar5 + -0x18) + 0xd0" (binary_expression "param_1 + *(long *)(lVar5 + -0x18)" identifier + (pointer_expression "*(long *)(lVar5 + -0x18)" * (cast_expression "(long *)(lVar5 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + -0x18)" ( (binary_expression "lVar5 + -0x18" identifier + number_literal) ))))) + number_literal) ))) ))) ;)) comment (expression_statement "pcVar4 = use_facet<std::ctype<char>>(local_40);" (binary_expression "pcVar4 = use_facet<std::ctype<char>>(local_40)" (assignment_expression "pcVar4 = use_facet<std" identifier = (binary_expression "use_facet<std" identifier < identifier)) (ERROR "::ctype" : : identifier) < (binary_expression "char>>(local_40)" identifier >> (parenthesized_expression "(local_40)" ( identifier )))) ;) (labeled_statement "locale::~locale(local_40);" statement_identifier : (ERROR ":" :) (expression_statement "~locale(local_40);" (unary_expression "~locale(local_40)" ~ (call_expression "locale(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;)) (expression_statement "plVar1 = *(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xe8);" (assignment_expression "plVar1 = *(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xe8)" identifier = (pointer_expression "*(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xe8)" * (cast_expression "(long **)(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xe8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xe8)" ( (binary_expression "param_1 + *(long *)(*(long *)param_1 + -0x18) + 0xe8" (binary_expression "param_1 + *(long *)(*(long *)param_1 + -0x18)" identifier + (pointer_expression "*(long *)(*(long *)param_1 + -0x18)" * (cast_expression "(long *)(*(long *)param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)param_1 + -0x18)" ( (binary_expression "*(long *)param_1 + -0x18" (pointer_expression "*(long *)param_1" * (cast_expression "(long *)param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar8 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */\n    uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }" if (parenthesized_expression "((byte *)plVar1[2] < (byte *)plVar1[3])" ( (binary_expression "(byte *)plVar1[2] < (byte *)plVar1[3]" (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ])) < (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ]))) )) (compound_statement "{\n    uVar8 = (ulong)*(byte *)plVar1[2];\n  }" { (expression_statement "uVar8 = (ulong)*(byte *)plVar1[2];" (assignment_expression "uVar8 = (ulong)*(byte *)plVar1[2]" identifier = (binary_expression "(ulong)*(byte *)plVar1[2]" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */\n    uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }" else (compound_statement "{\n                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */\n    uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }" { comment (expression_statement "uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);" (assignment_expression "uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x48))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x48))" ( (pointer_expression "**(code **)(*plVar1 + 0x48)" * (pointer_expression "*(code **)(*plVar1 + 0x48)" * (cast_expression "(code **)(*plVar1 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x48)" ( (binary_expression "*plVar1 + 0x48" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;) }))) (expression_statement "lVar11 = 0;" (assignment_expression "lVar11 = 0" identifier = number_literal) ;) (labeled_statement "LAB_003223e8:\n  uVar2 = (uint)uVar8;" statement_identifier : (expression_statement "uVar2 = (uint)uVar8;" (assignment_expression "uVar2 = (uint)uVar8" identifier = (cast_expression "(uint)uVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ;)) (if_statement "if (lVar11 < lVar13 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar8 == -1) goto LAB_003225a4;\n      lVar5 = *(long *)(pcVar4 + 0x30);\n      if ((*(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar10 = (lVar13 - lVar11) + -1;\n      lVar9 = plVar1[3] - (long)__src;\n      if (lVar9 < lVar10) {\n        lVar10 = lVar9;\n      }\n      if (lVar10 < 2) {\n        *param_2 = (char)uVar8;\n        param_2 = param_2 + 1;\n        lVar11 = lVar11 + 1;\n        pbVar7 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar7) {\n          pbVar6 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar6;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar6 = (byte *)plVar1[2];\n          pbVar7 = (byte *)plVar1[3];\n        }\n        if (pbVar6 < pbVar7) {\n          uVar8 = (ulong)*pbVar6;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar7 = (byte *)((long)__src + 1);\n      if ((pbVar7 < (byte *)(lVar10 + (long)__src)) &&\n         ((*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar7 = pbVar7 + 1;\n          if ((byte *)(lVar10 + (long)__src) <= pbVar7) break;\n        } while ((*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20) == 0);\n        __n = (long)pbVar7 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar7;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar7 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar7;\n        lVar11 = lVar11 + __n;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }\n      uVar8 = (ulong)*pbVar7;\n      uVar2 = (uint)*pbVar7;\n      if (lVar13 + -1 <= lVar11) break;\n    } while( true );\n  }" if (parenthesized_expression "(lVar11 < lVar13 + -1)" ( (binary_expression "lVar11 < lVar13 + -1" identifier < (binary_expression "lVar13 + -1" identifier + number_literal)) )) (compound_statement "{\n    do {\n      local_58 = param_2;\n      if ((int)uVar8 == -1) goto LAB_003225a4;\n      lVar5 = *(long *)(pcVar4 + 0x30);\n      if ((*(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar10 = (lVar13 - lVar11) + -1;\n      lVar9 = plVar1[3] - (long)__src;\n      if (lVar9 < lVar10) {\n        lVar10 = lVar9;\n      }\n      if (lVar10 < 2) {\n        *param_2 = (char)uVar8;\n        param_2 = param_2 + 1;\n        lVar11 = lVar11 + 1;\n        pbVar7 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar7) {\n          pbVar6 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar6;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar6 = (byte *)plVar1[2];\n          pbVar7 = (byte *)plVar1[3];\n        }\n        if (pbVar6 < pbVar7) {\n          uVar8 = (ulong)*pbVar6;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar7 = (byte *)((long)__src + 1);\n      if ((pbVar7 < (byte *)(lVar10 + (long)__src)) &&\n         ((*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar7 = pbVar7 + 1;\n          if ((byte *)(lVar10 + (long)__src) <= pbVar7) break;\n        } while ((*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20) == 0);\n        __n = (long)pbVar7 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar7;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar7 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar7;\n        lVar11 = lVar11 + __n;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }\n      uVar8 = (ulong)*pbVar7;\n      uVar2 = (uint)*pbVar7;\n      if (lVar13 + -1 <= lVar11) break;\n    } while( true );\n  }" { (do_statement "do {\n      local_58 = param_2;\n      if ((int)uVar8 == -1) goto LAB_003225a4;\n      lVar5 = *(long *)(pcVar4 + 0x30);\n      if ((*(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar10 = (lVar13 - lVar11) + -1;\n      lVar9 = plVar1[3] - (long)__src;\n      if (lVar9 < lVar10) {\n        lVar10 = lVar9;\n      }\n      if (lVar10 < 2) {\n        *param_2 = (char)uVar8;\n        param_2 = param_2 + 1;\n        lVar11 = lVar11 + 1;\n        pbVar7 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar7) {\n          pbVar6 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar6;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar6 = (byte *)plVar1[2];\n          pbVar7 = (byte *)plVar1[3];\n        }\n        if (pbVar6 < pbVar7) {\n          uVar8 = (ulong)*pbVar6;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar7 = (byte *)((long)__src + 1);\n      if ((pbVar7 < (byte *)(lVar10 + (long)__src)) &&\n         ((*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar7 = pbVar7 + 1;\n          if ((byte *)(lVar10 + (long)__src) <= pbVar7) break;\n        } while ((*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20) == 0);\n        __n = (long)pbVar7 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar7;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar7 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar7;\n        lVar11 = lVar11 + __n;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }\n      uVar8 = (ulong)*pbVar7;\n      uVar2 = (uint)*pbVar7;\n      if (lVar13 + -1 <= lVar11) break;\n    } while( true );" do (compound_statement "{\n      local_58 = param_2;\n      if ((int)uVar8 == -1) goto LAB_003225a4;\n      lVar5 = *(long *)(pcVar4 + 0x30);\n      if ((*(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar10 = (lVar13 - lVar11) + -1;\n      lVar9 = plVar1[3] - (long)__src;\n      if (lVar9 < lVar10) {\n        lVar10 = lVar9;\n      }\n      if (lVar10 < 2) {\n        *param_2 = (char)uVar8;\n        param_2 = param_2 + 1;\n        lVar11 = lVar11 + 1;\n        pbVar7 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar7) {\n          pbVar6 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar6;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar6 = (byte *)plVar1[2];\n          pbVar7 = (byte *)plVar1[3];\n        }\n        if (pbVar6 < pbVar7) {\n          uVar8 = (ulong)*pbVar6;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar7 = (byte *)((long)__src + 1);\n      if ((pbVar7 < (byte *)(lVar10 + (long)__src)) &&\n         ((*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar7 = pbVar7 + 1;\n          if ((byte *)(lVar10 + (long)__src) <= pbVar7) break;\n        } while ((*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20) == 0);\n        __n = (long)pbVar7 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar7;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar7 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar7;\n        lVar11 = lVar11 + __n;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }\n      uVar8 = (ulong)*pbVar7;\n      uVar2 = (uint)*pbVar7;\n      if (lVar13 + -1 <= lVar11) break;\n    }" { (expression_statement "local_58 = param_2;" (assignment_expression "local_58 = param_2" identifier = identifier) ;) (if_statement "if ((int)uVar8 == -1) goto LAB_003225a4;" if (parenthesized_expression "((int)uVar8 == -1)" ( (binary_expression "(int)uVar8 == -1" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (goto_statement "goto LAB_003225a4;" goto statement_identifier ;)) (expression_statement "lVar5 = *(long *)(pcVar4 + 0x30);" (assignment_expression "lVar5 = *(long *)(pcVar4 + 0x30)" identifier = (pointer_expression "*(long *)(pcVar4 + 0x30)" * (cast_expression "(long *)(pcVar4 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar4 + 0x30)" ( (binary_expression "pcVar4 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if ((*(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;" if (parenthesized_expression "((*(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2) & 0x20) != 0)" ( (binary_expression "(*(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2) & 0x20) != 0" (parenthesized_expression "(*(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2) & 0x20)" ( (binary_expression "*(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2) & 0x20" (pointer_expression "*(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2)" * (cast_expression "(byte *)(lVar5 + 1 + (uVar8 & 0xff) * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 1 + (uVar8 & 0xff) * 2)" ( (binary_expression "lVar5 + 1 + (uVar8 & 0xff) * 2" (binary_expression "lVar5 + 1" identifier + number_literal) + (binary_expression "(uVar8 & 0xff) * 2" (parenthesized_expression "(uVar8 & 0xff)" ( (binary_expression "uVar8 & 0xff" identifier & number_literal) )) * number_literal)) )))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_003224ac;" goto statement_identifier ;)) (expression_statement "__src = (void *)plVar1[2];" (assignment_expression "__src = (void *)plVar1[2]" identifier = (cast_expression "(void *)plVar1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "lVar10 = (lVar13 - lVar11) + -1;" (assignment_expression "lVar10 = (lVar13 - lVar11) + -1" identifier = (binary_expression "(lVar13 - lVar11) + -1" (parenthesized_expression "(lVar13 - lVar11)" ( (binary_expression "lVar13 - lVar11" identifier - identifier) )) + number_literal)) ;) (expression_statement "lVar9 = plVar1[3] - (long)__src;" (assignment_expression "lVar9 = plVar1[3] - (long)__src" identifier = (binary_expression "plVar1[3] - (long)__src" (subscript_expression "plVar1[3]" identifier [ number_literal ]) - (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (lVar9 < lVar10) {\n        lVar10 = lVar9;\n      }" if (parenthesized_expression "(lVar9 < lVar10)" ( (binary_expression "lVar9 < lVar10" identifier < identifier) )) (compound_statement "{\n        lVar10 = lVar9;\n      }" { (expression_statement "lVar10 = lVar9;" (assignment_expression "lVar10 = lVar9" identifier = identifier) ;) })) (if_statement "if (lVar10 < 2) {\n        *param_2 = (char)uVar8;\n        param_2 = param_2 + 1;\n        lVar11 = lVar11 + 1;\n        pbVar7 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar7) {\n          pbVar6 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar6;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar6 = (byte *)plVar1[2];\n          pbVar7 = (byte *)plVar1[3];\n        }\n        if (pbVar6 < pbVar7) {\n          uVar8 = (ulong)*pbVar6;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }" if (parenthesized_expression "(lVar10 < 2)" ( (binary_expression "lVar10 < 2" identifier < number_literal) )) (compound_statement "{\n        *param_2 = (char)uVar8;\n        param_2 = param_2 + 1;\n        lVar11 = lVar11 + 1;\n        pbVar7 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar7) {\n          pbVar6 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar6;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar6 = (byte *)plVar1[2];\n          pbVar7 = (byte *)plVar1[3];\n        }\n        if (pbVar6 < pbVar7) {\n          uVar8 = (ulong)*pbVar6;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }" { (expression_statement "*param_2 = (char)uVar8;" (assignment_expression "*param_2 = (char)uVar8" (pointer_expression "*param_2" * identifier) = (cast_expression "(char)uVar8" ( (type_descriptor "char" primitive_type) ) 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 "lVar11 = lVar11 + 1;" (assignment_expression "lVar11 = lVar11 + 1" identifier = (binary_expression "lVar11 + 1" identifier + number_literal)) ;) (expression_statement "pbVar7 = (byte *)plVar1[3];" (assignment_expression "pbVar7 = (byte *)plVar1[3]" identifier = (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ]))) ;) (if_statement "if ((byte *)plVar1[2] < pbVar7) {\n          pbVar6 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar6;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar6 = (byte *)plVar1[2];\n          pbVar7 = (byte *)plVar1[3];\n        }" if (parenthesized_expression "((byte *)plVar1[2] < pbVar7)" ( (binary_expression "(byte *)plVar1[2] < pbVar7" (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ])) < identifier) )) (compound_statement "{\n          pbVar6 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar6;\n        }" { (expression_statement "pbVar6 = (byte *)plVar1[2] + 1;" (assignment_expression "pbVar6 = (byte *)plVar1[2] + 1" identifier = (binary_expression "(byte *)plVar1[2] + 1" (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ])) + number_literal)) ;) (expression_statement "plVar1[2] = (long)pbVar6;" (assignment_expression "plVar1[2] = (long)pbVar6" (subscript_expression "plVar1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) }) (else_clause "else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar6 = (byte *)plVar1[2];\n          pbVar7 = (byte *)plVar1[3];\n        }" else (compound_statement "{\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar6 = (byte *)plVar1[2];\n          pbVar7 = (byte *)plVar1[3];\n        }" { (expression_statement "iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);" (assignment_expression "iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x50))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x50))" ( (pointer_expression "**(code **)(*plVar1 + 0x50)" * (pointer_expression "*(code **)(*plVar1 + 0x50)" * (cast_expression "(code **)(*plVar1 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x50)" ( (binary_expression "*plVar1 + 0x50" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;) (expression_statement "local_58 = param_2;" (assignment_expression "local_58 = param_2" identifier = identifier) ;) (if_statement "if (iVar3 == -1) goto LAB_003225a4;" if (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) (goto_statement "goto LAB_003225a4;" goto statement_identifier ;)) (expression_statement "pbVar6 = (byte *)plVar1[2];" (assignment_expression "pbVar6 = (byte *)plVar1[2]" identifier = (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar7 = (byte *)plVar1[3];" (assignment_expression "pbVar7 = (byte *)plVar1[3]" identifier = (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ]))) ;) }))) (if_statement "if (pbVar6 < pbVar7) {\n          uVar8 = (ulong)*pbVar6;\n        }\n        else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }" if (parenthesized_expression "(pbVar6 < pbVar7)" ( (binary_expression "pbVar6 < pbVar7" identifier < identifier) )) (compound_statement "{\n          uVar8 = (ulong)*pbVar6;\n        }" { (expression_statement "uVar8 = (ulong)*pbVar6;" (assignment_expression "uVar8 = (ulong)*pbVar6" identifier = (binary_expression "(ulong)*pbVar6" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) }) (else_clause "else {\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }" else (compound_statement "{\n                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */\n          uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }" { comment (expression_statement "uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);" (assignment_expression "uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x48))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x48))" ( (pointer_expression "**(code **)(*plVar1 + 0x48)" * (pointer_expression "*(code **)(*plVar1 + 0x48)" * (cast_expression "(code **)(*plVar1 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x48)" ( (binary_expression "*plVar1 + 0x48" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;) }))) (goto_statement "goto LAB_003223e8;" goto statement_identifier ;) })) (expression_statement "pbVar7 = (byte *)((long)__src + 1);" (assignment_expression "pbVar7 = (byte *)((long)__src + 1)" identifier = (cast_expression "(byte *)((long)__src + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__src + 1)" ( (binary_expression "(long)__src + 1" (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (if_statement "if ((pbVar7 < (byte *)(lVar10 + (long)__src)) &&\n         ((*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar7 = pbVar7 + 1;\n          if ((byte *)(lVar10 + (long)__src) <= pbVar7) break;\n        } while ((*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20) == 0);\n        __n = (long)pbVar7 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar7;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar7 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar7;\n        lVar11 = lVar11 + __n;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }" if (parenthesized_expression "((pbVar7 < (byte *)(lVar10 + (long)__src)) &&\n         ((*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0))" ( (binary_expression "(pbVar7 < (byte *)(lVar10 + (long)__src)) &&\n         ((*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)" (parenthesized_expression "(pbVar7 < (byte *)(lVar10 + (long)__src))" ( (binary_expression "pbVar7 < (byte *)(lVar10 + (long)__src)" identifier < (cast_expression "(byte *)(lVar10 + (long)__src)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + (long)__src)" ( (binary_expression "lVar10 + (long)__src" identifier + (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) )) && (parenthesized_expression "((*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)" ( (binary_expression "(*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0" (parenthesized_expression "(*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20)" ( (binary_expression "*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20" (pointer_expression "*(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2)" * (cast_expression "(byte *)(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2)" ( (binary_expression "lVar5 + 1 + (ulong)*(byte *)((long)__src + 1) * 2" (binary_expression "lVar5 + 1" identifier + number_literal) + (binary_expression "(ulong)*(byte *)((long)__src + 1) * 2" (binary_expression "(ulong)*(byte *)((long)__src + 1)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)((long)__src + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__src + 1)" ( (binary_expression "(long)__src + 1" (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        do {\n          pbVar7 = pbVar7 + 1;\n          if ((byte *)(lVar10 + (long)__src) <= pbVar7) break;\n        } while ((*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20) == 0);\n        __n = (long)pbVar7 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar7;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }" { (do_statement "do {\n          pbVar7 = pbVar7 + 1;\n          if ((byte *)(lVar10 + (long)__src) <= pbVar7) break;\n        } while ((*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20) == 0);" do (compound_statement "{\n          pbVar7 = pbVar7 + 1;\n          if ((byte *)(lVar10 + (long)__src) <= pbVar7) break;\n        }" { (expression_statement "pbVar7 = pbVar7 + 1;" (assignment_expression "pbVar7 = pbVar7 + 1" identifier = (binary_expression "pbVar7 + 1" identifier + number_literal)) ;) (if_statement "if ((byte *)(lVar10 + (long)__src) <= pbVar7) break;" if (parenthesized_expression "((byte *)(lVar10 + (long)__src) <= pbVar7)" ( (binary_expression "(byte *)(lVar10 + (long)__src) <= pbVar7" (cast_expression "(byte *)(lVar10 + (long)__src)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar10 + (long)__src)" ( (binary_expression "lVar10 + (long)__src" identifier + (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) <= identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "((*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20) == 0)" ( (binary_expression "(*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20) == 0" (parenthesized_expression "(*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20)" ( (binary_expression "*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2) & 0x20" (pointer_expression "*(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2)" * (cast_expression "(byte *)(lVar5 + 1 + (ulong)*pbVar7 * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + 1 + (ulong)*pbVar7 * 2)" ( (binary_expression "lVar5 + 1 + (ulong)*pbVar7 * 2" (binary_expression "lVar5 + 1" identifier + number_literal) + (binary_expression "(ulong)*pbVar7 * 2" (binary_expression "(ulong)*pbVar7" (parenthesized_expression "(ulong)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) == number_literal) )) ;) (expression_statement "__n = (long)pbVar7 - (long)__src;" (assignment_expression "__n = (long)pbVar7 - (long)__src" identifier = (binary_expression "(long)pbVar7 - (long)__src" (cast_expression "(long)pbVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (__n != 0) goto LAB_0032254b;" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (goto_statement "goto LAB_0032254b;" goto statement_identifier ;)) (expression_statement "plVar1[2] = (long)pbVar7;" (assignment_expression "plVar1[2] = (long)pbVar7" (subscript_expression "plVar1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;" if (parenthesized_expression "((byte *)plVar1[3] <= pbVar7)" ( (binary_expression "(byte *)plVar1[3] <= pbVar7" (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ])) <= identifier) )) (goto_statement "goto LAB_00322588;" goto statement_identifier ;)) }) (else_clause "else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar7 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar7;\n        lVar11 = lVar11 + __n;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }" else (compound_statement "{\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar7 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar7;\n        lVar11 = lVar11 + __n;\n        if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;\n      }" { (expression_statement "__n = 1;" (assignment_expression "__n = 1" identifier = number_literal) ;) (labeled_statement "LAB_0032254b:\n        memcpy(param_2,__src,__n);" statement_identifier : (expression_statement "memcpy(param_2,__src,__n);" (call_expression "memcpy(param_2,__src,__n)" identifier (argument_list "(param_2,__src,__n)" ( identifier , identifier , identifier ))) ;)) (expression_statement "pbVar7 = (byte *)(plVar1[2] + __n);" (assignment_expression "pbVar7 = (byte *)(plVar1[2] + __n)" identifier = (cast_expression "(byte *)(plVar1[2] + __n)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar1[2] + __n)" ( (binary_expression "plVar1[2] + __n" (subscript_expression "plVar1[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "param_2 = param_2 + __n;" (assignment_expression "param_2 = param_2 + __n" identifier = (binary_expression "param_2 + __n" identifier + identifier)) ;) (expression_statement "plVar1[2] = (long)pbVar7;" (assignment_expression "plVar1[2] = (long)pbVar7" (subscript_expression "plVar1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "lVar11 = lVar11 + __n;" (assignment_expression "lVar11 = lVar11 + __n" identifier = (binary_expression "lVar11 + __n" identifier + identifier)) ;) (if_statement "if ((byte *)plVar1[3] <= pbVar7) goto LAB_00322588;" if (parenthesized_expression "((byte *)plVar1[3] <= pbVar7)" ( (binary_expression "(byte *)plVar1[3] <= pbVar7" (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ])) <= identifier) )) (goto_statement "goto LAB_00322588;" goto statement_identifier ;)) }))) (expression_statement "uVar8 = (ulong)*pbVar7;" (assignment_expression "uVar8 = (ulong)*pbVar7" identifier = (binary_expression "(ulong)*pbVar7" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) (expression_statement "uVar2 = (uint)*pbVar7;" (assignment_expression "uVar2 = (uint)*pbVar7" identifier = (binary_expression "(uint)*pbVar7" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (lVar13 + -1 <= lVar11) break;" if (parenthesized_expression "(lVar13 + -1 <= lVar11)" ( (binary_expression "lVar13 + -1 <= lVar11" (binary_expression "lVar13 + -1" identifier + number_literal) <= identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "local_58 = param_2;" (assignment_expression "local_58 = param_2" identifier = identifier) ;) (if_statement "if (uVar2 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = '\0';\n    lVar5 = *(long *)param_1;\n    _Var12 = (-(uint)(lVar11 == 0) & 4) + _S_eofbit;\n    *(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = '\0';\n    lVar5 = *(long *)param_1;\n    *(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0;\n    if (lVar11 != 0) {\n      return param_1;\n    }\n    _Var12 = _S_failbit;\n  }" if (parenthesized_expression "(uVar2 == 0xffffffff)" ( (binary_expression "uVar2 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\nLAB_003225a4:\n    *local_58 = '\0';\n    lVar5 = *(long *)param_1;\n    _Var12 = (-(uint)(lVar11 == 0) & 4) + _S_eofbit;\n    *(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0;\n  }" { (labeled_statement "LAB_003225a4:\n    *local_58 = '\0';" statement_identifier : (expression_statement "*local_58 = '\0';" (assignment_expression "*local_58 = '\0'" (pointer_expression "*local_58" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;)) (expression_statement "lVar5 = *(long *)param_1;" (assignment_expression "lVar5 = *(long *)param_1" identifier = (pointer_expression "*(long *)param_1" * (cast_expression "(long *)param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "_Var12 = (-(uint)(lVar11 == 0) & 4) + _S_eofbit;" (assignment_expression "_Var12 = (-(uint)(lVar11 == 0) & 4) + _S_eofbit" identifier = (binary_expression "(-(uint)(lVar11 == 0) & 4) + _S_eofbit" (parenthesized_expression "(-(uint)(lVar11 == 0) & 4)" ( (binary_expression "-(uint)(lVar11 == 0) & 4" (unary_expression "-(uint)(lVar11 == 0)" - (call_expression "(uint)(lVar11 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar11 == 0)" ( (binary_expression "lVar11 == 0" identifier == number_literal) )))) & number_literal) )) + identifier)) ;) (expression_statement "*(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0;" (assignment_expression "*(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0" (pointer_expression "*(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10)" * (cast_expression "(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(long *)(lVar5 + -0x18) + 0x10)" ( (binary_expression "param_1 + *(long *)(lVar5 + -0x18) + 0x10" (binary_expression "param_1 + *(long *)(lVar5 + -0x18)" identifier + (pointer_expression "*(long *)(lVar5 + -0x18)" * (cast_expression "(long *)(lVar5 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + -0x18)" ( (binary_expression "lVar5 + -0x18" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\nLAB_003224ac:\n    *param_2 = '\0';\n    lVar5 = *(long *)param_1;\n    *(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0;\n    if (lVar11 != 0) {\n      return param_1;\n    }\n    _Var12 = _S_failbit;\n  }" else (compound_statement "{\nLAB_003224ac:\n    *param_2 = '\0';\n    lVar5 = *(long *)param_1;\n    *(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0;\n    if (lVar11 != 0) {\n      return param_1;\n    }\n    _Var12 = _S_failbit;\n  }" { (labeled_statement "LAB_003224ac:\n    *param_2 = '\0';" statement_identifier : (expression_statement "*param_2 = '\0';" (assignment_expression "*param_2 = '\0'" (pointer_expression "*param_2" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;)) (expression_statement "lVar5 = *(long *)param_1;" (assignment_expression "lVar5 = *(long *)param_1" identifier = (pointer_expression "*(long *)param_1" * (cast_expression "(long *)param_1" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0;" (assignment_expression "*(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10) = 0" (pointer_expression "*(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10)" * (cast_expression "(undefined8 *)(param_1 + *(long *)(lVar5 + -0x18) + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + *(long *)(lVar5 + -0x18) + 0x10)" ( (binary_expression "param_1 + *(long *)(lVar5 + -0x18) + 0x10" (binary_expression "param_1 + *(long *)(lVar5 + -0x18)" identifier + (pointer_expression "*(long *)(lVar5 + -0x18)" * (cast_expression "(long *)(lVar5 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar5 + -0x18)" ( (binary_expression "lVar5 + -0x18" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (if_statement "if (lVar11 != 0) {\n      return param_1;\n    }" if (parenthesized_expression "(lVar11 != 0)" ( (binary_expression "lVar11 != 0" identifier != number_literal) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "_Var12 = _S_failbit;" (assignment_expression "_Var12 = _S_failbit" identifier = identifier) ;) }))) (goto_statement "goto LAB_003224d5;" goto statement_identifier ;) (labeled_statement "LAB_00322588:\n                    /* try { // try from 0032258e to 0032259e has its CatchHandler @ 00322613 */\n  uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);" statement_identifier : comment (expression_statement "uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1);" (assignment_expression "uVar8 = (**(code **)(*plVar1 + 0x48))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x48))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x48))" ( (pointer_expression "**(code **)(*plVar1 + 0x48)" * (pointer_expression "*(code **)(*plVar1 + 0x48)" * (cast_expression "(code **)(*plVar1 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x48)" ( (binary_expression "*plVar1 + 0x48" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;)) (goto_statement "goto LAB_003223e8;" goto statement_identifier ;) }))
(translation_unit "long * FUN_00322340(long *param_1,undefined1 *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  void *__src;\n  int iVar3;\n  long lVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  uint uVar11;\n  size_t __n;\n  long lVar12;\n  undefined1 *local_58;\n  char local_41;\n  undefined1 local_40 [16];\n  \n  FUN_002faf30(&local_41,param_1,0);\n  lVar4 = *param_1;\n  if (local_41 == '\0') {\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }\n  lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10);\n  if (lVar12 < 1) {\n    lVar12 = 0x7fffffffffffffff;\n  }\n  FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0);\n                    \n  lVar4 = FUN_002ec670(local_40);\n  FUN_002dd1b0(local_40);\n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n  if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    \n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }\n  lVar10 = 0;\nLAB_003223e8:\n  uVar11 = (uint)uVar7;\n  if (lVar10 < lVar12 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }\n  local_58 = param_2;\n  if (uVar11 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }\n  goto LAB_003224d5;\nLAB_00322588:\n                    \n  uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  goto LAB_003223e8;\n}\n\n" (function_definition "long * FUN_00322340(long *param_1,undefined1 *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  void *__src;\n  int iVar3;\n  long lVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  uint uVar11;\n  size_t __n;\n  long lVar12;\n  undefined1 *local_58;\n  char local_41;\n  undefined1 local_40 [16];\n  \n  FUN_002faf30(&local_41,param_1,0);\n  lVar4 = *param_1;\n  if (local_41 == '\0') {\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }\n  lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10);\n  if (lVar12 < 1) {\n    lVar12 = 0x7fffffffffffffff;\n  }\n  FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0);\n                    \n  lVar4 = FUN_002ec670(local_40);\n  FUN_002dd1b0(local_40);\n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n  if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    \n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }\n  lVar10 = 0;\nLAB_003223e8:\n  uVar11 = (uint)uVar7;\n  if (lVar10 < lVar12 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }\n  local_58 = param_2;\n  if (uVar11 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }\n  goto LAB_003224d5;\nLAB_00322588:\n                    \n  uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  goto LAB_003223e8;\n}" (sized_type_specifier "long" long) (pointer_declarator "* FUN_00322340(long *param_1,undefined1 *param_2)" * (function_declarator "FUN_00322340(long *param_1,undefined1 *param_2)" identifier (parameter_list "(long *param_1,undefined1 *param_2)" ( (parameter_declaration "long *param_1" (sized_type_specifier "long" long) (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  void *__src;\n  int iVar3;\n  long lVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  uint uVar11;\n  size_t __n;\n  long lVar12;\n  undefined1 *local_58;\n  char local_41;\n  undefined1 local_40 [16];\n  \n  FUN_002faf30(&local_41,param_1,0);\n  lVar4 = *param_1;\n  if (local_41 == '\0') {\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }\n  lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10);\n  if (lVar12 < 1) {\n    lVar12 = 0x7fffffffffffffff;\n  }\n  FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0);\n                    \n  lVar4 = FUN_002ec670(local_40);\n  FUN_002dd1b0(local_40);\n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n  if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    \n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }\n  lVar10 = 0;\nLAB_003223e8:\n  uVar11 = (uint)uVar7;\n  if (lVar10 < lVar12 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }\n  local_58 = param_2;\n  if (uVar11 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }\n  goto LAB_003224d5;\nLAB_00322588:\n                    \n  uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  goto LAB_003223e8;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "void *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar5;" type_identifier (pointer_declarator "*pbVar5" * identifier) ;) (declaration "byte *pbVar6;" type_identifier (pointer_declarator "*pbVar6" * identifier) ;) (declaration "ulong uVar7;" type_identifier identifier ;) (declaration "long lVar8;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar9;" (sized_type_specifier "long" long) identifier ;) (declaration "long lVar10;" (sized_type_specifier "long" long) identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "size_t __n;" primitive_type identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined1 *local_58;" type_identifier (pointer_declarator "*local_58" * identifier) ;) (declaration "char local_41;" primitive_type identifier ;) (declaration "undefined1 local_40 [16];" type_identifier (array_declarator "local_40 [16]" identifier [ number_literal ]) ;) (expression_statement "FUN_002faf30(&local_41,param_1,0);" (call_expression "FUN_002faf30(&local_41,param_1,0)" identifier (argument_list "(&local_41,param_1,0)" ( (pointer_expression "&local_41" & identifier) , identifier , number_literal ))) ;) (expression_statement "lVar4 = *param_1;" (assignment_expression "lVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (local_41 == '\0') {\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }" if (parenthesized_expression "(local_41 == '\0')" ( (binary_expression "local_41 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }" { (expression_statement "uVar11 = 4;" (assignment_expression "uVar11 = 4" identifier = number_literal) ;) (labeled_statement "LAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;" statement_identifier : (expression_statement "lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;" (assignment_expression "lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1" identifier = (binary_expression "*(long *)(lVar4 + -0x18) + (long)param_1" (pointer_expression "*(long *)(lVar4 + -0x18)" * (cast_expression "(long *)(lVar4 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -0x18)" ( (binary_expression "lVar4 + -0x18" identifier + number_literal) )))) + (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;)) (expression_statement "FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));" (call_expression "FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20))" identifier (argument_list "(lVar4,uVar11 | *(uint *)(lVar4 + 0x20))" ( identifier , (binary_expression "uVar11 | *(uint *)(lVar4 + 0x20)" identifier | (pointer_expression "*(uint *)(lVar4 + 0x20)" * (cast_expression "(uint *)(lVar4 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x20)" ( (binary_expression "lVar4 + 0x20" identifier + number_literal) ))))) ))) ;) (return_statement "return param_1;" return identifier ;) })) (expression_statement "lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10);" (assignment_expression "lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" identifier = (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" * (cast_expression "(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" ( (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar4 + -0x18)" * (cast_expression "(long *)(lVar4 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -0x18)" ( (binary_expression "lVar4 + -0x18" identifier + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if (lVar12 < 1) {\n    lVar12 = 0x7fffffffffffffff;\n  }" if (parenthesized_expression "(lVar12 < 1)" ( (binary_expression "lVar12 < 1" identifier < number_literal) )) (compound_statement "{\n    lVar12 = 0x7fffffffffffffff;\n  }" { (expression_statement "lVar12 = 0x7fffffffffffffff;" (assignment_expression "lVar12 = 0x7fffffffffffffff" identifier = number_literal) ;) })) (expression_statement "FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0);" (call_expression "FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0)" identifier (argument_list "(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0)" ( identifier , (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0" (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar4 + -0x18)" * (cast_expression "(long *)(lVar4 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -0x18)" ( (binary_expression "lVar4 + -0x18" identifier + number_literal) ))))) + number_literal) ))) ;) (expression_statement "lVar4 = FUN_002ec670(local_40);" (assignment_expression "lVar4 = FUN_002ec670(local_40)" identifier = (call_expression "FUN_002ec670(local_40)" identifier (argument_list "(local_40)" ( identifier )))) ;) (expression_statement "FUN_002dd1b0(local_40);" (call_expression "FUN_002dd1b0(local_40)" identifier (argument_list "(local_40)" ( identifier ))) ;) (expression_statement "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);" (assignment_expression "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" identifier = (pointer_expression "*(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" * (cast_expression "(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" ( (type_descriptor "long **" (sized_type_specifier "long" long) (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" ( (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(*param_1 + -0x18)" * (cast_expression "(long *)(*param_1 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + -0x18)" ( (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" * identifier) + number_literal) ))))) + number_literal) ))))) ;) (if_statement "if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    \n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }" if (parenthesized_expression "((byte *)plVar1[2] < (byte *)plVar1[3])" ( (binary_expression "(byte *)plVar1[2] < (byte *)plVar1[3]" (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ])) < (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ]))) )) (compound_statement "{\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }" { (expression_statement "uVar7 = (ulong)*(byte *)plVar1[2];" (assignment_expression "uVar7 = (ulong)*(byte *)plVar1[2]" identifier = (binary_expression "(ulong)*(byte *)plVar1[2]" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ])))) ;) }) (else_clause "else {\n                    \n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }" else (compound_statement "{\n                    \n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }" { (expression_statement "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);" (assignment_expression "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x48))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x48))" ( (pointer_expression "**(code **)(*plVar1 + 0x48)" * (pointer_expression "*(code **)(*plVar1 + 0x48)" * (cast_expression "(code **)(*plVar1 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x48)" ( (binary_expression "*plVar1 + 0x48" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;) }))) (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" identifier = number_literal) ;) (labeled_statement "LAB_003223e8:\n  uVar11 = (uint)uVar7;" statement_identifier : (expression_statement "uVar11 = (uint)uVar7;" (assignment_expression "uVar11 = (uint)uVar7" identifier = (cast_expression "(uint)uVar7" ( (type_descriptor "uint" type_identifier) ) identifier)) ;)) (if_statement "if (lVar10 < lVar12 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }" if (parenthesized_expression "(lVar10 < lVar12 + -1)" ( (binary_expression "lVar10 < lVar12 + -1" identifier < (binary_expression "lVar12 + -1" identifier + number_literal)) )) (compound_statement "{\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }" { (do_statement "do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );" do (compound_statement "{\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    }" { (expression_statement "local_58 = param_2;" (assignment_expression "local_58 = param_2" identifier = identifier) ;) (if_statement "if ((int)uVar7 == -1) goto LAB_003225a4;" if (parenthesized_expression "((int)uVar7 == -1)" ( (binary_expression "(int)uVar7 == -1" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) == number_literal) )) (goto_statement "goto LAB_003225a4;" goto statement_identifier ;)) (expression_statement "lVar2 = *(long *)(lVar4 + 0x30);" (assignment_expression "lVar2 = *(long *)(lVar4 + 0x30)" identifier = (pointer_expression "*(long *)(lVar4 + 0x30)" * (cast_expression "(long *)(lVar4 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + 0x30)" ( (binary_expression "lVar4 + 0x30" identifier + number_literal) ))))) ;) (if_statement "if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;" if (parenthesized_expression "((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0)" ( (binary_expression "(*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0" (parenthesized_expression "(*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20)" ( (binary_expression "*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20" (pointer_expression "*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2)" * (cast_expression "(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 1 + (uVar7 & 0xff) * 2)" ( (binary_expression "lVar2 + 1 + (uVar7 & 0xff) * 2" (binary_expression "lVar2 + 1" identifier + number_literal) + (binary_expression "(uVar7 & 0xff) * 2" (parenthesized_expression "(uVar7 & 0xff)" ( (binary_expression "uVar7 & 0xff" identifier & number_literal) )) * number_literal)) )))) & number_literal) )) != number_literal) )) (goto_statement "goto LAB_003224ac;" goto statement_identifier ;)) (expression_statement "__src = (void *)plVar1[2];" (assignment_expression "__src = (void *)plVar1[2]" identifier = (cast_expression "(void *)plVar1[2]" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "lVar9 = (lVar12 - lVar10) + -1;" (assignment_expression "lVar9 = (lVar12 - lVar10) + -1" identifier = (binary_expression "(lVar12 - lVar10) + -1" (parenthesized_expression "(lVar12 - lVar10)" ( (binary_expression "lVar12 - lVar10" identifier - identifier) )) + number_literal)) ;) (expression_statement "lVar8 = plVar1[3] - (long)__src;" (assignment_expression "lVar8 = plVar1[3] - (long)__src" identifier = (binary_expression "plVar1[3] - (long)__src" (subscript_expression "plVar1[3]" identifier [ number_literal ]) - (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }" if (parenthesized_expression "(lVar8 < lVar9)" ( (binary_expression "lVar8 < lVar9" identifier < identifier) )) (compound_statement "{\n        lVar9 = lVar8;\n      }" { (expression_statement "lVar9 = lVar8;" (assignment_expression "lVar9 = lVar8" identifier = identifier) ;) })) (if_statement "if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }" if (parenthesized_expression "(lVar9 < 2)" ( (binary_expression "lVar9 < 2" identifier < number_literal) )) (compound_statement "{\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }" { (expression_statement "*param_2 = (char)uVar7;" (assignment_expression "*param_2 = (char)uVar7" (pointer_expression "*param_2" * identifier) = (cast_expression "(char)uVar7" ( (type_descriptor "char" primitive_type) ) 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 "lVar10 = lVar10 + 1;" (assignment_expression "lVar10 = lVar10 + 1" identifier = (binary_expression "lVar10 + 1" identifier + number_literal)) ;) (expression_statement "pbVar6 = (byte *)plVar1[3];" (assignment_expression "pbVar6 = (byte *)plVar1[3]" identifier = (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ]))) ;) (if_statement "if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }" if (parenthesized_expression "((byte *)plVar1[2] < pbVar6)" ( (binary_expression "(byte *)plVar1[2] < pbVar6" (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ])) < identifier) )) (compound_statement "{\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }" { (expression_statement "pbVar5 = (byte *)plVar1[2] + 1;" (assignment_expression "pbVar5 = (byte *)plVar1[2] + 1" identifier = (binary_expression "(byte *)plVar1[2] + 1" (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ])) + number_literal)) ;) (expression_statement "plVar1[2] = (long)pbVar5;" (assignment_expression "plVar1[2] = (long)pbVar5" (subscript_expression "plVar1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) }) (else_clause "else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }" else (compound_statement "{\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }" { (expression_statement "iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);" (assignment_expression "iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x50))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x50))" ( (pointer_expression "**(code **)(*plVar1 + 0x50)" * (pointer_expression "*(code **)(*plVar1 + 0x50)" * (cast_expression "(code **)(*plVar1 + 0x50)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x50)" ( (binary_expression "*plVar1 + 0x50" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;) (expression_statement "local_58 = param_2;" (assignment_expression "local_58 = param_2" identifier = identifier) ;) (if_statement "if (iVar3 == -1) goto LAB_003225a4;" if (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) (goto_statement "goto LAB_003225a4;" goto statement_identifier ;)) (expression_statement "pbVar5 = (byte *)plVar1[2];" (assignment_expression "pbVar5 = (byte *)plVar1[2]" identifier = (cast_expression "(byte *)plVar1[2]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[2]" identifier [ number_literal ]))) ;) (expression_statement "pbVar6 = (byte *)plVar1[3];" (assignment_expression "pbVar6 = (byte *)plVar1[3]" identifier = (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ]))) ;) }))) (if_statement "if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }" if (parenthesized_expression "(pbVar5 < pbVar6)" ( (binary_expression "pbVar5 < pbVar6" identifier < identifier) )) (compound_statement "{\n          uVar7 = (ulong)*pbVar5;\n        }" { (expression_statement "uVar7 = (ulong)*pbVar5;" (assignment_expression "uVar7 = (ulong)*pbVar5" identifier = (binary_expression "(ulong)*pbVar5" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) }) (else_clause "else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }" else (compound_statement "{\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }" { (expression_statement "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);" (assignment_expression "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x48))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x48))" ( (pointer_expression "**(code **)(*plVar1 + 0x48)" * (pointer_expression "*(code **)(*plVar1 + 0x48)" * (cast_expression "(code **)(*plVar1 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x48)" ( (binary_expression "*plVar1 + 0x48" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;) }))) (goto_statement "goto LAB_003223e8;" goto statement_identifier ;) })) (expression_statement "pbVar6 = (byte *)((long)__src + 1);" (assignment_expression "pbVar6 = (byte *)((long)__src + 1)" identifier = (cast_expression "(byte *)((long)__src + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__src + 1)" ( (binary_expression "(long)__src + 1" (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ;) (if_statement "if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }" if (parenthesized_expression "((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0))" ( (binary_expression "(pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)" (parenthesized_expression "(pbVar6 < (byte *)(lVar9 + (long)__src))" ( (binary_expression "pbVar6 < (byte *)(lVar9 + (long)__src)" identifier < (cast_expression "(byte *)(lVar9 + (long)__src)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar9 + (long)__src)" ( (binary_expression "lVar9 + (long)__src" identifier + (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) )) && (parenthesized_expression "((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)" ( (binary_expression "(*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0" (parenthesized_expression "(*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20)" ( (binary_expression "*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20" (pointer_expression "*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2)" * (cast_expression "(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2)" ( (binary_expression "lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2" (binary_expression "lVar2 + 1" identifier + number_literal) + (binary_expression "(ulong)*(byte *)((long)__src + 1) * 2" (binary_expression "(ulong)*(byte *)((long)__src + 1)" (parenthesized_expression "(ulong)" ( identifier )) * (cast_expression "(byte *)((long)__src + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)__src + 1)" ( (binary_expression "(long)__src + 1" (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) * number_literal)) )))) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }" { (do_statement "do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);" do (compound_statement "{\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        }" { (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" identifier = (binary_expression "pbVar6 + 1" identifier + number_literal)) ;) (if_statement "if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;" if (parenthesized_expression "((byte *)(lVar9 + (long)__src) <= pbVar6)" ( (binary_expression "(byte *)(lVar9 + (long)__src) <= pbVar6" (cast_expression "(byte *)(lVar9 + (long)__src)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar9 + (long)__src)" ( (binary_expression "lVar9 + (long)__src" identifier + (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ))) <= identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0)" ( (binary_expression "(*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0" (parenthesized_expression "(*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20)" ( (binary_expression "*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20" (pointer_expression "*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2)" * (cast_expression "(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 1 + (ulong)*pbVar6 * 2)" ( (binary_expression "lVar2 + 1 + (ulong)*pbVar6 * 2" (binary_expression "lVar2 + 1" identifier + number_literal) + (binary_expression "(ulong)*pbVar6 * 2" (binary_expression "(ulong)*pbVar6" (parenthesized_expression "(ulong)" ( identifier )) * identifier) * number_literal)) )))) & number_literal) )) == number_literal) )) ;) (expression_statement "__n = (long)pbVar6 - (long)__src;" (assignment_expression "__n = (long)pbVar6 - (long)__src" identifier = (binary_expression "(long)pbVar6 - (long)__src" (cast_expression "(long)pbVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) - (cast_expression "(long)__src" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (if_statement "if (__n != 0) goto LAB_0032254b;" if (parenthesized_expression "(__n != 0)" ( (binary_expression "__n != 0" identifier != number_literal) )) (goto_statement "goto LAB_0032254b;" goto statement_identifier ;)) (expression_statement "plVar1[2] = (long)pbVar6;" (assignment_expression "plVar1[2] = (long)pbVar6" (subscript_expression "plVar1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (if_statement "if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;" if (parenthesized_expression "((byte *)plVar1[3] <= pbVar6)" ( (binary_expression "(byte *)plVar1[3] <= pbVar6" (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ])) <= identifier) )) (goto_statement "goto LAB_00322588;" goto statement_identifier ;)) }) (else_clause "else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }" else (compound_statement "{\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }" { (expression_statement "__n = 1;" (assignment_expression "__n = 1" identifier = number_literal) ;) (labeled_statement "LAB_0032254b:\n        memcpy(param_2,__src,__n);" statement_identifier : (expression_statement "memcpy(param_2,__src,__n);" (call_expression "memcpy(param_2,__src,__n)" identifier (argument_list "(param_2,__src,__n)" ( identifier , identifier , identifier ))) ;)) (expression_statement "pbVar6 = (byte *)(plVar1[2] + __n);" (assignment_expression "pbVar6 = (byte *)(plVar1[2] + __n)" identifier = (cast_expression "(byte *)(plVar1[2] + __n)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(plVar1[2] + __n)" ( (binary_expression "plVar1[2] + __n" (subscript_expression "plVar1[2]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "param_2 = param_2 + __n;" (assignment_expression "param_2 = param_2 + __n" identifier = (binary_expression "param_2 + __n" identifier + identifier)) ;) (expression_statement "plVar1[2] = (long)pbVar6;" (assignment_expression "plVar1[2] = (long)pbVar6" (subscript_expression "plVar1[2]" identifier [ number_literal ]) = (cast_expression "(long)pbVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) ;) (expression_statement "lVar10 = lVar10 + __n;" (assignment_expression "lVar10 = lVar10 + __n" identifier = (binary_expression "lVar10 + __n" identifier + identifier)) ;) (if_statement "if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;" if (parenthesized_expression "((byte *)plVar1[3] <= pbVar6)" ( (binary_expression "(byte *)plVar1[3] <= pbVar6" (cast_expression "(byte *)plVar1[3]" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "plVar1[3]" identifier [ number_literal ])) <= identifier) )) (goto_statement "goto LAB_00322588;" goto statement_identifier ;)) }))) (expression_statement "uVar7 = (ulong)*pbVar6;" (assignment_expression "uVar7 = (ulong)*pbVar6" identifier = (binary_expression "(ulong)*pbVar6" (parenthesized_expression "(ulong)" ( identifier )) * identifier)) ;) (expression_statement "uVar11 = (uint)*pbVar6;" (assignment_expression "uVar11 = (uint)*pbVar6" identifier = (binary_expression "(uint)*pbVar6" (parenthesized_expression "(uint)" ( identifier )) * identifier)) ;) (if_statement "if (lVar12 + -1 <= lVar10) break;" if (parenthesized_expression "(lVar12 + -1 <= lVar10)" ( (binary_expression "lVar12 + -1 <= lVar10" (binary_expression "lVar12 + -1" identifier + number_literal) <= identifier) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "local_58 = param_2;" (assignment_expression "local_58 = param_2" identifier = identifier) ;) (if_statement "if (uVar11 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }" if (parenthesized_expression "(uVar11 == 0xffffffff)" ( (binary_expression "uVar11 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }" { (labeled_statement "LAB_003225a4:\n    *local_58 = 0;" statement_identifier : (expression_statement "*local_58 = 0;" (assignment_expression "*local_58 = 0" (pointer_expression "*local_58" * identifier) = number_literal) ;)) (expression_statement "lVar4 = *param_1;" (assignment_expression "lVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;" (assignment_expression "uVar11 = (-(uint)(lVar10 == 0) & 4) + 2" identifier = (binary_expression "(-(uint)(lVar10 == 0) & 4) + 2" (parenthesized_expression "(-(uint)(lVar10 == 0) & 4)" ( (binary_expression "-(uint)(lVar10 == 0) & 4" (unary_expression "-(uint)(lVar10 == 0)" - (call_expression "(uint)(lVar10 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(lVar10 == 0)" ( (binary_expression "lVar10 == 0" identifier == number_literal) )))) & number_literal) )) + number_literal)) ;) (expression_statement "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;" (assignment_expression "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0" (pointer_expression "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" * (cast_expression "(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" ( (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar4 + -0x18)" * (cast_expression "(long *)(lVar4 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -0x18)" ( (binary_expression "lVar4 + -0x18" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) }) (else_clause "else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }" else (compound_statement "{\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }" { (labeled_statement "LAB_003224ac:\n    *param_2 = 0;" statement_identifier : (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" * identifier) = number_literal) ;)) (expression_statement "lVar4 = *param_1;" (assignment_expression "lVar4 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;" (assignment_expression "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0" (pointer_expression "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" * (cast_expression "(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" ( (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18)" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (pointer_expression "*(long *)(lVar4 + -0x18)" * (cast_expression "(long *)(lVar4 + -0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + -0x18)" ( (binary_expression "lVar4 + -0x18" identifier + number_literal) ))))) + number_literal) )))) = number_literal) ;) (if_statement "if (lVar10 != 0) {\n      return param_1;\n    }" if (parenthesized_expression "(lVar10 != 0)" ( (binary_expression "lVar10 != 0" identifier != number_literal) )) (compound_statement "{\n      return param_1;\n    }" { (return_statement "return param_1;" return identifier ;) })) (expression_statement "uVar11 = 4;" (assignment_expression "uVar11 = 4" identifier = number_literal) ;) }))) (goto_statement "goto LAB_003224d5;" goto statement_identifier ;) (labeled_statement "LAB_00322588:\n                    \n  uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);" statement_identifier : (expression_statement "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);" (assignment_expression "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1)" identifier = (call_expression "(**(code **)(*plVar1 + 0x48))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x48))" ( (pointer_expression "**(code **)(*plVar1 + 0x48)" * (pointer_expression "*(code **)(*plVar1 + 0x48)" * (cast_expression "(code **)(*plVar1 + 0x48)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*plVar1 + 0x48)" ( (binary_expression "*plVar1 + 0x48" (pointer_expression "*plVar1" * identifier) + number_literal) ))))) )) (argument_list "(plVar1)" ( identifier )))) ;)) (goto_statement "goto LAB_003223e8;" goto statement_identifier ;) })))
(translation_unit (function_definition (sized_type_specifier long) (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration (sized_type_specifier long) (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT | (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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 = (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (binary_expression IDENT + LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) * LIT)) )))) & LIT) )) != 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 = (binary_expression (parenthesized_expression ( (binary_expression IDENT - IDENT) )) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (subscript_expression IDENT [ LIT ]) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (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) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_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 (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_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 { (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;) }))) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )))) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) * LIT)) )))) & LIT) )) == LIT) ))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ))) <= IDENT) )) (break_statement break ;)) }) while (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) * LIT)) )))) & LIT) )) == LIT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) - (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT ))) ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) <= IDENT) )) (goto_statement goto statement_identifier ;)) }))) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( IDENT )) * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) <= IDENT) )) (break_statement break ;)) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) = LIT) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + LIT) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( IDENT )))) ;)) (goto_statement goto statement_identifier ;) })))
(function_definition "long * FUN_00322340(long *param_1,undefined1 *param_2)\n\n{\n  long *plVar1;\n  long lVar2;\n  void *__src;\n  int iVar3;\n  long lVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  uint uVar11;\n  size_t __n;\n  long lVar12;\n  undefined1 *local_58;\n  char local_41;\n  undefined1 local_40 [16];\n  \n  FUN_002faf30(&local_41,param_1,0);\n  lVar4 = *param_1;\n  if (local_41 == '\0') {\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }\n  lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10);\n  if (lVar12 < 1) {\n    lVar12 = 0x7fffffffffffffff;\n  }\n  FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0);\n                    \n  lVar4 = FUN_002ec670(local_40);\n  FUN_002dd1b0(local_40);\n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n  if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    \n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }\n  lVar10 = 0;\nLAB_003223e8:\n  uVar11 = (uint)uVar7;\n  if (lVar10 < lVar12 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }\n  local_58 = param_2;\n  if (uVar11 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }\n  goto LAB_003224d5;\nLAB_00322588:\n                    \n  uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  goto LAB_003223e8;\n}" (sized_type_specifier "long" (long "long")) (pointer_declarator "* FUN_00322340(long *param_1,undefined1 *param_2)" (* "*") (function_declarator "FUN_00322340(long *param_1,undefined1 *param_2)" (identifier "FUN_00322340") (parameter_list "(long *param_1,undefined1 *param_2)" (( "(") (parameter_declaration "long *param_1" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  long *plVar1;\n  long lVar2;\n  void *__src;\n  int iVar3;\n  long lVar4;\n  byte *pbVar5;\n  byte *pbVar6;\n  ulong uVar7;\n  long lVar8;\n  long lVar9;\n  long lVar10;\n  uint uVar11;\n  size_t __n;\n  long lVar12;\n  undefined1 *local_58;\n  char local_41;\n  undefined1 local_40 [16];\n  \n  FUN_002faf30(&local_41,param_1,0);\n  lVar4 = *param_1;\n  if (local_41 == '\0') {\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }\n  lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10);\n  if (lVar12 < 1) {\n    lVar12 = 0x7fffffffffffffff;\n  }\n  FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0);\n                    \n  lVar4 = FUN_002ec670(local_40);\n  FUN_002dd1b0(local_40);\n  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);\n  if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    \n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }\n  lVar10 = 0;\nLAB_003223e8:\n  uVar11 = (uint)uVar7;\n  if (lVar10 < lVar12 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }\n  local_58 = param_2;\n  if (uVar11 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }\n  goto LAB_003224d5;\nLAB_00322588:\n                    \n  uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  goto LAB_003223e8;\n}" ({ "{") (declaration "long *plVar1;" (sized_type_specifier "long" (long "long")) (pointer_declarator "*plVar1" (* "*") (identifier "plVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "void *__src;" (primitive_type "void") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "byte *pbVar5;" (type_identifier "byte") (pointer_declarator "*pbVar5" (* "*") (identifier "pbVar5")) (; ";")) (declaration "byte *pbVar6;" (type_identifier "byte") (pointer_declarator "*pbVar6" (* "*") (identifier "pbVar6")) (; ";")) (declaration "ulong uVar7;" (type_identifier "ulong") (identifier "uVar7") (; ";")) (declaration "long lVar8;" (sized_type_specifier "long" (long "long")) (identifier "lVar8") (; ";")) (declaration "long lVar9;" (sized_type_specifier "long" (long "long")) (identifier "lVar9") (; ";")) (declaration "long lVar10;" (sized_type_specifier "long" (long "long")) (identifier "lVar10") (; ";")) (declaration "uint uVar11;" (type_identifier "uint") (identifier "uVar11") (; ";")) (declaration "size_t __n;" (primitive_type "size_t") (identifier "__n") (; ";")) (declaration "long lVar12;" (sized_type_specifier "long" (long "long")) (identifier "lVar12") (; ";")) (declaration "undefined1 *local_58;" (type_identifier "undefined1") (pointer_declarator "*local_58" (* "*") (identifier "local_58")) (; ";")) (declaration "char local_41;" (primitive_type "char") (identifier "local_41") (; ";")) (declaration "undefined1 local_40 [16];" (type_identifier "undefined1") (array_declarator "local_40 [16]" (identifier "local_40") ([ "[") (number_literal "16") (] "]")) (; ";")) (expression_statement "FUN_002faf30(&local_41,param_1,0);" (call_expression "FUN_002faf30(&local_41,param_1,0)" (identifier "FUN_002faf30") (argument_list "(&local_41,param_1,0)" (( "(") (pointer_expression "&local_41" (& "&") (identifier "local_41")) (, ",") (identifier "param_1") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "lVar4 = *param_1;" (assignment_expression "lVar4 = *param_1" (identifier "lVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (local_41 == '\0') {\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }" (if "if") (parenthesized_expression "(local_41 == '\0')" (( "(") (binary_expression "local_41 == '\0'" (identifier "local_41") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar11 = 4;\nLAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;\n    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));\n    return param_1;\n  }" ({ "{") (expression_statement "uVar11 = 4;" (assignment_expression "uVar11 = 4" (identifier "uVar11") (= "=") (number_literal "4")) (; ";")) (labeled_statement "LAB_003224d5:\n    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;" (statement_identifier "LAB_003224d5") (: ":") (expression_statement "lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;" (assignment_expression "lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1" (identifier "lVar4") (= "=") (binary_expression "*(long *)(lVar4 + -0x18) + (long)param_1" (pointer_expression "*(long *)(lVar4 + -0x18)" (* "*") (cast_expression "(long *)(lVar4 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + -0x18)" (( "(") (binary_expression "lVar4 + -0x18" (identifier "lVar4") (+ "+") (number_literal "-0x18")) () ")")))) (+ "+") (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")))) (; ";"))) (expression_statement "FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));" (call_expression "FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20))" (identifier "FUN_00300870") (argument_list "(lVar4,uVar11 | *(uint *)(lVar4 + 0x20))" (( "(") (identifier "lVar4") (, ",") (binary_expression "uVar11 | *(uint *)(lVar4 + 0x20)" (identifier "uVar11") (| "|") (pointer_expression "*(uint *)(lVar4 + 0x20)" (* "*") (cast_expression "(uint *)(lVar4 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x20)" (( "(") (binary_expression "lVar4 + 0x20" (identifier "lVar4") (+ "+") (number_literal "0x20")) () ")"))))) () ")"))) (; ";")) (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10);" (assignment_expression "lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" (identifier "lVar12") (= "=") (pointer_expression "*(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" (* "*") (cast_expression "(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" (( "(") (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(lVar4 + -0x18)" (* "*") (cast_expression "(long *)(lVar4 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + -0x18)" (( "(") (binary_expression "lVar4 + -0x18" (identifier "lVar4") (+ "+") (number_literal "-0x18")) () ")"))))) (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (if_statement "if (lVar12 < 1) {\n    lVar12 = 0x7fffffffffffffff;\n  }" (if "if") (parenthesized_expression "(lVar12 < 1)" (( "(") (binary_expression "lVar12 < 1" (identifier "lVar12") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n    lVar12 = 0x7fffffffffffffff;\n  }" ({ "{") (expression_statement "lVar12 = 0x7fffffffffffffff;" (assignment_expression "lVar12 = 0x7fffffffffffffff" (identifier "lVar12") (= "=") (number_literal "0x7fffffffffffffff")) (; ";")) (} "}"))) (expression_statement "FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0);" (call_expression "FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0)" (identifier "FUN_002dca70") (argument_list "(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0)" (( "(") (identifier "local_40") (, ",") (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0" (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(lVar4 + -0x18)" (* "*") (cast_expression "(long *)(lVar4 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + -0x18)" (( "(") (binary_expression "lVar4 + -0x18" (identifier "lVar4") (+ "+") (number_literal "-0x18")) () ")"))))) (+ "+") (number_literal "0xd0")) () ")"))) (; ";")) (expression_statement "lVar4 = FUN_002ec670(local_40);" (assignment_expression "lVar4 = FUN_002ec670(local_40)" (identifier "lVar4") (= "=") (call_expression "FUN_002ec670(local_40)" (identifier "FUN_002ec670") (argument_list "(local_40)" (( "(") (identifier "local_40") () ")")))) (; ";")) (expression_statement "FUN_002dd1b0(local_40);" (call_expression "FUN_002dd1b0(local_40)" (identifier "FUN_002dd1b0") (argument_list "(local_40)" (( "(") (identifier "local_40") () ")"))) (; ";")) (expression_statement "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);" (assignment_expression "plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" (identifier "plVar1") (= "=") (pointer_expression "*(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" (* "*") (cast_expression "(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" (( "(") (type_descriptor "long **" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8)" (( "(") (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8" (binary_expression "(long)param_1 + *(long *)(*param_1 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(*param_1 + -0x18)" (* "*") (cast_expression "(long *)(*param_1 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + -0x18)" (( "(") (binary_expression "*param_1 + -0x18" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "-0x18")) () ")"))))) (+ "+") (number_literal "0xe8")) () ")"))))) (; ";")) (if_statement "if ((byte *)plVar1[2] < (byte *)plVar1[3]) {\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }\n  else {\n                    \n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }" (if "if") (parenthesized_expression "((byte *)plVar1[2] < (byte *)plVar1[3])" (( "(") (binary_expression "(byte *)plVar1[2] < (byte *)plVar1[3]" (cast_expression "(byte *)plVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar1[2]" (identifier "plVar1") ([ "[") (number_literal "2") (] "]"))) (< "<") (cast_expression "(byte *)plVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar1[3]" (identifier "plVar1") ([ "[") (number_literal "3") (] "]")))) () ")")) (compound_statement "{\n    uVar7 = (ulong)*(byte *)plVar1[2];\n  }" ({ "{") (expression_statement "uVar7 = (ulong)*(byte *)plVar1[2];" (assignment_expression "uVar7 = (ulong)*(byte *)plVar1[2]" (identifier "uVar7") (= "=") (binary_expression "(ulong)*(byte *)plVar1[2]" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(byte *)plVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar1[2]" (identifier "plVar1") ([ "[") (number_literal "2") (] "]"))))) (; ";")) (} "}")) (else_clause "else {\n                    \n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }" (else "else") (compound_statement "{\n                    \n    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n  }" ({ "{") (expression_statement "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);" (assignment_expression "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(*plVar1 + 0x48))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x48))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x48)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x48)" (* "*") (cast_expression "(code **)(*plVar1 + 0x48)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x48)" (( "(") (binary_expression "*plVar1 + 0x48" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x48")) () ")"))))) () ")")) (argument_list "(plVar1)" (( "(") (identifier "plVar1") () ")")))) (; ";")) (} "}")))) (expression_statement "lVar10 = 0;" (assignment_expression "lVar10 = 0" (identifier "lVar10") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_003223e8:\n  uVar11 = (uint)uVar7;" (statement_identifier "LAB_003223e8") (: ":") (expression_statement "uVar11 = (uint)uVar7;" (assignment_expression "uVar11 = (uint)uVar7" (identifier "uVar11") (= "=") (cast_expression "(uint)uVar7" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar7"))) (; ";"))) (if_statement "if (lVar10 < lVar12 + -1) {\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }" (if "if") (parenthesized_expression "(lVar10 < lVar12 + -1)" (( "(") (binary_expression "lVar10 < lVar12 + -1" (identifier "lVar10") (< "<") (binary_expression "lVar12 + -1" (identifier "lVar12") (+ "+") (number_literal "-1"))) () ")")) (compound_statement "{\n    do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );\n  }" ({ "{") (do_statement "do {\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    } while( true );" (do "do") (compound_statement "{\n      local_58 = param_2;\n      if ((int)uVar7 == -1) goto LAB_003225a4;\n      lVar2 = *(long *)(lVar4 + 0x30);\n      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;\n      __src = (void *)plVar1[2];\n      lVar9 = (lVar12 - lVar10) + -1;\n      lVar8 = plVar1[3] - (long)__src;\n      if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }\n      if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }\n      pbVar6 = (byte *)((long)__src + 1);\n      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      uVar7 = (ulong)*pbVar6;\n      uVar11 = (uint)*pbVar6;\n      if (lVar12 + -1 <= lVar10) break;\n    }" ({ "{") (expression_statement "local_58 = param_2;" (assignment_expression "local_58 = param_2" (identifier "local_58") (= "=") (identifier "param_2")) (; ";")) (if_statement "if ((int)uVar7 == -1) goto LAB_003225a4;" (if "if") (parenthesized_expression "((int)uVar7 == -1)" (( "(") (binary_expression "(int)uVar7 == -1" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_003225a4;" (goto "goto") (statement_identifier "LAB_003225a4") (; ";"))) (expression_statement "lVar2 = *(long *)(lVar4 + 0x30);" (assignment_expression "lVar2 = *(long *)(lVar4 + 0x30)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(lVar4 + 0x30)" (* "*") (cast_expression "(long *)(lVar4 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + 0x30)" (( "(") (binary_expression "lVar4 + 0x30" (identifier "lVar4") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (if_statement "if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;" (if "if") (parenthesized_expression "((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0)" (( "(") (binary_expression "(*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0" (parenthesized_expression "(*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20)" (( "(") (binary_expression "*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20" (pointer_expression "*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2)" (* "*") (cast_expression "(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 1 + (uVar7 & 0xff) * 2)" (( "(") (binary_expression "lVar2 + 1 + (uVar7 & 0xff) * 2" (binary_expression "lVar2 + 1" (identifier "lVar2") (+ "+") (number_literal "1")) (+ "+") (binary_expression "(uVar7 & 0xff) * 2" (parenthesized_expression "(uVar7 & 0xff)" (( "(") (binary_expression "uVar7 & 0xff" (identifier "uVar7") (& "&") (number_literal "0xff")) () ")")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_003224ac;" (goto "goto") (statement_identifier "LAB_003224ac") (; ";"))) (expression_statement "__src = (void *)plVar1[2];" (assignment_expression "__src = (void *)plVar1[2]" (identifier "__src") (= "=") (cast_expression "(void *)plVar1[2]" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar1[2]" (identifier "plVar1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "lVar9 = (lVar12 - lVar10) + -1;" (assignment_expression "lVar9 = (lVar12 - lVar10) + -1" (identifier "lVar9") (= "=") (binary_expression "(lVar12 - lVar10) + -1" (parenthesized_expression "(lVar12 - lVar10)" (( "(") (binary_expression "lVar12 - lVar10" (identifier "lVar12") (- "-") (identifier "lVar10")) () ")")) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "lVar8 = plVar1[3] - (long)__src;" (assignment_expression "lVar8 = plVar1[3] - (long)__src" (identifier "lVar8") (= "=") (binary_expression "plVar1[3] - (long)__src" (subscript_expression "plVar1[3]" (identifier "plVar1") ([ "[") (number_literal "3") (] "]")) (- "-") (cast_expression "(long)__src" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__src")))) (; ";")) (if_statement "if (lVar8 < lVar9) {\n        lVar9 = lVar8;\n      }" (if "if") (parenthesized_expression "(lVar8 < lVar9)" (( "(") (binary_expression "lVar8 < lVar9" (identifier "lVar8") (< "<") (identifier "lVar9")) () ")")) (compound_statement "{\n        lVar9 = lVar8;\n      }" ({ "{") (expression_statement "lVar9 = lVar8;" (assignment_expression "lVar9 = lVar8" (identifier "lVar9") (= "=") (identifier "lVar8")) (; ";")) (} "}"))) (if_statement "if (lVar9 < 2) {\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }" (if "if") (parenthesized_expression "(lVar9 < 2)" (( "(") (binary_expression "lVar9 < 2" (identifier "lVar9") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n        *param_2 = (char)uVar7;\n        param_2 = param_2 + 1;\n        lVar10 = lVar10 + 1;\n        pbVar6 = (byte *)plVar1[3];\n        if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }\n        if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }\n        goto LAB_003223e8;\n      }" ({ "{") (expression_statement "*param_2 = (char)uVar7;" (assignment_expression "*param_2 = (char)uVar7" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(char)uVar7" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar7"))) (; ";")) (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 "lVar10 = lVar10 + 1;" (assignment_expression "lVar10 = lVar10 + 1" (identifier "lVar10") (= "=") (binary_expression "lVar10 + 1" (identifier "lVar10") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar6 = (byte *)plVar1[3];" (assignment_expression "pbVar6 = (byte *)plVar1[3]" (identifier "pbVar6") (= "=") (cast_expression "(byte *)plVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar1[3]" (identifier "plVar1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (if_statement "if ((byte *)plVar1[2] < pbVar6) {\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }\n        else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }" (if "if") (parenthesized_expression "((byte *)plVar1[2] < pbVar6)" (( "(") (binary_expression "(byte *)plVar1[2] < pbVar6" (cast_expression "(byte *)plVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar1[2]" (identifier "plVar1") ([ "[") (number_literal "2") (] "]"))) (< "<") (identifier "pbVar6")) () ")")) (compound_statement "{\n          pbVar5 = (byte *)plVar1[2] + 1;\n          plVar1[2] = (long)pbVar5;\n        }" ({ "{") (expression_statement "pbVar5 = (byte *)plVar1[2] + 1;" (assignment_expression "pbVar5 = (byte *)plVar1[2] + 1" (identifier "pbVar5") (= "=") (binary_expression "(byte *)plVar1[2] + 1" (cast_expression "(byte *)plVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar1[2]" (identifier "plVar1") ([ "[") (number_literal "2") (] "]"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "plVar1[2] = (long)pbVar5;" (assignment_expression "plVar1[2] = (long)pbVar5" (subscript_expression "plVar1[2]" (identifier "plVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(long)pbVar5" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar5"))) (; ";")) (} "}")) (else_clause "else {\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }" (else "else") (compound_statement "{\n          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);\n          local_58 = param_2;\n          if (iVar3 == -1) goto LAB_003225a4;\n          pbVar5 = (byte *)plVar1[2];\n          pbVar6 = (byte *)plVar1[3];\n        }" ({ "{") (expression_statement "iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);" (assignment_expression "iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1)" (identifier "iVar3") (= "=") (call_expression "(**(code **)(*plVar1 + 0x50))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x50))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x50)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x50)" (* "*") (cast_expression "(code **)(*plVar1 + 0x50)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x50)" (( "(") (binary_expression "*plVar1 + 0x50" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x50")) () ")"))))) () ")")) (argument_list "(plVar1)" (( "(") (identifier "plVar1") () ")")))) (; ";")) (expression_statement "local_58 = param_2;" (assignment_expression "local_58 = param_2" (identifier "local_58") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (iVar3 == -1) goto LAB_003225a4;" (if "if") (parenthesized_expression "(iVar3 == -1)" (( "(") (binary_expression "iVar3 == -1" (identifier "iVar3") (== "==") (number_literal "-1")) () ")")) (goto_statement "goto LAB_003225a4;" (goto "goto") (statement_identifier "LAB_003225a4") (; ";"))) (expression_statement "pbVar5 = (byte *)plVar1[2];" (assignment_expression "pbVar5 = (byte *)plVar1[2]" (identifier "pbVar5") (= "=") (cast_expression "(byte *)plVar1[2]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar1[2]" (identifier "plVar1") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "pbVar6 = (byte *)plVar1[3];" (assignment_expression "pbVar6 = (byte *)plVar1[3]" (identifier "pbVar6") (= "=") (cast_expression "(byte *)plVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar1[3]" (identifier "plVar1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (} "}")))) (if_statement "if (pbVar5 < pbVar6) {\n          uVar7 = (ulong)*pbVar5;\n        }\n        else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }" (if "if") (parenthesized_expression "(pbVar5 < pbVar6)" (( "(") (binary_expression "pbVar5 < pbVar6" (identifier "pbVar5") (< "<") (identifier "pbVar6")) () ")")) (compound_statement "{\n          uVar7 = (ulong)*pbVar5;\n        }" ({ "{") (expression_statement "uVar7 = (ulong)*pbVar5;" (assignment_expression "uVar7 = (ulong)*pbVar5" (identifier "uVar7") (= "=") (binary_expression "(ulong)*pbVar5" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (identifier "pbVar5"))) (; ";")) (} "}")) (else_clause "else {\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }" (else "else") (compound_statement "{\n                    \n          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);\n        }" ({ "{") (expression_statement "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);" (assignment_expression "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(*plVar1 + 0x48))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x48))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x48)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x48)" (* "*") (cast_expression "(code **)(*plVar1 + 0x48)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x48)" (( "(") (binary_expression "*plVar1 + 0x48" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x48")) () ")"))))) () ")")) (argument_list "(plVar1)" (( "(") (identifier "plVar1") () ")")))) (; ";")) (} "}")))) (goto_statement "goto LAB_003223e8;" (goto "goto") (statement_identifier "LAB_003223e8") (; ";")) (} "}"))) (expression_statement "pbVar6 = (byte *)((long)__src + 1);" (assignment_expression "pbVar6 = (byte *)((long)__src + 1)" (identifier "pbVar6") (= "=") (cast_expression "(byte *)((long)__src + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)__src + 1)" (( "(") (binary_expression "(long)__src + 1" (cast_expression "(long)__src" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__src")) (+ "+") (number_literal "1")) () ")")))) (; ";")) (if_statement "if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }\n      else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }" (if "if") (parenthesized_expression "((pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0))" (( "(") (binary_expression "(pbVar6 < (byte *)(lVar9 + (long)__src)) &&\n         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)" (parenthesized_expression "(pbVar6 < (byte *)(lVar9 + (long)__src))" (( "(") (binary_expression "pbVar6 < (byte *)(lVar9 + (long)__src)" (identifier "pbVar6") (< "<") (cast_expression "(byte *)(lVar9 + (long)__src)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar9 + (long)__src)" (( "(") (binary_expression "lVar9 + (long)__src" (identifier "lVar9") (+ "+") (cast_expression "(long)__src" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__src"))) () ")")))) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0" (parenthesized_expression "(*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20)" (( "(") (binary_expression "*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20" (pointer_expression "*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2)" (* "*") (cast_expression "(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2)" (( "(") (binary_expression "lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2" (binary_expression "lVar2 + 1" (identifier "lVar2") (+ "+") (number_literal "1")) (+ "+") (binary_expression "(ulong)*(byte *)((long)__src + 1) * 2" (binary_expression "(ulong)*(byte *)((long)__src + 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (cast_expression "(byte *)((long)__src + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)__src + 1)" (( "(") (binary_expression "(long)__src + 1" (cast_expression "(long)__src" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__src")) (+ "+") (number_literal "1")) () ")")))) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);\n        __n = (long)pbVar6 - (long)__src;\n        if (__n != 0) goto LAB_0032254b;\n        plVar1[2] = (long)pbVar6;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }" ({ "{") (do_statement "do {\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);" (do "do") (compound_statement "{\n          pbVar6 = pbVar6 + 1;\n          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;\n        }" ({ "{") (expression_statement "pbVar6 = pbVar6 + 1;" (assignment_expression "pbVar6 = pbVar6 + 1" (identifier "pbVar6") (= "=") (binary_expression "pbVar6 + 1" (identifier "pbVar6") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;" (if "if") (parenthesized_expression "((byte *)(lVar9 + (long)__src) <= pbVar6)" (( "(") (binary_expression "(byte *)(lVar9 + (long)__src) <= pbVar6" (cast_expression "(byte *)(lVar9 + (long)__src)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar9 + (long)__src)" (( "(") (binary_expression "lVar9 + (long)__src" (identifier "lVar9") (+ "+") (cast_expression "(long)__src" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__src"))) () ")"))) (<= "<=") (identifier "pbVar6")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0" (parenthesized_expression "(*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20)" (( "(") (binary_expression "*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20" (pointer_expression "*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2)" (* "*") (cast_expression "(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 1 + (ulong)*pbVar6 * 2)" (( "(") (binary_expression "lVar2 + 1 + (ulong)*pbVar6 * 2" (binary_expression "lVar2 + 1" (identifier "lVar2") (+ "+") (number_literal "1")) (+ "+") (binary_expression "(ulong)*pbVar6 * 2" (binary_expression "(ulong)*pbVar6" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (identifier "pbVar6")) (* "*") (number_literal "2"))) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (; ";")) (expression_statement "__n = (long)pbVar6 - (long)__src;" (assignment_expression "__n = (long)pbVar6 - (long)__src" (identifier "__n") (= "=") (binary_expression "(long)pbVar6 - (long)__src" (cast_expression "(long)pbVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar6")) (- "-") (cast_expression "(long)__src" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "__src")))) (; ";")) (if_statement "if (__n != 0) goto LAB_0032254b;" (if "if") (parenthesized_expression "(__n != 0)" (( "(") (binary_expression "__n != 0" (identifier "__n") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0032254b;" (goto "goto") (statement_identifier "LAB_0032254b") (; ";"))) (expression_statement "plVar1[2] = (long)pbVar6;" (assignment_expression "plVar1[2] = (long)pbVar6" (subscript_expression "plVar1[2]" (identifier "plVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(long)pbVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar6"))) (; ";")) (if_statement "if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;" (if "if") (parenthesized_expression "((byte *)plVar1[3] <= pbVar6)" (( "(") (binary_expression "(byte *)plVar1[3] <= pbVar6" (cast_expression "(byte *)plVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar1[3]" (identifier "plVar1") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (identifier "pbVar6")) () ")")) (goto_statement "goto LAB_00322588;" (goto "goto") (statement_identifier "LAB_00322588") (; ";"))) (} "}")) (else_clause "else {\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }" (else "else") (compound_statement "{\n        __n = 1;\nLAB_0032254b:\n        memcpy(param_2,__src,__n);\n        pbVar6 = (byte *)(plVar1[2] + __n);\n        param_2 = param_2 + __n;\n        plVar1[2] = (long)pbVar6;\n        lVar10 = lVar10 + __n;\n        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;\n      }" ({ "{") (expression_statement "__n = 1;" (assignment_expression "__n = 1" (identifier "__n") (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_0032254b:\n        memcpy(param_2,__src,__n);" (statement_identifier "LAB_0032254b") (: ":") (expression_statement "memcpy(param_2,__src,__n);" (call_expression "memcpy(param_2,__src,__n)" (identifier "memcpy") (argument_list "(param_2,__src,__n)" (( "(") (identifier "param_2") (, ",") (identifier "__src") (, ",") (identifier "__n") () ")"))) (; ";"))) (expression_statement "pbVar6 = (byte *)(plVar1[2] + __n);" (assignment_expression "pbVar6 = (byte *)(plVar1[2] + __n)" (identifier "pbVar6") (= "=") (cast_expression "(byte *)(plVar1[2] + __n)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(plVar1[2] + __n)" (( "(") (binary_expression "plVar1[2] + __n" (subscript_expression "plVar1[2]" (identifier "plVar1") ([ "[") (number_literal "2") (] "]")) (+ "+") (identifier "__n")) () ")")))) (; ";")) (expression_statement "param_2 = param_2 + __n;" (assignment_expression "param_2 = param_2 + __n" (identifier "param_2") (= "=") (binary_expression "param_2 + __n" (identifier "param_2") (+ "+") (identifier "__n"))) (; ";")) (expression_statement "plVar1[2] = (long)pbVar6;" (assignment_expression "plVar1[2] = (long)pbVar6" (subscript_expression "plVar1[2]" (identifier "plVar1") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(long)pbVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "pbVar6"))) (; ";")) (expression_statement "lVar10 = lVar10 + __n;" (assignment_expression "lVar10 = lVar10 + __n" (identifier "lVar10") (= "=") (binary_expression "lVar10 + __n" (identifier "lVar10") (+ "+") (identifier "__n"))) (; ";")) (if_statement "if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;" (if "if") (parenthesized_expression "((byte *)plVar1[3] <= pbVar6)" (( "(") (binary_expression "(byte *)plVar1[3] <= pbVar6" (cast_expression "(byte *)plVar1[3]" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "plVar1[3]" (identifier "plVar1") ([ "[") (number_literal "3") (] "]"))) (<= "<=") (identifier "pbVar6")) () ")")) (goto_statement "goto LAB_00322588;" (goto "goto") (statement_identifier "LAB_00322588") (; ";"))) (} "}")))) (expression_statement "uVar7 = (ulong)*pbVar6;" (assignment_expression "uVar7 = (ulong)*pbVar6" (identifier "uVar7") (= "=") (binary_expression "(ulong)*pbVar6" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (identifier "pbVar6"))) (; ";")) (expression_statement "uVar11 = (uint)*pbVar6;" (assignment_expression "uVar11 = (uint)*pbVar6" (identifier "uVar11") (= "=") (binary_expression "(uint)*pbVar6" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar6"))) (; ";")) (if_statement "if (lVar12 + -1 <= lVar10) break;" (if "if") (parenthesized_expression "(lVar12 + -1 <= lVar10)" (( "(") (binary_expression "lVar12 + -1 <= lVar10" (binary_expression "lVar12 + -1" (identifier "lVar12") (+ "+") (number_literal "-1")) (<= "<=") (identifier "lVar10")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "local_58 = param_2;" (assignment_expression "local_58 = param_2" (identifier "local_58") (= "=") (identifier "param_2")) (; ";")) (if_statement "if (uVar11 == 0xffffffff) {\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }\n  else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }" (if "if") (parenthesized_expression "(uVar11 == 0xffffffff)" (( "(") (binary_expression "uVar11 == 0xffffffff" (identifier "uVar11") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\nLAB_003225a4:\n    *local_58 = 0;\n    lVar4 = *param_1;\n    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n  }" ({ "{") (labeled_statement "LAB_003225a4:\n    *local_58 = 0;" (statement_identifier "LAB_003225a4") (: ":") (expression_statement "*local_58 = 0;" (assignment_expression "*local_58 = 0" (pointer_expression "*local_58" (* "*") (identifier "local_58")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "lVar4 = *param_1;" (assignment_expression "lVar4 = *param_1" (identifier "lVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;" (assignment_expression "uVar11 = (-(uint)(lVar10 == 0) & 4) + 2" (identifier "uVar11") (= "=") (binary_expression "(-(uint)(lVar10 == 0) & 4) + 2" (parenthesized_expression "(-(uint)(lVar10 == 0) & 4)" (( "(") (binary_expression "-(uint)(lVar10 == 0) & 4" (unary_expression "-(uint)(lVar10 == 0)" (- "-") (call_expression "(uint)(lVar10 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(lVar10 == 0)" (( "(") (binary_expression "lVar10 == 0" (identifier "lVar10") (== "==") (number_literal "0")) () ")")))) (& "&") (number_literal "4")) () ")")) (+ "+") (number_literal "2"))) (; ";")) (expression_statement "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;" (assignment_expression "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0" (pointer_expression "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" (* "*") (cast_expression "(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" (( "(") (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(lVar4 + -0x18)" (* "*") (cast_expression "(long *)(lVar4 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + -0x18)" (( "(") (binary_expression "lVar4 + -0x18" (identifier "lVar4") (+ "+") (number_literal "-0x18")) () ")"))))) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }" (else "else") (compound_statement "{\nLAB_003224ac:\n    *param_2 = 0;\n    lVar4 = *param_1;\n    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;\n    if (lVar10 != 0) {\n      return param_1;\n    }\n    uVar11 = 4;\n  }" ({ "{") (labeled_statement "LAB_003224ac:\n    *param_2 = 0;" (statement_identifier "LAB_003224ac") (: ":") (expression_statement "*param_2 = 0;" (assignment_expression "*param_2 = 0" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0")) (; ";"))) (expression_statement "lVar4 = *param_1;" (assignment_expression "lVar4 = *param_1" (identifier "lVar4") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;" (assignment_expression "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0" (pointer_expression "*(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" (* "*") (cast_expression "(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10)" (( "(") (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18) + 0x10" (binary_expression "(long)param_1 + *(long *)(lVar4 + -0x18)" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (pointer_expression "*(long *)(lVar4 + -0x18)" (* "*") (cast_expression "(long *)(lVar4 + -0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + -0x18)" (( "(") (binary_expression "lVar4 + -0x18" (identifier "lVar4") (+ "+") (number_literal "-0x18")) () ")"))))) (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (lVar10 != 0) {\n      return param_1;\n    }" (if "if") (parenthesized_expression "(lVar10 != 0)" (( "(") (binary_expression "lVar10 != 0" (identifier "lVar10") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return param_1;\n    }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}"))) (expression_statement "uVar11 = 4;" (assignment_expression "uVar11 = 4" (identifier "uVar11") (= "=") (number_literal "4")) (; ";")) (} "}")))) (goto_statement "goto LAB_003224d5;" (goto "goto") (statement_identifier "LAB_003224d5") (; ";")) (labeled_statement "LAB_00322588:\n                    \n  uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);" (statement_identifier "LAB_00322588") (: ":") (expression_statement "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);" (assignment_expression "uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1)" (identifier "uVar7") (= "=") (call_expression "(**(code **)(*plVar1 + 0x48))(plVar1)" (parenthesized_expression "(**(code **)(*plVar1 + 0x48))" (( "(") (pointer_expression "**(code **)(*plVar1 + 0x48)" (* "*") (pointer_expression "*(code **)(*plVar1 + 0x48)" (* "*") (cast_expression "(code **)(*plVar1 + 0x48)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*plVar1 + 0x48)" (( "(") (binary_expression "*plVar1 + 0x48" (pointer_expression "*plVar1" (* "*") (identifier "plVar1")) (+ "+") (number_literal "0x48")) () ")"))))) () ")")) (argument_list "(plVar1)" (( "(") (identifier "plVar1") () ")")))) (; ";"))) (goto_statement "goto LAB_003223e8;" (goto "goto") (statement_identifier "LAB_003223e8") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */
/* std::istream& std::TEMPNAMEPLACEHOLDERVALUE(std::istream&, char*) */

istream * var_8::operator>>(istream *var_3,var_9 *var_15)

{
  long *plVar1;
  void *__src;
  type_1 var_21;
  int var_17;
  type_2 *var_11;
  long var_4;
  type_3 *var_18;
  type_3 *var_16;
  type_4 var_12;
  long var_13;
  long var_14;
  long var_10;
  type_5 var_5;
  size_t var_19;
  long var_6;
  char *local_58;
  type_6 var_1;
  type_7 local_40 [16];
  
  istream::sentry::type_6(&var_1,var_3,false);
  var_4 = *(long *)var_3;
  if (var_1 == (type_6)0x0) {
    var_5 = _S_failbit;
LAB_003224d5:
    ios::var_2((type_8 *)(var_3 + *(long *)(var_4 + -0x18)),
               var_5 | *(type_5 *)((type_8 *)(var_3 + *(long *)(var_4 + -0x18)) + 0x20));
    return var_3;
  }
  var_6 = *(long *)(var_3 + *(long *)(var_4 + -0x18) + 0x10);
  if (var_6 < 1) {
    var_6 = 0x7fffffffffffffff;
  }
  locale::type_7(local_40,(type_7 *)(var_3 + *(long *)(var_4 + -0x18) + 0xd0));
                    /* try { // try from 003223a5 to 003223a9 has its CatchHandler @ 00322603 */
  var_11 = var_7<var_8::type_2<var_9>>(local_40);
  locale::~type_7(local_40);
  plVar1 = *(long **)(var_3 + *(long *)(*(long *)var_3 + -0x18) + 0xe8);
  if ((type_3 *)plVar1[2] < (type_3 *)plVar1[3]) {
    var_12 = (type_4)*(type_3 *)plVar1[2];
  }
  else {
                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */
    var_12 = (**(type_9 **)(*plVar1 + 0x48))(plVar1);
  }
  var_10 = 0;
LAB_003223e8:
  var_21 = (type_1)var_12;
  if (var_10 < var_6 + -1) {
    do {
      local_58 = var_15;
      if ((int)var_12 == -1) goto LAB_003225a4;
      var_4 = *(long *)(var_11 + 0x30);
      if ((*(type_3 *)(var_4 + 1 + (var_12 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;
      __src = (void *)plVar1[2];
      var_14 = (var_6 - var_10) + -1;
      var_13 = plVar1[3] - (long)__src;
      if (var_13 < var_14) {
        var_14 = var_13;
      }
      if (var_14 < 2) {
        *var_15 = (char)var_12;
        var_15 = var_15 + 1;
        var_10 = var_10 + 1;
        var_16 = (type_3 *)plVar1[3];
        if ((type_3 *)plVar1[2] < var_16) {
          var_18 = (type_3 *)plVar1[2] + 1;
          plVar1[2] = (long)var_18;
        }
        else {
          var_17 = (**(type_9 **)(*plVar1 + 0x50))(plVar1);
          local_58 = var_15;
          if (var_17 == -1) goto LAB_003225a4;
          var_18 = (type_3 *)plVar1[2];
          var_16 = (type_3 *)plVar1[3];
        }
        if (var_18 < var_16) {
          var_12 = (type_4)*var_18;
        }
        else {
                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */
          var_12 = (**(type_9 **)(*plVar1 + 0x48))(plVar1);
        }
        goto LAB_003223e8;
      }
      var_16 = (type_3 *)((long)__src + 1);
      if ((var_16 < (type_3 *)(var_14 + (long)__src)) &&
         ((*(type_3 *)(var_4 + 1 + (type_4)*(type_3 *)((long)__src + 1) * 2) & 0x20) == 0)) {
        do {
          var_16 = var_16 + 1;
          if ((type_3 *)(var_14 + (long)__src) <= var_16) break;
        } while ((*(type_3 *)(var_4 + 1 + (type_4)*var_16 * 2) & 0x20) == 0);
        var_19 = (long)var_16 - (long)__src;
        if (var_19 != 0) goto LAB_0032254b;
        plVar1[2] = (long)var_16;
        if ((type_3 *)plVar1[3] <= var_16) goto LAB_00322588;
      }
      else {
        var_19 = 1;
LAB_0032254b:
        var_20(var_15,__src,var_19);
        var_16 = (type_3 *)(plVar1[2] + var_19);
        var_15 = var_15 + var_19;
        plVar1[2] = (long)var_16;
        var_10 = var_10 + var_19;
        if ((type_3 *)plVar1[3] <= var_16) goto LAB_00322588;
      }
      var_12 = (type_4)*var_16;
      var_21 = (type_1)*var_16;
      if (var_6 + -1 <= var_10) break;
    } while( true );
  }
  local_58 = var_15;
  if (var_21 == 0xffffffff) {
LAB_003225a4:
    *local_58 = '\0';
    var_4 = *(long *)var_3;
    var_5 = (-(type_1)(var_10 == 0) & 4) + var_22;
    *(type_10 *)(var_3 + *(long *)(var_4 + -0x18) + 0x10) = 0;
  }
  else {
LAB_003224ac:
    *var_15 = '\0';
    var_4 = *(long *)var_3;
    *(type_10 *)(var_3 + *(long *)(var_4 + -0x18) + 0x10) = 0;
    if (var_10 != 0) {
      return var_3;
    }
    var_5 = _S_failbit;
  }
  goto LAB_003224d5;
LAB_00322588:
                    /* try { // try from 0032258e to 0032259e has its CatchHandler @ 00322613 */
  var_12 = (**(type_9 **)(*plVar1 + 0x48))(plVar1);
  goto LAB_003223e8;
}


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

long * MASKED(long *param_1,undefined1 *param_2)

{
  long *plVar1;
  long lVar2;
  void *__src;
  int iVar3;
  long lVar4;
  byte *pbVar5;
  byte *pbVar6;
  ulong uVar7;
  long lVar8;
  long lVar9;
  long lVar10;
  uint uVar11;
  size_t __n;
  long lVar12;
  undefined1 *local_58;
  char local_41;
  undefined1 local_40 [16];
  
  FUN_002faf30(&local_41,param_1,0);
  lVar4 = *param_1;
  if (local_41 == '\0') {
    uVar11 = 4;
LAB_003224d5:
    lVar4 = *(long *)(lVar4 + -0x18) + (long)param_1;
    FUN_00300870(lVar4,uVar11 | *(uint *)(lVar4 + 0x20));
    return param_1;
  }
  lVar12 = *(long *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10);
  if (lVar12 < 1) {
    lVar12 = 0x7fffffffffffffff;
  }
  FUN_002dca70(local_40,(long)param_1 + *(long *)(lVar4 + -0x18) + 0xd0);
                    /* try { // try from 003223a5 to 003223a9 has its CatchHandler @ 00322603 */
  lVar4 = FUN_002ec670(local_40);
  FUN_002dd1b0(local_40);
  plVar1 = *(long **)((long)param_1 + *(long *)(*param_1 + -0x18) + 0xe8);
  if ((byte *)plVar1[2] < (byte *)plVar1[3]) {
    uVar7 = (ulong)*(byte *)plVar1[2];
  }
  else {
                    /* try { // try from 003225d4 to 003225d6 has its CatchHandler @ 0032260e */
    uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);
  }
  lVar10 = 0;
LAB_003223e8:
  uVar11 = (uint)uVar7;
  if (lVar10 < lVar12 + -1) {
    do {
      local_58 = param_2;
      if ((int)uVar7 == -1) goto LAB_003225a4;
      lVar2 = *(long *)(lVar4 + 0x30);
      if ((*(byte *)(lVar2 + 1 + (uVar7 & 0xff) * 2) & 0x20) != 0) goto LAB_003224ac;
      __src = (void *)plVar1[2];
      lVar9 = (lVar12 - lVar10) + -1;
      lVar8 = plVar1[3] - (long)__src;
      if (lVar8 < lVar9) {
        lVar9 = lVar8;
      }
      if (lVar9 < 2) {
        *param_2 = (char)uVar7;
        param_2 = param_2 + 1;
        lVar10 = lVar10 + 1;
        pbVar6 = (byte *)plVar1[3];
        if ((byte *)plVar1[2] < pbVar6) {
          pbVar5 = (byte *)plVar1[2] + 1;
          plVar1[2] = (long)pbVar5;
        }
        else {
          iVar3 = (**(code **)(*plVar1 + 0x50))(plVar1);
          local_58 = param_2;
          if (iVar3 == -1) goto LAB_003225a4;
          pbVar5 = (byte *)plVar1[2];
          pbVar6 = (byte *)plVar1[3];
        }
        if (pbVar5 < pbVar6) {
          uVar7 = (ulong)*pbVar5;
        }
        else {
                    /* try { // try from 003225e2 to 003225e4 has its CatchHandler @ 00322613 */
          uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);
        }
        goto LAB_003223e8;
      }
      pbVar6 = (byte *)((long)__src + 1);
      if ((pbVar6 < (byte *)(lVar9 + (long)__src)) &&
         ((*(byte *)(lVar2 + 1 + (ulong)*(byte *)((long)__src + 1) * 2) & 0x20) == 0)) {
        do {
          pbVar6 = pbVar6 + 1;
          if ((byte *)(lVar9 + (long)__src) <= pbVar6) break;
        } while ((*(byte *)(lVar2 + 1 + (ulong)*pbVar6 * 2) & 0x20) == 0);
        __n = (long)pbVar6 - (long)__src;
        if (__n != 0) goto LAB_0032254b;
        plVar1[2] = (long)pbVar6;
        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;
      }
      else {
        __n = 1;
LAB_0032254b:
        memcpy(param_2,__src,__n);
        pbVar6 = (byte *)(plVar1[2] + __n);
        param_2 = param_2 + __n;
        plVar1[2] = (long)pbVar6;
        lVar10 = lVar10 + __n;
        if ((byte *)plVar1[3] <= pbVar6) goto LAB_00322588;
      }
      uVar7 = (ulong)*pbVar6;
      uVar11 = (uint)*pbVar6;
      if (lVar12 + -1 <= lVar10) break;
    } while( true );
  }
  local_58 = param_2;
  if (uVar11 == 0xffffffff) {
LAB_003225a4:
    *local_58 = 0;
    lVar4 = *param_1;
    uVar11 = (-(uint)(lVar10 == 0) & 4) + 2;
    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;
  }
  else {
LAB_003224ac:
    *param_2 = 0;
    lVar4 = *param_1;
    *(undefined8 *)((long)param_1 + *(long *)(lVar4 + -0x18) + 0x10) = 0;
    if (lVar10 != 0) {
      return param_1;
    }
    uVar11 = 4;
  }
  goto LAB_003224d5;
LAB_00322588:
                    /* try { // try from 0032258e to 0032259e has its CatchHandler @ 00322613 */
  uVar7 = (**(code **)(*plVar1 + 0x48))(plVar1);
  goto LAB_003223e8;
}

