
int demangle_template(work_stuff *work,char **mangled,string *tname,string *trawname,int is_type,
                     int remember)

{
  char **ppcVar1;
  byte *__s;
  type_kind_t tk;
  int index;
  int iVar2;
  int iVar3;
  char **ppcVar4;
  string *s;
  size_t sVar5;
  char *pcVar6;
  long lVar7;
  byte *pbVar8;
  byte *pbVar9;
  bool bVar10;
  bool bVar11;
  byte bVar12;
  int local_8c;
  int r;
  string temp;
  string param;
  
  bVar12 = 0;
  pcVar6 = *mangled;
  *mangled = pcVar6 + 1;
  if (is_type == 0) {
    string_append(tname,"<");
    iVar2 = get_count(mangled,&r);
    if (iVar2 == 0) {
      return 0;
    }
    ppcVar4 = (char **)xmalloc((long)r << 3);
    work->tmpl_argvec = ppcVar4;
    work->ntmpl_args = r;
    if (r < 1) goto LAB_00324300;
    ppcVar1 = ppcVar4 + (ulong)(r - 1) + 1;
    do {
      *ppcVar4 = (char *)0x0;
      ppcVar4 = ppcVar4 + 1;
    } while (ppcVar1 != ppcVar4);
LAB_00324070:
    local_8c = 0;
LAB_00324078:
    s = &param;
    if (is_type != 0) {
      s = tname;
    }
    lVar7 = 0;
    while( true ) {
      pcVar6 = *mangled;
      if (*pcVar6 == 'Z') break;
      if (*pcVar6 == 'z') {
        *mangled = pcVar6 + 1;
        iVar2 = demangle_template_template_parm(work,mangled,tname);
        if (iVar2 != 0) {
          iVar3 = consume_count(mangled);
          if ((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)) {
            string_append(tname," ");
            string_appendn(tname,*mangled,iVar3);
            sVar5 = (size_t)iVar3;
            if (is_type == 0) {
              ppcVar4 = work->tmpl_argvec;
              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));
              ppcVar4[lVar7] = pcVar6;
              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);
              work->tmpl_argvec[lVar7][sVar5] = '\0';
            }
            *mangled = *mangled + sVar5;
          }
          goto LAB_003241b0;
        }
        goto LAB_00324201;
      }
      tk = do_type(work,mangled,&temp);
      if (temp.b != (char *)0x0) {
        free(temp.b);
        temp.p = (char *)0x0;
        temp.e = (char *)0x0;
        temp.b = (char *)0x0;
      }
      if (tk == tk_none) goto LAB_00324201;
      if (is_type == 0) {
        param.e = (char *)0x0;
        param.p = (char *)0x0;
        param.b = (char *)0x0;
        iVar2 = demangle_template_value_parm(work,mangled,s,tk);
        if (iVar2 == 0) {
          if (param.b != (char *)0x0) {
            free(param.b);
          }
          goto LAB_00324201;
        }
        ppcVar4 = work->tmpl_argvec;
        iVar3 = (int)param.p - (int)param.b;
        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));
        ppcVar4[lVar7] = pcVar6;
        memcpy(work->tmpl_argvec[lVar7],param.b,(long)iVar3);
        work->tmpl_argvec[lVar7][iVar3] = '\0';
        string_appends(tname,&param,(string *)param.p);
        if (param.b != (char *)0x0) {
          free(param.b);
        }
      }
      else {
        iVar2 = demangle_template_value_parm(work,mangled,s,tk);
        if (iVar2 == 0) goto LAB_00324201;
      }
LAB_003241b0:
      lVar7 = lVar7 + 1;
      if (r <= (int)lVar7) goto LAB_00324204;
      string_append(tname,", ");
    }
    *mangled = pcVar6 + 1;
    iVar2 = do_type(work,mangled,&temp);
    if (iVar2 != 0) {
      string_appends(tname,&temp,(string *)temp.p);
      if (is_type == 0) {
        ppcVar4 = work->tmpl_argvec;
        iVar3 = (int)temp.p - (int)temp.b;
        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));
        ppcVar4[lVar7] = pcVar6;
        memcpy(work->tmpl_argvec[lVar7],temp.b,(long)iVar3);
        work->tmpl_argvec[lVar7][iVar3] = '\0';
      }
      if (temp.b != (char *)0x0) {
        free(temp.b);
        temp.p = (char *)0x0;
        temp.e = (char *)0x0;
        temp.b = (char *)0x0;
      }
      goto LAB_003241b0;
    }
    if (temp.b == (char *)0x0) {
LAB_00324201:
      iVar2 = 0;
    }
    else {
      free(temp.b);
      temp.p = (char *)0x0;
      temp.e = (char *)0x0;
      temp.b = (char *)0x0;
    }
LAB_00324204:
    if (local_8c != 0) goto LAB_00323ff8;
  }
  else {
    if (pcVar6[1] != 'z') {
      iVar2 = consume_count(mangled);
      if (iVar2 < 1) {
        return 0;
      }
      __s = (byte *)*mangled;
      r = iVar2;
      sVar5 = strlen((char *)__s);
      if ((int)sVar5 < iVar2) {
        return 0;
      }
      bVar10 = false;
      bVar11 = (work->options & 4) == 0;
      if (bVar11) {
LAB_003244b8:
        string_appendn(tname,(char *)__s,iVar2);
        if (trawname != (string *)0x0) {
          if (r == 0) goto LAB_003242d0;
          string_appendn(trawname,*mangled,r);
        }
        *mangled = *mangled + r;
        goto LAB_003242d0;
      }
      lVar7 = 8;
      pbVar8 = __s;
      pbVar9 = (byte *)"JArray1Z";
      do {
        if (lVar7 == 0) break;
        lVar7 = lVar7 + -1;
        bVar10 = *pbVar8 < *pbVar9;
        bVar11 = *pbVar8 == *pbVar9;
        pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;
        pbVar9 = pbVar9 + (ulong)bVar12 * -2 + 1;
      } while (bVar11);
      if ((!bVar10 && !bVar11) != bVar10) goto LAB_003244b8;
      if (trawname == (string *)0x0) {
        *mangled = (char *)(__s + iVar2);
      }
      else {
        string_appendn(trawname,(char *)__s,iVar2);
        *mangled = *mangled + r;
      }
      iVar2 = get_count(mangled,&r);
      if (iVar2 == 0) {
        return 0;
      }
      local_8c = is_type;
      if (0 < r) goto LAB_00324078;
      iVar2 = 0;
LAB_00323ff8:
      string_append(tname,"[]");
      goto LAB_0032422d;
    }
    *mangled = pcVar6 + 2;
    if (pcVar6[2] == '\0') {
      return 0;
    }
    *mangled = pcVar6 + 3;
    iVar2 = consume_count_with_underscores(mangled);
    if (iVar2 == -1) {
      return 0;
    }
    if ((work->tmpl_argvec != (char **)0x0) && (work->ntmpl_args <= iVar2)) {
      return 0;
    }
    iVar3 = consume_count_with_underscores(mangled);
    if (iVar3 == -1) {
      return 0;
    }
    if (work->tmpl_argvec == (char **)0x0) {
      string_append_template_idx(tname,iVar2);
      if (trawname != (string *)0x0) {
        string_append_template_idx(trawname,iVar2);
      }
    }
    else {
      pcVar6 = work->tmpl_argvec[iVar2];
      if ((((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&
          (string_append(tname,pcVar6), trawname != (string *)0x0)) &&
         ((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')))) {
        string_append(trawname,pcVar6);
      }
    }
LAB_003242d0:
    string_append(tname,"<");
    iVar2 = get_count(mangled,&r);
    if (iVar2 == 0) {
      return 0;
    }
    if (0 < r) goto LAB_00324070;
LAB_00324300:
    iVar2 = 0;
  }
  if (tname->p[-1] == '>') {
    string_append(tname," ");
  }
  string_append(tname,">");
LAB_0032422d:
  if ((remember & is_type) != 0) {
    index = register_Btype(work);
    pcVar6 = tname->b;
    iVar3 = 0;
    if (pcVar6 != tname->p) {
      iVar3 = (int)tname->p - (int)pcVar6;
    }
    remember_Btype((work_stuff *)&work->btypevec,pcVar6,iVar3,index);
  }
  return iVar2;
}



int FUN_00323ee0(byte *param_1,long *param_2,void **param_3,long param_4,uint param_5,uint param_6)

{
  undefined8 *puVar1;
  byte *__s;
  void *pvVar2;
  char *pcVar3;
  long lVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  undefined8 *puVar8;
  void **ppvVar9;
  size_t sVar10;
  undefined8 uVar11;
  long lVar12;
  byte *pbVar13;
  byte *pbVar14;
  bool bVar15;
  bool bVar16;
  byte bVar17;
  uint local_8c;
  int local_7c;
  void *local_78;
  undefined8 local_70;
  undefined8 local_68;
  void *local_58;
  undefined8 local_50;
  undefined8 local_48;
  
  bVar17 = 0;
  lVar12 = *param_2;
  *param_2 = lVar12 + 1;
  if (param_5 == 0) {
    FUN_00320c60(param_3,"<");
    iVar6 = FUN_00320420(param_2,&local_7c);
    if (iVar6 == 0) {
      return 0;
    }
    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);
    *(undefined8 **)(param_1 + 0x50) = puVar8;
    *(int *)(param_1 + 0x58) = local_7c;
    if (local_7c < 1) goto LAB_00324300;
    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;
    do {
      *puVar8 = 0;
      puVar8 = puVar8 + 1;
    } while (puVar1 != puVar8);
LAB_00324070:
    local_8c = 0;
LAB_00324078:
    ppvVar9 = &local_58;
    if (param_5 != 0) {
      ppvVar9 = param_3;
    }
    lVar12 = 0;
    while( true ) {
      pcVar3 = (char *)*param_2;
      if (*pcVar3 == 'Z') break;
      if (*pcVar3 == 'z') {
        *param_2 = (long)(pcVar3 + 1);
        iVar6 = FUN_00323d20(param_1,param_2,param_3);
        if (iVar6 != 0) {
          iVar7 = FUN_00320870(param_2);
          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {
            FUN_00320c60(param_3,&DAT_003f45df);
            FUN_00320bb0(param_3,*param_2,iVar7);
            sVar10 = (size_t)iVar7;
            if (param_5 == 0) {
              lVar4 = *(long *)(param_1 + 0x50);
              uVar11 = FUN_00336e30((long)(iVar7 + 1));
              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;
              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);
              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;
            }
            *param_2 = *param_2 + sVar10;
          }
          goto LAB_003241b0;
        }
        goto LAB_00324201;
      }
      iVar6 = FUN_00322140(param_1,param_2,&local_78);
      if (local_78 != (void *)0x0) {
        free(local_78);
        local_70 = 0;
        local_68 = 0;
        local_78 = (void *)0x0;
      }
      if (iVar6 == 0) goto LAB_00324201;
      if (param_5 == 0) {
        local_48 = 0;
        local_50 = 0;
        local_58 = (void *)0x0;
        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);
        if (iVar6 == 0) {
          if (local_58 != (void *)0x0) {
            free(local_58);
          }
          goto LAB_00324201;
        }
        lVar4 = *(long *)(param_1 + 0x50);
        iVar7 = (int)local_50 - (int)local_58;
        uVar11 = FUN_00336e30((long)(iVar7 + 1));
        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;
        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);
        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;
        FUN_00320da0(param_3,&local_58,local_50);
        if (local_58 != (void *)0x0) {
          free(local_58);
        }
      }
      else {
        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);
        if (iVar6 == 0) goto LAB_00324201;
      }
LAB_003241b0:
      lVar12 = lVar12 + 1;
      if (local_7c <= (int)lVar12) goto LAB_00324204;
      FUN_00320c60(param_3,", ");
    }
    *param_2 = (long)(pcVar3 + 1);
    iVar6 = FUN_00322140(param_1,param_2,&local_78);
    if (iVar6 != 0) {
      FUN_00320da0(param_3,&local_78,local_70);
      if (param_5 == 0) {
        lVar4 = *(long *)(param_1 + 0x50);
        iVar7 = (int)local_70 - (int)local_78;
        uVar11 = FUN_00336e30((long)(iVar7 + 1));
        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;
        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);
        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;
      }
      if (local_78 != (void *)0x0) {
        free(local_78);
        local_70 = 0;
        local_68 = 0;
        local_78 = (void *)0x0;
      }
      goto LAB_003241b0;
    }
    if (local_78 == (void *)0x0) {
LAB_00324201:
      iVar6 = 0;
    }
    else {
      free(local_78);
      local_70 = 0;
      local_68 = 0;
      local_78 = (void *)0x0;
    }
LAB_00324204:
    if (local_8c != 0) goto LAB_00323ff8;
  }
  else {
    if (*(char *)(lVar12 + 1) != 'z') {
      iVar6 = FUN_00320870(param_2);
      if (iVar6 < 1) {
        return 0;
      }
      __s = (byte *)*param_2;
      local_7c = iVar6;
      sVar10 = strlen((char *)__s);
      if ((int)sVar10 < iVar6) {
        return 0;
      }
      bVar15 = false;
      bVar16 = (*param_1 & 4) == 0;
      if (bVar16) {
LAB_003244b8:
        FUN_00320bb0(param_3,__s);
        if (param_4 != 0) {
          if (local_7c == 0) goto LAB_003242d0;
          FUN_00320bb0(param_4,*param_2);
        }
        *param_2 = *param_2 + (long)local_7c;
        goto LAB_003242d0;
      }
      lVar12 = 8;
      pbVar13 = __s;
      pbVar14 = (byte *)"JArray1Z";
      do {
        if (lVar12 == 0) break;
        lVar12 = lVar12 + -1;
        bVar15 = *pbVar13 < *pbVar14;
        bVar16 = *pbVar13 == *pbVar14;
        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;
        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;
      } while (bVar16);
      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;
      if (param_4 == 0) {
        *param_2 = (long)(__s + iVar6);
      }
      else {
        FUN_00320bb0(param_4,__s);
        *param_2 = *param_2 + (long)local_7c;
      }
      iVar6 = FUN_00320420(param_2,&local_7c);
      if (iVar6 == 0) {
        return 0;
      }
      local_8c = param_5;
      if (0 < local_7c) goto LAB_00324078;
      iVar6 = 0;
LAB_00323ff8:
      FUN_00320c60(param_3,"[]");
      goto LAB_0032422d;
    }
    *param_2 = lVar12 + 2;
    if (*(char *)(lVar12 + 2) == '\0') {
      return 0;
    }
    *param_2 = lVar12 + 3;
    iVar6 = FUN_00320920(param_2);
    if (iVar6 == -1) {
      return 0;
    }
    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {
      return 0;
    }
    iVar7 = FUN_00320920(param_2);
    if (iVar7 == -1) {
      return 0;
    }
    if (*(long *)(param_1 + 0x50) == 0) {
      FUN_00320ca0(param_3,iVar6);
      if (param_4 != 0) {
        FUN_00320ca0(param_4,iVar6);
      }
    }
    else {
      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);
      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))
         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),
             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {
        FUN_00320c60(param_4);
      }
    }
LAB_003242d0:
    FUN_00320c60(param_3,"<");
    iVar6 = FUN_00320420(param_2,&local_7c);
    if (iVar6 == 0) {
      return 0;
    }
    if (0 < local_7c) goto LAB_00324070;
LAB_00324300:
    iVar6 = 0;
  }
  if (*(char *)((long)param_3[1] + -1) == '>') {
    FUN_00320c60(param_3,&DAT_003f45df);
  }
  FUN_00320c60(param_3,&DAT_003fc99b);
LAB_0032422d:
  if ((param_6 & param_5) != 0) {
    uVar5 = FUN_00320660(param_1);
    pvVar2 = *param_3;
    iVar7 = 0;
    if (pvVar2 != param_3[1]) {
      iVar7 = (int)param_3[1] - (int)pvVar2;
    }
    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);
  }
  return iVar6;
}


PUSH R15
PUSH R14
MOV R14D,R8D
PUSH R13
MOV R13,RDX
PUSH R12
MOV R12,RDI
PUSH RBP
PUSH RBX
MOV RBX,RSI
SUB RSP,0x88
MOV RAX,qword ptr [RSI]
MOV dword ptr [RSP + 0x28],R9D
LEA RDX,[RAX + 0x1]
MOV qword ptr [RSI],RDX
TEST R8D,R8D
JZ 0x00324010
CMP byte ptr [RAX + 0x1],0x7a
MOV RBP,RCX
JNZ 0x00323f50
LEA RDX,[RAX + 0x2]
MOV qword ptr [RSI],RDX
CMP byte ptr [RAX + 0x2],0x0
JNZ 0x00324270
XOR R15D,R15D
ADD RSP,0x88
MOV EAX,R15D
POP RBX
POP RBP
POP R12
POP R13
POP R14
POP R15
RET
MOV RDI,RSI
CALL 0x00320870
TEST EAX,EAX
MOV dword ptr [RSP + 0x3c],EAX
MOV dword ptr [RSP],EAX
JLE 0x00323f2f
MOV R9,qword ptr [RBX]
MOV RDI,R9
MOV qword ptr [RSP + 0x8],R9
CALL 0x00150490
MOV EDX,dword ptr [RSP]
CMP EDX,EAX
JG 0x00323f2f
TEST byte ptr [R12],0x4
MOV R9,qword ptr [RSP + 0x8]
JZ 0x003244b8
MOV ECX,0x8
LEA RDI,[0x3fc5bf]
MOV RSI,R9
CMPSB.REPE RDI,RSI
SETA R8B
SBB R8B,0x0
MOVSX R15D,R8B
TEST R15D,R15D
JNZ 0x003244b8
TEST RBP,RBP
JZ 0x00324539
MOV RSI,R9
MOV RDI,RBP
CALL 0x00320bb0
MOVSXD RAX,dword ptr [RSP + 0x3c]
ADD qword ptr [RBX],RAX
LEA RSI,[RSP + 0x3c]
MOV RDI,RBX
CALL 0x00320420
TEST EAX,EAX
JZ 0x00323f2f
MOV EDX,dword ptr [RSP + 0x3c]
MOV dword ptr [RSP + 0x2c],R14D
TEST EDX,EDX
JG 0x00324078
NOP word ptr [RAX + RAX*0x1]
LEA RSI,[0x3fc893]
MOV RDI,R13
CALL 0x00320c60
JMP 0x0032422d
LEA RSI,[0x3fc5b5]
MOV RDI,R13
CALL 0x00320c60
LEA RSI,[RSP + 0x3c]
MOV RDI,RBX
CALL 0x00320420
TEST EAX,EAX
JZ 0x00323f2f
MOVSXD RDI,dword ptr [RSP + 0x3c]
SHL RDI,0x3
CALL 0x00336e30
MOV EDX,dword ptr [RSP + 0x3c]
MOV qword ptr [R12 + 0x50],RAX
MOV dword ptr [R12 + 0x58],EDX
TEST EDX,EDX
JLE 0x00324300
SUB EDX,0x1
LEA RDX,[RAX + RDX*0x8 + 0x8]
MOV qword ptr [RAX],0x0
ADD RAX,0x8
CMP RDX,RAX
JNZ 0x00324060
MOV dword ptr [RSP + 0x2c],0x0
LEA RAX,[RSP + 0x60]
TEST R14D,R14D
MOV qword ptr [RSP + 0x20],RAX
CMOVNZ RAX,R13
XOR EBP,EBP
MOV qword ptr [RSP + 0x8],RAX
LEA RAX,[RSP + 0x40]
MOV qword ptr [RSP],RAX
JMP 0x003241c9
MOV RDX,qword ptr [RSP]
MOV RDI,R12
MOV RSI,RBX
CALL 0x00322140
MOV RDI,qword ptr [RSP + 0x40]
MOV R15D,EAX
TEST RDI,RDI
JZ 0x003240dc
CALL 0x00150470
MOV qword ptr [RSP + 0x48],0x0
MOV qword ptr [RSP + 0x50],0x0
MOV qword ptr [RSP + 0x40],0x0
TEST R15D,R15D
JZ 0x00324201
TEST R14D,R14D
JNZ 0x00324310
MOV RDX,qword ptr [RSP + 0x8]
MOV ECX,R15D
MOV RSI,RBX
MOV RDI,R12
MOV qword ptr [RSP + 0x70],0x0
MOV qword ptr [RSP + 0x68],0x0
MOV qword ptr [RSP + 0x60],0x0
CALL 0x00321a30
MOV R15D,EAX
TEST EAX,EAX
JZ 0x003245a3
MOV RCX,qword ptr [RSP + 0x68]
MOV RAX,qword ptr [R12 + 0x50]
SUB RCX,qword ptr [RSP + 0x60]
LEA EDI,[RCX + 0x1]
LEA RDX,[RAX + RBP*0x8]
MOV qword ptr [RSP + 0x10],RCX
MOVSXD RDI,EDI
MOV qword ptr [RSP + 0x18],RDX
CALL 0x00336e30
MOV RDX,qword ptr [RSP + 0x18]
MOV RCX,qword ptr [RSP + 0x10]
MOV qword ptr [RDX],RAX
MOV RAX,qword ptr [R12 + 0x50]
MOVSXD RCX,ECX
MOV RSI,qword ptr [RSP + 0x60]
MOV RDX,RCX
MOV qword ptr [RSP + 0x10],RCX
MOV RDI,qword ptr [RAX + RBP*0x8]
CALL 0x00150a90
MOV RAX,qword ptr [R12 + 0x50]
MOV RCX,qword ptr [RSP + 0x10]
MOV RDI,R13
MOV RSI,qword ptr [RSP + 0x20]
MOV RAX,qword ptr [RAX + RBP*0x8]
MOV byte ptr [RAX + RCX*0x1],0x0
MOV RDX,qword ptr [RSP + 0x68]
CALL 0x00320da0
MOV RDI,qword ptr [RSP + 0x60]
TEST RDI,RDI
JZ 0x003241b0
CALL 0x00150470
NOP dword ptr [RAX]
ADD RBP,0x1
CMP dword ptr [RSP + 0x3c],EBP
JLE 0x00324204
LEA RSI,[0x3fb34b]
MOV RDI,R13
CALL 0x00320c60
MOV RAX,qword ptr [RBX]
MOVZX EDX,byte ptr [RAX]
CMP DL,0x5a
JZ 0x00324338
CMP DL,0x7a
JNZ 0x003240a0
ADD RAX,0x1
MOV RDX,R13
MOV RSI,RBX
MOV RDI,R12
MOV qword ptr [RBX],RAX
CALL 0x00323d20
MOV R15D,EAX
TEST EAX,EAX
JNZ 0x00324390
XOR R15D,R15D
MOV EAX,dword ptr [RSP + 0x2c]
TEST EAX,EAX
JNZ 0x00323ff8
MOV RAX,qword ptr [R13 + 0x8]
CMP byte ptr [RAX + -0x1],0x3e
JZ 0x003244ec
LEA RSI,[0x3fc99b]
MOV RDI,R13
CALL 0x00320c60
TEST dword ptr [RSP + 0x28],R14D
JZ 0x00323f32
MOV RDI,R12
CALL 0x00320660
MOV RDI,qword ptr [R13 + 0x8]
MOV RSI,qword ptr [R13]
MOV EDX,0x0
MOV RCX,RDI
SUB RCX,RSI
CMP RSI,RDI
LEA RDI,[R12 + 0x18]
CMOVNZ EDX,ECX
MOV ECX,EAX
CALL 0x00320ac0
JMP 0x00323f32
ADD RAX,0x3
MOV RDI,RSI
MOV qword ptr [RSI],RAX
CALL 0x00320920
MOVSXD R15,EAX
CMP R15D,-0x1
JZ 0x00323f2f
CMP qword ptr [R12 + 0x50],0x0
JZ 0x0032429f
CMP dword ptr [R12 + 0x58],R15D
JLE 0x00323f2f
MOV RDI,RBX
CALL 0x00320920
CMP EAX,-0x1
JZ 0x00323f2f
MOV RAX,qword ptr [R12 + 0x50]
TEST RAX,RAX
JZ 0x003245bb
MOV RSI,qword ptr [RAX + R15*0x8]
TEST RSI,RSI
JZ 0x003242d0
CMP byte ptr [RSI],0x0
JNZ 0x00324500
LEA RSI,[0x3fc5b5]
MOV RDI,R13
CALL 0x00320c60
LEA RSI,[RSP + 0x3c]
MOV RDI,RBX
CALL 0x00320420
TEST EAX,EAX
JZ 0x00323f2f
MOV ECX,dword ptr [RSP + 0x3c]
TEST ECX,ECX
JG 0x00324070
XOR R15D,R15D
JMP 0x00324210
MOV RDX,qword ptr [RSP + 0x8]
MOV ECX,R15D
MOV RSI,RBX
MOV RDI,R12
CALL 0x00321a30
MOV R15D,EAX
TEST EAX,EAX
JNZ 0x003241b0
JMP 0x00324201
ADD RAX,0x1
MOV RDX,qword ptr [RSP]
MOV RSI,RBX
MOV RDI,R12
MOV qword ptr [RBX],RAX
CALL 0x00322140
MOV R15D,EAX
TEST EAX,EAX
JNZ 0x003243f8
MOV RDI,qword ptr [RSP + 0x40]
TEST RDI,RDI
JZ 0x00324201
CALL 0x00150470
MOV qword ptr [RSP + 0x48],0x0
MOV qword ptr [RSP + 0x50],0x0
MOV qword ptr [RSP + 0x40],0x0
JMP 0x00324204
MOV RDI,RBX
CALL 0x00320870
TEST EAX,EAX
MOV dword ptr [RSP + 0x10],EAX
JLE 0x003241b0
MOV RDI,qword ptr [RBX]
CALL 0x00150490
MOV ECX,dword ptr [RSP + 0x10]
CMP ECX,EAX
JG 0x003241b0
LEA RSI,[0x3f45df]
MOV RDI,R13
CALL 0x00320c60
MOV ECX,dword ptr [RSP + 0x10]
MOV RSI,qword ptr [RBX]
MOV RDI,R13
MOV EDX,ECX
CALL 0x00320bb0
MOVSXD R9,dword ptr [RSP + 0x10]
MOV RCX,R9
TEST R14D,R14D
JZ 0x00324547
ADD qword ptr [RBX],R9
JMP 0x003241b0
MOV RDX,qword ptr [RSP + 0x48]
MOV RSI,qword ptr [RSP]
MOV RDI,R13
CALL 0x00320da0
TEST R14D,R14D
JZ 0x00324448
MOV RDI,qword ptr [RSP + 0x40]
TEST RDI,RDI
JZ 0x003241b0
CALL 0x00150470
MOV qword ptr [RSP + 0x48],0x0
MOV qword ptr [RSP + 0x50],0x0
MOV qword ptr [RSP + 0x40],0x0
JMP 0x003241b0
MOV RCX,qword ptr [RSP + 0x48]
MOV RAX,qword ptr [R12 + 0x50]
SUB RCX,qword ptr [RSP + 0x40]
LEA EDI,[RCX + 0x1]
LEA RDX,[RAX + RBP*0x8]
MOV qword ptr [RSP + 0x10],RCX
MOVSXD RDI,EDI
MOV qword ptr [RSP + 0x18],RDX
CALL 0x00336e30
MOV RDX,qword ptr [RSP + 0x18]
MOV RCX,qword ptr [RSP + 0x10]
MOV qword ptr [RDX],RAX
MOV RAX,qword ptr [R12 + 0x50]
MOVSXD RCX,ECX
MOV RSI,qword ptr [RSP + 0x40]
MOV RDX,RCX
MOV qword ptr [RSP + 0x10],RCX
MOV RDI,qword ptr [RAX + RBP*0x8]
CALL 0x00150a90
MOV RAX,qword ptr [R12 + 0x50]
MOV RCX,qword ptr [RSP + 0x10]
MOV RAX,qword ptr [RAX + RBP*0x8]
MOV byte ptr [RAX + RCX*0x1],0x0
JMP 0x0032440e
MOV RSI,R9
MOV RDI,R13
CALL 0x00320bb0
TEST RBP,RBP
JZ 0x003244df
MOV EDX,dword ptr [RSP + 0x3c]
MOV RSI,qword ptr [RBX]
TEST EDX,EDX
JZ 0x003242d0
MOV RDI,RBP
CALL 0x00320bb0
MOVSXD RAX,dword ptr [RSP + 0x3c]
ADD qword ptr [RBX],RAX
JMP 0x003242d0
LEA RSI,[0x3f45df]
MOV RDI,R13
CALL 0x00320c60
JMP 0x0032421e
MOV RDI,R13
CALL 0x00320c60
TEST RBP,RBP
JZ 0x003242d0
MOV RAX,qword ptr [R12 + 0x50]
MOV RSI,qword ptr [RAX + R15*0x8]
TEST RSI,RSI
JZ 0x003242d0
CMP byte ptr [RSI],0x0
JZ 0x003242d0
MOV RDI,RBP
CALL 0x00320c60
JMP 0x003242d0
MOVSXD RAX,EDX
ADD R9,RAX
MOV qword ptr [RBX],R9
JMP 0x00323fcc
MOV RAX,qword ptr [R12 + 0x50]
ADD ECX,0x1
MOV qword ptr [RSP + 0x18],R9
MOVSXD RDI,ECX
LEA RDX,[RAX + RBP*0x8]
MOV qword ptr [RSP + 0x10],RDX
CALL 0x00336e30
MOV RDX,qword ptr [RSP + 0x10]
MOV R9,qword ptr [RSP + 0x18]
MOV qword ptr [RDX],RAX
MOV RAX,qword ptr [R12 + 0x50]
MOV RDX,R9
MOV RSI,qword ptr [RBX]
MOV qword ptr [RSP + 0x10],R9
MOV RDI,qword ptr [RAX + RBP*0x8]
CALL 0x00150a90
MOV RAX,qword ptr [R12 + 0x50]
MOV R9,qword ptr [RSP + 0x10]
MOV RAX,qword ptr [RAX + RBP*0x8]
MOV byte ptr [RAX + R9*0x1],0x0
JMP 0x003243e9
MOV RDI,qword ptr [RSP + 0x60]
TEST RDI,RDI
JZ 0x00324201
CALL 0x00150470
JMP 0x00324201
MOV ESI,R15D
MOV RDI,R13
CALL 0x00320ca0
TEST RBP,RBP
JZ 0x003242d0
MOV ESI,R15D
MOV RDI,RBP
CALL 0x00320ca0
JMP 0x003242d0
(translation_unit "int FUN_00323ee0(byte *param_1,long *param_2,void **param_3,long param_4,uint param_5,uint param_6)\n\n{\n  undefined8 *puVar1;\n  byte *__s;\n  void *pvVar2;\n  char *pcVar3;\n  long lVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  void **ppvVar9;\n  size_t sVar10;\n  undefined8 uVar11;\n  long lVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  uint local_8c;\n  int local_7c;\n  void *local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  void *local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  \n  bVar17 = 0;\n  lVar12 = *param_2;\n  *param_2 = lVar12 + 1;\n  if (param_5 == 0) {\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }\n  if (*(char *)((long)param_3[1] + -1) == '>') {\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }\n  FUN_00320c60(param_3,&DAT_003fc99b);\nLAB_0032422d:\n  if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }\n  return iVar6;\n}\n\n" (function_definition "int FUN_00323ee0(byte *param_1,long *param_2,void **param_3,long param_4,uint param_5,uint param_6)\n\n{\n  undefined8 *puVar1;\n  byte *__s;\n  void *pvVar2;\n  char *pcVar3;\n  long lVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  void **ppvVar9;\n  size_t sVar10;\n  undefined8 uVar11;\n  long lVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  uint local_8c;\n  int local_7c;\n  void *local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  void *local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  \n  bVar17 = 0;\n  lVar12 = *param_2;\n  *param_2 = lVar12 + 1;\n  if (param_5 == 0) {\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }\n  if (*(char *)((long)param_3[1] + -1) == '>') {\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }\n  FUN_00320c60(param_3,&DAT_003fc99b);\nLAB_0032422d:\n  if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }\n  return iVar6;\n}" primitive_type (function_declarator "FUN_00323ee0(byte *param_1,long *param_2,void **param_3,long param_4,uint param_5,uint param_6)" identifier (parameter_list "(byte *param_1,long *param_2,void **param_3,long param_4,uint param_5,uint param_6)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "void **param_3" primitive_type (pointer_declarator "**param_3" * (pointer_declarator "*param_3" * identifier))) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "uint param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  byte *__s;\n  void *pvVar2;\n  char *pcVar3;\n  long lVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  void **ppvVar9;\n  size_t sVar10;\n  undefined8 uVar11;\n  long lVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  uint local_8c;\n  int local_7c;\n  void *local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  void *local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  \n  bVar17 = 0;\n  lVar12 = *param_2;\n  *param_2 = lVar12 + 1;\n  if (param_5 == 0) {\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }\n  if (*(char *)((long)param_3[1] + -1) == '>') {\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }\n  FUN_00320c60(param_3,&DAT_003fc99b);\nLAB_0032422d:\n  if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }\n  return iVar6;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined8 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "void **ppvVar9;" primitive_type (pointer_declarator "**ppvVar9" * (pointer_declarator "*ppvVar9" * identifier)) ;) (declaration "size_t sVar10;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "byte bVar17;" type_identifier identifier ;) (declaration "uint local_8c;" type_identifier identifier ;) (declaration "int local_7c;" primitive_type identifier ;) (declaration "void *local_78;" primitive_type (pointer_declarator "*local_78" * identifier) ;) (declaration "undefined8 local_70;" type_identifier identifier ;) (declaration "undefined8 local_68;" type_identifier identifier ;) (declaration "void *local_58;" primitive_type (pointer_declarator "*local_58" * identifier) ;) (declaration "undefined8 local_50;" type_identifier identifier ;) (declaration "undefined8 local_48;" type_identifier identifier ;) (expression_statement "bVar17 = 0;" (assignment_expression "bVar17 = 0" identifier = number_literal) ;) (expression_statement "lVar12 = *param_2;" (assignment_expression "lVar12 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_2 = lVar12 + 1;" (assignment_expression "*param_2 = lVar12 + 1" (pointer_expression "*param_2" * identifier) = (binary_expression "lVar12 + 1" identifier + number_literal)) ;) (if_statement "if (param_5 == 0) {\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }" { (expression_statement "FUN_00320c60(param_3,"<");" (call_expression "FUN_00320c60(param_3,"<")" identifier (argument_list "(param_3,"<")" ( identifier , (string_literal ""<"" " string_content ") ))) ;) (expression_statement "iVar6 = FUN_00320420(param_2,&local_7c);" (assignment_expression "iVar6 = FUN_00320420(param_2,&local_7c)" identifier = (call_expression "FUN_00320420(param_2,&local_7c)" identifier (argument_list "(param_2,&local_7c)" ( identifier , (pointer_expression "&local_7c" & identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);" (assignment_expression "puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3)" identifier = (cast_expression "(undefined8 *)FUN_00336e30((long)local_7c << 3)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00336e30((long)local_7c << 3)" identifier (argument_list "((long)local_7c << 3)" ( (binary_expression "(long)local_7c << 3" (cast_expression "(long)local_7c" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) << number_literal) ))))) ;) (expression_statement "*(undefined8 **)(param_1 + 0x50) = puVar8;" (assignment_expression "*(undefined8 **)(param_1 + 0x50) = puVar8" (pointer_expression "*(undefined8 **)(param_1 + 0x50)" * (cast_expression "(undefined8 **)(param_1 + 0x50)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x58) = local_7c;" (assignment_expression "*(int *)(param_1 + 0x58) = local_7c" (pointer_expression "*(int *)(param_1 + 0x58)" * (cast_expression "(int *)(param_1 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_7c < 1) goto LAB_00324300;" if (parenthesized_expression "(local_7c < 1)" ( (binary_expression "local_7c < 1" identifier < number_literal) )) (goto_statement "goto LAB_00324300;" goto statement_identifier ;)) (expression_statement "puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;" (assignment_expression "puVar1 = puVar8 + (ulong)(local_7c - 1) + 1" identifier = (binary_expression "puVar8 + (ulong)(local_7c - 1) + 1" (binary_expression "puVar8 + (ulong)(local_7c - 1)" identifier + (call_expression "(ulong)(local_7c - 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(local_7c - 1)" ( (binary_expression "local_7c - 1" identifier - number_literal) )))) + number_literal)) ;) (do_statement "do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);" do (compound_statement "{\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    }" { (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 != puVar8)" ( (binary_expression "puVar1 != puVar8" identifier != identifier) )) ;) (labeled_statement "LAB_00324070:\n    local_8c = 0;" statement_identifier : (expression_statement "local_8c = 0;" (assignment_expression "local_8c = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00324078:\n    ppvVar9 = &local_58;" statement_identifier : (expression_statement "ppvVar9 = &local_58;" (assignment_expression "ppvVar9 = &local_58" identifier = (pointer_expression "&local_58" & identifier)) ;)) (if_statement "if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n      ppvVar9 = param_3;\n    }" { (expression_statement "ppvVar9 = param_3;" (assignment_expression "ppvVar9 = param_3" identifier = identifier) ;) })) (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }" { (expression_statement "pcVar3 = (char *)*param_2;" (assignment_expression "pcVar3 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (*pcVar3 == 'Z') break;" if (parenthesized_expression "(*pcVar3 == 'Z')" ( (binary_expression "*pcVar3 == 'Z'" (pointer_expression "*pcVar3" * identifier) == (char_literal "'Z'" ' character ')) )) (break_statement "break;" break ;)) (if_statement "if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }" if (parenthesized_expression "(*pcVar3 == 'z')" ( (binary_expression "*pcVar3 == 'z'" (pointer_expression "*pcVar3" * identifier) == (char_literal "'z'" ' character ')) )) (compound_statement "{\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }" { (expression_statement "*param_2 = (long)(pcVar3 + 1);" (assignment_expression "*param_2 = (long)(pcVar3 + 1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(long)(pcVar3 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(pcVar3 + 1)" ( (binary_expression "pcVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar6 = FUN_00323d20(param_1,param_2,param_3);" (assignment_expression "iVar6 = FUN_00323d20(param_1,param_2,param_3)" identifier = (call_expression "FUN_00323d20(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }" { (expression_statement "iVar7 = FUN_00320870(param_2);" (assignment_expression "iVar7 = FUN_00320870(param_2)" identifier = (call_expression "FUN_00320870(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }" if (parenthesized_expression "((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10))" ( (binary_expression "(0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)" (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) && (parenthesized_expression "(sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)" ( (comma_expression "sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10" (assignment_expression "sVar10 = strlen((char *)*param_2)" identifier = (call_expression "strlen((char *)*param_2)" identifier (argument_list "((char *)*param_2)" ( (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) )))) , (binary_expression "iVar7 <= (int)sVar10" identifier <= (cast_expression "(int)sVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ))) )) (compound_statement "{\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }" { (expression_statement "FUN_00320c60(param_3,&DAT_003f45df);" (call_expression "FUN_00320c60(param_3,&DAT_003f45df)" identifier (argument_list "(param_3,&DAT_003f45df)" ( identifier , (pointer_expression "&DAT_003f45df" & identifier) ))) ;) (expression_statement "FUN_00320bb0(param_3,*param_2,iVar7);" (call_expression "FUN_00320bb0(param_3,*param_2,iVar7)" identifier (argument_list "(param_3,*param_2,iVar7)" ( identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) (expression_statement "sVar10 = (size_t)iVar7;" (assignment_expression "sVar10 = (size_t)iVar7" identifier = (cast_expression "(size_t)iVar7" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (if_statement "if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }" { (expression_statement "lVar4 = *(long *)(param_1 + 0x50);" (assignment_expression "lVar4 = *(long *)(param_1 + 0x50)" identifier = (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = FUN_00336e30((long)(iVar7 + 1));" (assignment_expression "uVar11 = FUN_00336e30((long)(iVar7 + 1))" identifier = (call_expression "FUN_00336e30((long)(iVar7 + 1))" identifier (argument_list "((long)(iVar7 + 1))" ( (cast_expression "(long)(iVar7 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) ))) )))) ;) (expression_statement "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;" (assignment_expression "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11" (pointer_expression "*(undefined8 *)(lVar4 + lVar12 * 8)" * (cast_expression "(undefined8 *)(lVar4 + lVar12 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + lVar12 * 8)" ( (binary_expression "lVar4 + lVar12 * 8" identifier + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) = identifier) ;) (expression_statement "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);" (call_expression "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10)" identifier (argument_list "(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10)" ( (pointer_expression "*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" * (cast_expression "(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) , (cast_expression "(void *)*param_2" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) , identifier ))) ;) (expression_statement "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;" (assignment_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0" (pointer_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10)" * (cast_expression "(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10)" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10" (pointer_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) + identifier) )))) = number_literal) ;) })) (expression_statement "*param_2 = *param_2 + sVar10;" (assignment_expression "*param_2 = *param_2 + sVar10" (pointer_expression "*param_2" * identifier) = (binary_expression "*param_2 + sVar10" (pointer_expression "*param_2" * identifier) + identifier)) ;) })) (goto_statement "goto LAB_003241b0;" goto statement_identifier ;) })) (goto_statement "goto LAB_00324201;" goto statement_identifier ;) })) (expression_statement "iVar6 = FUN_00322140(param_1,param_2,&local_78);" (assignment_expression "iVar6 = FUN_00322140(param_1,param_2,&local_78)" identifier = (call_expression "FUN_00322140(param_1,param_2,&local_78)" identifier (argument_list "(param_1,param_2,&local_78)" ( identifier , identifier , (pointer_expression "&local_78" & identifier) )))) ;) (if_statement "if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }" if (parenthesized_expression "(local_78 != (void *)0x0)" ( (binary_expression "local_78 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }" { (expression_statement "free(local_78);" (call_expression "free(local_78)" identifier (argument_list "(local_78)" ( identifier ))) ;) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" identifier = number_literal) ;) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (expression_statement "local_78 = (void *)0x0;" (assignment_expression "local_78 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (if_statement "if (iVar6 == 0) goto LAB_00324201;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00324201;" goto statement_identifier ;)) (if_statement "if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }" { (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "local_50 = 0;" (assignment_expression "local_50 = 0" identifier = number_literal) ;) (expression_statement "local_58 = (void *)0x0;" (assignment_expression "local_58 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);" (assignment_expression "iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6)" identifier = (call_expression "FUN_00321a30(param_1,param_2,ppvVar9,iVar6)" identifier (argument_list "(param_1,param_2,ppvVar9,iVar6)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }" { (if_statement "if (local_58 != (void *)0x0) {\n            free(local_58);\n          }" if (parenthesized_expression "(local_58 != (void *)0x0)" ( (binary_expression "local_58 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            free(local_58);\n          }" { (expression_statement "free(local_58);" (call_expression "free(local_58)" identifier (argument_list "(local_58)" ( identifier ))) ;) })) (goto_statement "goto LAB_00324201;" goto statement_identifier ;) })) (expression_statement "lVar4 = *(long *)(param_1 + 0x50);" (assignment_expression "lVar4 = *(long *)(param_1 + 0x50)" identifier = (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = (int)local_50 - (int)local_58;" (assignment_expression "iVar7 = (int)local_50 - (int)local_58" identifier = (binary_expression "(int)local_50 - (int)local_58" (cast_expression "(int)local_50" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_58" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar11 = FUN_00336e30((long)(iVar7 + 1));" (assignment_expression "uVar11 = FUN_00336e30((long)(iVar7 + 1))" identifier = (call_expression "FUN_00336e30((long)(iVar7 + 1))" identifier (argument_list "((long)(iVar7 + 1))" ( (cast_expression "(long)(iVar7 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) ))) )))) ;) (expression_statement "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;" (assignment_expression "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11" (pointer_expression "*(undefined8 *)(lVar4 + lVar12 * 8)" * (cast_expression "(undefined8 *)(lVar4 + lVar12 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + lVar12 * 8)" ( (binary_expression "lVar4 + lVar12 * 8" identifier + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) = identifier) ;) (expression_statement "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);" (call_expression "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7)" identifier (argument_list "(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7)" ( (pointer_expression "*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" * (cast_expression "(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) , identifier , (cast_expression "(long)iVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ))) ;) (expression_statement "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;" (assignment_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0" (pointer_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" * (cast_expression "(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7" (pointer_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) + (cast_expression "(long)iVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) = number_literal) ;) (expression_statement "FUN_00320da0(param_3,&local_58,local_50);" (call_expression "FUN_00320da0(param_3,&local_58,local_50)" identifier (argument_list "(param_3,&local_58,local_50)" ( identifier , (pointer_expression "&local_58" & identifier) , identifier ))) ;) (if_statement "if (local_58 != (void *)0x0) {\n          free(local_58);\n        }" if (parenthesized_expression "(local_58 != (void *)0x0)" ( (binary_expression "local_58 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          free(local_58);\n        }" { (expression_statement "free(local_58);" (call_expression "free(local_58)" identifier (argument_list "(local_58)" ( identifier ))) ;) })) }) (else_clause "else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }" else (compound_statement "{\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }" { (expression_statement "iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);" (assignment_expression "iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6)" identifier = (call_expression "FUN_00321a30(param_1,param_2,ppvVar9,iVar6)" identifier (argument_list "(param_1,param_2,ppvVar9,iVar6)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) goto LAB_00324201;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00324201;" goto statement_identifier ;)) }))) (labeled_statement "LAB_003241b0:\n      lVar12 = lVar12 + 1;" statement_identifier : (expression_statement "lVar12 = lVar12 + 1;" (assignment_expression "lVar12 = lVar12 + 1" identifier = (binary_expression "lVar12 + 1" identifier + number_literal)) ;)) (if_statement "if (local_7c <= (int)lVar12) goto LAB_00324204;" if (parenthesized_expression "(local_7c <= (int)lVar12)" ( (binary_expression "local_7c <= (int)lVar12" identifier <= (cast_expression "(int)lVar12" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_00324204;" goto statement_identifier ;)) (expression_statement "FUN_00320c60(param_3,", ");" (call_expression "FUN_00320c60(param_3,", ")" identifier (argument_list "(param_3,", ")" ( identifier , (string_literal "", "" " string_content ") ))) ;) })) (expression_statement "*param_2 = (long)(pcVar3 + 1);" (assignment_expression "*param_2 = (long)(pcVar3 + 1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(long)(pcVar3 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(pcVar3 + 1)" ( (binary_expression "pcVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar6 = FUN_00322140(param_1,param_2,&local_78);" (assignment_expression "iVar6 = FUN_00322140(param_1,param_2,&local_78)" identifier = (call_expression "FUN_00322140(param_1,param_2,&local_78)" identifier (argument_list "(param_1,param_2,&local_78)" ( identifier , identifier , (pointer_expression "&local_78" & identifier) )))) ;) (if_statement "if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }" { (expression_statement "FUN_00320da0(param_3,&local_78,local_70);" (call_expression "FUN_00320da0(param_3,&local_78,local_70)" identifier (argument_list "(param_3,&local_78,local_70)" ( identifier , (pointer_expression "&local_78" & identifier) , identifier ))) ;) (if_statement "if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }" { (expression_statement "lVar4 = *(long *)(param_1 + 0x50);" (assignment_expression "lVar4 = *(long *)(param_1 + 0x50)" identifier = (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = (int)local_70 - (int)local_78;" (assignment_expression "iVar7 = (int)local_70 - (int)local_78" identifier = (binary_expression "(int)local_70 - (int)local_78" (cast_expression "(int)local_70" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_78" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar11 = FUN_00336e30((long)(iVar7 + 1));" (assignment_expression "uVar11 = FUN_00336e30((long)(iVar7 + 1))" identifier = (call_expression "FUN_00336e30((long)(iVar7 + 1))" identifier (argument_list "((long)(iVar7 + 1))" ( (cast_expression "(long)(iVar7 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) ))) )))) ;) (expression_statement "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;" (assignment_expression "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11" (pointer_expression "*(undefined8 *)(lVar4 + lVar12 * 8)" * (cast_expression "(undefined8 *)(lVar4 + lVar12 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + lVar12 * 8)" ( (binary_expression "lVar4 + lVar12 * 8" identifier + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) = identifier) ;) (expression_statement "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);" (call_expression "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7)" identifier (argument_list "(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7)" ( (pointer_expression "*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" * (cast_expression "(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) , identifier , (cast_expression "(long)iVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ))) ;) (expression_statement "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;" (assignment_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0" (pointer_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" * (cast_expression "(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7" (pointer_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) + (cast_expression "(long)iVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) = number_literal) ;) })) (if_statement "if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }" if (parenthesized_expression "(local_78 != (void *)0x0)" ( (binary_expression "local_78 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }" { (expression_statement "free(local_78);" (call_expression "free(local_78)" identifier (argument_list "(local_78)" ( identifier ))) ;) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" identifier = number_literal) ;) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (expression_statement "local_78 = (void *)0x0;" (assignment_expression "local_78 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (goto_statement "goto LAB_003241b0;" goto statement_identifier ;) })) (if_statement "if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }" if (parenthesized_expression "(local_78 == (void *)0x0)" ( (binary_expression "local_78 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00324201:\n      iVar6 = 0;\n    }" { (labeled_statement "LAB_00324201:\n      iVar6 = 0;" statement_identifier : (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }" else (compound_statement "{\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }" { (expression_statement "free(local_78);" (call_expression "free(local_78)" identifier (argument_list "(local_78)" ( identifier ))) ;) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" identifier = number_literal) ;) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (expression_statement "local_78 = (void *)0x0;" (assignment_expression "local_78 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (labeled_statement "LAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;" statement_identifier : (if_statement "if (local_8c != 0) goto LAB_00323ff8;" if (parenthesized_expression "(local_8c != 0)" ( (binary_expression "local_8c != 0" identifier != number_literal) )) (goto_statement "goto LAB_00323ff8;" goto statement_identifier ;))) }) (else_clause "else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }" else (compound_statement "{\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }" { (if_statement "if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }" if (parenthesized_expression "(*(char *)(lVar12 + 1) != 'z')" ( (binary_expression "*(char *)(lVar12 + 1) != 'z'" (pointer_expression "*(char *)(lVar12 + 1)" * (cast_expression "(char *)(lVar12 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + 1)" ( (binary_expression "lVar12 + 1" identifier + number_literal) )))) != (char_literal "'z'" ' character ')) )) (compound_statement "{\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }" { (expression_statement "iVar6 = FUN_00320870(param_2);" (assignment_expression "iVar6 = FUN_00320870(param_2)" identifier = (call_expression "FUN_00320870(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar6 < 1) {\n        return 0;\n      }" if (parenthesized_expression "(iVar6 < 1)" ( (binary_expression "iVar6 < 1" identifier < number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "__s = (byte *)*param_2;" (assignment_expression "__s = (byte *)*param_2" identifier = (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "local_7c = iVar6;" (assignment_expression "local_7c = iVar6" identifier = identifier) ;) (expression_statement "sVar10 = strlen((char *)__s);" (assignment_expression "sVar10 = strlen((char *)__s)" identifier = (call_expression "strlen((char *)__s)" identifier (argument_list "((char *)__s)" ( (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if ((int)sVar10 < iVar6) {\n        return 0;\n      }" if (parenthesized_expression "((int)sVar10 < iVar6)" ( (binary_expression "(int)sVar10 < iVar6" (cast_expression "(int)sVar10" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar15 = false;" (assignment_expression "bVar15 = false" identifier = false) ;) (expression_statement "bVar16 = (*param_1 & 4) == 0;" (assignment_expression "bVar16 = (*param_1 & 4) == 0" identifier = (binary_expression "(*param_1 & 4) == 0" (parenthesized_expression "(*param_1 & 4)" ( (binary_expression "*param_1 & 4" (pointer_expression "*param_1" * identifier) & number_literal) )) == number_literal)) ;) (if_statement "if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }" if (parenthesized_expression "(bVar16)" ( identifier )) (compound_statement "{\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }" { (labeled_statement "LAB_003244b8:\n        FUN_00320bb0(param_3,__s);" statement_identifier : (expression_statement "FUN_00320bb0(param_3,__s);" (call_expression "FUN_00320bb0(param_3,__s)" identifier (argument_list "(param_3,__s)" ( identifier , identifier ))) ;)) (if_statement "if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }" { (if_statement "if (local_7c == 0) goto LAB_003242d0;" if (parenthesized_expression "(local_7c == 0)" ( (binary_expression "local_7c == 0" identifier == number_literal) )) (goto_statement "goto LAB_003242d0;" goto statement_identifier ;)) (expression_statement "FUN_00320bb0(param_4,*param_2);" (call_expression "FUN_00320bb0(param_4,*param_2)" identifier (argument_list "(param_4,*param_2)" ( identifier , (pointer_expression "*param_2" * identifier) ))) ;) })) (expression_statement "*param_2 = *param_2 + (long)local_7c;" (assignment_expression "*param_2 = *param_2 + (long)local_7c" (pointer_expression "*param_2" * identifier) = (binary_expression "*param_2 + (long)local_7c" (pointer_expression "*param_2" * identifier) + (cast_expression "(long)local_7c" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (goto_statement "goto LAB_003242d0;" goto statement_identifier ;) })) (expression_statement "lVar12 = 8;" (assignment_expression "lVar12 = 8" identifier = number_literal) ;) (expression_statement "pbVar13 = __s;" (assignment_expression "pbVar13 = __s" identifier = identifier) ;) (expression_statement "pbVar14 = (byte *)"JArray1Z";" (assignment_expression "pbVar14 = (byte *)"JArray1Z"" identifier = (cast_expression "(byte *)"JArray1Z"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""JArray1Z"" " string_content "))) ;) (do_statement "do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);" do (compound_statement "{\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      }" { (if_statement "if (lVar12 == 0) break;" if (parenthesized_expression "(lVar12 == 0)" ( (binary_expression "lVar12 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar12 = lVar12 + -1;" (assignment_expression "lVar12 = lVar12 + -1" identifier = (binary_expression "lVar12 + -1" identifier + number_literal)) ;) (expression_statement "bVar15 = *pbVar13 < *pbVar14;" (assignment_expression "bVar15 = *pbVar13 < *pbVar14" identifier = (binary_expression "*pbVar13 < *pbVar14" (pointer_expression "*pbVar13" * identifier) < (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "bVar16 = *pbVar13 == *pbVar14;" (assignment_expression "bVar16 = *pbVar13 == *pbVar14" identifier = (binary_expression "*pbVar13 == *pbVar14" (pointer_expression "*pbVar13" * identifier) == (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar17 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar17 * -2" identifier + (binary_expression "(ulong)bVar17 * -2" (cast_expression "(ulong)bVar17" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1" identifier = (binary_expression "pbVar14 + (ulong)bVar17 * -2 + 1" (binary_expression "pbVar14 + (ulong)bVar17 * -2" identifier + (binary_expression "(ulong)bVar17 * -2" (cast_expression "(ulong)bVar17" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (if_statement "if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;" if (parenthesized_expression "((!bVar15 && !bVar16) != bVar15)" ( (binary_expression "(!bVar15 && !bVar16) != bVar15" (parenthesized_expression "(!bVar15 && !bVar16)" ( (binary_expression "!bVar15 && !bVar16" (unary_expression "!bVar15" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_003244b8;" goto statement_identifier ;)) (if_statement "if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n        *param_2 = (long)(__s + iVar6);\n      }" { (expression_statement "*param_2 = (long)(__s + iVar6);" (assignment_expression "*param_2 = (long)(__s + iVar6)" (pointer_expression "*param_2" * identifier) = (cast_expression "(long)(__s + iVar6)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(__s + iVar6)" ( (binary_expression "__s + iVar6" identifier + identifier) )))) ;) }) (else_clause "else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }" else (compound_statement "{\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }" { (expression_statement "FUN_00320bb0(param_4,__s);" (call_expression "FUN_00320bb0(param_4,__s)" identifier (argument_list "(param_4,__s)" ( identifier , identifier ))) ;) (expression_statement "*param_2 = *param_2 + (long)local_7c;" (assignment_expression "*param_2 = *param_2 + (long)local_7c" (pointer_expression "*param_2" * identifier) = (binary_expression "*param_2 + (long)local_7c" (pointer_expression "*param_2" * identifier) + (cast_expression "(long)local_7c" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) }))) (expression_statement "iVar6 = FUN_00320420(param_2,&local_7c);" (assignment_expression "iVar6 = FUN_00320420(param_2,&local_7c)" identifier = (call_expression "FUN_00320420(param_2,&local_7c)" identifier (argument_list "(param_2,&local_7c)" ( identifier , (pointer_expression "&local_7c" & identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_8c = param_5;" (assignment_expression "local_8c = param_5" identifier = identifier) ;) (if_statement "if (0 < local_7c) goto LAB_00324078;" if (parenthesized_expression "(0 < local_7c)" ( (binary_expression "0 < local_7c" number_literal < identifier) )) (goto_statement "goto LAB_00324078;" goto statement_identifier ;)) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00323ff8:\n      FUN_00320c60(param_3,"[]");" statement_identifier : (expression_statement "FUN_00320c60(param_3,"[]");" (call_expression "FUN_00320c60(param_3,"[]")" identifier (argument_list "(param_3,"[]")" ( identifier , (string_literal ""[]"" " string_content ") ))) ;)) (goto_statement "goto LAB_0032422d;" goto statement_identifier ;) })) (expression_statement "*param_2 = lVar12 + 2;" (assignment_expression "*param_2 = lVar12 + 2" (pointer_expression "*param_2" * identifier) = (binary_expression "lVar12 + 2" identifier + number_literal)) ;) (if_statement "if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }" if (parenthesized_expression "(*(char *)(lVar12 + 2) == '\0')" ( (binary_expression "*(char *)(lVar12 + 2) == '\0'" (pointer_expression "*(char *)(lVar12 + 2)" * (cast_expression "(char *)(lVar12 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + 2)" ( (binary_expression "lVar12 + 2" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*param_2 = lVar12 + 3;" (assignment_expression "*param_2 = lVar12 + 3" (pointer_expression "*param_2" * identifier) = (binary_expression "lVar12 + 3" identifier + number_literal)) ;) (expression_statement "iVar6 = FUN_00320920(param_2);" (assignment_expression "iVar6 = FUN_00320920(param_2)" identifier = (call_expression "FUN_00320920(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar6 == -1) {\n      return 0;\n    }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }" if (parenthesized_expression "((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6))" ( (binary_expression "(*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)" (parenthesized_expression "(*(long *)(param_1 + 0x50) != 0)" ( (binary_expression "*(long *)(param_1 + 0x50) != 0" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0x58) <= iVar6)" ( (binary_expression "*(int *)(param_1 + 0x58) <= iVar6" (pointer_expression "*(int *)(param_1 + 0x58)" * (cast_expression "(int *)(param_1 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) <= identifier) ))) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar7 = FUN_00320920(param_2);" (assignment_expression "iVar7 = FUN_00320920(param_2)" identifier = (call_expression "FUN_00320920(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar7 == -1) {\n      return 0;\n    }" if (parenthesized_expression "(iVar7 == -1)" ( (binary_expression "iVar7 == -1" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }" if (parenthesized_expression "(*(long *)(param_1 + 0x50) == 0)" ( (binary_expression "*(long *)(param_1 + 0x50) == 0" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }" { (expression_statement "FUN_00320ca0(param_3,iVar6);" (call_expression "FUN_00320ca0(param_3,iVar6)" identifier (argument_list "(param_3,iVar6)" ( identifier , identifier ))) ;) (if_statement "if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_00320ca0(param_4,iVar6);\n      }" { (expression_statement "FUN_00320ca0(param_4,iVar6);" (call_expression "FUN_00320ca0(param_4,iVar6)" identifier (argument_list "(param_4,iVar6)" ( identifier , identifier ))) ;) })) }) (else_clause "else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }" else (compound_statement "{\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }" { (expression_statement "pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);" (assignment_expression "pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" identifier = (pointer_expression "*(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" * (cast_expression "(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + (long)iVar6 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "(long)iVar6 * 8" (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) ))))) ;) (if_statement "if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }" if (parenthesized_expression "((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0'))))" ( (binary_expression "(((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))" (parenthesized_expression "(((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))" ( (binary_expression "((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0)" (parenthesized_expression "((pcVar3 != (char *)0x0) && (*pcVar3 != '\0'))" ( (binary_expression "(pcVar3 != (char *)0x0) && (*pcVar3 != '\0')" (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*pcVar3 != '\0')" ( (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(FUN_00320c60(param_3), param_4 != 0)" ( (comma_expression "FUN_00320c60(param_3), param_4 != 0" (call_expression "FUN_00320c60(param_3)" identifier (argument_list "(param_3)" ( identifier ))) , (binary_expression "param_4 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))" ( (parenthesized_expression "(pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0'))" ( (comma_expression "pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')" (assignment_expression "pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" identifier = (pointer_expression "*(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" * (cast_expression "(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + (long)iVar6 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "(long)iVar6 * 8" (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) ))))) , (binary_expression "pcVar3 != (char *)0x0 && (*pcVar3 != '\0')" (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && (parenthesized_expression "(*pcVar3 != '\0')" ( (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )))) )) ))) )) (compound_statement "{\n        FUN_00320c60(param_4);\n      }" { (expression_statement "FUN_00320c60(param_4);" (call_expression "FUN_00320c60(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) })) }))) (labeled_statement "LAB_003242d0:\n    FUN_00320c60(param_3,"<");" statement_identifier : (expression_statement "FUN_00320c60(param_3,"<");" (call_expression "FUN_00320c60(param_3,"<")" identifier (argument_list "(param_3,"<")" ( identifier , (string_literal ""<"" " string_content ") ))) ;)) (expression_statement "iVar6 = FUN_00320420(param_2,&local_7c);" (assignment_expression "iVar6 = FUN_00320420(param_2,&local_7c)" identifier = (call_expression "FUN_00320420(param_2,&local_7c)" identifier (argument_list "(param_2,&local_7c)" ( identifier , (pointer_expression "&local_7c" & identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (0 < local_7c) goto LAB_00324070;" if (parenthesized_expression "(0 < local_7c)" ( (binary_expression "0 < local_7c" number_literal < identifier) )) (goto_statement "goto LAB_00324070;" goto statement_identifier ;)) (labeled_statement "LAB_00324300:\n    iVar6 = 0;" statement_identifier : (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;)) }))) (if_statement "if (*(char *)((long)param_3[1] + -1) == '>') {\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }" if (parenthesized_expression "(*(char *)((long)param_3[1] + -1) == '>')" ( (binary_expression "*(char *)((long)param_3[1] + -1) == '>'" (pointer_expression "*(char *)((long)param_3[1] + -1)" * (cast_expression "(char *)((long)param_3[1] + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_3[1] + -1)" ( (binary_expression "(long)param_3[1] + -1" (cast_expression "(long)param_3[1]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) + number_literal) )))) == (char_literal "'>'" ' character ')) )) (compound_statement "{\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }" { (expression_statement "FUN_00320c60(param_3,&DAT_003f45df);" (call_expression "FUN_00320c60(param_3,&DAT_003f45df)" identifier (argument_list "(param_3,&DAT_003f45df)" ( identifier , (pointer_expression "&DAT_003f45df" & identifier) ))) ;) })) (expression_statement "FUN_00320c60(param_3,&DAT_003fc99b);" (call_expression "FUN_00320c60(param_3,&DAT_003fc99b)" identifier (argument_list "(param_3,&DAT_003fc99b)" ( identifier , (pointer_expression "&DAT_003fc99b" & identifier) ))) ;) (labeled_statement "LAB_0032422d:\n  if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }" statement_identifier : (if_statement "if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }" if (parenthesized_expression "((param_6 & param_5) != 0)" ( (binary_expression "(param_6 & param_5) != 0" (parenthesized_expression "(param_6 & param_5)" ( (binary_expression "param_6 & param_5" identifier & identifier) )) != number_literal) )) (compound_statement "{\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }" { (expression_statement "uVar5 = FUN_00320660(param_1);" (assignment_expression "uVar5 = FUN_00320660(param_1)" identifier = (call_expression "FUN_00320660(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "pvVar2 = *param_3;" (assignment_expression "pvVar2 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }" if (parenthesized_expression "(pvVar2 != param_3[1])" ( (binary_expression "pvVar2 != param_3[1]" identifier != (subscript_expression "param_3[1]" identifier [ number_literal ])) )) (compound_statement "{\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }" { (expression_statement "iVar7 = (int)param_3[1] - (int)pvVar2;" (assignment_expression "iVar7 = (int)param_3[1] - (int)pvVar2" identifier = (binary_expression "(int)param_3[1] - (int)pvVar2" (cast_expression "(int)param_3[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) - (cast_expression "(int)pvVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (expression_statement "FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);" (call_expression "FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5)" identifier (argument_list "(param_1 + 0x18,pvVar2,iVar7,uVar5)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) , identifier , identifier , identifier ))) ;) }))) (return_statement "return iVar6;" return identifier ;) })))
(translation_unit "int demangle_template(work_stuff *work,char **mangled,string *tname,string *trawname,int is_type,\n                     int remember)\n\n{\n  char **ppcVar1;\n  byte *__s;\n  type_kind_t tk;\n  int index;\n  int iVar2;\n  int iVar3;\n  char **ppcVar4;\n  string *s;\n  size_t sVar5;\n  char *pcVar6;\n  long lVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  int local_8c;\n  int r;\n  string temp;\n  string param;\n  \n  bVar12 = 0;\n  pcVar6 = *mangled;\n  *mangled = pcVar6 + 1;\n  if (is_type == 0) {\n    string_append(tname,"<");\n    iVar2 = get_count(mangled,&r);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    ppcVar4 = (char **)xmalloc((long)r << 3);\n    work->tmpl_argvec = ppcVar4;\n    work->ntmpl_args = r;\n    if (r < 1) goto LAB_00324300;\n    ppcVar1 = ppcVar4 + (ulong)(r - 1) + 1;\n    do {\n      *ppcVar4 = (char *)0x0;\n      ppcVar4 = ppcVar4 + 1;\n    } while (ppcVar1 != ppcVar4);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    s = &param;\n    if (is_type != 0) {\n      s = tname;\n    }\n    lVar7 = 0;\n    while( true ) {\n      pcVar6 = *mangled;\n      if (*pcVar6 == 'Z') break;\n      if (*pcVar6 == 'z') {\n        *mangled = pcVar6 + 1;\n        iVar2 = demangle_template_template_parm(work,mangled,tname);\n        if (iVar2 != 0) {\n          iVar3 = consume_count(mangled);\n          if ((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)) {\n            string_append(tname," ");\n            string_appendn(tname,*mangled,iVar3);\n            sVar5 = (size_t)iVar3;\n            if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }\n            *mangled = *mangled + sVar5;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      tk = do_type(work,mangled,&temp);\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      if (tk == tk_none) goto LAB_00324201;\n      if (is_type == 0) {\n        param.e = (char *)0x0;\n        param.p = (char *)0x0;\n        param.b = (char *)0x0;\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) {\n          if (param.b != (char *)0x0) {\n            free(param.b);\n          }\n          goto LAB_00324201;\n        }\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)param.p - (int)param.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],param.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n        string_appends(tname,&param,(string *)param.p);\n        if (param.b != (char *)0x0) {\n          free(param.b);\n        }\n      }\n      else {\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar7 = lVar7 + 1;\n      if (r <= (int)lVar7) goto LAB_00324204;\n      string_append(tname,", ");\n    }\n    *mangled = pcVar6 + 1;\n    iVar2 = do_type(work,mangled,&temp);\n    if (iVar2 != 0) {\n      string_appends(tname,&temp,(string *)temp.p);\n      if (is_type == 0) {\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)temp.p - (int)temp.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],temp.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n      }\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (temp.b == (char *)0x0) {\nLAB_00324201:\n      iVar2 = 0;\n    }\n    else {\n      free(temp.b);\n      temp.p = (char *)0x0;\n      temp.e = (char *)0x0;\n      temp.b = (char *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (pcVar6[1] != 'z') {\n      iVar2 = consume_count(mangled);\n      if (iVar2 < 1) {\n        return 0;\n      }\n      __s = (byte *)*mangled;\n      r = iVar2;\n      sVar5 = strlen((char *)__s);\n      if ((int)sVar5 < iVar2) {\n        return 0;\n      }\n      bVar10 = false;\n      bVar11 = (work->options & 4) == 0;\n      if (bVar11) {\nLAB_003244b8:\n        string_appendn(tname,(char *)__s,iVar2);\n        if (trawname != (string *)0x0) {\n          if (r == 0) goto LAB_003242d0;\n          string_appendn(trawname,*mangled,r);\n        }\n        *mangled = *mangled + r;\n        goto LAB_003242d0;\n      }\n      lVar7 = 8;\n      pbVar8 = __s;\n      pbVar9 = (byte *)"JArray1Z";\n      do {\n        if (lVar7 == 0) break;\n        lVar7 = lVar7 + -1;\n        bVar10 = *pbVar8 < *pbVar9;\n        bVar11 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        pbVar9 = pbVar9 + (ulong)bVar12 * -2 + 1;\n      } while (bVar11);\n      if ((!bVar10 && !bVar11) != bVar10) goto LAB_003244b8;\n      if (trawname == (string *)0x0) {\n        *mangled = (char *)(__s + iVar2);\n      }\n      else {\n        string_appendn(trawname,(char *)__s,iVar2);\n        *mangled = *mangled + r;\n      }\n      iVar2 = get_count(mangled,&r);\n      if (iVar2 == 0) {\n        return 0;\n      }\n      local_8c = is_type;\n      if (0 < r) goto LAB_00324078;\n      iVar2 = 0;\nLAB_00323ff8:\n      string_append(tname,"[]");\n      goto LAB_0032422d;\n    }\n    *mangled = pcVar6 + 2;\n    if (pcVar6[2] == '\0') {\n      return 0;\n    }\n    *mangled = pcVar6 + 3;\n    iVar2 = consume_count_with_underscores(mangled);\n    if (iVar2 == -1) {\n      return 0;\n    }\n    if ((work->tmpl_argvec != (char **)0x0) && (work->ntmpl_args <= iVar2)) {\n      return 0;\n    }\n    iVar3 = consume_count_with_underscores(mangled);\n    if (iVar3 == -1) {\n      return 0;\n    }\n    if (work->tmpl_argvec == (char **)0x0) {\n      string_append_template_idx(tname,iVar2);\n      if (trawname != (string *)0x0) {\n        string_append_template_idx(trawname,iVar2);\n      }\n    }\n    else {\n      pcVar6 = work->tmpl_argvec[iVar2];\n      if ((((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0)) &&\n         ((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')))) {\n        string_append(trawname,pcVar6);\n      }\n    }\nLAB_003242d0:\n    string_append(tname,"<");\n    iVar2 = get_count(mangled,&r);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    if (0 < r) goto LAB_00324070;\nLAB_00324300:\n    iVar2 = 0;\n  }\n  if (tname->p[-1] == '>') {\n    string_append(tname," ");\n  }\n  string_append(tname,">");\nLAB_0032422d:\n  if ((remember & is_type) != 0) {\n    index = register_Btype(work);\n    pcVar6 = tname->b;\n    iVar3 = 0;\n    if (pcVar6 != tname->p) {\n      iVar3 = (int)tname->p - (int)pcVar6;\n    }\n    remember_Btype((work_stuff *)&work->btypevec,pcVar6,iVar3,index);\n  }\n  return iVar2;\n}\n\n" (function_definition "int demangle_template(work_stuff *work,char **mangled,string *tname,string *trawname,int is_type,\n                     int remember)\n\n{\n  char **ppcVar1;\n  byte *__s;\n  type_kind_t tk;\n  int index;\n  int iVar2;\n  int iVar3;\n  char **ppcVar4;\n  string *s;\n  size_t sVar5;\n  char *pcVar6;\n  long lVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  int local_8c;\n  int r;\n  string temp;\n  string param;\n  \n  bVar12 = 0;\n  pcVar6 = *mangled;\n  *mangled = pcVar6 + 1;\n  if (is_type == 0) {\n    string_append(tname,"<");\n    iVar2 = get_count(mangled,&r);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    ppcVar4 = (char **)xmalloc((long)r << 3);\n    work->tmpl_argvec = ppcVar4;\n    work->ntmpl_args = r;\n    if (r < 1) goto LAB_00324300;\n    ppcVar1 = ppcVar4 + (ulong)(r - 1) + 1;\n    do {\n      *ppcVar4 = (char *)0x0;\n      ppcVar4 = ppcVar4 + 1;\n    } while (ppcVar1 != ppcVar4);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    s = &param;\n    if (is_type != 0) {\n      s = tname;\n    }\n    lVar7 = 0;\n    while( true ) {\n      pcVar6 = *mangled;\n      if (*pcVar6 == 'Z') break;\n      if (*pcVar6 == 'z') {\n        *mangled = pcVar6 + 1;\n        iVar2 = demangle_template_template_parm(work,mangled,tname);\n        if (iVar2 != 0) {\n          iVar3 = consume_count(mangled);\n          if ((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)) {\n            string_append(tname," ");\n            string_appendn(tname,*mangled,iVar3);\n            sVar5 = (size_t)iVar3;\n            if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }\n            *mangled = *mangled + sVar5;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      tk = do_type(work,mangled,&temp);\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      if (tk == tk_none) goto LAB_00324201;\n      if (is_type == 0) {\n        param.e = (char *)0x0;\n        param.p = (char *)0x0;\n        param.b = (char *)0x0;\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) {\n          if (param.b != (char *)0x0) {\n            free(param.b);\n          }\n          goto LAB_00324201;\n        }\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)param.p - (int)param.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],param.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n        string_appends(tname,&param,(string *)param.p);\n        if (param.b != (char *)0x0) {\n          free(param.b);\n        }\n      }\n      else {\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar7 = lVar7 + 1;\n      if (r <= (int)lVar7) goto LAB_00324204;\n      string_append(tname,", ");\n    }\n    *mangled = pcVar6 + 1;\n    iVar2 = do_type(work,mangled,&temp);\n    if (iVar2 != 0) {\n      string_appends(tname,&temp,(string *)temp.p);\n      if (is_type == 0) {\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)temp.p - (int)temp.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],temp.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n      }\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (temp.b == (char *)0x0) {\nLAB_00324201:\n      iVar2 = 0;\n    }\n    else {\n      free(temp.b);\n      temp.p = (char *)0x0;\n      temp.e = (char *)0x0;\n      temp.b = (char *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (pcVar6[1] != 'z') {\n      iVar2 = consume_count(mangled);\n      if (iVar2 < 1) {\n        return 0;\n      }\n      __s = (byte *)*mangled;\n      r = iVar2;\n      sVar5 = strlen((char *)__s);\n      if ((int)sVar5 < iVar2) {\n        return 0;\n      }\n      bVar10 = false;\n      bVar11 = (work->options & 4) == 0;\n      if (bVar11) {\nLAB_003244b8:\n        string_appendn(tname,(char *)__s,iVar2);\n        if (trawname != (string *)0x0) {\n          if (r == 0) goto LAB_003242d0;\n          string_appendn(trawname,*mangled,r);\n        }\n        *mangled = *mangled + r;\n        goto LAB_003242d0;\n      }\n      lVar7 = 8;\n      pbVar8 = __s;\n      pbVar9 = (byte *)"JArray1Z";\n      do {\n        if (lVar7 == 0) break;\n        lVar7 = lVar7 + -1;\n        bVar10 = *pbVar8 < *pbVar9;\n        bVar11 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        pbVar9 = pbVar9 + (ulong)bVar12 * -2 + 1;\n      } while (bVar11);\n      if ((!bVar10 && !bVar11) != bVar10) goto LAB_003244b8;\n      if (trawname == (string *)0x0) {\n        *mangled = (char *)(__s + iVar2);\n      }\n      else {\n        string_appendn(trawname,(char *)__s,iVar2);\n        *mangled = *mangled + r;\n      }\n      iVar2 = get_count(mangled,&r);\n      if (iVar2 == 0) {\n        return 0;\n      }\n      local_8c = is_type;\n      if (0 < r) goto LAB_00324078;\n      iVar2 = 0;\nLAB_00323ff8:\n      string_append(tname,"[]");\n      goto LAB_0032422d;\n    }\n    *mangled = pcVar6 + 2;\n    if (pcVar6[2] == '\0') {\n      return 0;\n    }\n    *mangled = pcVar6 + 3;\n    iVar2 = consume_count_with_underscores(mangled);\n    if (iVar2 == -1) {\n      return 0;\n    }\n    if ((work->tmpl_argvec != (char **)0x0) && (work->ntmpl_args <= iVar2)) {\n      return 0;\n    }\n    iVar3 = consume_count_with_underscores(mangled);\n    if (iVar3 == -1) {\n      return 0;\n    }\n    if (work->tmpl_argvec == (char **)0x0) {\n      string_append_template_idx(tname,iVar2);\n      if (trawname != (string *)0x0) {\n        string_append_template_idx(trawname,iVar2);\n      }\n    }\n    else {\n      pcVar6 = work->tmpl_argvec[iVar2];\n      if ((((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0)) &&\n         ((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')))) {\n        string_append(trawname,pcVar6);\n      }\n    }\nLAB_003242d0:\n    string_append(tname,"<");\n    iVar2 = get_count(mangled,&r);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    if (0 < r) goto LAB_00324070;\nLAB_00324300:\n    iVar2 = 0;\n  }\n  if (tname->p[-1] == '>') {\n    string_append(tname," ");\n  }\n  string_append(tname,">");\nLAB_0032422d:\n  if ((remember & is_type) != 0) {\n    index = register_Btype(work);\n    pcVar6 = tname->b;\n    iVar3 = 0;\n    if (pcVar6 != tname->p) {\n      iVar3 = (int)tname->p - (int)pcVar6;\n    }\n    remember_Btype((work_stuff *)&work->btypevec,pcVar6,iVar3,index);\n  }\n  return iVar2;\n}" primitive_type (function_declarator "demangle_template(work_stuff *work,char **mangled,string *tname,string *trawname,int is_type,\n                     int remember)" identifier (parameter_list "(work_stuff *work,char **mangled,string *tname,string *trawname,int is_type,\n                     int remember)" ( (parameter_declaration "work_stuff *work" type_identifier (pointer_declarator "*work" * identifier)) , (parameter_declaration "char **mangled" primitive_type (pointer_declarator "**mangled" * (pointer_declarator "*mangled" * identifier))) , (parameter_declaration "string *tname" type_identifier (pointer_declarator "*tname" * identifier)) , (parameter_declaration "string *trawname" type_identifier (pointer_declarator "*trawname" * identifier)) , (parameter_declaration "int is_type" primitive_type identifier) , (parameter_declaration "int remember" primitive_type identifier) ))) (compound_statement "{\n  char **ppcVar1;\n  byte *__s;\n  type_kind_t tk;\n  int index;\n  int iVar2;\n  int iVar3;\n  char **ppcVar4;\n  string *s;\n  size_t sVar5;\n  char *pcVar6;\n  long lVar7;\n  byte *pbVar8;\n  byte *pbVar9;\n  bool bVar10;\n  bool bVar11;\n  byte bVar12;\n  int local_8c;\n  int r;\n  string temp;\n  string param;\n  \n  bVar12 = 0;\n  pcVar6 = *mangled;\n  *mangled = pcVar6 + 1;\n  if (is_type == 0) {\n    string_append(tname,"<");\n    iVar2 = get_count(mangled,&r);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    ppcVar4 = (char **)xmalloc((long)r << 3);\n    work->tmpl_argvec = ppcVar4;\n    work->ntmpl_args = r;\n    if (r < 1) goto LAB_00324300;\n    ppcVar1 = ppcVar4 + (ulong)(r - 1) + 1;\n    do {\n      *ppcVar4 = (char *)0x0;\n      ppcVar4 = ppcVar4 + 1;\n    } while (ppcVar1 != ppcVar4);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    s = &param;\n    if (is_type != 0) {\n      s = tname;\n    }\n    lVar7 = 0;\n    while( true ) {\n      pcVar6 = *mangled;\n      if (*pcVar6 == 'Z') break;\n      if (*pcVar6 == 'z') {\n        *mangled = pcVar6 + 1;\n        iVar2 = demangle_template_template_parm(work,mangled,tname);\n        if (iVar2 != 0) {\n          iVar3 = consume_count(mangled);\n          if ((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)) {\n            string_append(tname," ");\n            string_appendn(tname,*mangled,iVar3);\n            sVar5 = (size_t)iVar3;\n            if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }\n            *mangled = *mangled + sVar5;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      tk = do_type(work,mangled,&temp);\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      if (tk == tk_none) goto LAB_00324201;\n      if (is_type == 0) {\n        param.e = (char *)0x0;\n        param.p = (char *)0x0;\n        param.b = (char *)0x0;\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) {\n          if (param.b != (char *)0x0) {\n            free(param.b);\n          }\n          goto LAB_00324201;\n        }\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)param.p - (int)param.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],param.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n        string_appends(tname,&param,(string *)param.p);\n        if (param.b != (char *)0x0) {\n          free(param.b);\n        }\n      }\n      else {\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar7 = lVar7 + 1;\n      if (r <= (int)lVar7) goto LAB_00324204;\n      string_append(tname,", ");\n    }\n    *mangled = pcVar6 + 1;\n    iVar2 = do_type(work,mangled,&temp);\n    if (iVar2 != 0) {\n      string_appends(tname,&temp,(string *)temp.p);\n      if (is_type == 0) {\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)temp.p - (int)temp.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],temp.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n      }\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (temp.b == (char *)0x0) {\nLAB_00324201:\n      iVar2 = 0;\n    }\n    else {\n      free(temp.b);\n      temp.p = (char *)0x0;\n      temp.e = (char *)0x0;\n      temp.b = (char *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (pcVar6[1] != 'z') {\n      iVar2 = consume_count(mangled);\n      if (iVar2 < 1) {\n        return 0;\n      }\n      __s = (byte *)*mangled;\n      r = iVar2;\n      sVar5 = strlen((char *)__s);\n      if ((int)sVar5 < iVar2) {\n        return 0;\n      }\n      bVar10 = false;\n      bVar11 = (work->options & 4) == 0;\n      if (bVar11) {\nLAB_003244b8:\n        string_appendn(tname,(char *)__s,iVar2);\n        if (trawname != (string *)0x0) {\n          if (r == 0) goto LAB_003242d0;\n          string_appendn(trawname,*mangled,r);\n        }\n        *mangled = *mangled + r;\n        goto LAB_003242d0;\n      }\n      lVar7 = 8;\n      pbVar8 = __s;\n      pbVar9 = (byte *)"JArray1Z";\n      do {\n        if (lVar7 == 0) break;\n        lVar7 = lVar7 + -1;\n        bVar10 = *pbVar8 < *pbVar9;\n        bVar11 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        pbVar9 = pbVar9 + (ulong)bVar12 * -2 + 1;\n      } while (bVar11);\n      if ((!bVar10 && !bVar11) != bVar10) goto LAB_003244b8;\n      if (trawname == (string *)0x0) {\n        *mangled = (char *)(__s + iVar2);\n      }\n      else {\n        string_appendn(trawname,(char *)__s,iVar2);\n        *mangled = *mangled + r;\n      }\n      iVar2 = get_count(mangled,&r);\n      if (iVar2 == 0) {\n        return 0;\n      }\n      local_8c = is_type;\n      if (0 < r) goto LAB_00324078;\n      iVar2 = 0;\nLAB_00323ff8:\n      string_append(tname,"[]");\n      goto LAB_0032422d;\n    }\n    *mangled = pcVar6 + 2;\n    if (pcVar6[2] == '\0') {\n      return 0;\n    }\n    *mangled = pcVar6 + 3;\n    iVar2 = consume_count_with_underscores(mangled);\n    if (iVar2 == -1) {\n      return 0;\n    }\n    if ((work->tmpl_argvec != (char **)0x0) && (work->ntmpl_args <= iVar2)) {\n      return 0;\n    }\n    iVar3 = consume_count_with_underscores(mangled);\n    if (iVar3 == -1) {\n      return 0;\n    }\n    if (work->tmpl_argvec == (char **)0x0) {\n      string_append_template_idx(tname,iVar2);\n      if (trawname != (string *)0x0) {\n        string_append_template_idx(trawname,iVar2);\n      }\n    }\n    else {\n      pcVar6 = work->tmpl_argvec[iVar2];\n      if ((((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0)) &&\n         ((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')))) {\n        string_append(trawname,pcVar6);\n      }\n    }\nLAB_003242d0:\n    string_append(tname,"<");\n    iVar2 = get_count(mangled,&r);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    if (0 < r) goto LAB_00324070;\nLAB_00324300:\n    iVar2 = 0;\n  }\n  if (tname->p[-1] == '>') {\n    string_append(tname," ");\n  }\n  string_append(tname,">");\nLAB_0032422d:\n  if ((remember & is_type) != 0) {\n    index = register_Btype(work);\n    pcVar6 = tname->b;\n    iVar3 = 0;\n    if (pcVar6 != tname->p) {\n      iVar3 = (int)tname->p - (int)pcVar6;\n    }\n    remember_Btype((work_stuff *)&work->btypevec,pcVar6,iVar3,index);\n  }\n  return iVar2;\n}" { (declaration "char **ppcVar1;" primitive_type (pointer_declarator "**ppcVar1" * (pointer_declarator "*ppcVar1" * identifier)) ;) (declaration "byte *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "type_kind_t tk;" type_identifier identifier ;) (declaration "int index;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char **ppcVar4;" primitive_type (pointer_declarator "**ppcVar4" * (pointer_declarator "*ppcVar4" * identifier)) ;) (declaration "string *s;" type_identifier (pointer_declarator "*s" * identifier) ;) (declaration "size_t sVar5;" primitive_type identifier ;) (declaration "char *pcVar6;" primitive_type (pointer_declarator "*pcVar6" * identifier) ;) (declaration "long lVar7;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar8;" type_identifier (pointer_declarator "*pbVar8" * identifier) ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "bool bVar10;" primitive_type identifier ;) (declaration "bool bVar11;" primitive_type identifier ;) (declaration "byte bVar12;" type_identifier identifier ;) (declaration "int local_8c;" primitive_type identifier ;) (declaration "int r;" primitive_type identifier ;) (declaration "string temp;" type_identifier identifier ;) (declaration "string param;" type_identifier identifier ;) (expression_statement "bVar12 = 0;" (assignment_expression "bVar12 = 0" identifier = number_literal) ;) (expression_statement "pcVar6 = *mangled;" (assignment_expression "pcVar6 = *mangled" identifier = (pointer_expression "*mangled" * identifier)) ;) (expression_statement "*mangled = pcVar6 + 1;" (assignment_expression "*mangled = pcVar6 + 1" (pointer_expression "*mangled" * identifier) = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (if_statement "if (is_type == 0) {\n    string_append(tname,"<");\n    iVar2 = get_count(mangled,&r);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    ppcVar4 = (char **)xmalloc((long)r << 3);\n    work->tmpl_argvec = ppcVar4;\n    work->ntmpl_args = r;\n    if (r < 1) goto LAB_00324300;\n    ppcVar1 = ppcVar4 + (ulong)(r - 1) + 1;\n    do {\n      *ppcVar4 = (char *)0x0;\n      ppcVar4 = ppcVar4 + 1;\n    } while (ppcVar1 != ppcVar4);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    s = &param;\n    if (is_type != 0) {\n      s = tname;\n    }\n    lVar7 = 0;\n    while( true ) {\n      pcVar6 = *mangled;\n      if (*pcVar6 == 'Z') break;\n      if (*pcVar6 == 'z') {\n        *mangled = pcVar6 + 1;\n        iVar2 = demangle_template_template_parm(work,mangled,tname);\n        if (iVar2 != 0) {\n          iVar3 = consume_count(mangled);\n          if ((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)) {\n            string_append(tname," ");\n            string_appendn(tname,*mangled,iVar3);\n            sVar5 = (size_t)iVar3;\n            if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }\n            *mangled = *mangled + sVar5;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      tk = do_type(work,mangled,&temp);\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      if (tk == tk_none) goto LAB_00324201;\n      if (is_type == 0) {\n        param.e = (char *)0x0;\n        param.p = (char *)0x0;\n        param.b = (char *)0x0;\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) {\n          if (param.b != (char *)0x0) {\n            free(param.b);\n          }\n          goto LAB_00324201;\n        }\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)param.p - (int)param.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],param.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n        string_appends(tname,&param,(string *)param.p);\n        if (param.b != (char *)0x0) {\n          free(param.b);\n        }\n      }\n      else {\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar7 = lVar7 + 1;\n      if (r <= (int)lVar7) goto LAB_00324204;\n      string_append(tname,", ");\n    }\n    *mangled = pcVar6 + 1;\n    iVar2 = do_type(work,mangled,&temp);\n    if (iVar2 != 0) {\n      string_appends(tname,&temp,(string *)temp.p);\n      if (is_type == 0) {\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)temp.p - (int)temp.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],temp.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n      }\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (temp.b == (char *)0x0) {\nLAB_00324201:\n      iVar2 = 0;\n    }\n    else {\n      free(temp.b);\n      temp.p = (char *)0x0;\n      temp.e = (char *)0x0;\n      temp.b = (char *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (pcVar6[1] != 'z') {\n      iVar2 = consume_count(mangled);\n      if (iVar2 < 1) {\n        return 0;\n      }\n      __s = (byte *)*mangled;\n      r = iVar2;\n      sVar5 = strlen((char *)__s);\n      if ((int)sVar5 < iVar2) {\n        return 0;\n      }\n      bVar10 = false;\n      bVar11 = (work->options & 4) == 0;\n      if (bVar11) {\nLAB_003244b8:\n        string_appendn(tname,(char *)__s,iVar2);\n        if (trawname != (string *)0x0) {\n          if (r == 0) goto LAB_003242d0;\n          string_appendn(trawname,*mangled,r);\n        }\n        *mangled = *mangled + r;\n        goto LAB_003242d0;\n      }\n      lVar7 = 8;\n      pbVar8 = __s;\n      pbVar9 = (byte *)"JArray1Z";\n      do {\n        if (lVar7 == 0) break;\n        lVar7 = lVar7 + -1;\n        bVar10 = *pbVar8 < *pbVar9;\n        bVar11 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        pbVar9 = pbVar9 + (ulong)bVar12 * -2 + 1;\n      } while (bVar11);\n      if ((!bVar10 && !bVar11) != bVar10) goto LAB_003244b8;\n      if (trawname == (string *)0x0) {\n        *mangled = (char *)(__s + iVar2);\n      }\n      else {\n        string_appendn(trawname,(char *)__s,iVar2);\n        *mangled = *mangled + r;\n      }\n      iVar2 = get_count(mangled,&r);\n      if (iVar2 == 0) {\n        return 0;\n      }\n      local_8c = is_type;\n      if (0 < r) goto LAB_00324078;\n      iVar2 = 0;\nLAB_00323ff8:\n      string_append(tname,"[]");\n      goto LAB_0032422d;\n    }\n    *mangled = pcVar6 + 2;\n    if (pcVar6[2] == '\0') {\n      return 0;\n    }\n    *mangled = pcVar6 + 3;\n    iVar2 = consume_count_with_underscores(mangled);\n    if (iVar2 == -1) {\n      return 0;\n    }\n    if ((work->tmpl_argvec != (char **)0x0) && (work->ntmpl_args <= iVar2)) {\n      return 0;\n    }\n    iVar3 = consume_count_with_underscores(mangled);\n    if (iVar3 == -1) {\n      return 0;\n    }\n    if (work->tmpl_argvec == (char **)0x0) {\n      string_append_template_idx(tname,iVar2);\n      if (trawname != (string *)0x0) {\n        string_append_template_idx(trawname,iVar2);\n      }\n    }\n    else {\n      pcVar6 = work->tmpl_argvec[iVar2];\n      if ((((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0)) &&\n         ((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')))) {\n        string_append(trawname,pcVar6);\n      }\n    }\nLAB_003242d0:\n    string_append(tname,"<");\n    iVar2 = get_count(mangled,&r);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    if (0 < r) goto LAB_00324070;\nLAB_00324300:\n    iVar2 = 0;\n  }" if (parenthesized_expression "(is_type == 0)" ( (binary_expression "is_type == 0" identifier == number_literal) )) (compound_statement "{\n    string_append(tname,"<");\n    iVar2 = get_count(mangled,&r);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    ppcVar4 = (char **)xmalloc((long)r << 3);\n    work->tmpl_argvec = ppcVar4;\n    work->ntmpl_args = r;\n    if (r < 1) goto LAB_00324300;\n    ppcVar1 = ppcVar4 + (ulong)(r - 1) + 1;\n    do {\n      *ppcVar4 = (char *)0x0;\n      ppcVar4 = ppcVar4 + 1;\n    } while (ppcVar1 != ppcVar4);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    s = &param;\n    if (is_type != 0) {\n      s = tname;\n    }\n    lVar7 = 0;\n    while( true ) {\n      pcVar6 = *mangled;\n      if (*pcVar6 == 'Z') break;\n      if (*pcVar6 == 'z') {\n        *mangled = pcVar6 + 1;\n        iVar2 = demangle_template_template_parm(work,mangled,tname);\n        if (iVar2 != 0) {\n          iVar3 = consume_count(mangled);\n          if ((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)) {\n            string_append(tname," ");\n            string_appendn(tname,*mangled,iVar3);\n            sVar5 = (size_t)iVar3;\n            if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }\n            *mangled = *mangled + sVar5;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      tk = do_type(work,mangled,&temp);\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      if (tk == tk_none) goto LAB_00324201;\n      if (is_type == 0) {\n        param.e = (char *)0x0;\n        param.p = (char *)0x0;\n        param.b = (char *)0x0;\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) {\n          if (param.b != (char *)0x0) {\n            free(param.b);\n          }\n          goto LAB_00324201;\n        }\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)param.p - (int)param.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],param.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n        string_appends(tname,&param,(string *)param.p);\n        if (param.b != (char *)0x0) {\n          free(param.b);\n        }\n      }\n      else {\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar7 = lVar7 + 1;\n      if (r <= (int)lVar7) goto LAB_00324204;\n      string_append(tname,", ");\n    }\n    *mangled = pcVar6 + 1;\n    iVar2 = do_type(work,mangled,&temp);\n    if (iVar2 != 0) {\n      string_appends(tname,&temp,(string *)temp.p);\n      if (is_type == 0) {\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)temp.p - (int)temp.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],temp.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n      }\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (temp.b == (char *)0x0) {\nLAB_00324201:\n      iVar2 = 0;\n    }\n    else {\n      free(temp.b);\n      temp.p = (char *)0x0;\n      temp.e = (char *)0x0;\n      temp.b = (char *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }" { (expression_statement "string_append(tname,"<");" (call_expression "string_append(tname,"<")" identifier (argument_list "(tname,"<")" ( identifier , (string_literal ""<"" " string_content ") ))) ;) (expression_statement "iVar2 = get_count(mangled,&r);" (assignment_expression "iVar2 = get_count(mangled,&r)" identifier = (call_expression "get_count(mangled,&r)" identifier (argument_list "(mangled,&r)" ( identifier , (pointer_expression "&r" & identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "ppcVar4 = (char **)xmalloc((long)r << 3);" (assignment_expression "ppcVar4 = (char **)xmalloc((long)r << 3)" identifier = (cast_expression "(char **)xmalloc((long)r << 3)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "xmalloc((long)r << 3)" identifier (argument_list "((long)r << 3)" ( (binary_expression "(long)r << 3" (cast_expression "(long)r" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) << number_literal) ))))) ;) (expression_statement "work->tmpl_argvec = ppcVar4;" (assignment_expression "work->tmpl_argvec = ppcVar4" (field_expression "work->tmpl_argvec" identifier -> field_identifier) = identifier) ;) (expression_statement "work->ntmpl_args = r;" (assignment_expression "work->ntmpl_args = r" (field_expression "work->ntmpl_args" identifier -> field_identifier) = identifier) ;) (if_statement "if (r < 1) goto LAB_00324300;" if (parenthesized_expression "(r < 1)" ( (binary_expression "r < 1" identifier < number_literal) )) (goto_statement "goto LAB_00324300;" goto statement_identifier ;)) (expression_statement "ppcVar1 = ppcVar4 + (ulong)(r - 1) + 1;" (assignment_expression "ppcVar1 = ppcVar4 + (ulong)(r - 1) + 1" identifier = (binary_expression "ppcVar4 + (ulong)(r - 1) + 1" (binary_expression "ppcVar4 + (ulong)(r - 1)" identifier + (call_expression "(ulong)(r - 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(r - 1)" ( (binary_expression "r - 1" identifier - number_literal) )))) + number_literal)) ;) (do_statement "do {\n      *ppcVar4 = (char *)0x0;\n      ppcVar4 = ppcVar4 + 1;\n    } while (ppcVar1 != ppcVar4);" do (compound_statement "{\n      *ppcVar4 = (char *)0x0;\n      ppcVar4 = ppcVar4 + 1;\n    }" { (expression_statement "*ppcVar4 = (char *)0x0;" (assignment_expression "*ppcVar4 = (char *)0x0" (pointer_expression "*ppcVar4" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ppcVar4 = ppcVar4 + 1;" (assignment_expression "ppcVar4 = ppcVar4 + 1" identifier = (binary_expression "ppcVar4 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(ppcVar1 != ppcVar4)" ( (binary_expression "ppcVar1 != ppcVar4" identifier != identifier) )) ;) (labeled_statement "LAB_00324070:\n    local_8c = 0;" statement_identifier : (expression_statement "local_8c = 0;" (assignment_expression "local_8c = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00324078:\n    s = &param;" statement_identifier : (expression_statement "s = &param;" (assignment_expression "s = &param" identifier = (pointer_expression "&param" & identifier)) ;)) (if_statement "if (is_type != 0) {\n      s = tname;\n    }" if (parenthesized_expression "(is_type != 0)" ( (binary_expression "is_type != 0" identifier != number_literal) )) (compound_statement "{\n      s = tname;\n    }" { (expression_statement "s = tname;" (assignment_expression "s = tname" identifier = identifier) ;) })) (expression_statement "lVar7 = 0;" (assignment_expression "lVar7 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n      pcVar6 = *mangled;\n      if (*pcVar6 == 'Z') break;\n      if (*pcVar6 == 'z') {\n        *mangled = pcVar6 + 1;\n        iVar2 = demangle_template_template_parm(work,mangled,tname);\n        if (iVar2 != 0) {\n          iVar3 = consume_count(mangled);\n          if ((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)) {\n            string_append(tname," ");\n            string_appendn(tname,*mangled,iVar3);\n            sVar5 = (size_t)iVar3;\n            if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }\n            *mangled = *mangled + sVar5;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      tk = do_type(work,mangled,&temp);\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      if (tk == tk_none) goto LAB_00324201;\n      if (is_type == 0) {\n        param.e = (char *)0x0;\n        param.p = (char *)0x0;\n        param.b = (char *)0x0;\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) {\n          if (param.b != (char *)0x0) {\n            free(param.b);\n          }\n          goto LAB_00324201;\n        }\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)param.p - (int)param.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],param.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n        string_appends(tname,&param,(string *)param.p);\n        if (param.b != (char *)0x0) {\n          free(param.b);\n        }\n      }\n      else {\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar7 = lVar7 + 1;\n      if (r <= (int)lVar7) goto LAB_00324204;\n      string_append(tname,", ");\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pcVar6 = *mangled;\n      if (*pcVar6 == 'Z') break;\n      if (*pcVar6 == 'z') {\n        *mangled = pcVar6 + 1;\n        iVar2 = demangle_template_template_parm(work,mangled,tname);\n        if (iVar2 != 0) {\n          iVar3 = consume_count(mangled);\n          if ((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)) {\n            string_append(tname," ");\n            string_appendn(tname,*mangled,iVar3);\n            sVar5 = (size_t)iVar3;\n            if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }\n            *mangled = *mangled + sVar5;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      tk = do_type(work,mangled,&temp);\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      if (tk == tk_none) goto LAB_00324201;\n      if (is_type == 0) {\n        param.e = (char *)0x0;\n        param.p = (char *)0x0;\n        param.b = (char *)0x0;\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) {\n          if (param.b != (char *)0x0) {\n            free(param.b);\n          }\n          goto LAB_00324201;\n        }\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)param.p - (int)param.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],param.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n        string_appends(tname,&param,(string *)param.p);\n        if (param.b != (char *)0x0) {\n          free(param.b);\n        }\n      }\n      else {\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar7 = lVar7 + 1;\n      if (r <= (int)lVar7) goto LAB_00324204;\n      string_append(tname,", ");\n    }" { (expression_statement "pcVar6 = *mangled;" (assignment_expression "pcVar6 = *mangled" identifier = (pointer_expression "*mangled" * identifier)) ;) (if_statement "if (*pcVar6 == 'Z') break;" if (parenthesized_expression "(*pcVar6 == 'Z')" ( (binary_expression "*pcVar6 == 'Z'" (pointer_expression "*pcVar6" * identifier) == (char_literal "'Z'" ' character ')) )) (break_statement "break;" break ;)) (if_statement "if (*pcVar6 == 'z') {\n        *mangled = pcVar6 + 1;\n        iVar2 = demangle_template_template_parm(work,mangled,tname);\n        if (iVar2 != 0) {\n          iVar3 = consume_count(mangled);\n          if ((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)) {\n            string_append(tname," ");\n            string_appendn(tname,*mangled,iVar3);\n            sVar5 = (size_t)iVar3;\n            if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }\n            *mangled = *mangled + sVar5;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }" if (parenthesized_expression "(*pcVar6 == 'z')" ( (binary_expression "*pcVar6 == 'z'" (pointer_expression "*pcVar6" * identifier) == (char_literal "'z'" ' character ')) )) (compound_statement "{\n        *mangled = pcVar6 + 1;\n        iVar2 = demangle_template_template_parm(work,mangled,tname);\n        if (iVar2 != 0) {\n          iVar3 = consume_count(mangled);\n          if ((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)) {\n            string_append(tname," ");\n            string_appendn(tname,*mangled,iVar3);\n            sVar5 = (size_t)iVar3;\n            if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }\n            *mangled = *mangled + sVar5;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }" { (expression_statement "*mangled = pcVar6 + 1;" (assignment_expression "*mangled = pcVar6 + 1" (pointer_expression "*mangled" * identifier) = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = demangle_template_template_parm(work,mangled,tname);" (assignment_expression "iVar2 = demangle_template_template_parm(work,mangled,tname)" identifier = (call_expression "demangle_template_template_parm(work,mangled,tname)" identifier (argument_list "(work,mangled,tname)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n          iVar3 = consume_count(mangled);\n          if ((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)) {\n            string_append(tname," ");\n            string_appendn(tname,*mangled,iVar3);\n            sVar5 = (size_t)iVar3;\n            if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }\n            *mangled = *mangled + sVar5;\n          }\n          goto LAB_003241b0;\n        }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar3 = consume_count(mangled);\n          if ((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)) {\n            string_append(tname," ");\n            string_appendn(tname,*mangled,iVar3);\n            sVar5 = (size_t)iVar3;\n            if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }\n            *mangled = *mangled + sVar5;\n          }\n          goto LAB_003241b0;\n        }" { (expression_statement "iVar3 = consume_count(mangled);" (assignment_expression "iVar3 = consume_count(mangled)" identifier = (call_expression "consume_count(mangled)" identifier (argument_list "(mangled)" ( identifier )))) ;) (if_statement "if ((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)) {\n            string_append(tname," ");\n            string_appendn(tname,*mangled,iVar3);\n            sVar5 = (size_t)iVar3;\n            if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }\n            *mangled = *mangled + sVar5;\n          }" if (parenthesized_expression "((0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5))" ( (binary_expression "(0 < iVar3) && (sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)" (parenthesized_expression "(0 < iVar3)" ( (binary_expression "0 < iVar3" number_literal < identifier) )) && (parenthesized_expression "(sVar5 = strlen(*mangled), iVar3 <= (int)sVar5)" ( (comma_expression "sVar5 = strlen(*mangled), iVar3 <= (int)sVar5" (assignment_expression "sVar5 = strlen(*mangled)" identifier = (call_expression "strlen(*mangled)" identifier (argument_list "(*mangled)" ( (pointer_expression "*mangled" * identifier) )))) , (binary_expression "iVar3 <= (int)sVar5" identifier <= (cast_expression "(int)sVar5" ( (type_descriptor "int" primitive_type) ) identifier))) ))) )) (compound_statement "{\n            string_append(tname," ");\n            string_appendn(tname,*mangled,iVar3);\n            sVar5 = (size_t)iVar3;\n            if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }\n            *mangled = *mangled + sVar5;\n          }" { (expression_statement "string_append(tname," ");" (call_expression "string_append(tname," ")" identifier (argument_list "(tname," ")" ( identifier , (string_literal "" "" " string_content ") ))) ;) (expression_statement "string_appendn(tname,*mangled,iVar3);" (call_expression "string_appendn(tname,*mangled,iVar3)" identifier (argument_list "(tname,*mangled,iVar3)" ( identifier , (pointer_expression "*mangled" * identifier) , identifier ))) ;) (expression_statement "sVar5 = (size_t)iVar3;" (assignment_expression "sVar5 = (size_t)iVar3" identifier = (cast_expression "(size_t)iVar3" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (if_statement "if (is_type == 0) {\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }" if (parenthesized_expression "(is_type == 0)" ( (binary_expression "is_type == 0" identifier == number_literal) )) (compound_statement "{\n              ppcVar4 = work->tmpl_argvec;\n              pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n              ppcVar4[lVar7] = pcVar6;\n              memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);\n              work->tmpl_argvec[lVar7][sVar5] = '\0';\n            }" { (expression_statement "ppcVar4 = work->tmpl_argvec;" (assignment_expression "ppcVar4 = work->tmpl_argvec" identifier = (field_expression "work->tmpl_argvec" identifier -> field_identifier)) ;) (expression_statement "pcVar6 = (char *)xmalloc((long)(iVar3 + 1));" (assignment_expression "pcVar6 = (char *)xmalloc((long)(iVar3 + 1))" identifier = (cast_expression "(char *)xmalloc((long)(iVar3 + 1))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((long)(iVar3 + 1))" identifier (argument_list "((long)(iVar3 + 1))" ( (cast_expression "(long)(iVar3 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) ))) ))))) ;) (expression_statement "ppcVar4[lVar7] = pcVar6;" (assignment_expression "ppcVar4[lVar7] = pcVar6" (subscript_expression "ppcVar4[lVar7]" identifier [ identifier ]) = identifier) ;) (expression_statement "memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5);" (call_expression "memcpy(work->tmpl_argvec[lVar7],*mangled,sVar5)" identifier (argument_list "(work->tmpl_argvec[lVar7],*mangled,sVar5)" ( (subscript_expression "work->tmpl_argvec[lVar7]" (field_expression "work->tmpl_argvec" identifier -> field_identifier) [ identifier ]) , (pointer_expression "*mangled" * identifier) , identifier ))) ;) (expression_statement "work->tmpl_argvec[lVar7][sVar5] = '\0';" (assignment_expression "work->tmpl_argvec[lVar7][sVar5] = '\0'" (subscript_expression "work->tmpl_argvec[lVar7][sVar5]" (subscript_expression "work->tmpl_argvec[lVar7]" (field_expression "work->tmpl_argvec" identifier -> field_identifier) [ identifier ]) [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (expression_statement "*mangled = *mangled + sVar5;" (assignment_expression "*mangled = *mangled + sVar5" (pointer_expression "*mangled" * identifier) = (binary_expression "*mangled + sVar5" (pointer_expression "*mangled" * identifier) + identifier)) ;) })) (goto_statement "goto LAB_003241b0;" goto statement_identifier ;) })) (goto_statement "goto LAB_00324201;" goto statement_identifier ;) })) (expression_statement "tk = do_type(work,mangled,&temp);" (assignment_expression "tk = do_type(work,mangled,&temp)" identifier = (call_expression "do_type(work,mangled,&temp)" identifier (argument_list "(work,mangled,&temp)" ( identifier , identifier , (pointer_expression "&temp" & identifier) )))) ;) (if_statement "if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }" if (parenthesized_expression "(temp.b != (char *)0x0)" ( (binary_expression "temp.b != (char *)0x0" (field_expression "temp.b" identifier . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }" { (expression_statement "free(temp.b);" (call_expression "free(temp.b)" identifier (argument_list "(temp.b)" ( (field_expression "temp.b" identifier . field_identifier) ))) ;) (expression_statement "temp.p = (char *)0x0;" (assignment_expression "temp.p = (char *)0x0" (field_expression "temp.p" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "temp.e = (char *)0x0;" (assignment_expression "temp.e = (char *)0x0" (field_expression "temp.e" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "temp.b = (char *)0x0;" (assignment_expression "temp.b = (char *)0x0" (field_expression "temp.b" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (if_statement "if (tk == tk_none) goto LAB_00324201;" if (parenthesized_expression "(tk == tk_none)" ( (binary_expression "tk == tk_none" identifier == identifier) )) (goto_statement "goto LAB_00324201;" goto statement_identifier ;)) (if_statement "if (is_type == 0) {\n        param.e = (char *)0x0;\n        param.p = (char *)0x0;\n        param.b = (char *)0x0;\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) {\n          if (param.b != (char *)0x0) {\n            free(param.b);\n          }\n          goto LAB_00324201;\n        }\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)param.p - (int)param.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],param.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n        string_appends(tname,&param,(string *)param.p);\n        if (param.b != (char *)0x0) {\n          free(param.b);\n        }\n      }\n      else {\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) goto LAB_00324201;\n      }" if (parenthesized_expression "(is_type == 0)" ( (binary_expression "is_type == 0" identifier == number_literal) )) (compound_statement "{\n        param.e = (char *)0x0;\n        param.p = (char *)0x0;\n        param.b = (char *)0x0;\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) {\n          if (param.b != (char *)0x0) {\n            free(param.b);\n          }\n          goto LAB_00324201;\n        }\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)param.p - (int)param.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],param.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n        string_appends(tname,&param,(string *)param.p);\n        if (param.b != (char *)0x0) {\n          free(param.b);\n        }\n      }" { (expression_statement "param.e = (char *)0x0;" (assignment_expression "param.e = (char *)0x0" (field_expression "param.e" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "param.p = (char *)0x0;" (assignment_expression "param.p = (char *)0x0" (field_expression "param.p" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "param.b = (char *)0x0;" (assignment_expression "param.b = (char *)0x0" (field_expression "param.b" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar2 = demangle_template_value_parm(work,mangled,s,tk);" (assignment_expression "iVar2 = demangle_template_value_parm(work,mangled,s,tk)" identifier = (call_expression "demangle_template_value_parm(work,mangled,s,tk)" identifier (argument_list "(work,mangled,s,tk)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          if (param.b != (char *)0x0) {\n            free(param.b);\n          }\n          goto LAB_00324201;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          if (param.b != (char *)0x0) {\n            free(param.b);\n          }\n          goto LAB_00324201;\n        }" { (if_statement "if (param.b != (char *)0x0) {\n            free(param.b);\n          }" if (parenthesized_expression "(param.b != (char *)0x0)" ( (binary_expression "param.b != (char *)0x0" (field_expression "param.b" identifier . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            free(param.b);\n          }" { (expression_statement "free(param.b);" (call_expression "free(param.b)" identifier (argument_list "(param.b)" ( (field_expression "param.b" identifier . field_identifier) ))) ;) })) (goto_statement "goto LAB_00324201;" goto statement_identifier ;) })) (expression_statement "ppcVar4 = work->tmpl_argvec;" (assignment_expression "ppcVar4 = work->tmpl_argvec" identifier = (field_expression "work->tmpl_argvec" identifier -> field_identifier)) ;) (expression_statement "iVar3 = (int)param.p - (int)param.b;" (assignment_expression "iVar3 = (int)param.p - (int)param.b" identifier = (binary_expression "(int)param.p - (int)param.b" (cast_expression "(int)param.p" ( (type_descriptor "int" primitive_type) ) (field_expression "param.p" identifier . field_identifier)) - (cast_expression "(int)param.b" ( (type_descriptor "int" primitive_type) ) (field_expression "param.b" identifier . field_identifier)))) ;) (expression_statement "pcVar6 = (char *)xmalloc((long)(iVar3 + 1));" (assignment_expression "pcVar6 = (char *)xmalloc((long)(iVar3 + 1))" identifier = (cast_expression "(char *)xmalloc((long)(iVar3 + 1))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((long)(iVar3 + 1))" identifier (argument_list "((long)(iVar3 + 1))" ( (cast_expression "(long)(iVar3 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) ))) ))))) ;) (expression_statement "ppcVar4[lVar7] = pcVar6;" (assignment_expression "ppcVar4[lVar7] = pcVar6" (subscript_expression "ppcVar4[lVar7]" identifier [ identifier ]) = identifier) ;) (expression_statement "memcpy(work->tmpl_argvec[lVar7],param.b,(long)iVar3);" (call_expression "memcpy(work->tmpl_argvec[lVar7],param.b,(long)iVar3)" identifier (argument_list "(work->tmpl_argvec[lVar7],param.b,(long)iVar3)" ( (subscript_expression "work->tmpl_argvec[lVar7]" (field_expression "work->tmpl_argvec" identifier -> field_identifier) [ identifier ]) , (field_expression "param.b" identifier . field_identifier) , (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ))) ;) (expression_statement "work->tmpl_argvec[lVar7][iVar3] = '\0';" (assignment_expression "work->tmpl_argvec[lVar7][iVar3] = '\0'" (subscript_expression "work->tmpl_argvec[lVar7][iVar3]" (subscript_expression "work->tmpl_argvec[lVar7]" (field_expression "work->tmpl_argvec" identifier -> field_identifier) [ identifier ]) [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "string_appends(tname,&param,(string *)param.p);" (call_expression "string_appends(tname,&param,(string *)param.p)" identifier (argument_list "(tname,&param,(string *)param.p)" ( identifier , (pointer_expression "&param" & identifier) , (cast_expression "(string *)param.p" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "param.p" identifier . field_identifier)) ))) ;) (if_statement "if (param.b != (char *)0x0) {\n          free(param.b);\n        }" if (parenthesized_expression "(param.b != (char *)0x0)" ( (binary_expression "param.b != (char *)0x0" (field_expression "param.b" identifier . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          free(param.b);\n        }" { (expression_statement "free(param.b);" (call_expression "free(param.b)" identifier (argument_list "(param.b)" ( (field_expression "param.b" identifier . field_identifier) ))) ;) })) }) (else_clause "else {\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) goto LAB_00324201;\n      }" else (compound_statement "{\n        iVar2 = demangle_template_value_parm(work,mangled,s,tk);\n        if (iVar2 == 0) goto LAB_00324201;\n      }" { (expression_statement "iVar2 = demangle_template_value_parm(work,mangled,s,tk);" (assignment_expression "iVar2 = demangle_template_value_parm(work,mangled,s,tk)" identifier = (call_expression "demangle_template_value_parm(work,mangled,s,tk)" identifier (argument_list "(work,mangled,s,tk)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) goto LAB_00324201;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00324201;" goto statement_identifier ;)) }))) (labeled_statement "LAB_003241b0:\n      lVar7 = lVar7 + 1;" statement_identifier : (expression_statement "lVar7 = lVar7 + 1;" (assignment_expression "lVar7 = lVar7 + 1" identifier = (binary_expression "lVar7 + 1" identifier + number_literal)) ;)) (if_statement "if (r <= (int)lVar7) goto LAB_00324204;" if (parenthesized_expression "(r <= (int)lVar7)" ( (binary_expression "r <= (int)lVar7" identifier <= (cast_expression "(int)lVar7" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_00324204;" goto statement_identifier ;)) (expression_statement "string_append(tname,", ");" (call_expression "string_append(tname,", ")" identifier (argument_list "(tname,", ")" ( identifier , (string_literal "", "" " string_content ") ))) ;) })) (expression_statement "*mangled = pcVar6 + 1;" (assignment_expression "*mangled = pcVar6 + 1" (pointer_expression "*mangled" * identifier) = (binary_expression "pcVar6 + 1" identifier + number_literal)) ;) (expression_statement "iVar2 = do_type(work,mangled,&temp);" (assignment_expression "iVar2 = do_type(work,mangled,&temp)" identifier = (call_expression "do_type(work,mangled,&temp)" identifier (argument_list "(work,mangled,&temp)" ( identifier , identifier , (pointer_expression "&temp" & identifier) )))) ;) (if_statement "if (iVar2 != 0) {\n      string_appends(tname,&temp,(string *)temp.p);\n      if (is_type == 0) {\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)temp.p - (int)temp.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],temp.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n      }\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      goto LAB_003241b0;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      string_appends(tname,&temp,(string *)temp.p);\n      if (is_type == 0) {\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)temp.p - (int)temp.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],temp.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n      }\n      if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }\n      goto LAB_003241b0;\n    }" { (expression_statement "string_appends(tname,&temp,(string *)temp.p);" (call_expression "string_appends(tname,&temp,(string *)temp.p)" identifier (argument_list "(tname,&temp,(string *)temp.p)" ( identifier , (pointer_expression "&temp" & identifier) , (cast_expression "(string *)temp.p" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "temp.p" identifier . field_identifier)) ))) ;) (if_statement "if (is_type == 0) {\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)temp.p - (int)temp.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],temp.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n      }" if (parenthesized_expression "(is_type == 0)" ( (binary_expression "is_type == 0" identifier == number_literal) )) (compound_statement "{\n        ppcVar4 = work->tmpl_argvec;\n        iVar3 = (int)temp.p - (int)temp.b;\n        pcVar6 = (char *)xmalloc((long)(iVar3 + 1));\n        ppcVar4[lVar7] = pcVar6;\n        memcpy(work->tmpl_argvec[lVar7],temp.b,(long)iVar3);\n        work->tmpl_argvec[lVar7][iVar3] = '\0';\n      }" { (expression_statement "ppcVar4 = work->tmpl_argvec;" (assignment_expression "ppcVar4 = work->tmpl_argvec" identifier = (field_expression "work->tmpl_argvec" identifier -> field_identifier)) ;) (expression_statement "iVar3 = (int)temp.p - (int)temp.b;" (assignment_expression "iVar3 = (int)temp.p - (int)temp.b" identifier = (binary_expression "(int)temp.p - (int)temp.b" (cast_expression "(int)temp.p" ( (type_descriptor "int" primitive_type) ) (field_expression "temp.p" identifier . field_identifier)) - (cast_expression "(int)temp.b" ( (type_descriptor "int" primitive_type) ) (field_expression "temp.b" identifier . field_identifier)))) ;) (expression_statement "pcVar6 = (char *)xmalloc((long)(iVar3 + 1));" (assignment_expression "pcVar6 = (char *)xmalloc((long)(iVar3 + 1))" identifier = (cast_expression "(char *)xmalloc((long)(iVar3 + 1))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc((long)(iVar3 + 1))" identifier (argument_list "((long)(iVar3 + 1))" ( (cast_expression "(long)(iVar3 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar3 + 1)" ( (binary_expression "iVar3 + 1" identifier + number_literal) ))) ))))) ;) (expression_statement "ppcVar4[lVar7] = pcVar6;" (assignment_expression "ppcVar4[lVar7] = pcVar6" (subscript_expression "ppcVar4[lVar7]" identifier [ identifier ]) = identifier) ;) (expression_statement "memcpy(work->tmpl_argvec[lVar7],temp.b,(long)iVar3);" (call_expression "memcpy(work->tmpl_argvec[lVar7],temp.b,(long)iVar3)" identifier (argument_list "(work->tmpl_argvec[lVar7],temp.b,(long)iVar3)" ( (subscript_expression "work->tmpl_argvec[lVar7]" (field_expression "work->tmpl_argvec" identifier -> field_identifier) [ identifier ]) , (field_expression "temp.b" identifier . field_identifier) , (cast_expression "(long)iVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ))) ;) (expression_statement "work->tmpl_argvec[lVar7][iVar3] = '\0';" (assignment_expression "work->tmpl_argvec[lVar7][iVar3] = '\0'" (subscript_expression "work->tmpl_argvec[lVar7][iVar3]" (subscript_expression "work->tmpl_argvec[lVar7]" (field_expression "work->tmpl_argvec" identifier -> field_identifier) [ identifier ]) [ identifier ]) = (char_literal "'\0'" ' escape_sequence ')) ;) })) (if_statement "if (temp.b != (char *)0x0) {\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }" if (parenthesized_expression "(temp.b != (char *)0x0)" ( (binary_expression "temp.b != (char *)0x0" (field_expression "temp.b" identifier . field_identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(temp.b);\n        temp.p = (char *)0x0;\n        temp.e = (char *)0x0;\n        temp.b = (char *)0x0;\n      }" { (expression_statement "free(temp.b);" (call_expression "free(temp.b)" identifier (argument_list "(temp.b)" ( (field_expression "temp.b" identifier . field_identifier) ))) ;) (expression_statement "temp.p = (char *)0x0;" (assignment_expression "temp.p = (char *)0x0" (field_expression "temp.p" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "temp.e = (char *)0x0;" (assignment_expression "temp.e = (char *)0x0" (field_expression "temp.e" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "temp.b = (char *)0x0;" (assignment_expression "temp.b = (char *)0x0" (field_expression "temp.b" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (goto_statement "goto LAB_003241b0;" goto statement_identifier ;) })) (if_statement "if (temp.b == (char *)0x0) {\nLAB_00324201:\n      iVar2 = 0;\n    }\n    else {\n      free(temp.b);\n      temp.p = (char *)0x0;\n      temp.e = (char *)0x0;\n      temp.b = (char *)0x0;\n    }" if (parenthesized_expression "(temp.b == (char *)0x0)" ( (binary_expression "temp.b == (char *)0x0" (field_expression "temp.b" identifier . field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00324201:\n      iVar2 = 0;\n    }" { (labeled_statement "LAB_00324201:\n      iVar2 = 0;" statement_identifier : (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n      free(temp.b);\n      temp.p = (char *)0x0;\n      temp.e = (char *)0x0;\n      temp.b = (char *)0x0;\n    }" else (compound_statement "{\n      free(temp.b);\n      temp.p = (char *)0x0;\n      temp.e = (char *)0x0;\n      temp.b = (char *)0x0;\n    }" { (expression_statement "free(temp.b);" (call_expression "free(temp.b)" identifier (argument_list "(temp.b)" ( (field_expression "temp.b" identifier . field_identifier) ))) ;) (expression_statement "temp.p = (char *)0x0;" (assignment_expression "temp.p = (char *)0x0" (field_expression "temp.p" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "temp.e = (char *)0x0;" (assignment_expression "temp.e = (char *)0x0" (field_expression "temp.e" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "temp.b = (char *)0x0;" (assignment_expression "temp.b = (char *)0x0" (field_expression "temp.b" identifier . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (labeled_statement "LAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;" statement_identifier : (if_statement "if (local_8c != 0) goto LAB_00323ff8;" if (parenthesized_expression "(local_8c != 0)" ( (binary_expression "local_8c != 0" identifier != number_literal) )) (goto_statement "goto LAB_00323ff8;" goto statement_identifier ;))) }) (else_clause "else {\n    if (pcVar6[1] != 'z') {\n      iVar2 = consume_count(mangled);\n      if (iVar2 < 1) {\n        return 0;\n      }\n      __s = (byte *)*mangled;\n      r = iVar2;\n      sVar5 = strlen((char *)__s);\n      if ((int)sVar5 < iVar2) {\n        return 0;\n      }\n      bVar10 = false;\n      bVar11 = (work->options & 4) == 0;\n      if (bVar11) {\nLAB_003244b8:\n        string_appendn(tname,(char *)__s,iVar2);\n        if (trawname != (string *)0x0) {\n          if (r == 0) goto LAB_003242d0;\n          string_appendn(trawname,*mangled,r);\n        }\n        *mangled = *mangled + r;\n        goto LAB_003242d0;\n      }\n      lVar7 = 8;\n      pbVar8 = __s;\n      pbVar9 = (byte *)"JArray1Z";\n      do {\n        if (lVar7 == 0) break;\n        lVar7 = lVar7 + -1;\n        bVar10 = *pbVar8 < *pbVar9;\n        bVar11 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        pbVar9 = pbVar9 + (ulong)bVar12 * -2 + 1;\n      } while (bVar11);\n      if ((!bVar10 && !bVar11) != bVar10) goto LAB_003244b8;\n      if (trawname == (string *)0x0) {\n        *mangled = (char *)(__s + iVar2);\n      }\n      else {\n        string_appendn(trawname,(char *)__s,iVar2);\n        *mangled = *mangled + r;\n      }\n      iVar2 = get_count(mangled,&r);\n      if (iVar2 == 0) {\n        return 0;\n      }\n      local_8c = is_type;\n      if (0 < r) goto LAB_00324078;\n      iVar2 = 0;\nLAB_00323ff8:\n      string_append(tname,"[]");\n      goto LAB_0032422d;\n    }\n    *mangled = pcVar6 + 2;\n    if (pcVar6[2] == '\0') {\n      return 0;\n    }\n    *mangled = pcVar6 + 3;\n    iVar2 = consume_count_with_underscores(mangled);\n    if (iVar2 == -1) {\n      return 0;\n    }\n    if ((work->tmpl_argvec != (char **)0x0) && (work->ntmpl_args <= iVar2)) {\n      return 0;\n    }\n    iVar3 = consume_count_with_underscores(mangled);\n    if (iVar3 == -1) {\n      return 0;\n    }\n    if (work->tmpl_argvec == (char **)0x0) {\n      string_append_template_idx(tname,iVar2);\n      if (trawname != (string *)0x0) {\n        string_append_template_idx(trawname,iVar2);\n      }\n    }\n    else {\n      pcVar6 = work->tmpl_argvec[iVar2];\n      if ((((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0)) &&\n         ((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')))) {\n        string_append(trawname,pcVar6);\n      }\n    }\nLAB_003242d0:\n    string_append(tname,"<");\n    iVar2 = get_count(mangled,&r);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    if (0 < r) goto LAB_00324070;\nLAB_00324300:\n    iVar2 = 0;\n  }" else (compound_statement "{\n    if (pcVar6[1] != 'z') {\n      iVar2 = consume_count(mangled);\n      if (iVar2 < 1) {\n        return 0;\n      }\n      __s = (byte *)*mangled;\n      r = iVar2;\n      sVar5 = strlen((char *)__s);\n      if ((int)sVar5 < iVar2) {\n        return 0;\n      }\n      bVar10 = false;\n      bVar11 = (work->options & 4) == 0;\n      if (bVar11) {\nLAB_003244b8:\n        string_appendn(tname,(char *)__s,iVar2);\n        if (trawname != (string *)0x0) {\n          if (r == 0) goto LAB_003242d0;\n          string_appendn(trawname,*mangled,r);\n        }\n        *mangled = *mangled + r;\n        goto LAB_003242d0;\n      }\n      lVar7 = 8;\n      pbVar8 = __s;\n      pbVar9 = (byte *)"JArray1Z";\n      do {\n        if (lVar7 == 0) break;\n        lVar7 = lVar7 + -1;\n        bVar10 = *pbVar8 < *pbVar9;\n        bVar11 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        pbVar9 = pbVar9 + (ulong)bVar12 * -2 + 1;\n      } while (bVar11);\n      if ((!bVar10 && !bVar11) != bVar10) goto LAB_003244b8;\n      if (trawname == (string *)0x0) {\n        *mangled = (char *)(__s + iVar2);\n      }\n      else {\n        string_appendn(trawname,(char *)__s,iVar2);\n        *mangled = *mangled + r;\n      }\n      iVar2 = get_count(mangled,&r);\n      if (iVar2 == 0) {\n        return 0;\n      }\n      local_8c = is_type;\n      if (0 < r) goto LAB_00324078;\n      iVar2 = 0;\nLAB_00323ff8:\n      string_append(tname,"[]");\n      goto LAB_0032422d;\n    }\n    *mangled = pcVar6 + 2;\n    if (pcVar6[2] == '\0') {\n      return 0;\n    }\n    *mangled = pcVar6 + 3;\n    iVar2 = consume_count_with_underscores(mangled);\n    if (iVar2 == -1) {\n      return 0;\n    }\n    if ((work->tmpl_argvec != (char **)0x0) && (work->ntmpl_args <= iVar2)) {\n      return 0;\n    }\n    iVar3 = consume_count_with_underscores(mangled);\n    if (iVar3 == -1) {\n      return 0;\n    }\n    if (work->tmpl_argvec == (char **)0x0) {\n      string_append_template_idx(tname,iVar2);\n      if (trawname != (string *)0x0) {\n        string_append_template_idx(trawname,iVar2);\n      }\n    }\n    else {\n      pcVar6 = work->tmpl_argvec[iVar2];\n      if ((((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0)) &&\n         ((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')))) {\n        string_append(trawname,pcVar6);\n      }\n    }\nLAB_003242d0:\n    string_append(tname,"<");\n    iVar2 = get_count(mangled,&r);\n    if (iVar2 == 0) {\n      return 0;\n    }\n    if (0 < r) goto LAB_00324070;\nLAB_00324300:\n    iVar2 = 0;\n  }" { (if_statement "if (pcVar6[1] != 'z') {\n      iVar2 = consume_count(mangled);\n      if (iVar2 < 1) {\n        return 0;\n      }\n      __s = (byte *)*mangled;\n      r = iVar2;\n      sVar5 = strlen((char *)__s);\n      if ((int)sVar5 < iVar2) {\n        return 0;\n      }\n      bVar10 = false;\n      bVar11 = (work->options & 4) == 0;\n      if (bVar11) {\nLAB_003244b8:\n        string_appendn(tname,(char *)__s,iVar2);\n        if (trawname != (string *)0x0) {\n          if (r == 0) goto LAB_003242d0;\n          string_appendn(trawname,*mangled,r);\n        }\n        *mangled = *mangled + r;\n        goto LAB_003242d0;\n      }\n      lVar7 = 8;\n      pbVar8 = __s;\n      pbVar9 = (byte *)"JArray1Z";\n      do {\n        if (lVar7 == 0) break;\n        lVar7 = lVar7 + -1;\n        bVar10 = *pbVar8 < *pbVar9;\n        bVar11 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        pbVar9 = pbVar9 + (ulong)bVar12 * -2 + 1;\n      } while (bVar11);\n      if ((!bVar10 && !bVar11) != bVar10) goto LAB_003244b8;\n      if (trawname == (string *)0x0) {\n        *mangled = (char *)(__s + iVar2);\n      }\n      else {\n        string_appendn(trawname,(char *)__s,iVar2);\n        *mangled = *mangled + r;\n      }\n      iVar2 = get_count(mangled,&r);\n      if (iVar2 == 0) {\n        return 0;\n      }\n      local_8c = is_type;\n      if (0 < r) goto LAB_00324078;\n      iVar2 = 0;\nLAB_00323ff8:\n      string_append(tname,"[]");\n      goto LAB_0032422d;\n    }" if (parenthesized_expression "(pcVar6[1] != 'z')" ( (binary_expression "pcVar6[1] != 'z'" (subscript_expression "pcVar6[1]" identifier [ number_literal ]) != (char_literal "'z'" ' character ')) )) (compound_statement "{\n      iVar2 = consume_count(mangled);\n      if (iVar2 < 1) {\n        return 0;\n      }\n      __s = (byte *)*mangled;\n      r = iVar2;\n      sVar5 = strlen((char *)__s);\n      if ((int)sVar5 < iVar2) {\n        return 0;\n      }\n      bVar10 = false;\n      bVar11 = (work->options & 4) == 0;\n      if (bVar11) {\nLAB_003244b8:\n        string_appendn(tname,(char *)__s,iVar2);\n        if (trawname != (string *)0x0) {\n          if (r == 0) goto LAB_003242d0;\n          string_appendn(trawname,*mangled,r);\n        }\n        *mangled = *mangled + r;\n        goto LAB_003242d0;\n      }\n      lVar7 = 8;\n      pbVar8 = __s;\n      pbVar9 = (byte *)"JArray1Z";\n      do {\n        if (lVar7 == 0) break;\n        lVar7 = lVar7 + -1;\n        bVar10 = *pbVar8 < *pbVar9;\n        bVar11 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        pbVar9 = pbVar9 + (ulong)bVar12 * -2 + 1;\n      } while (bVar11);\n      if ((!bVar10 && !bVar11) != bVar10) goto LAB_003244b8;\n      if (trawname == (string *)0x0) {\n        *mangled = (char *)(__s + iVar2);\n      }\n      else {\n        string_appendn(trawname,(char *)__s,iVar2);\n        *mangled = *mangled + r;\n      }\n      iVar2 = get_count(mangled,&r);\n      if (iVar2 == 0) {\n        return 0;\n      }\n      local_8c = is_type;\n      if (0 < r) goto LAB_00324078;\n      iVar2 = 0;\nLAB_00323ff8:\n      string_append(tname,"[]");\n      goto LAB_0032422d;\n    }" { (expression_statement "iVar2 = consume_count(mangled);" (assignment_expression "iVar2 = consume_count(mangled)" identifier = (call_expression "consume_count(mangled)" identifier (argument_list "(mangled)" ( identifier )))) ;) (if_statement "if (iVar2 < 1) {\n        return 0;\n      }" if (parenthesized_expression "(iVar2 < 1)" ( (binary_expression "iVar2 < 1" identifier < number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "__s = (byte *)*mangled;" (assignment_expression "__s = (byte *)*mangled" identifier = (cast_expression "(byte *)*mangled" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*mangled" * identifier))) ;) (expression_statement "r = iVar2;" (assignment_expression "r = iVar2" identifier = identifier) ;) (expression_statement "sVar5 = strlen((char *)__s);" (assignment_expression "sVar5 = strlen((char *)__s)" identifier = (call_expression "strlen((char *)__s)" identifier (argument_list "((char *)__s)" ( (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if ((int)sVar5 < iVar2) {\n        return 0;\n      }" if (parenthesized_expression "((int)sVar5 < iVar2)" ( (binary_expression "(int)sVar5 < iVar2" (cast_expression "(int)sVar5" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar10 = false;" (assignment_expression "bVar10 = false" identifier = false) ;) (expression_statement "bVar11 = (work->options & 4) == 0;" (assignment_expression "bVar11 = (work->options & 4) == 0" identifier = (binary_expression "(work->options & 4) == 0" (parenthesized_expression "(work->options & 4)" ( (binary_expression "work->options & 4" (field_expression "work->options" identifier -> field_identifier) & number_literal) )) == number_literal)) ;) (if_statement "if (bVar11) {\nLAB_003244b8:\n        string_appendn(tname,(char *)__s,iVar2);\n        if (trawname != (string *)0x0) {\n          if (r == 0) goto LAB_003242d0;\n          string_appendn(trawname,*mangled,r);\n        }\n        *mangled = *mangled + r;\n        goto LAB_003242d0;\n      }" if (parenthesized_expression "(bVar11)" ( identifier )) (compound_statement "{\nLAB_003244b8:\n        string_appendn(tname,(char *)__s,iVar2);\n        if (trawname != (string *)0x0) {\n          if (r == 0) goto LAB_003242d0;\n          string_appendn(trawname,*mangled,r);\n        }\n        *mangled = *mangled + r;\n        goto LAB_003242d0;\n      }" { (labeled_statement "LAB_003244b8:\n        string_appendn(tname,(char *)__s,iVar2);" statement_identifier : (expression_statement "string_appendn(tname,(char *)__s,iVar2);" (call_expression "string_appendn(tname,(char *)__s,iVar2)" identifier (argument_list "(tname,(char *)__s,iVar2)" ( identifier , (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;)) (if_statement "if (trawname != (string *)0x0) {\n          if (r == 0) goto LAB_003242d0;\n          string_appendn(trawname,*mangled,r);\n        }" if (parenthesized_expression "(trawname != (string *)0x0)" ( (binary_expression "trawname != (string *)0x0" identifier != (cast_expression "(string *)0x0" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          if (r == 0) goto LAB_003242d0;\n          string_appendn(trawname,*mangled,r);\n        }" { (if_statement "if (r == 0) goto LAB_003242d0;" if (parenthesized_expression "(r == 0)" ( (binary_expression "r == 0" identifier == number_literal) )) (goto_statement "goto LAB_003242d0;" goto statement_identifier ;)) (expression_statement "string_appendn(trawname,*mangled,r);" (call_expression "string_appendn(trawname,*mangled,r)" identifier (argument_list "(trawname,*mangled,r)" ( identifier , (pointer_expression "*mangled" * identifier) , identifier ))) ;) })) (expression_statement "*mangled = *mangled + r;" (assignment_expression "*mangled = *mangled + r" (pointer_expression "*mangled" * identifier) = (binary_expression "*mangled + r" (pointer_expression "*mangled" * identifier) + identifier)) ;) (goto_statement "goto LAB_003242d0;" goto statement_identifier ;) })) (expression_statement "lVar7 = 8;" (assignment_expression "lVar7 = 8" identifier = number_literal) ;) (expression_statement "pbVar8 = __s;" (assignment_expression "pbVar8 = __s" identifier = identifier) ;) (expression_statement "pbVar9 = (byte *)"JArray1Z";" (assignment_expression "pbVar9 = (byte *)"JArray1Z"" identifier = (cast_expression "(byte *)"JArray1Z"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""JArray1Z"" " string_content "))) ;) (do_statement "do {\n        if (lVar7 == 0) break;\n        lVar7 = lVar7 + -1;\n        bVar10 = *pbVar8 < *pbVar9;\n        bVar11 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        pbVar9 = pbVar9 + (ulong)bVar12 * -2 + 1;\n      } while (bVar11);" do (compound_statement "{\n        if (lVar7 == 0) break;\n        lVar7 = lVar7 + -1;\n        bVar10 = *pbVar8 < *pbVar9;\n        bVar11 = *pbVar8 == *pbVar9;\n        pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;\n        pbVar9 = pbVar9 + (ulong)bVar12 * -2 + 1;\n      }" { (if_statement "if (lVar7 == 0) break;" if (parenthesized_expression "(lVar7 == 0)" ( (binary_expression "lVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar7 = lVar7 + -1;" (assignment_expression "lVar7 = lVar7 + -1" identifier = (binary_expression "lVar7 + -1" identifier + number_literal)) ;) (expression_statement "bVar10 = *pbVar8 < *pbVar9;" (assignment_expression "bVar10 = *pbVar8 < *pbVar9" identifier = (binary_expression "*pbVar8 < *pbVar9" (pointer_expression "*pbVar8" * identifier) < (pointer_expression "*pbVar9" * identifier))) ;) (expression_statement "bVar11 = *pbVar8 == *pbVar9;" (assignment_expression "bVar11 = *pbVar8 == *pbVar9" identifier = (binary_expression "*pbVar8 == *pbVar9" (pointer_expression "*pbVar8" * identifier) == (pointer_expression "*pbVar9" * identifier))) ;) (expression_statement "pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1;" (assignment_expression "pbVar8 = pbVar8 + (ulong)bVar12 * -2 + 1" identifier = (binary_expression "pbVar8 + (ulong)bVar12 * -2 + 1" (binary_expression "pbVar8 + (ulong)bVar12 * -2" identifier + (binary_expression "(ulong)bVar12 * -2" (cast_expression "(ulong)bVar12" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar9 = pbVar9 + (ulong)bVar12 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (ulong)bVar12 * -2 + 1" identifier = (binary_expression "pbVar9 + (ulong)bVar12 * -2 + 1" (binary_expression "pbVar9 + (ulong)bVar12 * -2" identifier + (binary_expression "(ulong)bVar12 * -2" (cast_expression "(ulong)bVar12" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar11)" ( identifier )) ;) (if_statement "if ((!bVar10 && !bVar11) != bVar10) goto LAB_003244b8;" if (parenthesized_expression "((!bVar10 && !bVar11) != bVar10)" ( (binary_expression "(!bVar10 && !bVar11) != bVar10" (parenthesized_expression "(!bVar10 && !bVar11)" ( (binary_expression "!bVar10 && !bVar11" (unary_expression "!bVar10" ! identifier) && (unary_expression "!bVar11" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_003244b8;" goto statement_identifier ;)) (if_statement "if (trawname == (string *)0x0) {\n        *mangled = (char *)(__s + iVar2);\n      }\n      else {\n        string_appendn(trawname,(char *)__s,iVar2);\n        *mangled = *mangled + r;\n      }" if (parenthesized_expression "(trawname == (string *)0x0)" ( (binary_expression "trawname == (string *)0x0" identifier == (cast_expression "(string *)0x0" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *mangled = (char *)(__s + iVar2);\n      }" { (expression_statement "*mangled = (char *)(__s + iVar2);" (assignment_expression "*mangled = (char *)(__s + iVar2)" (pointer_expression "*mangled" * identifier) = (cast_expression "(char *)(__s + iVar2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(__s + iVar2)" ( (binary_expression "__s + iVar2" identifier + identifier) )))) ;) }) (else_clause "else {\n        string_appendn(trawname,(char *)__s,iVar2);\n        *mangled = *mangled + r;\n      }" else (compound_statement "{\n        string_appendn(trawname,(char *)__s,iVar2);\n        *mangled = *mangled + r;\n      }" { (expression_statement "string_appendn(trawname,(char *)__s,iVar2);" (call_expression "string_appendn(trawname,(char *)__s,iVar2)" identifier (argument_list "(trawname,(char *)__s,iVar2)" ( identifier , (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;) (expression_statement "*mangled = *mangled + r;" (assignment_expression "*mangled = *mangled + r" (pointer_expression "*mangled" * identifier) = (binary_expression "*mangled + r" (pointer_expression "*mangled" * identifier) + identifier)) ;) }))) (expression_statement "iVar2 = get_count(mangled,&r);" (assignment_expression "iVar2 = get_count(mangled,&r)" identifier = (call_expression "get_count(mangled,&r)" identifier (argument_list "(mangled,&r)" ( identifier , (pointer_expression "&r" & identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_8c = is_type;" (assignment_expression "local_8c = is_type" identifier = identifier) ;) (if_statement "if (0 < r) goto LAB_00324078;" if (parenthesized_expression "(0 < r)" ( (binary_expression "0 < r" number_literal < identifier) )) (goto_statement "goto LAB_00324078;" goto statement_identifier ;)) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00323ff8:\n      string_append(tname,"[]");" statement_identifier : (expression_statement "string_append(tname,"[]");" (call_expression "string_append(tname,"[]")" identifier (argument_list "(tname,"[]")" ( identifier , (string_literal ""[]"" " string_content ") ))) ;)) (goto_statement "goto LAB_0032422d;" goto statement_identifier ;) })) (expression_statement "*mangled = pcVar6 + 2;" (assignment_expression "*mangled = pcVar6 + 2" (pointer_expression "*mangled" * identifier) = (binary_expression "pcVar6 + 2" identifier + number_literal)) ;) (if_statement "if (pcVar6[2] == '\0') {\n      return 0;\n    }" if (parenthesized_expression "(pcVar6[2] == '\0')" ( (binary_expression "pcVar6[2] == '\0'" (subscript_expression "pcVar6[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*mangled = pcVar6 + 3;" (assignment_expression "*mangled = pcVar6 + 3" (pointer_expression "*mangled" * identifier) = (binary_expression "pcVar6 + 3" identifier + number_literal)) ;) (expression_statement "iVar2 = consume_count_with_underscores(mangled);" (assignment_expression "iVar2 = consume_count_with_underscores(mangled)" identifier = (call_expression "consume_count_with_underscores(mangled)" identifier (argument_list "(mangled)" ( identifier )))) ;) (if_statement "if (iVar2 == -1) {\n      return 0;\n    }" if (parenthesized_expression "(iVar2 == -1)" ( (binary_expression "iVar2 == -1" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((work->tmpl_argvec != (char **)0x0) && (work->ntmpl_args <= iVar2)) {\n      return 0;\n    }" if (parenthesized_expression "((work->tmpl_argvec != (char **)0x0) && (work->ntmpl_args <= iVar2))" ( (binary_expression "(work->tmpl_argvec != (char **)0x0) && (work->ntmpl_args <= iVar2)" (parenthesized_expression "(work->tmpl_argvec != (char **)0x0)" ( (binary_expression "work->tmpl_argvec != (char **)0x0" (field_expression "work->tmpl_argvec" identifier -> field_identifier) != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) && (parenthesized_expression "(work->ntmpl_args <= iVar2)" ( (binary_expression "work->ntmpl_args <= iVar2" (field_expression "work->ntmpl_args" identifier -> field_identifier) <= identifier) ))) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = consume_count_with_underscores(mangled);" (assignment_expression "iVar3 = consume_count_with_underscores(mangled)" identifier = (call_expression "consume_count_with_underscores(mangled)" identifier (argument_list "(mangled)" ( identifier )))) ;) (if_statement "if (iVar3 == -1) {\n      return 0;\n    }" if (parenthesized_expression "(iVar3 == -1)" ( (binary_expression "iVar3 == -1" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (work->tmpl_argvec == (char **)0x0) {\n      string_append_template_idx(tname,iVar2);\n      if (trawname != (string *)0x0) {\n        string_append_template_idx(trawname,iVar2);\n      }\n    }\n    else {\n      pcVar6 = work->tmpl_argvec[iVar2];\n      if ((((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0)) &&\n         ((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')))) {\n        string_append(trawname,pcVar6);\n      }\n    }" if (parenthesized_expression "(work->tmpl_argvec == (char **)0x0)" ( (binary_expression "work->tmpl_argvec == (char **)0x0" (field_expression "work->tmpl_argvec" identifier -> field_identifier) == (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n      string_append_template_idx(tname,iVar2);\n      if (trawname != (string *)0x0) {\n        string_append_template_idx(trawname,iVar2);\n      }\n    }" { (expression_statement "string_append_template_idx(tname,iVar2);" (call_expression "string_append_template_idx(tname,iVar2)" identifier (argument_list "(tname,iVar2)" ( identifier , identifier ))) ;) (if_statement "if (trawname != (string *)0x0) {\n        string_append_template_idx(trawname,iVar2);\n      }" if (parenthesized_expression "(trawname != (string *)0x0)" ( (binary_expression "trawname != (string *)0x0" identifier != (cast_expression "(string *)0x0" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        string_append_template_idx(trawname,iVar2);\n      }" { (expression_statement "string_append_template_idx(trawname,iVar2);" (call_expression "string_append_template_idx(trawname,iVar2)" identifier (argument_list "(trawname,iVar2)" ( identifier , identifier ))) ;) })) }) (else_clause "else {\n      pcVar6 = work->tmpl_argvec[iVar2];\n      if ((((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0)) &&\n         ((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')))) {\n        string_append(trawname,pcVar6);\n      }\n    }" else (compound_statement "{\n      pcVar6 = work->tmpl_argvec[iVar2];\n      if ((((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0)) &&\n         ((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')))) {\n        string_append(trawname,pcVar6);\n      }\n    }" { (expression_statement "pcVar6 = work->tmpl_argvec[iVar2];" (assignment_expression "pcVar6 = work->tmpl_argvec[iVar2]" identifier = (subscript_expression "work->tmpl_argvec[iVar2]" (field_expression "work->tmpl_argvec" identifier -> field_identifier) [ identifier ])) ;) (if_statement "if ((((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0)) &&\n         ((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')))) {\n        string_append(trawname,pcVar6);\n      }" if (parenthesized_expression "((((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0)) &&\n         ((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0'))))" ( (binary_expression "(((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0)) &&\n         ((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')))" (parenthesized_expression "(((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0))" ( (binary_expression "((pcVar6 != (char *)0x0) && (*pcVar6 != '\0')) &&\n          (string_append(tname,pcVar6), trawname != (string *)0x0)" (parenthesized_expression "((pcVar6 != (char *)0x0) && (*pcVar6 != '\0'))" ( (binary_expression "(pcVar6 != (char *)0x0) && (*pcVar6 != '\0')" (parenthesized_expression "(pcVar6 != (char *)0x0)" ( (binary_expression "pcVar6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*pcVar6 != '\0')" ( (binary_expression "*pcVar6 != '\0'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(string_append(tname,pcVar6), trawname != (string *)0x0)" ( (comma_expression "string_append(tname,pcVar6), trawname != (string *)0x0" (call_expression "string_append(tname,pcVar6)" identifier (argument_list "(tname,pcVar6)" ( identifier , identifier ))) , (binary_expression "trawname != (string *)0x0" identifier != (cast_expression "(string *)0x0" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) && (parenthesized_expression "((pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')))" ( (parenthesized_expression "(pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0'))" ( (comma_expression "pcVar6 = work->tmpl_argvec[iVar2], pcVar6 != (char *)0x0 && (*pcVar6 != '\0')" (assignment_expression "pcVar6 = work->tmpl_argvec[iVar2]" identifier = (subscript_expression "work->tmpl_argvec[iVar2]" (field_expression "work->tmpl_argvec" identifier -> field_identifier) [ identifier ])) , (binary_expression "pcVar6 != (char *)0x0 && (*pcVar6 != '\0')" (binary_expression "pcVar6 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && (parenthesized_expression "(*pcVar6 != '\0')" ( (binary_expression "*pcVar6 != '\0'" (pointer_expression "*pcVar6" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )))) )) ))) )) (compound_statement "{\n        string_append(trawname,pcVar6);\n      }" { (expression_statement "string_append(trawname,pcVar6);" (call_expression "string_append(trawname,pcVar6)" identifier (argument_list "(trawname,pcVar6)" ( identifier , identifier ))) ;) })) }))) (labeled_statement "LAB_003242d0:\n    string_append(tname,"<");" statement_identifier : (expression_statement "string_append(tname,"<");" (call_expression "string_append(tname,"<")" identifier (argument_list "(tname,"<")" ( identifier , (string_literal ""<"" " string_content ") ))) ;)) (expression_statement "iVar2 = get_count(mangled,&r);" (assignment_expression "iVar2 = get_count(mangled,&r)" identifier = (call_expression "get_count(mangled,&r)" identifier (argument_list "(mangled,&r)" ( identifier , (pointer_expression "&r" & identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (0 < r) goto LAB_00324070;" if (parenthesized_expression "(0 < r)" ( (binary_expression "0 < r" number_literal < identifier) )) (goto_statement "goto LAB_00324070;" goto statement_identifier ;)) (labeled_statement "LAB_00324300:\n    iVar2 = 0;" statement_identifier : (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;)) }))) (if_statement "if (tname->p[-1] == '>') {\n    string_append(tname," ");\n  }" if (parenthesized_expression "(tname->p[-1] == '>')" ( (binary_expression "tname->p[-1] == '>'" (subscript_expression "tname->p[-1]" (field_expression "tname->p" identifier -> field_identifier) [ number_literal ]) == (char_literal "'>'" ' character ')) )) (compound_statement "{\n    string_append(tname," ");\n  }" { (expression_statement "string_append(tname," ");" (call_expression "string_append(tname," ")" identifier (argument_list "(tname," ")" ( identifier , (string_literal "" "" " string_content ") ))) ;) })) (expression_statement "string_append(tname,">");" (call_expression "string_append(tname,">")" identifier (argument_list "(tname,">")" ( identifier , (string_literal "">"" " string_content ") ))) ;) (labeled_statement "LAB_0032422d:\n  if ((remember & is_type) != 0) {\n    index = register_Btype(work);\n    pcVar6 = tname->b;\n    iVar3 = 0;\n    if (pcVar6 != tname->p) {\n      iVar3 = (int)tname->p - (int)pcVar6;\n    }\n    remember_Btype((work_stuff *)&work->btypevec,pcVar6,iVar3,index);\n  }" statement_identifier : (if_statement "if ((remember & is_type) != 0) {\n    index = register_Btype(work);\n    pcVar6 = tname->b;\n    iVar3 = 0;\n    if (pcVar6 != tname->p) {\n      iVar3 = (int)tname->p - (int)pcVar6;\n    }\n    remember_Btype((work_stuff *)&work->btypevec,pcVar6,iVar3,index);\n  }" if (parenthesized_expression "((remember & is_type) != 0)" ( (binary_expression "(remember & is_type) != 0" (parenthesized_expression "(remember & is_type)" ( (binary_expression "remember & is_type" identifier & identifier) )) != number_literal) )) (compound_statement "{\n    index = register_Btype(work);\n    pcVar6 = tname->b;\n    iVar3 = 0;\n    if (pcVar6 != tname->p) {\n      iVar3 = (int)tname->p - (int)pcVar6;\n    }\n    remember_Btype((work_stuff *)&work->btypevec,pcVar6,iVar3,index);\n  }" { (expression_statement "index = register_Btype(work);" (assignment_expression "index = register_Btype(work)" identifier = (call_expression "register_Btype(work)" identifier (argument_list "(work)" ( identifier )))) ;) (expression_statement "pcVar6 = tname->b;" (assignment_expression "pcVar6 = tname->b" identifier = (field_expression "tname->b" identifier -> field_identifier)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (pcVar6 != tname->p) {\n      iVar3 = (int)tname->p - (int)pcVar6;\n    }" if (parenthesized_expression "(pcVar6 != tname->p)" ( (binary_expression "pcVar6 != tname->p" identifier != (field_expression "tname->p" identifier -> field_identifier)) )) (compound_statement "{\n      iVar3 = (int)tname->p - (int)pcVar6;\n    }" { (expression_statement "iVar3 = (int)tname->p - (int)pcVar6;" (assignment_expression "iVar3 = (int)tname->p - (int)pcVar6" identifier = (binary_expression "(int)tname->p - (int)pcVar6" (cast_expression "(int)tname->p" ( (type_descriptor "int" primitive_type) ) (field_expression "tname->p" identifier -> field_identifier)) - (cast_expression "(int)pcVar6" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (expression_statement "remember_Btype((work_stuff *)&work->btypevec,pcVar6,iVar3,index);" (call_expression "remember_Btype((work_stuff *)&work->btypevec,pcVar6,iVar3,index)" identifier (argument_list "((work_stuff *)&work->btypevec,pcVar6,iVar3,index)" ( (cast_expression "(work_stuff *)&work->btypevec" ( (type_descriptor "work_stuff *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&work->btypevec" & (field_expression "work->btypevec" identifier -> field_identifier))) , identifier , identifier , identifier ))) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "int FUN_00323ee0(byte *param_1,long *param_2,void **param_3,long param_4,uint param_5,uint param_6)\n\n{\n  undefined8 *puVar1;\n  byte *__s;\n  void *pvVar2;\n  char *pcVar3;\n  long lVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  void **ppvVar9;\n  size_t sVar10;\n  undefined8 uVar11;\n  long lVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  uint local_8c;\n  int local_7c;\n  void *local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  void *local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  \n  bVar17 = 0;\n  lVar12 = *param_2;\n  *param_2 = lVar12 + 1;\n  if (param_5 == 0) {\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }\n  if (*(char *)((long)param_3[1] + -1) == '>') {\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }\n  FUN_00320c60(param_3,&DAT_003fc99b);\nLAB_0032422d:\n  if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }\n  return iVar6;\n}\n\n" (function_definition "int FUN_00323ee0(byte *param_1,long *param_2,void **param_3,long param_4,uint param_5,uint param_6)\n\n{\n  undefined8 *puVar1;\n  byte *__s;\n  void *pvVar2;\n  char *pcVar3;\n  long lVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  void **ppvVar9;\n  size_t sVar10;\n  undefined8 uVar11;\n  long lVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  uint local_8c;\n  int local_7c;\n  void *local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  void *local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  \n  bVar17 = 0;\n  lVar12 = *param_2;\n  *param_2 = lVar12 + 1;\n  if (param_5 == 0) {\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }\n  if (*(char *)((long)param_3[1] + -1) == '>') {\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }\n  FUN_00320c60(param_3,&DAT_003fc99b);\nLAB_0032422d:\n  if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }\n  return iVar6;\n}" primitive_type (function_declarator "FUN_00323ee0(byte *param_1,long *param_2,void **param_3,long param_4,uint param_5,uint param_6)" identifier (parameter_list "(byte *param_1,long *param_2,void **param_3,long param_4,uint param_5,uint param_6)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "long *param_2" (sized_type_specifier "long" long) (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "void **param_3" primitive_type (pointer_declarator "**param_3" * (pointer_declarator "*param_3" * identifier))) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "uint param_5" type_identifier identifier) , (parameter_declaration "uint param_6" type_identifier identifier) ))) (compound_statement "{\n  undefined8 *puVar1;\n  byte *__s;\n  void *pvVar2;\n  char *pcVar3;\n  long lVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  void **ppvVar9;\n  size_t sVar10;\n  undefined8 uVar11;\n  long lVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  uint local_8c;\n  int local_7c;\n  void *local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  void *local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  \n  bVar17 = 0;\n  lVar12 = *param_2;\n  *param_2 = lVar12 + 1;\n  if (param_5 == 0) {\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }\n  if (*(char *)((long)param_3[1] + -1) == '>') {\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }\n  FUN_00320c60(param_3,&DAT_003fc99b);\nLAB_0032422d:\n  if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }\n  return iVar6;\n}" { (declaration "undefined8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "byte *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "long lVar4;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined8 *puVar8;" type_identifier (pointer_declarator "*puVar8" * identifier) ;) (declaration "void **ppvVar9;" primitive_type (pointer_declarator "**ppvVar9" * (pointer_declarator "*ppvVar9" * identifier)) ;) (declaration "size_t sVar10;" primitive_type identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "long lVar12;" (sized_type_specifier "long" long) identifier ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "bool bVar16;" primitive_type identifier ;) (declaration "byte bVar17;" type_identifier identifier ;) (declaration "uint local_8c;" type_identifier identifier ;) (declaration "int local_7c;" primitive_type identifier ;) (declaration "void *local_78;" primitive_type (pointer_declarator "*local_78" * identifier) ;) (declaration "undefined8 local_70;" type_identifier identifier ;) (declaration "undefined8 local_68;" type_identifier identifier ;) (declaration "void *local_58;" primitive_type (pointer_declarator "*local_58" * identifier) ;) (declaration "undefined8 local_50;" type_identifier identifier ;) (declaration "undefined8 local_48;" type_identifier identifier ;) (expression_statement "bVar17 = 0;" (assignment_expression "bVar17 = 0" identifier = number_literal) ;) (expression_statement "lVar12 = *param_2;" (assignment_expression "lVar12 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (expression_statement "*param_2 = lVar12 + 1;" (assignment_expression "*param_2 = lVar12 + 1" (pointer_expression "*param_2" * identifier) = (binary_expression "lVar12 + 1" identifier + number_literal)) ;) (if_statement "if (param_5 == 0) {\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }" { (expression_statement "FUN_00320c60(param_3,"<");" (call_expression "FUN_00320c60(param_3,"<")" identifier (argument_list "(param_3,"<")" ( identifier , (string_literal ""<"" " string_content ") ))) ;) (expression_statement "iVar6 = FUN_00320420(param_2,&local_7c);" (assignment_expression "iVar6 = FUN_00320420(param_2,&local_7c)" identifier = (call_expression "FUN_00320420(param_2,&local_7c)" identifier (argument_list "(param_2,&local_7c)" ( identifier , (pointer_expression "&local_7c" & identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);" (assignment_expression "puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3)" identifier = (cast_expression "(undefined8 *)FUN_00336e30((long)local_7c << 3)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00336e30((long)local_7c << 3)" identifier (argument_list "((long)local_7c << 3)" ( (binary_expression "(long)local_7c << 3" (cast_expression "(long)local_7c" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) << number_literal) ))))) ;) (expression_statement "*(undefined8 **)(param_1 + 0x50) = puVar8;" (assignment_expression "*(undefined8 **)(param_1 + 0x50) = puVar8" (pointer_expression "*(undefined8 **)(param_1 + 0x50)" * (cast_expression "(undefined8 **)(param_1 + 0x50)" ( (type_descriptor "undefined8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(param_1 + 0x58) = local_7c;" (assignment_expression "*(int *)(param_1 + 0x58) = local_7c" (pointer_expression "*(int *)(param_1 + 0x58)" * (cast_expression "(int *)(param_1 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = identifier) ;) (if_statement "if (local_7c < 1) goto LAB_00324300;" if (parenthesized_expression "(local_7c < 1)" ( (binary_expression "local_7c < 1" identifier < number_literal) )) (goto_statement "goto LAB_00324300;" goto statement_identifier ;)) (expression_statement "puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;" (assignment_expression "puVar1 = puVar8 + (ulong)(local_7c - 1) + 1" identifier = (binary_expression "puVar8 + (ulong)(local_7c - 1) + 1" (binary_expression "puVar8 + (ulong)(local_7c - 1)" identifier + (call_expression "(ulong)(local_7c - 1)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(local_7c - 1)" ( (binary_expression "local_7c - 1" identifier - number_literal) )))) + number_literal)) ;) (do_statement "do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);" do (compound_statement "{\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    }" { (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" * identifier) = number_literal) ;) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" identifier = (binary_expression "puVar8 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(puVar1 != puVar8)" ( (binary_expression "puVar1 != puVar8" identifier != identifier) )) ;) (labeled_statement "LAB_00324070:\n    local_8c = 0;" statement_identifier : (expression_statement "local_8c = 0;" (assignment_expression "local_8c = 0" identifier = number_literal) ;)) (labeled_statement "LAB_00324078:\n    ppvVar9 = &local_58;" statement_identifier : (expression_statement "ppvVar9 = &local_58;" (assignment_expression "ppvVar9 = &local_58" identifier = (pointer_expression "&local_58" & identifier)) ;)) (if_statement "if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }" if (parenthesized_expression "(param_5 != 0)" ( (binary_expression "param_5 != 0" identifier != number_literal) )) (compound_statement "{\n      ppvVar9 = param_3;\n    }" { (expression_statement "ppvVar9 = param_3;" (assignment_expression "ppvVar9 = param_3" identifier = identifier) ;) })) (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }" { (expression_statement "pcVar3 = (char *)*param_2;" (assignment_expression "pcVar3 = (char *)*param_2" identifier = (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (if_statement "if (*pcVar3 == 'Z') break;" if (parenthesized_expression "(*pcVar3 == 'Z')" ( (binary_expression "*pcVar3 == 'Z'" (pointer_expression "*pcVar3" * identifier) == (char_literal "'Z'" ' character ')) )) (break_statement "break;" break ;)) (if_statement "if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }" if (parenthesized_expression "(*pcVar3 == 'z')" ( (binary_expression "*pcVar3 == 'z'" (pointer_expression "*pcVar3" * identifier) == (char_literal "'z'" ' character ')) )) (compound_statement "{\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }" { (expression_statement "*param_2 = (long)(pcVar3 + 1);" (assignment_expression "*param_2 = (long)(pcVar3 + 1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(long)(pcVar3 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(pcVar3 + 1)" ( (binary_expression "pcVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar6 = FUN_00323d20(param_1,param_2,param_3);" (assignment_expression "iVar6 = FUN_00323d20(param_1,param_2,param_3)" identifier = (call_expression "FUN_00323d20(param_1,param_2,param_3)" identifier (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }" { (expression_statement "iVar7 = FUN_00320870(param_2);" (assignment_expression "iVar7 = FUN_00320870(param_2)" identifier = (call_expression "FUN_00320870(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }" if (parenthesized_expression "((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10))" ( (binary_expression "(0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)" (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) && (parenthesized_expression "(sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)" ( (comma_expression "sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10" (assignment_expression "sVar10 = strlen((char *)*param_2)" identifier = (call_expression "strlen((char *)*param_2)" identifier (argument_list "((char *)*param_2)" ( (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) )))) , (binary_expression "iVar7 <= (int)sVar10" identifier <= (cast_expression "(int)sVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ))) )) (compound_statement "{\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }" { (expression_statement "FUN_00320c60(param_3,&DAT_003f45df);" (call_expression "FUN_00320c60(param_3,&DAT_003f45df)" identifier (argument_list "(param_3,&DAT_003f45df)" ( identifier , (pointer_expression "&DAT_003f45df" & identifier) ))) ;) (expression_statement "FUN_00320bb0(param_3,*param_2,iVar7);" (call_expression "FUN_00320bb0(param_3,*param_2,iVar7)" identifier (argument_list "(param_3,*param_2,iVar7)" ( identifier , (pointer_expression "*param_2" * identifier) , identifier ))) ;) (expression_statement "sVar10 = (size_t)iVar7;" (assignment_expression "sVar10 = (size_t)iVar7" identifier = (cast_expression "(size_t)iVar7" ( (type_descriptor "size_t" primitive_type) ) identifier)) ;) (if_statement "if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }" { (expression_statement "lVar4 = *(long *)(param_1 + 0x50);" (assignment_expression "lVar4 = *(long *)(param_1 + 0x50)" identifier = (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "uVar11 = FUN_00336e30((long)(iVar7 + 1));" (assignment_expression "uVar11 = FUN_00336e30((long)(iVar7 + 1))" identifier = (call_expression "FUN_00336e30((long)(iVar7 + 1))" identifier (argument_list "((long)(iVar7 + 1))" ( (cast_expression "(long)(iVar7 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) ))) )))) ;) (expression_statement "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;" (assignment_expression "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11" (pointer_expression "*(undefined8 *)(lVar4 + lVar12 * 8)" * (cast_expression "(undefined8 *)(lVar4 + lVar12 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + lVar12 * 8)" ( (binary_expression "lVar4 + lVar12 * 8" identifier + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) = identifier) ;) (expression_statement "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);" (call_expression "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10)" identifier (argument_list "(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10)" ( (pointer_expression "*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" * (cast_expression "(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) , (cast_expression "(void *)*param_2" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) , identifier ))) ;) (expression_statement "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;" (assignment_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0" (pointer_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10)" * (cast_expression "(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10)" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10" (pointer_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) + identifier) )))) = number_literal) ;) })) (expression_statement "*param_2 = *param_2 + sVar10;" (assignment_expression "*param_2 = *param_2 + sVar10" (pointer_expression "*param_2" * identifier) = (binary_expression "*param_2 + sVar10" (pointer_expression "*param_2" * identifier) + identifier)) ;) })) (goto_statement "goto LAB_003241b0;" goto statement_identifier ;) })) (goto_statement "goto LAB_00324201;" goto statement_identifier ;) })) (expression_statement "iVar6 = FUN_00322140(param_1,param_2,&local_78);" (assignment_expression "iVar6 = FUN_00322140(param_1,param_2,&local_78)" identifier = (call_expression "FUN_00322140(param_1,param_2,&local_78)" identifier (argument_list "(param_1,param_2,&local_78)" ( identifier , identifier , (pointer_expression "&local_78" & identifier) )))) ;) (if_statement "if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }" if (parenthesized_expression "(local_78 != (void *)0x0)" ( (binary_expression "local_78 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }" { (expression_statement "free(local_78);" (call_expression "free(local_78)" identifier (argument_list "(local_78)" ( identifier ))) ;) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" identifier = number_literal) ;) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (expression_statement "local_78 = (void *)0x0;" (assignment_expression "local_78 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (if_statement "if (iVar6 == 0) goto LAB_00324201;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00324201;" goto statement_identifier ;)) (if_statement "if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }" { (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "local_50 = 0;" (assignment_expression "local_50 = 0" identifier = number_literal) ;) (expression_statement "local_58 = (void *)0x0;" (assignment_expression "local_58 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);" (assignment_expression "iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6)" identifier = (call_expression "FUN_00321a30(param_1,param_2,ppvVar9,iVar6)" identifier (argument_list "(param_1,param_2,ppvVar9,iVar6)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }" { (if_statement "if (local_58 != (void *)0x0) {\n            free(local_58);\n          }" if (parenthesized_expression "(local_58 != (void *)0x0)" ( (binary_expression "local_58 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            free(local_58);\n          }" { (expression_statement "free(local_58);" (call_expression "free(local_58)" identifier (argument_list "(local_58)" ( identifier ))) ;) })) (goto_statement "goto LAB_00324201;" goto statement_identifier ;) })) (expression_statement "lVar4 = *(long *)(param_1 + 0x50);" (assignment_expression "lVar4 = *(long *)(param_1 + 0x50)" identifier = (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = (int)local_50 - (int)local_58;" (assignment_expression "iVar7 = (int)local_50 - (int)local_58" identifier = (binary_expression "(int)local_50 - (int)local_58" (cast_expression "(int)local_50" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_58" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar11 = FUN_00336e30((long)(iVar7 + 1));" (assignment_expression "uVar11 = FUN_00336e30((long)(iVar7 + 1))" identifier = (call_expression "FUN_00336e30((long)(iVar7 + 1))" identifier (argument_list "((long)(iVar7 + 1))" ( (cast_expression "(long)(iVar7 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) ))) )))) ;) (expression_statement "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;" (assignment_expression "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11" (pointer_expression "*(undefined8 *)(lVar4 + lVar12 * 8)" * (cast_expression "(undefined8 *)(lVar4 + lVar12 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + lVar12 * 8)" ( (binary_expression "lVar4 + lVar12 * 8" identifier + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) = identifier) ;) (expression_statement "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);" (call_expression "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7)" identifier (argument_list "(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7)" ( (pointer_expression "*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" * (cast_expression "(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) , identifier , (cast_expression "(long)iVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ))) ;) (expression_statement "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;" (assignment_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0" (pointer_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" * (cast_expression "(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7" (pointer_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) + (cast_expression "(long)iVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) = number_literal) ;) (expression_statement "FUN_00320da0(param_3,&local_58,local_50);" (call_expression "FUN_00320da0(param_3,&local_58,local_50)" identifier (argument_list "(param_3,&local_58,local_50)" ( identifier , (pointer_expression "&local_58" & identifier) , identifier ))) ;) (if_statement "if (local_58 != (void *)0x0) {\n          free(local_58);\n        }" if (parenthesized_expression "(local_58 != (void *)0x0)" ( (binary_expression "local_58 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          free(local_58);\n        }" { (expression_statement "free(local_58);" (call_expression "free(local_58)" identifier (argument_list "(local_58)" ( identifier ))) ;) })) }) (else_clause "else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }" else (compound_statement "{\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }" { (expression_statement "iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);" (assignment_expression "iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6)" identifier = (call_expression "FUN_00321a30(param_1,param_2,ppvVar9,iVar6)" identifier (argument_list "(param_1,param_2,ppvVar9,iVar6)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) goto LAB_00324201;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00324201;" goto statement_identifier ;)) }))) (labeled_statement "LAB_003241b0:\n      lVar12 = lVar12 + 1;" statement_identifier : (expression_statement "lVar12 = lVar12 + 1;" (assignment_expression "lVar12 = lVar12 + 1" identifier = (binary_expression "lVar12 + 1" identifier + number_literal)) ;)) (if_statement "if (local_7c <= (int)lVar12) goto LAB_00324204;" if (parenthesized_expression "(local_7c <= (int)lVar12)" ( (binary_expression "local_7c <= (int)lVar12" identifier <= (cast_expression "(int)lVar12" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_00324204;" goto statement_identifier ;)) (expression_statement "FUN_00320c60(param_3,", ");" (call_expression "FUN_00320c60(param_3,", ")" identifier (argument_list "(param_3,", ")" ( identifier , (string_literal "", "" " string_content ") ))) ;) })) (expression_statement "*param_2 = (long)(pcVar3 + 1);" (assignment_expression "*param_2 = (long)(pcVar3 + 1)" (pointer_expression "*param_2" * identifier) = (cast_expression "(long)(pcVar3 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(pcVar3 + 1)" ( (binary_expression "pcVar3 + 1" identifier + number_literal) )))) ;) (expression_statement "iVar6 = FUN_00322140(param_1,param_2,&local_78);" (assignment_expression "iVar6 = FUN_00322140(param_1,param_2,&local_78)" identifier = (call_expression "FUN_00322140(param_1,param_2,&local_78)" identifier (argument_list "(param_1,param_2,&local_78)" ( identifier , identifier , (pointer_expression "&local_78" & identifier) )))) ;) (if_statement "if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }" { (expression_statement "FUN_00320da0(param_3,&local_78,local_70);" (call_expression "FUN_00320da0(param_3,&local_78,local_70)" identifier (argument_list "(param_3,&local_78,local_70)" ( identifier , (pointer_expression "&local_78" & identifier) , identifier ))) ;) (if_statement "if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }" if (parenthesized_expression "(param_5 == 0)" ( (binary_expression "param_5 == 0" identifier == number_literal) )) (compound_statement "{\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }" { (expression_statement "lVar4 = *(long *)(param_1 + 0x50);" (assignment_expression "lVar4 = *(long *)(param_1 + 0x50)" identifier = (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) ))))) ;) (expression_statement "iVar7 = (int)local_70 - (int)local_78;" (assignment_expression "iVar7 = (int)local_70 - (int)local_78" identifier = (binary_expression "(int)local_70 - (int)local_78" (cast_expression "(int)local_70" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_78" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "uVar11 = FUN_00336e30((long)(iVar7 + 1));" (assignment_expression "uVar11 = FUN_00336e30((long)(iVar7 + 1))" identifier = (call_expression "FUN_00336e30((long)(iVar7 + 1))" identifier (argument_list "((long)(iVar7 + 1))" ( (cast_expression "(long)(iVar7 + 1)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(iVar7 + 1)" ( (binary_expression "iVar7 + 1" identifier + number_literal) ))) )))) ;) (expression_statement "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;" (assignment_expression "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11" (pointer_expression "*(undefined8 *)(lVar4 + lVar12 * 8)" * (cast_expression "(undefined8 *)(lVar4 + lVar12 * 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar4 + lVar12 * 8)" ( (binary_expression "lVar4 + lVar12 * 8" identifier + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) = identifier) ;) (expression_statement "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);" (call_expression "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7)" identifier (argument_list "(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7)" ( (pointer_expression "*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" * (cast_expression "(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) , identifier , (cast_expression "(long)iVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) ))) ;) (expression_statement "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;" (assignment_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0" (pointer_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" * (cast_expression "(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" ( (binary_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7" (pointer_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "lVar12 * 8" identifier * number_literal)) )))) + (cast_expression "(long)iVar7" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier)) )))) = number_literal) ;) })) (if_statement "if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }" if (parenthesized_expression "(local_78 != (void *)0x0)" ( (binary_expression "local_78 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }" { (expression_statement "free(local_78);" (call_expression "free(local_78)" identifier (argument_list "(local_78)" ( identifier ))) ;) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" identifier = number_literal) ;) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (expression_statement "local_78 = (void *)0x0;" (assignment_expression "local_78 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (goto_statement "goto LAB_003241b0;" goto statement_identifier ;) })) (if_statement "if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }" if (parenthesized_expression "(local_78 == (void *)0x0)" ( (binary_expression "local_78 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00324201:\n      iVar6 = 0;\n    }" { (labeled_statement "LAB_00324201:\n      iVar6 = 0;" statement_identifier : (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;)) }) (else_clause "else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }" else (compound_statement "{\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }" { (expression_statement "free(local_78);" (call_expression "free(local_78)" identifier (argument_list "(local_78)" ( identifier ))) ;) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" identifier = number_literal) ;) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" identifier = number_literal) ;) (expression_statement "local_78 = (void *)0x0;" (assignment_expression "local_78 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (labeled_statement "LAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;" statement_identifier : (if_statement "if (local_8c != 0) goto LAB_00323ff8;" if (parenthesized_expression "(local_8c != 0)" ( (binary_expression "local_8c != 0" identifier != number_literal) )) (goto_statement "goto LAB_00323ff8;" goto statement_identifier ;))) }) (else_clause "else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }" else (compound_statement "{\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }" { (if_statement "if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }" if (parenthesized_expression "(*(char *)(lVar12 + 1) != 'z')" ( (binary_expression "*(char *)(lVar12 + 1) != 'z'" (pointer_expression "*(char *)(lVar12 + 1)" * (cast_expression "(char *)(lVar12 + 1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + 1)" ( (binary_expression "lVar12 + 1" identifier + number_literal) )))) != (char_literal "'z'" ' character ')) )) (compound_statement "{\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }" { (expression_statement "iVar6 = FUN_00320870(param_2);" (assignment_expression "iVar6 = FUN_00320870(param_2)" identifier = (call_expression "FUN_00320870(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar6 < 1) {\n        return 0;\n      }" if (parenthesized_expression "(iVar6 < 1)" ( (binary_expression "iVar6 < 1" identifier < number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "__s = (byte *)*param_2;" (assignment_expression "__s = (byte *)*param_2" identifier = (cast_expression "(byte *)*param_2" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier))) ;) (expression_statement "local_7c = iVar6;" (assignment_expression "local_7c = iVar6" identifier = identifier) ;) (expression_statement "sVar10 = strlen((char *)__s);" (assignment_expression "sVar10 = strlen((char *)__s)" identifier = (call_expression "strlen((char *)__s)" identifier (argument_list "((char *)__s)" ( (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if ((int)sVar10 < iVar6) {\n        return 0;\n      }" if (parenthesized_expression "((int)sVar10 < iVar6)" ( (binary_expression "(int)sVar10 < iVar6" (cast_expression "(int)sVar10" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar15 = false;" (assignment_expression "bVar15 = false" identifier = false) ;) (expression_statement "bVar16 = (*param_1 & 4) == 0;" (assignment_expression "bVar16 = (*param_1 & 4) == 0" identifier = (binary_expression "(*param_1 & 4) == 0" (parenthesized_expression "(*param_1 & 4)" ( (binary_expression "*param_1 & 4" (pointer_expression "*param_1" * identifier) & number_literal) )) == number_literal)) ;) (if_statement "if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }" if (parenthesized_expression "(bVar16)" ( identifier )) (compound_statement "{\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }" { (labeled_statement "LAB_003244b8:\n        FUN_00320bb0(param_3,__s);" statement_identifier : (expression_statement "FUN_00320bb0(param_3,__s);" (call_expression "FUN_00320bb0(param_3,__s)" identifier (argument_list "(param_3,__s)" ( identifier , identifier ))) ;)) (if_statement "if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }" { (if_statement "if (local_7c == 0) goto LAB_003242d0;" if (parenthesized_expression "(local_7c == 0)" ( (binary_expression "local_7c == 0" identifier == number_literal) )) (goto_statement "goto LAB_003242d0;" goto statement_identifier ;)) (expression_statement "FUN_00320bb0(param_4,*param_2);" (call_expression "FUN_00320bb0(param_4,*param_2)" identifier (argument_list "(param_4,*param_2)" ( identifier , (pointer_expression "*param_2" * identifier) ))) ;) })) (expression_statement "*param_2 = *param_2 + (long)local_7c;" (assignment_expression "*param_2 = *param_2 + (long)local_7c" (pointer_expression "*param_2" * identifier) = (binary_expression "*param_2 + (long)local_7c" (pointer_expression "*param_2" * identifier) + (cast_expression "(long)local_7c" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) (goto_statement "goto LAB_003242d0;" goto statement_identifier ;) })) (expression_statement "lVar12 = 8;" (assignment_expression "lVar12 = 8" identifier = number_literal) ;) (expression_statement "pbVar13 = __s;" (assignment_expression "pbVar13 = __s" identifier = identifier) ;) (expression_statement "pbVar14 = (byte *)"JArray1Z";" (assignment_expression "pbVar14 = (byte *)"JArray1Z"" identifier = (cast_expression "(byte *)"JArray1Z"" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (string_literal ""JArray1Z"" " string_content "))) ;) (do_statement "do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);" do (compound_statement "{\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      }" { (if_statement "if (lVar12 == 0) break;" if (parenthesized_expression "(lVar12 == 0)" ( (binary_expression "lVar12 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "lVar12 = lVar12 + -1;" (assignment_expression "lVar12 = lVar12 + -1" identifier = (binary_expression "lVar12 + -1" identifier + number_literal)) ;) (expression_statement "bVar15 = *pbVar13 < *pbVar14;" (assignment_expression "bVar15 = *pbVar13 < *pbVar14" identifier = (binary_expression "*pbVar13 < *pbVar14" (pointer_expression "*pbVar13" * identifier) < (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "bVar16 = *pbVar13 == *pbVar14;" (assignment_expression "bVar16 = *pbVar13 == *pbVar14" identifier = (binary_expression "*pbVar13 == *pbVar14" (pointer_expression "*pbVar13" * identifier) == (pointer_expression "*pbVar14" * identifier))) ;) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1" identifier = (binary_expression "pbVar13 + (ulong)bVar17 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar17 * -2" identifier + (binary_expression "(ulong)bVar17 * -2" (cast_expression "(ulong)bVar17" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1" identifier = (binary_expression "pbVar14 + (ulong)bVar17 * -2 + 1" (binary_expression "pbVar14 + (ulong)bVar17 * -2" identifier + (binary_expression "(ulong)bVar17 * -2" (cast_expression "(ulong)bVar17" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar16)" ( identifier )) ;) (if_statement "if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;" if (parenthesized_expression "((!bVar15 && !bVar16) != bVar15)" ( (binary_expression "(!bVar15 && !bVar16) != bVar15" (parenthesized_expression "(!bVar15 && !bVar16)" ( (binary_expression "!bVar15 && !bVar16" (unary_expression "!bVar15" ! identifier) && (unary_expression "!bVar16" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_003244b8;" goto statement_identifier ;)) (if_statement "if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }" if (parenthesized_expression "(param_4 == 0)" ( (binary_expression "param_4 == 0" identifier == number_literal) )) (compound_statement "{\n        *param_2 = (long)(__s + iVar6);\n      }" { (expression_statement "*param_2 = (long)(__s + iVar6);" (assignment_expression "*param_2 = (long)(__s + iVar6)" (pointer_expression "*param_2" * identifier) = (cast_expression "(long)(__s + iVar6)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (parenthesized_expression "(__s + iVar6)" ( (binary_expression "__s + iVar6" identifier + identifier) )))) ;) }) (else_clause "else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }" else (compound_statement "{\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }" { (expression_statement "FUN_00320bb0(param_4,__s);" (call_expression "FUN_00320bb0(param_4,__s)" identifier (argument_list "(param_4,__s)" ( identifier , identifier ))) ;) (expression_statement "*param_2 = *param_2 + (long)local_7c;" (assignment_expression "*param_2 = *param_2 + (long)local_7c" (pointer_expression "*param_2" * identifier) = (binary_expression "*param_2 + (long)local_7c" (pointer_expression "*param_2" * identifier) + (cast_expression "(long)local_7c" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier))) ;) }))) (expression_statement "iVar6 = FUN_00320420(param_2,&local_7c);" (assignment_expression "iVar6 = FUN_00320420(param_2,&local_7c)" identifier = (call_expression "FUN_00320420(param_2,&local_7c)" identifier (argument_list "(param_2,&local_7c)" ( identifier , (pointer_expression "&local_7c" & identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n        return 0;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "local_8c = param_5;" (assignment_expression "local_8c = param_5" identifier = identifier) ;) (if_statement "if (0 < local_7c) goto LAB_00324078;" if (parenthesized_expression "(0 < local_7c)" ( (binary_expression "0 < local_7c" number_literal < identifier) )) (goto_statement "goto LAB_00324078;" goto statement_identifier ;)) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (labeled_statement "LAB_00323ff8:\n      FUN_00320c60(param_3,"[]");" statement_identifier : (expression_statement "FUN_00320c60(param_3,"[]");" (call_expression "FUN_00320c60(param_3,"[]")" identifier (argument_list "(param_3,"[]")" ( identifier , (string_literal ""[]"" " string_content ") ))) ;)) (goto_statement "goto LAB_0032422d;" goto statement_identifier ;) })) (expression_statement "*param_2 = lVar12 + 2;" (assignment_expression "*param_2 = lVar12 + 2" (pointer_expression "*param_2" * identifier) = (binary_expression "lVar12 + 2" identifier + number_literal)) ;) (if_statement "if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }" if (parenthesized_expression "(*(char *)(lVar12 + 2) == '\0')" ( (binary_expression "*(char *)(lVar12 + 2) == '\0'" (pointer_expression "*(char *)(lVar12 + 2)" * (cast_expression "(char *)(lVar12 + 2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar12 + 2)" ( (binary_expression "lVar12 + 2" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "*param_2 = lVar12 + 3;" (assignment_expression "*param_2 = lVar12 + 3" (pointer_expression "*param_2" * identifier) = (binary_expression "lVar12 + 3" identifier + number_literal)) ;) (expression_statement "iVar6 = FUN_00320920(param_2);" (assignment_expression "iVar6 = FUN_00320920(param_2)" identifier = (call_expression "FUN_00320920(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar6 == -1) {\n      return 0;\n    }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }" if (parenthesized_expression "((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6))" ( (binary_expression "(*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)" (parenthesized_expression "(*(long *)(param_1 + 0x50) != 0)" ( (binary_expression "*(long *)(param_1 + 0x50) != 0" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0x58) <= iVar6)" ( (binary_expression "*(int *)(param_1 + 0x58) <= iVar6" (pointer_expression "*(int *)(param_1 + 0x58)" * (cast_expression "(int *)(param_1 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) <= identifier) ))) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar7 = FUN_00320920(param_2);" (assignment_expression "iVar7 = FUN_00320920(param_2)" identifier = (call_expression "FUN_00320920(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar7 == -1) {\n      return 0;\n    }" if (parenthesized_expression "(iVar7 == -1)" ( (binary_expression "iVar7 == -1" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }" if (parenthesized_expression "(*(long *)(param_1 + 0x50) == 0)" ( (binary_expression "*(long *)(param_1 + 0x50) == 0" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }" { (expression_statement "FUN_00320ca0(param_3,iVar6);" (call_expression "FUN_00320ca0(param_3,iVar6)" identifier (argument_list "(param_3,iVar6)" ( identifier , identifier ))) ;) (if_statement "if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }" if (parenthesized_expression "(param_4 != 0)" ( (binary_expression "param_4 != 0" identifier != number_literal) )) (compound_statement "{\n        FUN_00320ca0(param_4,iVar6);\n      }" { (expression_statement "FUN_00320ca0(param_4,iVar6);" (call_expression "FUN_00320ca0(param_4,iVar6)" identifier (argument_list "(param_4,iVar6)" ( identifier , identifier ))) ;) })) }) (else_clause "else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }" else (compound_statement "{\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }" { (expression_statement "pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);" (assignment_expression "pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" identifier = (pointer_expression "*(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" * (cast_expression "(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + (long)iVar6 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "(long)iVar6 * 8" (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) ))))) ;) (if_statement "if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }" if (parenthesized_expression "((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0'))))" ( (binary_expression "(((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))" (parenthesized_expression "(((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))" ( (binary_expression "((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0)" (parenthesized_expression "((pcVar3 != (char *)0x0) && (*pcVar3 != '\0'))" ( (binary_expression "(pcVar3 != (char *)0x0) && (*pcVar3 != '\0')" (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*pcVar3 != '\0')" ( (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(FUN_00320c60(param_3), param_4 != 0)" ( (comma_expression "FUN_00320c60(param_3), param_4 != 0" (call_expression "FUN_00320c60(param_3)" identifier (argument_list "(param_3)" ( identifier ))) , (binary_expression "param_4 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))" ( (parenthesized_expression "(pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0'))" ( (comma_expression "pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')" (assignment_expression "pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" identifier = (pointer_expression "*(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" * (cast_expression "(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" ( (binary_expression "*(long *)(param_1 + 0x50) + (long)iVar6 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" * (cast_expression "(long *)(param_1 + 0x50)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x50)" ( (binary_expression "param_1 + 0x50" identifier + number_literal) )))) + (binary_expression "(long)iVar6 * 8" (cast_expression "(long)iVar6" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) ))))) , (binary_expression "pcVar3 != (char *)0x0 && (*pcVar3 != '\0')" (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) && (parenthesized_expression "(*pcVar3 != '\0')" ( (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" * identifier) != (char_literal "'\0'" ' escape_sequence ')) )))) )) ))) )) (compound_statement "{\n        FUN_00320c60(param_4);\n      }" { (expression_statement "FUN_00320c60(param_4);" (call_expression "FUN_00320c60(param_4)" identifier (argument_list "(param_4)" ( identifier ))) ;) })) }))) (labeled_statement "LAB_003242d0:\n    FUN_00320c60(param_3,"<");" statement_identifier : (expression_statement "FUN_00320c60(param_3,"<");" (call_expression "FUN_00320c60(param_3,"<")" identifier (argument_list "(param_3,"<")" ( identifier , (string_literal ""<"" " string_content ") ))) ;)) (expression_statement "iVar6 = FUN_00320420(param_2,&local_7c);" (assignment_expression "iVar6 = FUN_00320420(param_2,&local_7c)" identifier = (call_expression "FUN_00320420(param_2,&local_7c)" identifier (argument_list "(param_2,&local_7c)" ( identifier , (pointer_expression "&local_7c" & identifier) )))) ;) (if_statement "if (iVar6 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (0 < local_7c) goto LAB_00324070;" if (parenthesized_expression "(0 < local_7c)" ( (binary_expression "0 < local_7c" number_literal < identifier) )) (goto_statement "goto LAB_00324070;" goto statement_identifier ;)) (labeled_statement "LAB_00324300:\n    iVar6 = 0;" statement_identifier : (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;)) }))) (if_statement "if (*(char *)((long)param_3[1] + -1) == '>') {\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }" if (parenthesized_expression "(*(char *)((long)param_3[1] + -1) == '>')" ( (binary_expression "*(char *)((long)param_3[1] + -1) == '>'" (pointer_expression "*(char *)((long)param_3[1] + -1)" * (cast_expression "(char *)((long)param_3[1] + -1)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_3[1] + -1)" ( (binary_expression "(long)param_3[1] + -1" (cast_expression "(long)param_3[1]" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) + number_literal) )))) == (char_literal "'>'" ' character ')) )) (compound_statement "{\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }" { (expression_statement "FUN_00320c60(param_3,&DAT_003f45df);" (call_expression "FUN_00320c60(param_3,&DAT_003f45df)" identifier (argument_list "(param_3,&DAT_003f45df)" ( identifier , (pointer_expression "&DAT_003f45df" & identifier) ))) ;) })) (expression_statement "FUN_00320c60(param_3,&DAT_003fc99b);" (call_expression "FUN_00320c60(param_3,&DAT_003fc99b)" identifier (argument_list "(param_3,&DAT_003fc99b)" ( identifier , (pointer_expression "&DAT_003fc99b" & identifier) ))) ;) (labeled_statement "LAB_0032422d:\n  if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }" statement_identifier : (if_statement "if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }" if (parenthesized_expression "((param_6 & param_5) != 0)" ( (binary_expression "(param_6 & param_5) != 0" (parenthesized_expression "(param_6 & param_5)" ( (binary_expression "param_6 & param_5" identifier & identifier) )) != number_literal) )) (compound_statement "{\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }" { (expression_statement "uVar5 = FUN_00320660(param_1);" (assignment_expression "uVar5 = FUN_00320660(param_1)" identifier = (call_expression "FUN_00320660(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (expression_statement "pvVar2 = *param_3;" (assignment_expression "pvVar2 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }" if (parenthesized_expression "(pvVar2 != param_3[1])" ( (binary_expression "pvVar2 != param_3[1]" identifier != (subscript_expression "param_3[1]" identifier [ number_literal ])) )) (compound_statement "{\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }" { (expression_statement "iVar7 = (int)param_3[1] - (int)pvVar2;" (assignment_expression "iVar7 = (int)param_3[1] - (int)pvVar2" identifier = (binary_expression "(int)param_3[1] - (int)pvVar2" (cast_expression "(int)param_3[1]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "param_3[1]" identifier [ number_literal ])) - (cast_expression "(int)pvVar2" ( (type_descriptor "int" primitive_type) ) identifier))) ;) })) (expression_statement "FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);" (call_expression "FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5)" identifier (argument_list "(param_1 + 0x18,pvVar2,iVar7,uVar5)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) , identifier , identifier , identifier ))) ;) }))) (return_statement "return iVar6;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * (pointer_declarator * IDENT))) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) << LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) )))) + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) , (binary_expression IDENT <= (cast_expression ( (type_descriptor TYPE) ) IDENT))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) + IDENT) )))) = LIT) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + IDENT)) ;) })) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (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) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) , IDENT , (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) , IDENT , (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) )))) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT)) )))) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' character ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * IDENT) ))) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (string_literal " string_content "))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) < (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * IDENT) == (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) }) while (parenthesized_expression ( IDENT )) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) != IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") ))) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) <= IDENT) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (comma_expression (call_expression IDENT (argument_list ( IDENT ))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT)) ))))) , (binary_expression (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )))) )) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) }))) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") ))) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) }))) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) (subscript_expression IDENT [ LIT ])) + LIT) )))) == (char_literal ' character ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & IDENT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , IDENT , IDENT ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_00323ee0(byte *param_1,long *param_2,void **param_3,long param_4,uint param_5,uint param_6)\n\n{\n  undefined8 *puVar1;\n  byte *__s;\n  void *pvVar2;\n  char *pcVar3;\n  long lVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  void **ppvVar9;\n  size_t sVar10;\n  undefined8 uVar11;\n  long lVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  uint local_8c;\n  int local_7c;\n  void *local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  void *local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  \n  bVar17 = 0;\n  lVar12 = *param_2;\n  *param_2 = lVar12 + 1;\n  if (param_5 == 0) {\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }\n  if (*(char *)((long)param_3[1] + -1) == '>') {\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }\n  FUN_00320c60(param_3,&DAT_003fc99b);\nLAB_0032422d:\n  if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }\n  return iVar6;\n}" (primitive_type "int") (function_declarator "FUN_00323ee0(byte *param_1,long *param_2,void **param_3,long param_4,uint param_5,uint param_6)" (identifier "FUN_00323ee0") (parameter_list "(byte *param_1,long *param_2,void **param_3,long param_4,uint param_5,uint param_6)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "long *param_2" (sized_type_specifier "long" (long "long")) (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "void **param_3" (primitive_type "void") (pointer_declarator "**param_3" (* "*") (pointer_declarator "*param_3" (* "*") (identifier "param_3")))) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (identifier "param_4")) (, ",") (parameter_declaration "uint param_5" (type_identifier "uint") (identifier "param_5")) (, ",") (parameter_declaration "uint param_6" (type_identifier "uint") (identifier "param_6")) () ")"))) (compound_statement "{\n  undefined8 *puVar1;\n  byte *__s;\n  void *pvVar2;\n  char *pcVar3;\n  long lVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined8 *puVar8;\n  void **ppvVar9;\n  size_t sVar10;\n  undefined8 uVar11;\n  long lVar12;\n  byte *pbVar13;\n  byte *pbVar14;\n  bool bVar15;\n  bool bVar16;\n  byte bVar17;\n  uint local_8c;\n  int local_7c;\n  void *local_78;\n  undefined8 local_70;\n  undefined8 local_68;\n  void *local_58;\n  undefined8 local_50;\n  undefined8 local_48;\n  \n  bVar17 = 0;\n  lVar12 = *param_2;\n  *param_2 = lVar12 + 1;\n  if (param_5 == 0) {\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }\n  if (*(char *)((long)param_3[1] + -1) == '>') {\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }\n  FUN_00320c60(param_3,&DAT_003fc99b);\nLAB_0032422d:\n  if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }\n  return iVar6;\n}" ({ "{") (declaration "undefined8 *puVar1;" (type_identifier "undefined8") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "byte *__s;" (type_identifier "byte") (pointer_declarator "*__s" (* "*") (identifier "__s")) (; ";")) (declaration "void *pvVar2;" (primitive_type "void") (pointer_declarator "*pvVar2" (* "*") (identifier "pvVar2")) (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "long lVar4;" (sized_type_specifier "long" (long "long")) (identifier "lVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined8 *puVar8;" (type_identifier "undefined8") (pointer_declarator "*puVar8" (* "*") (identifier "puVar8")) (; ";")) (declaration "void **ppvVar9;" (primitive_type "void") (pointer_declarator "**ppvVar9" (* "*") (pointer_declarator "*ppvVar9" (* "*") (identifier "ppvVar9"))) (; ";")) (declaration "size_t sVar10;" (primitive_type "size_t") (identifier "sVar10") (; ";")) (declaration "undefined8 uVar11;" (type_identifier "undefined8") (identifier "uVar11") (; ";")) (declaration "long lVar12;" (sized_type_specifier "long" (long "long")) (identifier "lVar12") (; ";")) (declaration "byte *pbVar13;" (type_identifier "byte") (pointer_declarator "*pbVar13" (* "*") (identifier "pbVar13")) (; ";")) (declaration "byte *pbVar14;" (type_identifier "byte") (pointer_declarator "*pbVar14" (* "*") (identifier "pbVar14")) (; ";")) (declaration "bool bVar15;" (primitive_type "bool") (identifier "bVar15") (; ";")) (declaration "bool bVar16;" (primitive_type "bool") (identifier "bVar16") (; ";")) (declaration "byte bVar17;" (type_identifier "byte") (identifier "bVar17") (; ";")) (declaration "uint local_8c;" (type_identifier "uint") (identifier "local_8c") (; ";")) (declaration "int local_7c;" (primitive_type "int") (identifier "local_7c") (; ";")) (declaration "void *local_78;" (primitive_type "void") (pointer_declarator "*local_78" (* "*") (identifier "local_78")) (; ";")) (declaration "undefined8 local_70;" (type_identifier "undefined8") (identifier "local_70") (; ";")) (declaration "undefined8 local_68;" (type_identifier "undefined8") (identifier "local_68") (; ";")) (declaration "void *local_58;" (primitive_type "void") (pointer_declarator "*local_58" (* "*") (identifier "local_58")) (; ";")) (declaration "undefined8 local_50;" (type_identifier "undefined8") (identifier "local_50") (; ";")) (declaration "undefined8 local_48;" (type_identifier "undefined8") (identifier "local_48") (; ";")) (expression_statement "bVar17 = 0;" (assignment_expression "bVar17 = 0" (identifier "bVar17") (= "=") (number_literal "0")) (; ";")) (expression_statement "lVar12 = *param_2;" (assignment_expression "lVar12 = *param_2" (identifier "lVar12") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (expression_statement "*param_2 = lVar12 + 1;" (assignment_expression "*param_2 = lVar12 + 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "lVar12 + 1" (identifier "lVar12") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (param_5 == 0) {\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }\n  else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);\n    *(undefined8 **)(param_1 + 0x50) = puVar8;\n    *(int *)(param_1 + 0x58) = local_7c;\n    if (local_7c < 1) goto LAB_00324300;\n    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;\n    do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);\nLAB_00324070:\n    local_8c = 0;\nLAB_00324078:\n    ppvVar9 = &local_58;\n    if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }\n    lVar12 = 0;\n    while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }\n    *param_2 = (long)(pcVar3 + 1);\n    iVar6 = FUN_00322140(param_1,param_2,&local_78);\n    if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }\n    if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }\nLAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;\n  }" ({ "{") (expression_statement "FUN_00320c60(param_3,"<");" (call_expression "FUN_00320c60(param_3,"<")" (identifier "FUN_00320c60") (argument_list "(param_3,"<")" (( "(") (identifier "param_3") (, ",") (string_literal ""<"" (" """) (string_content "<") (" """)) () ")"))) (; ";")) (expression_statement "iVar6 = FUN_00320420(param_2,&local_7c);" (assignment_expression "iVar6 = FUN_00320420(param_2,&local_7c)" (identifier "iVar6") (= "=") (call_expression "FUN_00320420(param_2,&local_7c)" (identifier "FUN_00320420") (argument_list "(param_2,&local_7c)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_7c" (& "&") (identifier "local_7c")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);" (assignment_expression "puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3)" (identifier "puVar8") (= "=") (cast_expression "(undefined8 *)FUN_00336e30((long)local_7c << 3)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00336e30((long)local_7c << 3)" (identifier "FUN_00336e30") (argument_list "((long)local_7c << 3)" (( "(") (binary_expression "(long)local_7c << 3" (cast_expression "(long)local_7c" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_7c")) (<< "<<") (number_literal "3")) () ")"))))) (; ";")) (expression_statement "*(undefined8 **)(param_1 + 0x50) = puVar8;" (assignment_expression "*(undefined8 **)(param_1 + 0x50) = puVar8" (pointer_expression "*(undefined8 **)(param_1 + 0x50)" (* "*") (cast_expression "(undefined8 **)(param_1 + 0x50)" (( "(") (type_descriptor "undefined8 **" (type_identifier "undefined8") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (= "=") (identifier "puVar8")) (; ";")) (expression_statement "*(int *)(param_1 + 0x58) = local_7c;" (assignment_expression "*(int *)(param_1 + 0x58) = local_7c" (pointer_expression "*(int *)(param_1 + 0x58)" (* "*") (cast_expression "(int *)(param_1 + 0x58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (identifier "local_7c")) (; ";")) (if_statement "if (local_7c < 1) goto LAB_00324300;" (if "if") (parenthesized_expression "(local_7c < 1)" (( "(") (binary_expression "local_7c < 1" (identifier "local_7c") (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_00324300;" (goto "goto") (statement_identifier "LAB_00324300") (; ";"))) (expression_statement "puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;" (assignment_expression "puVar1 = puVar8 + (ulong)(local_7c - 1) + 1" (identifier "puVar1") (= "=") (binary_expression "puVar8 + (ulong)(local_7c - 1) + 1" (binary_expression "puVar8 + (ulong)(local_7c - 1)" (identifier "puVar8") (+ "+") (call_expression "(ulong)(local_7c - 1)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(local_7c - 1)" (( "(") (binary_expression "local_7c - 1" (identifier "local_7c") (- "-") (number_literal "1")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (do_statement "do {\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    } while (puVar1 != puVar8);" (do "do") (compound_statement "{\n      *puVar8 = 0;\n      puVar8 = puVar8 + 1;\n    }" ({ "{") (expression_statement "*puVar8 = 0;" (assignment_expression "*puVar8 = 0" (pointer_expression "*puVar8" (* "*") (identifier "puVar8")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar8 = puVar8 + 1;" (assignment_expression "puVar8 = puVar8 + 1" (identifier "puVar8") (= "=") (binary_expression "puVar8 + 1" (identifier "puVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(puVar1 != puVar8)" (( "(") (binary_expression "puVar1 != puVar8" (identifier "puVar1") (!= "!=") (identifier "puVar8")) () ")")) (; ";")) (labeled_statement "LAB_00324070:\n    local_8c = 0;" (statement_identifier "LAB_00324070") (: ":") (expression_statement "local_8c = 0;" (assignment_expression "local_8c = 0" (identifier "local_8c") (= "=") (number_literal "0")) (; ";"))) (labeled_statement "LAB_00324078:\n    ppvVar9 = &local_58;" (statement_identifier "LAB_00324078") (: ":") (expression_statement "ppvVar9 = &local_58;" (assignment_expression "ppvVar9 = &local_58" (identifier "ppvVar9") (= "=") (pointer_expression "&local_58" (& "&") (identifier "local_58"))) (; ";"))) (if_statement "if (param_5 != 0) {\n      ppvVar9 = param_3;\n    }" (if "if") (parenthesized_expression "(param_5 != 0)" (( "(") (binary_expression "param_5 != 0" (identifier "param_5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      ppvVar9 = param_3;\n    }" ({ "{") (expression_statement "ppvVar9 = param_3;" (assignment_expression "ppvVar9 = param_3" (identifier "ppvVar9") (= "=") (identifier "param_3")) (; ";")) (} "}"))) (expression_statement "lVar12 = 0;" (assignment_expression "lVar12 = 0" (identifier "lVar12") (= "=") (number_literal "0")) (; ";")) (while_statement "while( true ) {\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      pcVar3 = (char *)*param_2;\n      if (*pcVar3 == 'Z') break;\n      if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }\n      iVar6 = FUN_00322140(param_1,param_2,&local_78);\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      if (iVar6 == 0) goto LAB_00324201;\n      if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }\nLAB_003241b0:\n      lVar12 = lVar12 + 1;\n      if (local_7c <= (int)lVar12) goto LAB_00324204;\n      FUN_00320c60(param_3,", ");\n    }" ({ "{") (expression_statement "pcVar3 = (char *)*param_2;" (assignment_expression "pcVar3 = (char *)*param_2" (identifier "pcVar3") (= "=") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (if_statement "if (*pcVar3 == 'Z') break;" (if "if") (parenthesized_expression "(*pcVar3 == 'Z')" (( "(") (binary_expression "*pcVar3 == 'Z'" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (== "==") (char_literal "'Z'" (' "'") (character "Z") (' "'"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (*pcVar3 == 'z') {\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }" (if "if") (parenthesized_expression "(*pcVar3 == 'z')" (( "(") (binary_expression "*pcVar3 == 'z'" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (== "==") (char_literal "'z'" (' "'") (character "z") (' "'"))) () ")")) (compound_statement "{\n        *param_2 = (long)(pcVar3 + 1);\n        iVar6 = FUN_00323d20(param_1,param_2,param_3);\n        if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }\n        goto LAB_00324201;\n      }" ({ "{") (expression_statement "*param_2 = (long)(pcVar3 + 1);" (assignment_expression "*param_2 = (long)(pcVar3 + 1)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(long)(pcVar3 + 1)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(pcVar3 + 1)" (( "(") (binary_expression "pcVar3 + 1" (identifier "pcVar3") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "iVar6 = FUN_00323d20(param_1,param_2,param_3);" (assignment_expression "iVar6 = FUN_00323d20(param_1,param_2,param_3)" (identifier "iVar6") (= "=") (call_expression "FUN_00323d20(param_1,param_2,param_3)" (identifier "FUN_00323d20") (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar7 = FUN_00320870(param_2);\n          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }\n          goto LAB_003241b0;\n        }" ({ "{") (expression_statement "iVar7 = FUN_00320870(param_2);" (assignment_expression "iVar7 = FUN_00320870(param_2)" (identifier "iVar7") (= "=") (call_expression "FUN_00320870(param_2)" (identifier "FUN_00320870") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }" (if "if") (parenthesized_expression "((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10))" (( "(") (binary_expression "(0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)" (parenthesized_expression "(0 < iVar7)" (( "(") (binary_expression "0 < iVar7" (number_literal "0") (< "<") (identifier "iVar7")) () ")")) (&& "&&") (parenthesized_expression "(sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)" (( "(") (comma_expression "sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10" (assignment_expression "sVar10 = strlen((char *)*param_2)" (identifier "sVar10") (= "=") (call_expression "strlen((char *)*param_2)" (identifier "strlen") (argument_list "((char *)*param_2)" (( "(") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")))) (, ",") (binary_expression "iVar7 <= (int)sVar10" (identifier "iVar7") (<= "<=") (cast_expression "(int)sVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar10")))) () ")"))) () ")")) (compound_statement "{\n            FUN_00320c60(param_3,&DAT_003f45df);\n            FUN_00320bb0(param_3,*param_2,iVar7);\n            sVar10 = (size_t)iVar7;\n            if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }\n            *param_2 = *param_2 + sVar10;\n          }" ({ "{") (expression_statement "FUN_00320c60(param_3,&DAT_003f45df);" (call_expression "FUN_00320c60(param_3,&DAT_003f45df)" (identifier "FUN_00320c60") (argument_list "(param_3,&DAT_003f45df)" (( "(") (identifier "param_3") (, ",") (pointer_expression "&DAT_003f45df" (& "&") (identifier "DAT_003f45df")) () ")"))) (; ";")) (expression_statement "FUN_00320bb0(param_3,*param_2,iVar7);" (call_expression "FUN_00320bb0(param_3,*param_2,iVar7)" (identifier "FUN_00320bb0") (argument_list "(param_3,*param_2,iVar7)" (( "(") (identifier "param_3") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) (, ",") (identifier "iVar7") () ")"))) (; ";")) (expression_statement "sVar10 = (size_t)iVar7;" (assignment_expression "sVar10 = (size_t)iVar7" (identifier "sVar10") (= "=") (cast_expression "(size_t)iVar7" (( "(") (type_descriptor "size_t" (primitive_type "size_t")) () ")") (identifier "iVar7"))) (; ";")) (if_statement "if (param_5 == 0) {\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              lVar4 = *(long *)(param_1 + 0x50);\n              uVar11 = FUN_00336e30((long)(iVar7 + 1));\n              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);\n              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;\n            }" ({ "{") (expression_statement "lVar4 = *(long *)(param_1 + 0x50);" (assignment_expression "lVar4 = *(long *)(param_1 + 0x50)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (expression_statement "uVar11 = FUN_00336e30((long)(iVar7 + 1));" (assignment_expression "uVar11 = FUN_00336e30((long)(iVar7 + 1))" (identifier "uVar11") (= "=") (call_expression "FUN_00336e30((long)(iVar7 + 1))" (identifier "FUN_00336e30") (argument_list "((long)(iVar7 + 1))" (( "(") (cast_expression "(long)(iVar7 + 1)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(iVar7 + 1)" (( "(") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) () ")"))) () ")")))) (; ";")) (expression_statement "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;" (assignment_expression "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11" (pointer_expression "*(undefined8 *)(lVar4 + lVar12 * 8)" (* "*") (cast_expression "(undefined8 *)(lVar4 + lVar12 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + lVar12 * 8)" (( "(") (binary_expression "lVar4 + lVar12 * 8" (identifier "lVar4") (+ "+") (binary_expression "lVar12 * 8" (identifier "lVar12") (* "*") (number_literal "8"))) () ")")))) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);" (call_expression "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10)" (identifier "memcpy") (argument_list "(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10)" (( "(") (pointer_expression "*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" (* "*") (cast_expression "(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (binary_expression "lVar12 * 8" (identifier "lVar12") (* "*") (number_literal "8"))) () ")")))) (, ",") (cast_expression "(void *)*param_2" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (, ",") (identifier "sVar10") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;" (assignment_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0" (pointer_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10)" (* "*") (cast_expression "(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10)" (( "(") (binary_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10" (pointer_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (binary_expression "lVar12 * 8" (identifier "lVar12") (* "*") (number_literal "8"))) () ")")))) (+ "+") (identifier "sVar10")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "*param_2 = *param_2 + sVar10;" (assignment_expression "*param_2 = *param_2 + sVar10" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "*param_2 + sVar10" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (identifier "sVar10"))) (; ";")) (} "}"))) (goto_statement "goto LAB_003241b0;" (goto "goto") (statement_identifier "LAB_003241b0") (; ";")) (} "}"))) (goto_statement "goto LAB_00324201;" (goto "goto") (statement_identifier "LAB_00324201") (; ";")) (} "}"))) (expression_statement "iVar6 = FUN_00322140(param_1,param_2,&local_78);" (assignment_expression "iVar6 = FUN_00322140(param_1,param_2,&local_78)" (identifier "iVar6") (= "=") (call_expression "FUN_00322140(param_1,param_2,&local_78)" (identifier "FUN_00322140") (argument_list "(param_1,param_2,&local_78)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (pointer_expression "&local_78" (& "&") (identifier "local_78")) () ")")))) (; ";")) (if_statement "if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }" (if "if") (parenthesized_expression "(local_78 != (void *)0x0)" (( "(") (binary_expression "local_78 != (void *)0x0" (identifier "local_78") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }" ({ "{") (expression_statement "free(local_78);" (call_expression "free(local_78)" (identifier "free") (argument_list "(local_78)" (( "(") (identifier "local_78") () ")"))) (; ";")) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" (identifier "local_70") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" (identifier "local_68") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_78 = (void *)0x0;" (assignment_expression "local_78 = (void *)0x0" (identifier "local_78") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (if_statement "if (iVar6 == 0) goto LAB_00324201;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00324201;" (goto "goto") (statement_identifier "LAB_00324201") (; ";"))) (if_statement "if (param_5 == 0) {\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }\n      else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_48 = 0;\n        local_50 = 0;\n        local_58 = (void *)0x0;\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_50 - (int)local_58;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n        FUN_00320da0(param_3,&local_58,local_50);\n        if (local_58 != (void *)0x0) {\n          free(local_58);\n        }\n      }" ({ "{") (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" (identifier "local_48") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_50 = 0;" (assignment_expression "local_50 = 0" (identifier "local_50") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_58 = (void *)0x0;" (assignment_expression "local_58 = (void *)0x0" (identifier "local_58") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);" (assignment_expression "iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6)" (identifier "iVar6") (= "=") (call_expression "FUN_00321a30(param_1,param_2,ppvVar9,iVar6)" (identifier "FUN_00321a30") (argument_list "(param_1,param_2,ppvVar9,iVar6)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "ppvVar9") (, ",") (identifier "iVar6") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (local_58 != (void *)0x0) {\n            free(local_58);\n          }\n          goto LAB_00324201;\n        }" ({ "{") (if_statement "if (local_58 != (void *)0x0) {\n            free(local_58);\n          }" (if "if") (parenthesized_expression "(local_58 != (void *)0x0)" (( "(") (binary_expression "local_58 != (void *)0x0" (identifier "local_58") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            free(local_58);\n          }" ({ "{") (expression_statement "free(local_58);" (call_expression "free(local_58)" (identifier "free") (argument_list "(local_58)" (( "(") (identifier "local_58") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_00324201;" (goto "goto") (statement_identifier "LAB_00324201") (; ";")) (} "}"))) (expression_statement "lVar4 = *(long *)(param_1 + 0x50);" (assignment_expression "lVar4 = *(long *)(param_1 + 0x50)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (expression_statement "iVar7 = (int)local_50 - (int)local_58;" (assignment_expression "iVar7 = (int)local_50 - (int)local_58" (identifier "iVar7") (= "=") (binary_expression "(int)local_50 - (int)local_58" (cast_expression "(int)local_50" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_50")) (- "-") (cast_expression "(int)local_58" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_58")))) (; ";")) (expression_statement "uVar11 = FUN_00336e30((long)(iVar7 + 1));" (assignment_expression "uVar11 = FUN_00336e30((long)(iVar7 + 1))" (identifier "uVar11") (= "=") (call_expression "FUN_00336e30((long)(iVar7 + 1))" (identifier "FUN_00336e30") (argument_list "((long)(iVar7 + 1))" (( "(") (cast_expression "(long)(iVar7 + 1)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(iVar7 + 1)" (( "(") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) () ")"))) () ")")))) (; ";")) (expression_statement "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;" (assignment_expression "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11" (pointer_expression "*(undefined8 *)(lVar4 + lVar12 * 8)" (* "*") (cast_expression "(undefined8 *)(lVar4 + lVar12 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + lVar12 * 8)" (( "(") (binary_expression "lVar4 + lVar12 * 8" (identifier "lVar4") (+ "+") (binary_expression "lVar12 * 8" (identifier "lVar12") (* "*") (number_literal "8"))) () ")")))) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);" (call_expression "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7)" (identifier "memcpy") (argument_list "(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7)" (( "(") (pointer_expression "*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" (* "*") (cast_expression "(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (binary_expression "lVar12 * 8" (identifier "lVar12") (* "*") (number_literal "8"))) () ")")))) (, ",") (identifier "local_58") (, ",") (cast_expression "(long)iVar7" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar7")) () ")"))) (; ";")) (expression_statement "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;" (assignment_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0" (pointer_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" (* "*") (cast_expression "(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" (( "(") (binary_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7" (pointer_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (binary_expression "lVar12 * 8" (identifier "lVar12") (* "*") (number_literal "8"))) () ")")))) (+ "+") (cast_expression "(long)iVar7" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar7"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00320da0(param_3,&local_58,local_50);" (call_expression "FUN_00320da0(param_3,&local_58,local_50)" (identifier "FUN_00320da0") (argument_list "(param_3,&local_58,local_50)" (( "(") (identifier "param_3") (, ",") (pointer_expression "&local_58" (& "&") (identifier "local_58")) (, ",") (identifier "local_50") () ")"))) (; ";")) (if_statement "if (local_58 != (void *)0x0) {\n          free(local_58);\n        }" (if "if") (parenthesized_expression "(local_58 != (void *)0x0)" (( "(") (binary_expression "local_58 != (void *)0x0" (identifier "local_58") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          free(local_58);\n        }" ({ "{") (expression_statement "free(local_58);" (call_expression "free(local_58)" (identifier "free") (argument_list "(local_58)" (( "(") (identifier "local_58") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }" (else "else") (compound_statement "{\n        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);\n        if (iVar6 == 0) goto LAB_00324201;\n      }" ({ "{") (expression_statement "iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);" (assignment_expression "iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6)" (identifier "iVar6") (= "=") (call_expression "FUN_00321a30(param_1,param_2,ppvVar9,iVar6)" (identifier "FUN_00321a30") (argument_list "(param_1,param_2,ppvVar9,iVar6)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "ppvVar9") (, ",") (identifier "iVar6") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) goto LAB_00324201;" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00324201;" (goto "goto") (statement_identifier "LAB_00324201") (; ";"))) (} "}")))) (labeled_statement "LAB_003241b0:\n      lVar12 = lVar12 + 1;" (statement_identifier "LAB_003241b0") (: ":") (expression_statement "lVar12 = lVar12 + 1;" (assignment_expression "lVar12 = lVar12 + 1" (identifier "lVar12") (= "=") (binary_expression "lVar12 + 1" (identifier "lVar12") (+ "+") (number_literal "1"))) (; ";"))) (if_statement "if (local_7c <= (int)lVar12) goto LAB_00324204;" (if "if") (parenthesized_expression "(local_7c <= (int)lVar12)" (( "(") (binary_expression "local_7c <= (int)lVar12" (identifier "local_7c") (<= "<=") (cast_expression "(int)lVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar12"))) () ")")) (goto_statement "goto LAB_00324204;" (goto "goto") (statement_identifier "LAB_00324204") (; ";"))) (expression_statement "FUN_00320c60(param_3,", ");" (call_expression "FUN_00320c60(param_3,", ")" (identifier "FUN_00320c60") (argument_list "(param_3,", ")" (( "(") (identifier "param_3") (, ",") (string_literal "", "" (" """) (string_content ", ") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "*param_2 = (long)(pcVar3 + 1);" (assignment_expression "*param_2 = (long)(pcVar3 + 1)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(long)(pcVar3 + 1)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(pcVar3 + 1)" (( "(") (binary_expression "pcVar3 + 1" (identifier "pcVar3") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "iVar6 = FUN_00322140(param_1,param_2,&local_78);" (assignment_expression "iVar6 = FUN_00322140(param_1,param_2,&local_78)" (identifier "iVar6") (= "=") (call_expression "FUN_00322140(param_1,param_2,&local_78)" (identifier "FUN_00322140") (argument_list "(param_1,param_2,&local_78)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (pointer_expression "&local_78" (& "&") (identifier "local_78")) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00320da0(param_3,&local_78,local_70);\n      if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }\n      if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }\n      goto LAB_003241b0;\n    }" ({ "{") (expression_statement "FUN_00320da0(param_3,&local_78,local_70);" (call_expression "FUN_00320da0(param_3,&local_78,local_70)" (identifier "FUN_00320da0") (argument_list "(param_3,&local_78,local_70)" (( "(") (identifier "param_3") (, ",") (pointer_expression "&local_78" (& "&") (identifier "local_78")) (, ",") (identifier "local_70") () ")"))) (; ";")) (if_statement "if (param_5 == 0) {\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }" (if "if") (parenthesized_expression "(param_5 == 0)" (( "(") (binary_expression "param_5 == 0" (identifier "param_5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        lVar4 = *(long *)(param_1 + 0x50);\n        iVar7 = (int)local_70 - (int)local_78;\n        uVar11 = FUN_00336e30((long)(iVar7 + 1));\n        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;\n        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);\n        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;\n      }" ({ "{") (expression_statement "lVar4 = *(long *)(param_1 + 0x50);" (assignment_expression "lVar4 = *(long *)(param_1 + 0x50)" (identifier "lVar4") (= "=") (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")"))))) (; ";")) (expression_statement "iVar7 = (int)local_70 - (int)local_78;" (assignment_expression "iVar7 = (int)local_70 - (int)local_78" (identifier "iVar7") (= "=") (binary_expression "(int)local_70 - (int)local_78" (cast_expression "(int)local_70" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_70")) (- "-") (cast_expression "(int)local_78" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_78")))) (; ";")) (expression_statement "uVar11 = FUN_00336e30((long)(iVar7 + 1));" (assignment_expression "uVar11 = FUN_00336e30((long)(iVar7 + 1))" (identifier "uVar11") (= "=") (call_expression "FUN_00336e30((long)(iVar7 + 1))" (identifier "FUN_00336e30") (argument_list "((long)(iVar7 + 1))" (( "(") (cast_expression "(long)(iVar7 + 1)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(iVar7 + 1)" (( "(") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) () ")"))) () ")")))) (; ";")) (expression_statement "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;" (assignment_expression "*(undefined8 *)(lVar4 + lVar12 * 8) = uVar11" (pointer_expression "*(undefined8 *)(lVar4 + lVar12 * 8)" (* "*") (cast_expression "(undefined8 *)(lVar4 + lVar12 * 8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar4 + lVar12 * 8)" (( "(") (binary_expression "lVar4 + lVar12 * 8" (identifier "lVar4") (+ "+") (binary_expression "lVar12 * 8" (identifier "lVar12") (* "*") (number_literal "8"))) () ")")))) (= "=") (identifier "uVar11")) (; ";")) (expression_statement "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);" (call_expression "memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7)" (identifier "memcpy") (argument_list "(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7)" (( "(") (pointer_expression "*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" (* "*") (cast_expression "(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (binary_expression "lVar12 * 8" (identifier "lVar12") (* "*") (number_literal "8"))) () ")")))) (, ",") (identifier "local_78") (, ",") (cast_expression "(long)iVar7" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar7")) () ")"))) (; ";")) (expression_statement "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;" (assignment_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0" (pointer_expression "*(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" (* "*") (cast_expression "(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7)" (( "(") (binary_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7" (pointer_expression "*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x50) + lVar12 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x50) + lVar12 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (binary_expression "lVar12 * 8" (identifier "lVar12") (* "*") (number_literal "8"))) () ")")))) (+ "+") (cast_expression "(long)iVar7" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar7"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if (local_78 != (void *)0x0) {\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }" (if "if") (parenthesized_expression "(local_78 != (void *)0x0)" (( "(") (binary_expression "local_78 != (void *)0x0" (identifier "local_78") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        free(local_78);\n        local_70 = 0;\n        local_68 = 0;\n        local_78 = (void *)0x0;\n      }" ({ "{") (expression_statement "free(local_78);" (call_expression "free(local_78)" (identifier "free") (argument_list "(local_78)" (( "(") (identifier "local_78") () ")"))) (; ";")) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" (identifier "local_70") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" (identifier "local_68") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_78 = (void *)0x0;" (assignment_expression "local_78 = (void *)0x0" (identifier "local_78") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (goto_statement "goto LAB_003241b0;" (goto "goto") (statement_identifier "LAB_003241b0") (; ";")) (} "}"))) (if_statement "if (local_78 == (void *)0x0) {\nLAB_00324201:\n      iVar6 = 0;\n    }\n    else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }" (if "if") (parenthesized_expression "(local_78 == (void *)0x0)" (( "(") (binary_expression "local_78 == (void *)0x0" (identifier "local_78") (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\nLAB_00324201:\n      iVar6 = 0;\n    }" ({ "{") (labeled_statement "LAB_00324201:\n      iVar6 = 0;" (statement_identifier "LAB_00324201") (: ":") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";"))) (} "}")) (else_clause "else {\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }" (else "else") (compound_statement "{\n      free(local_78);\n      local_70 = 0;\n      local_68 = 0;\n      local_78 = (void *)0x0;\n    }" ({ "{") (expression_statement "free(local_78);" (call_expression "free(local_78)" (identifier "free") (argument_list "(local_78)" (( "(") (identifier "local_78") () ")"))) (; ";")) (expression_statement "local_70 = 0;" (assignment_expression "local_70 = 0" (identifier "local_70") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_68 = 0;" (assignment_expression "local_68 = 0" (identifier "local_68") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_78 = (void *)0x0;" (assignment_expression "local_78 = (void *)0x0" (identifier "local_78") (= "=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}")))) (labeled_statement "LAB_00324204:\n    if (local_8c != 0) goto LAB_00323ff8;" (statement_identifier "LAB_00324204") (: ":") (if_statement "if (local_8c != 0) goto LAB_00323ff8;" (if "if") (parenthesized_expression "(local_8c != 0)" (( "(") (binary_expression "local_8c != 0" (identifier "local_8c") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00323ff8;" (goto "goto") (statement_identifier "LAB_00323ff8") (; ";")))) (} "}")) (else_clause "else {\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }" (else "else") (compound_statement "{\n    if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }\n    *param_2 = lVar12 + 2;\n    if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }\n    *param_2 = lVar12 + 3;\n    iVar6 = FUN_00320920(param_2);\n    if (iVar6 == -1) {\n      return 0;\n    }\n    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }\n    iVar7 = FUN_00320920(param_2);\n    if (iVar7 == -1) {\n      return 0;\n    }\n    if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }\nLAB_003242d0:\n    FUN_00320c60(param_3,"<");\n    iVar6 = FUN_00320420(param_2,&local_7c);\n    if (iVar6 == 0) {\n      return 0;\n    }\n    if (0 < local_7c) goto LAB_00324070;\nLAB_00324300:\n    iVar6 = 0;\n  }" ({ "{") (if_statement "if (*(char *)(lVar12 + 1) != 'z') {\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }" (if "if") (parenthesized_expression "(*(char *)(lVar12 + 1) != 'z')" (( "(") (binary_expression "*(char *)(lVar12 + 1) != 'z'" (pointer_expression "*(char *)(lVar12 + 1)" (* "*") (cast_expression "(char *)(lVar12 + 1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar12 + 1)" (( "(") (binary_expression "lVar12 + 1" (identifier "lVar12") (+ "+") (number_literal "1")) () ")")))) (!= "!=") (char_literal "'z'" (' "'") (character "z") (' "'"))) () ")")) (compound_statement "{\n      iVar6 = FUN_00320870(param_2);\n      if (iVar6 < 1) {\n        return 0;\n      }\n      __s = (byte *)*param_2;\n      local_7c = iVar6;\n      sVar10 = strlen((char *)__s);\n      if ((int)sVar10 < iVar6) {\n        return 0;\n      }\n      bVar15 = false;\n      bVar16 = (*param_1 & 4) == 0;\n      if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }\n      lVar12 = 8;\n      pbVar13 = __s;\n      pbVar14 = (byte *)"JArray1Z";\n      do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);\n      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;\n      if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }\n      iVar6 = FUN_00320420(param_2,&local_7c);\n      if (iVar6 == 0) {\n        return 0;\n      }\n      local_8c = param_5;\n      if (0 < local_7c) goto LAB_00324078;\n      iVar6 = 0;\nLAB_00323ff8:\n      FUN_00320c60(param_3,"[]");\n      goto LAB_0032422d;\n    }" ({ "{") (expression_statement "iVar6 = FUN_00320870(param_2);" (assignment_expression "iVar6 = FUN_00320870(param_2)" (identifier "iVar6") (= "=") (call_expression "FUN_00320870(param_2)" (identifier "FUN_00320870") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar6 < 1) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar6 < 1)" (( "(") (binary_expression "iVar6 < 1" (identifier "iVar6") (< "<") (number_literal "1")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "__s = (byte *)*param_2;" (assignment_expression "__s = (byte *)*param_2" (identifier "__s") (= "=") (cast_expression "(byte *)*param_2" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2")))) (; ";")) (expression_statement "local_7c = iVar6;" (assignment_expression "local_7c = iVar6" (identifier "local_7c") (= "=") (identifier "iVar6")) (; ";")) (expression_statement "sVar10 = strlen((char *)__s);" (assignment_expression "sVar10 = strlen((char *)__s)" (identifier "sVar10") (= "=") (call_expression "strlen((char *)__s)" (identifier "strlen") (argument_list "((char *)__s)" (( "(") (cast_expression "(char *)__s" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "__s")) () ")")))) (; ";")) (if_statement "if ((int)sVar10 < iVar6) {\n        return 0;\n      }" (if "if") (parenthesized_expression "((int)sVar10 < iVar6)" (( "(") (binary_expression "(int)sVar10 < iVar6" (cast_expression "(int)sVar10" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar10")) (< "<") (identifier "iVar6")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "bVar15 = false;" (assignment_expression "bVar15 = false" (identifier "bVar15") (= "=") (false "false")) (; ";")) (expression_statement "bVar16 = (*param_1 & 4) == 0;" (assignment_expression "bVar16 = (*param_1 & 4) == 0" (identifier "bVar16") (= "=") (binary_expression "(*param_1 & 4) == 0" (parenthesized_expression "(*param_1 & 4)" (( "(") (binary_expression "*param_1 & 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "4")) () ")")) (== "==") (number_literal "0"))) (; ";")) (if_statement "if (bVar16) {\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }" (if "if") (parenthesized_expression "(bVar16)" (( "(") (identifier "bVar16") () ")")) (compound_statement "{\nLAB_003244b8:\n        FUN_00320bb0(param_3,__s);\n        if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }\n        *param_2 = *param_2 + (long)local_7c;\n        goto LAB_003242d0;\n      }" ({ "{") (labeled_statement "LAB_003244b8:\n        FUN_00320bb0(param_3,__s);" (statement_identifier "LAB_003244b8") (: ":") (expression_statement "FUN_00320bb0(param_3,__s);" (call_expression "FUN_00320bb0(param_3,__s)" (identifier "FUN_00320bb0") (argument_list "(param_3,__s)" (( "(") (identifier "param_3") (, ",") (identifier "__s") () ")"))) (; ";"))) (if_statement "if (param_4 != 0) {\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }" (if "if") (parenthesized_expression "(param_4 != 0)" (( "(") (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if (local_7c == 0) goto LAB_003242d0;\n          FUN_00320bb0(param_4,*param_2);\n        }" ({ "{") (if_statement "if (local_7c == 0) goto LAB_003242d0;" (if "if") (parenthesized_expression "(local_7c == 0)" (( "(") (binary_expression "local_7c == 0" (identifier "local_7c") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_003242d0;" (goto "goto") (statement_identifier "LAB_003242d0") (; ";"))) (expression_statement "FUN_00320bb0(param_4,*param_2);" (call_expression "FUN_00320bb0(param_4,*param_2)" (identifier "FUN_00320bb0") (argument_list "(param_4,*param_2)" (( "(") (identifier "param_4") (, ",") (pointer_expression "*param_2" (* "*") (identifier "param_2")) () ")"))) (; ";")) (} "}"))) (expression_statement "*param_2 = *param_2 + (long)local_7c;" (assignment_expression "*param_2 = *param_2 + (long)local_7c" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "*param_2 + (long)local_7c" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (cast_expression "(long)local_7c" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_7c")))) (; ";")) (goto_statement "goto LAB_003242d0;" (goto "goto") (statement_identifier "LAB_003242d0") (; ";")) (} "}"))) (expression_statement "lVar12 = 8;" (assignment_expression "lVar12 = 8" (identifier "lVar12") (= "=") (number_literal "8")) (; ";")) (expression_statement "pbVar13 = __s;" (assignment_expression "pbVar13 = __s" (identifier "pbVar13") (= "=") (identifier "__s")) (; ";")) (expression_statement "pbVar14 = (byte *)"JArray1Z";" (assignment_expression "pbVar14 = (byte *)"JArray1Z"" (identifier "pbVar14") (= "=") (cast_expression "(byte *)"JArray1Z"" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (string_literal ""JArray1Z"" (" """) (string_content "JArray1Z") (" """)))) (; ";")) (do_statement "do {\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      } while (bVar16);" (do "do") (compound_statement "{\n        if (lVar12 == 0) break;\n        lVar12 = lVar12 + -1;\n        bVar15 = *pbVar13 < *pbVar14;\n        bVar16 = *pbVar13 == *pbVar14;\n        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;\n        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;\n      }" ({ "{") (if_statement "if (lVar12 == 0) break;" (if "if") (parenthesized_expression "(lVar12 == 0)" (( "(") (binary_expression "lVar12 == 0" (identifier "lVar12") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "lVar12 = lVar12 + -1;" (assignment_expression "lVar12 = lVar12 + -1" (identifier "lVar12") (= "=") (binary_expression "lVar12 + -1" (identifier "lVar12") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar15 = *pbVar13 < *pbVar14;" (assignment_expression "bVar15 = *pbVar13 < *pbVar14" (identifier "bVar15") (= "=") (binary_expression "*pbVar13 < *pbVar14" (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")) (< "<") (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")))) (; ";")) (expression_statement "bVar16 = *pbVar13 == *pbVar14;" (assignment_expression "bVar16 = *pbVar13 == *pbVar14" (identifier "bVar16") (= "=") (binary_expression "*pbVar13 == *pbVar14" (pointer_expression "*pbVar13" (* "*") (identifier "pbVar13")) (== "==") (pointer_expression "*pbVar14" (* "*") (identifier "pbVar14")))) (; ";")) (expression_statement "pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1" (identifier "pbVar13") (= "=") (binary_expression "pbVar13 + (ulong)bVar17 * -2 + 1" (binary_expression "pbVar13 + (ulong)bVar17 * -2" (identifier "pbVar13") (+ "+") (binary_expression "(ulong)bVar17 * -2" (cast_expression "(ulong)bVar17" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar17")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;" (assignment_expression "pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1" (identifier "pbVar14") (= "=") (binary_expression "pbVar14 + (ulong)bVar17 * -2 + 1" (binary_expression "pbVar14 + (ulong)bVar17 * -2" (identifier "pbVar14") (+ "+") (binary_expression "(ulong)bVar17 * -2" (cast_expression "(ulong)bVar17" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar17")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar16)" (( "(") (identifier "bVar16") () ")")) (; ";")) (if_statement "if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;" (if "if") (parenthesized_expression "((!bVar15 && !bVar16) != bVar15)" (( "(") (binary_expression "(!bVar15 && !bVar16) != bVar15" (parenthesized_expression "(!bVar15 && !bVar16)" (( "(") (binary_expression "!bVar15 && !bVar16" (unary_expression "!bVar15" (! "!") (identifier "bVar15")) (&& "&&") (unary_expression "!bVar16" (! "!") (identifier "bVar16"))) () ")")) (!= "!=") (identifier "bVar15")) () ")")) (goto_statement "goto LAB_003244b8;" (goto "goto") (statement_identifier "LAB_003244b8") (; ";"))) (if_statement "if (param_4 == 0) {\n        *param_2 = (long)(__s + iVar6);\n      }\n      else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }" (if "if") (parenthesized_expression "(param_4 == 0)" (( "(") (binary_expression "param_4 == 0" (identifier "param_4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        *param_2 = (long)(__s + iVar6);\n      }" ({ "{") (expression_statement "*param_2 = (long)(__s + iVar6);" (assignment_expression "*param_2 = (long)(__s + iVar6)" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (cast_expression "(long)(__s + iVar6)" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (parenthesized_expression "(__s + iVar6)" (( "(") (binary_expression "__s + iVar6" (identifier "__s") (+ "+") (identifier "iVar6")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }" (else "else") (compound_statement "{\n        FUN_00320bb0(param_4,__s);\n        *param_2 = *param_2 + (long)local_7c;\n      }" ({ "{") (expression_statement "FUN_00320bb0(param_4,__s);" (call_expression "FUN_00320bb0(param_4,__s)" (identifier "FUN_00320bb0") (argument_list "(param_4,__s)" (( "(") (identifier "param_4") (, ",") (identifier "__s") () ")"))) (; ";")) (expression_statement "*param_2 = *param_2 + (long)local_7c;" (assignment_expression "*param_2 = *param_2 + (long)local_7c" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "*param_2 + (long)local_7c" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (cast_expression "(long)local_7c" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "local_7c")))) (; ";")) (} "}")))) (expression_statement "iVar6 = FUN_00320420(param_2,&local_7c);" (assignment_expression "iVar6 = FUN_00320420(param_2,&local_7c)" (identifier "iVar6") (= "=") (call_expression "FUN_00320420(param_2,&local_7c)" (identifier "FUN_00320420") (argument_list "(param_2,&local_7c)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_7c" (& "&") (identifier "local_7c")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "local_8c = param_5;" (assignment_expression "local_8c = param_5" (identifier "local_8c") (= "=") (identifier "param_5")) (; ";")) (if_statement "if (0 < local_7c) goto LAB_00324078;" (if "if") (parenthesized_expression "(0 < local_7c)" (( "(") (binary_expression "0 < local_7c" (number_literal "0") (< "<") (identifier "local_7c")) () ")")) (goto_statement "goto LAB_00324078;" (goto "goto") (statement_identifier "LAB_00324078") (; ";"))) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_00323ff8:\n      FUN_00320c60(param_3,"[]");" (statement_identifier "LAB_00323ff8") (: ":") (expression_statement "FUN_00320c60(param_3,"[]");" (call_expression "FUN_00320c60(param_3,"[]")" (identifier "FUN_00320c60") (argument_list "(param_3,"[]")" (( "(") (identifier "param_3") (, ",") (string_literal ""[]"" (" """) (string_content "[]") (" """)) () ")"))) (; ";"))) (goto_statement "goto LAB_0032422d;" (goto "goto") (statement_identifier "LAB_0032422d") (; ";")) (} "}"))) (expression_statement "*param_2 = lVar12 + 2;" (assignment_expression "*param_2 = lVar12 + 2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "lVar12 + 2" (identifier "lVar12") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (*(char *)(lVar12 + 2) == '\0') {\n      return 0;\n    }" (if "if") (parenthesized_expression "(*(char *)(lVar12 + 2) == '\0')" (( "(") (binary_expression "*(char *)(lVar12 + 2) == '\0'" (pointer_expression "*(char *)(lVar12 + 2)" (* "*") (cast_expression "(char *)(lVar12 + 2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar12 + 2)" (( "(") (binary_expression "lVar12 + 2" (identifier "lVar12") (+ "+") (number_literal "2")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "*param_2 = lVar12 + 3;" (assignment_expression "*param_2 = lVar12 + 3" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "lVar12 + 3" (identifier "lVar12") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "iVar6 = FUN_00320920(param_2);" (assignment_expression "iVar6 = FUN_00320920(param_2)" (identifier "iVar6") (= "=") (call_expression "FUN_00320920(param_2)" (identifier "FUN_00320920") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar6 == -1) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar6 == -1)" (( "(") (binary_expression "iVar6 == -1" (identifier "iVar6") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {\n      return 0;\n    }" (if "if") (parenthesized_expression "((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6))" (( "(") (binary_expression "(*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)" (parenthesized_expression "(*(long *)(param_1 + 0x50) != 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x50) != 0" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 0x58) <= iVar6)" (( "(") (binary_expression "*(int *)(param_1 + 0x58) <= iVar6" (pointer_expression "*(int *)(param_1 + 0x58)" (* "*") (cast_expression "(int *)(param_1 + 0x58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (<= "<=") (identifier "iVar6")) () ")"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar7 = FUN_00320920(param_2);" (assignment_expression "iVar7 = FUN_00320920(param_2)" (identifier "iVar7") (= "=") (call_expression "FUN_00320920(param_2)" (identifier "FUN_00320920") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar7 == -1) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar7 == -1)" (( "(") (binary_expression "iVar7 == -1" (identifier "iVar7") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (*(long *)(param_1 + 0x50) == 0) {\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }\n    else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }" (if "if") (parenthesized_expression "(*(long *)(param_1 + 0x50) == 0)" (( "(") (binary_expression "*(long *)(param_1 + 0x50) == 0" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00320ca0(param_3,iVar6);\n      if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }\n    }" ({ "{") (expression_statement "FUN_00320ca0(param_3,iVar6);" (call_expression "FUN_00320ca0(param_3,iVar6)" (identifier "FUN_00320ca0") (argument_list "(param_3,iVar6)" (( "(") (identifier "param_3") (, ",") (identifier "iVar6") () ")"))) (; ";")) (if_statement "if (param_4 != 0) {\n        FUN_00320ca0(param_4,iVar6);\n      }" (if "if") (parenthesized_expression "(param_4 != 0)" (( "(") (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        FUN_00320ca0(param_4,iVar6);\n      }" ({ "{") (expression_statement "FUN_00320ca0(param_4,iVar6);" (call_expression "FUN_00320ca0(param_4,iVar6)" (identifier "FUN_00320ca0") (argument_list "(param_4,iVar6)" (( "(") (identifier "param_4") (, ",") (identifier "iVar6") () ")"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }" (else "else") (compound_statement "{\n      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);\n      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }\n    }" ({ "{") (expression_statement "pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);" (assignment_expression "pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" (identifier "pcVar3") (= "=") (pointer_expression "*(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" (* "*") (cast_expression "(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x50) + (long)iVar6 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (binary_expression "(long)iVar6 * 8" (cast_expression "(long)iVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar6")) (* "*") (number_literal "8"))) () ")"))))) (; ";")) (if_statement "if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {\n        FUN_00320c60(param_4);\n      }" (if "if") (parenthesized_expression "((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0'))))" (( "(") (binary_expression "(((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))\n         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))" (parenthesized_expression "(((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))" (( "(") (binary_expression "((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0)" (parenthesized_expression "((pcVar3 != (char *)0x0) && (*pcVar3 != '\0'))" (( "(") (binary_expression "(pcVar3 != (char *)0x0) && (*pcVar3 != '\0')" (parenthesized_expression "(pcVar3 != (char *)0x0)" (( "(") (binary_expression "pcVar3 != (char *)0x0" (identifier "pcVar3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(*pcVar3 != '\0')" (( "(") (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(FUN_00320c60(param_3), param_4 != 0)" (( "(") (comma_expression "FUN_00320c60(param_3), param_4 != 0" (call_expression "FUN_00320c60(param_3)" (identifier "FUN_00320c60") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (, ",") (binary_expression "param_4 != 0" (identifier "param_4") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))" (( "(") (parenthesized_expression "(pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0'))" (( "(") (comma_expression "pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),\n             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')" (assignment_expression "pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" (identifier "pcVar3") (= "=") (pointer_expression "*(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" (* "*") (cast_expression "(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x50) + (long)iVar6 * 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x50) + (long)iVar6 * 8" (pointer_expression "*(long *)(param_1 + 0x50)" (* "*") (cast_expression "(long *)(param_1 + 0x50)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x50)" (( "(") (binary_expression "param_1 + 0x50" (identifier "param_1") (+ "+") (number_literal "0x50")) () ")")))) (+ "+") (binary_expression "(long)iVar6 * 8" (cast_expression "(long)iVar6" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar6")) (* "*") (number_literal "8"))) () ")"))))) (, ",") (binary_expression "pcVar3 != (char *)0x0 && (*pcVar3 != '\0')" (binary_expression "pcVar3 != (char *)0x0" (identifier "pcVar3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (&& "&&") (parenthesized_expression "(*pcVar3 != '\0')" (( "(") (binary_expression "*pcVar3 != '\0'" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n        FUN_00320c60(param_4);\n      }" ({ "{") (expression_statement "FUN_00320c60(param_4);" (call_expression "FUN_00320c60(param_4)" (identifier "FUN_00320c60") (argument_list "(param_4)" (( "(") (identifier "param_4") () ")"))) (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_003242d0:\n    FUN_00320c60(param_3,"<");" (statement_identifier "LAB_003242d0") (: ":") (expression_statement "FUN_00320c60(param_3,"<");" (call_expression "FUN_00320c60(param_3,"<")" (identifier "FUN_00320c60") (argument_list "(param_3,"<")" (( "(") (identifier "param_3") (, ",") (string_literal ""<"" (" """) (string_content "<") (" """)) () ")"))) (; ";"))) (expression_statement "iVar6 = FUN_00320420(param_2,&local_7c);" (assignment_expression "iVar6 = FUN_00320420(param_2,&local_7c)" (identifier "iVar6") (= "=") (call_expression "FUN_00320420(param_2,&local_7c)" (identifier "FUN_00320420") (argument_list "(param_2,&local_7c)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&local_7c" (& "&") (identifier "local_7c")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (0 < local_7c) goto LAB_00324070;" (if "if") (parenthesized_expression "(0 < local_7c)" (( "(") (binary_expression "0 < local_7c" (number_literal "0") (< "<") (identifier "local_7c")) () ")")) (goto_statement "goto LAB_00324070;" (goto "goto") (statement_identifier "LAB_00324070") (; ";"))) (labeled_statement "LAB_00324300:\n    iVar6 = 0;" (statement_identifier "LAB_00324300") (: ":") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";"))) (} "}")))) (if_statement "if (*(char *)((long)param_3[1] + -1) == '>') {\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }" (if "if") (parenthesized_expression "(*(char *)((long)param_3[1] + -1) == '>')" (( "(") (binary_expression "*(char *)((long)param_3[1] + -1) == '>'" (pointer_expression "*(char *)((long)param_3[1] + -1)" (* "*") (cast_expression "(char *)((long)param_3[1] + -1)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_3[1] + -1)" (( "(") (binary_expression "(long)param_3[1] + -1" (cast_expression "(long)param_3[1]" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (+ "+") (number_literal "-1")) () ")")))) (== "==") (char_literal "'>'" (' "'") (character ">") (' "'"))) () ")")) (compound_statement "{\n    FUN_00320c60(param_3,&DAT_003f45df);\n  }" ({ "{") (expression_statement "FUN_00320c60(param_3,&DAT_003f45df);" (call_expression "FUN_00320c60(param_3,&DAT_003f45df)" (identifier "FUN_00320c60") (argument_list "(param_3,&DAT_003f45df)" (( "(") (identifier "param_3") (, ",") (pointer_expression "&DAT_003f45df" (& "&") (identifier "DAT_003f45df")) () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00320c60(param_3,&DAT_003fc99b);" (call_expression "FUN_00320c60(param_3,&DAT_003fc99b)" (identifier "FUN_00320c60") (argument_list "(param_3,&DAT_003fc99b)" (( "(") (identifier "param_3") (, ",") (pointer_expression "&DAT_003fc99b" (& "&") (identifier "DAT_003fc99b")) () ")"))) (; ";")) (labeled_statement "LAB_0032422d:\n  if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }" (statement_identifier "LAB_0032422d") (: ":") (if_statement "if ((param_6 & param_5) != 0) {\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }" (if "if") (parenthesized_expression "((param_6 & param_5) != 0)" (( "(") (binary_expression "(param_6 & param_5) != 0" (parenthesized_expression "(param_6 & param_5)" (( "(") (binary_expression "param_6 & param_5" (identifier "param_6") (& "&") (identifier "param_5")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar5 = FUN_00320660(param_1);\n    pvVar2 = *param_3;\n    iVar7 = 0;\n    if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }\n    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);\n  }" ({ "{") (expression_statement "uVar5 = FUN_00320660(param_1);" (assignment_expression "uVar5 = FUN_00320660(param_1)" (identifier "uVar5") (= "=") (call_expression "FUN_00320660(param_1)" (identifier "FUN_00320660") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (expression_statement "pvVar2 = *param_3;" (assignment_expression "pvVar2 = *param_3" (identifier "pvVar2") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (if_statement "if (pvVar2 != param_3[1]) {\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }" (if "if") (parenthesized_expression "(pvVar2 != param_3[1])" (( "(") (binary_expression "pvVar2 != param_3[1]" (identifier "pvVar2") (!= "!=") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) () ")")) (compound_statement "{\n      iVar7 = (int)param_3[1] - (int)pvVar2;\n    }" ({ "{") (expression_statement "iVar7 = (int)param_3[1] - (int)pvVar2;" (assignment_expression "iVar7 = (int)param_3[1] - (int)pvVar2" (identifier "iVar7") (= "=") (binary_expression "(int)param_3[1] - (int)pvVar2" (cast_expression "(int)param_3[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]"))) (- "-") (cast_expression "(int)pvVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pvVar2")))) (; ";")) (} "}"))) (expression_statement "FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);" (call_expression "FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5)" (identifier "FUN_00320ac0") (argument_list "(param_1 + 0x18,pvVar2,iVar7,uVar5)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) (, ",") (identifier "pvVar2") (, ",") (identifier "iVar7") (, ",") (identifier "uVar5") () ")"))) (; ";")) (} "}")))) (return_statement "return iVar6;" (return "return") (identifier "iVar6") (; ";")) (} "}")))

int function_1(type_1 *work,char **mangled,type_2 *tname,type_2 *var_25,int var_2,
                     int var_32)

{
  char **var_9;
  type_3 *var_29;
  type_4 var_19;
  int index;
  int var_5;
  int var_12;
  char **var_8;
  type_2 *s;
  size_t var_16;
  char *var_1;
  long var_23;
  type_3 *var_26;
  type_3 *var_27;
  bool var_28;
  bool bVar11;
  type_3 bVar12;
  int var_24;
  int var_7;
  type_2 temp;
  type_2 param;
  
  bVar12 = 0;
  var_1 = *mangled;
  *mangled = var_1 + 1;
  if (var_2 == 0) {
    var_3(tname,"<");
    var_5 = var_4(mangled,&var_7);
    if (var_5 == 0) {
      return 0;
    }
    var_8 = (char **)var_6((long)var_7 << 3);
    work->tmpl_argvec = var_8;
    work->ntmpl_args = var_7;
    if (var_7 < 1) goto LAB_00324300;
    var_9 = var_8 + (type_5)(var_7 - 1) + 1;
    do {
      *var_8 = (char *)0x0;
      var_8 = var_8 + 1;
    } while (var_9 != var_8);
LAB_00324070:
    var_24 = 0;
LAB_00324078:
    s = &param;
    if (var_2 != 0) {
      s = tname;
    }
    var_23 = 0;
    while( true ) {
      var_1 = *mangled;
      if (*var_1 == 'Z') break;
      if (*var_1 == 'z') {
        *mangled = var_1 + 1;
        var_5 = var_10(work,mangled,tname);
        if (var_5 != 0) {
          var_12 = var_11(mangled);
          if ((0 < var_12) && (var_16 = var_13(*mangled), var_12 <= (int)var_16)) {
            var_3(tname," ");
            var_14(tname,*mangled,var_12);
            var_16 = (size_t)var_12;
            if (var_2 == 0) {
              var_8 = work->tmpl_argvec;
              var_1 = (char *)var_6((long)(var_12 + 1));
              var_8[var_23] = var_1;
              var_15(work->tmpl_argvec[var_23],*mangled,var_16);
              work->tmpl_argvec[var_23][var_16] = '\0';
            }
            *mangled = *mangled + var_16;
          }
          goto LAB_003241b0;
        }
        goto LAB_00324201;
      }
      var_19 = var_17(work,mangled,&temp);
      if (temp.b != (char *)0x0) {
        var_18(temp.b);
        temp.p = (char *)0x0;
        temp.e = (char *)0x0;
        temp.b = (char *)0x0;
      }
      if (var_19 == var_20) goto LAB_00324201;
      if (var_2 == 0) {
        param.e = (char *)0x0;
        param.p = (char *)0x0;
        param.b = (char *)0x0;
        var_5 = var_21(work,mangled,s,var_19);
        if (var_5 == 0) {
          if (param.b != (char *)0x0) {
            var_18(param.b);
          }
          goto LAB_00324201;
        }
        var_8 = work->tmpl_argvec;
        var_12 = (int)param.p - (int)param.b;
        var_1 = (char *)var_6((long)(var_12 + 1));
        var_8[var_23] = var_1;
        var_15(work->tmpl_argvec[var_23],param.b,(long)var_12);
        work->tmpl_argvec[var_23][var_12] = '\0';
        var_22(tname,&param,(type_2 *)param.p);
        if (param.b != (char *)0x0) {
          var_18(param.b);
        }
      }
      else {
        var_5 = var_21(work,mangled,s,var_19);
        if (var_5 == 0) goto LAB_00324201;
      }
LAB_003241b0:
      var_23 = var_23 + 1;
      if (var_7 <= (int)var_23) goto LAB_00324204;
      var_3(tname,", ");
    }
    *mangled = var_1 + 1;
    var_5 = var_17(work,mangled,&temp);
    if (var_5 != 0) {
      var_22(tname,&temp,(type_2 *)temp.p);
      if (var_2 == 0) {
        var_8 = work->tmpl_argvec;
        var_12 = (int)temp.p - (int)temp.b;
        var_1 = (char *)var_6((long)(var_12 + 1));
        var_8[var_23] = var_1;
        var_15(work->tmpl_argvec[var_23],temp.b,(long)var_12);
        work->tmpl_argvec[var_23][var_12] = '\0';
      }
      if (temp.b != (char *)0x0) {
        var_18(temp.b);
        temp.p = (char *)0x0;
        temp.e = (char *)0x0;
        temp.b = (char *)0x0;
      }
      goto LAB_003241b0;
    }
    if (temp.b == (char *)0x0) {
LAB_00324201:
      var_5 = 0;
    }
    else {
      var_18(temp.b);
      temp.p = (char *)0x0;
      temp.e = (char *)0x0;
      temp.b = (char *)0x0;
    }
LAB_00324204:
    if (var_24 != 0) goto LAB_00323ff8;
  }
  else {
    if (var_1[1] != 'z') {
      var_5 = var_11(mangled);
      if (var_5 < 1) {
        return 0;
      }
      var_29 = (type_3 *)*mangled;
      var_7 = var_5;
      var_16 = var_13((char *)var_29);
      if ((int)var_16 < var_5) {
        return 0;
      }
      var_28 = false;
      bVar11 = (work->options & 4) == 0;
      if (bVar11) {
LAB_003244b8:
        var_14(tname,(char *)var_29,var_5);
        if (var_25 != (type_2 *)0x0) {
          if (var_7 == 0) goto LAB_003242d0;
          var_14(var_25,*mangled,var_7);
        }
        *mangled = *mangled + var_7;
        goto LAB_003242d0;
      }
      var_23 = 8;
      var_26 = var_29;
      var_27 = (type_3 *)"JArray1Z";
      do {
        if (var_23 == 0) break;
        var_23 = var_23 + -1;
        var_28 = *var_26 < *var_27;
        bVar11 = *var_26 == *var_27;
        var_26 = var_26 + (type_5)bVar12 * -2 + 1;
        var_27 = var_27 + (type_5)bVar12 * -2 + 1;
      } while (bVar11);
      if ((!var_28 && !bVar11) != var_28) goto LAB_003244b8;
      if (var_25 == (type_2 *)0x0) {
        *mangled = (char *)(var_29 + var_5);
      }
      else {
        var_14(var_25,(char *)var_29,var_5);
        *mangled = *mangled + var_7;
      }
      var_5 = var_4(mangled,&var_7);
      if (var_5 == 0) {
        return 0;
      }
      var_24 = var_2;
      if (0 < var_7) goto LAB_00324078;
      var_5 = 0;
LAB_00323ff8:
      var_3(tname,"[]");
      goto LAB_0032422d;
    }
    *mangled = var_1 + 2;
    if (var_1[2] == '\0') {
      return 0;
    }
    *mangled = var_1 + 3;
    var_5 = var_30(mangled);
    if (var_5 == -1) {
      return 0;
    }
    if ((work->tmpl_argvec != (char **)0x0) && (work->ntmpl_args <= var_5)) {
      return 0;
    }
    var_12 = var_30(mangled);
    if (var_12 == -1) {
      return 0;
    }
    if (work->tmpl_argvec == (char **)0x0) {
      var_31(tname,var_5);
      if (var_25 != (type_2 *)0x0) {
        var_31(var_25,var_5);
      }
    }
    else {
      var_1 = work->tmpl_argvec[var_5];
      if ((((var_1 != (char *)0x0) && (*var_1 != '\0')) &&
          (var_3(tname,var_1), var_25 != (type_2 *)0x0)) &&
         ((var_1 = work->tmpl_argvec[var_5], var_1 != (char *)0x0 && (*var_1 != '\0')))) {
        var_3(var_25,var_1);
      }
    }
LAB_003242d0:
    var_3(tname,"<");
    var_5 = var_4(mangled,&var_7);
    if (var_5 == 0) {
      return 0;
    }
    if (0 < var_7) goto LAB_00324070;
LAB_00324300:
    var_5 = 0;
  }
  if (tname->p[-1] == '>') {
    var_3(tname," ");
  }
  var_3(tname,">");
LAB_0032422d:
  if ((var_32 & var_2) != 0) {
    index = var_33(work);
    var_1 = tname->b;
    var_12 = 0;
    if (var_1 != tname->p) {
      var_12 = (int)tname->p - (int)var_1;
    }
    var_34((type_1 *)&work->btypevec,var_1,var_12,index);
  }
  return var_5;
}


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

int MASKED(byte *param_1,long *param_2,void **param_3,long param_4,uint param_5,uint param_6)

{
  undefined8 *puVar1;
  byte *__s;
  void *pvVar2;
  char *pcVar3;
  long lVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  undefined8 *puVar8;
  void **ppvVar9;
  size_t sVar10;
  undefined8 uVar11;
  long lVar12;
  byte *pbVar13;
  byte *pbVar14;
  bool bVar15;
  bool bVar16;
  byte bVar17;
  uint local_8c;
  int local_7c;
  void *local_78;
  undefined8 local_70;
  undefined8 local_68;
  void *local_58;
  undefined8 local_50;
  undefined8 local_48;
  
  bVar17 = 0;
  lVar12 = *param_2;
  *param_2 = lVar12 + 1;
  if (param_5 == 0) {
    FUN_00320c60(param_3,"<");
    iVar6 = FUN_00320420(param_2,&local_7c);
    if (iVar6 == 0) {
      return 0;
    }
    puVar8 = (undefined8 *)FUN_00336e30((long)local_7c << 3);
    *(undefined8 **)(param_1 + 0x50) = puVar8;
    *(int *)(param_1 + 0x58) = local_7c;
    if (local_7c < 1) goto LAB_00324300;
    puVar1 = puVar8 + (ulong)(local_7c - 1) + 1;
    do {
      *puVar8 = 0;
      puVar8 = puVar8 + 1;
    } while (puVar1 != puVar8);
LAB_00324070:
    local_8c = 0;
LAB_00324078:
    ppvVar9 = &local_58;
    if (param_5 != 0) {
      ppvVar9 = param_3;
    }
    lVar12 = 0;
    while( true ) {
      pcVar3 = (char *)*param_2;
      if (*pcVar3 == 'Z') break;
      if (*pcVar3 == 'z') {
        *param_2 = (long)(pcVar3 + 1);
        iVar6 = FUN_00323d20(param_1,param_2,param_3);
        if (iVar6 != 0) {
          iVar7 = FUN_00320870(param_2);
          if ((0 < iVar7) && (sVar10 = strlen((char *)*param_2), iVar7 <= (int)sVar10)) {
            FUN_00320c60(param_3,&DAT_003f45df);
            FUN_00320bb0(param_3,*param_2,iVar7);
            sVar10 = (size_t)iVar7;
            if (param_5 == 0) {
              lVar4 = *(long *)(param_1 + 0x50);
              uVar11 = FUN_00336e30((long)(iVar7 + 1));
              *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;
              memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),(void *)*param_2,sVar10);
              *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + sVar10) = 0;
            }
            *param_2 = *param_2 + sVar10;
          }
          goto LAB_003241b0;
        }
        goto LAB_00324201;
      }
      iVar6 = FUN_00322140(param_1,param_2,&local_78);
      if (local_78 != (void *)0x0) {
        free(local_78);
        local_70 = 0;
        local_68 = 0;
        local_78 = (void *)0x0;
      }
      if (iVar6 == 0) goto LAB_00324201;
      if (param_5 == 0) {
        local_48 = 0;
        local_50 = 0;
        local_58 = (void *)0x0;
        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);
        if (iVar6 == 0) {
          if (local_58 != (void *)0x0) {
            free(local_58);
          }
          goto LAB_00324201;
        }
        lVar4 = *(long *)(param_1 + 0x50);
        iVar7 = (int)local_50 - (int)local_58;
        uVar11 = FUN_00336e30((long)(iVar7 + 1));
        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;
        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_58,(long)iVar7);
        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;
        FUN_00320da0(param_3,&local_58,local_50);
        if (local_58 != (void *)0x0) {
          free(local_58);
        }
      }
      else {
        iVar6 = FUN_00321a30(param_1,param_2,ppvVar9,iVar6);
        if (iVar6 == 0) goto LAB_00324201;
      }
LAB_003241b0:
      lVar12 = lVar12 + 1;
      if (local_7c <= (int)lVar12) goto LAB_00324204;
      FUN_00320c60(param_3,", ");
    }
    *param_2 = (long)(pcVar3 + 1);
    iVar6 = FUN_00322140(param_1,param_2,&local_78);
    if (iVar6 != 0) {
      FUN_00320da0(param_3,&local_78,local_70);
      if (param_5 == 0) {
        lVar4 = *(long *)(param_1 + 0x50);
        iVar7 = (int)local_70 - (int)local_78;
        uVar11 = FUN_00336e30((long)(iVar7 + 1));
        *(undefined8 *)(lVar4 + lVar12 * 8) = uVar11;
        memcpy(*(void **)(*(long *)(param_1 + 0x50) + lVar12 * 8),local_78,(long)iVar7);
        *(undefined1 *)(*(long *)(*(long *)(param_1 + 0x50) + lVar12 * 8) + (long)iVar7) = 0;
      }
      if (local_78 != (void *)0x0) {
        free(local_78);
        local_70 = 0;
        local_68 = 0;
        local_78 = (void *)0x0;
      }
      goto LAB_003241b0;
    }
    if (local_78 == (void *)0x0) {
LAB_00324201:
      iVar6 = 0;
    }
    else {
      free(local_78);
      local_70 = 0;
      local_68 = 0;
      local_78 = (void *)0x0;
    }
LAB_00324204:
    if (local_8c != 0) goto LAB_00323ff8;
  }
  else {
    if (*(char *)(lVar12 + 1) != 'z') {
      iVar6 = FUN_00320870(param_2);
      if (iVar6 < 1) {
        return 0;
      }
      __s = (byte *)*param_2;
      local_7c = iVar6;
      sVar10 = strlen((char *)__s);
      if ((int)sVar10 < iVar6) {
        return 0;
      }
      bVar15 = false;
      bVar16 = (*param_1 & 4) == 0;
      if (bVar16) {
LAB_003244b8:
        FUN_00320bb0(param_3,__s);
        if (param_4 != 0) {
          if (local_7c == 0) goto LAB_003242d0;
          FUN_00320bb0(param_4,*param_2);
        }
        *param_2 = *param_2 + (long)local_7c;
        goto LAB_003242d0;
      }
      lVar12 = 8;
      pbVar13 = __s;
      pbVar14 = (byte *)"JArray1Z";
      do {
        if (lVar12 == 0) break;
        lVar12 = lVar12 + -1;
        bVar15 = *pbVar13 < *pbVar14;
        bVar16 = *pbVar13 == *pbVar14;
        pbVar13 = pbVar13 + (ulong)bVar17 * -2 + 1;
        pbVar14 = pbVar14 + (ulong)bVar17 * -2 + 1;
      } while (bVar16);
      if ((!bVar15 && !bVar16) != bVar15) goto LAB_003244b8;
      if (param_4 == 0) {
        *param_2 = (long)(__s + iVar6);
      }
      else {
        FUN_00320bb0(param_4,__s);
        *param_2 = *param_2 + (long)local_7c;
      }
      iVar6 = FUN_00320420(param_2,&local_7c);
      if (iVar6 == 0) {
        return 0;
      }
      local_8c = param_5;
      if (0 < local_7c) goto LAB_00324078;
      iVar6 = 0;
LAB_00323ff8:
      FUN_00320c60(param_3,"[]");
      goto LAB_0032422d;
    }
    *param_2 = lVar12 + 2;
    if (*(char *)(lVar12 + 2) == '\0') {
      return 0;
    }
    *param_2 = lVar12 + 3;
    iVar6 = FUN_00320920(param_2);
    if (iVar6 == -1) {
      return 0;
    }
    if ((*(long *)(param_1 + 0x50) != 0) && (*(int *)(param_1 + 0x58) <= iVar6)) {
      return 0;
    }
    iVar7 = FUN_00320920(param_2);
    if (iVar7 == -1) {
      return 0;
    }
    if (*(long *)(param_1 + 0x50) == 0) {
      FUN_00320ca0(param_3,iVar6);
      if (param_4 != 0) {
        FUN_00320ca0(param_4,iVar6);
      }
    }
    else {
      pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8);
      if ((((pcVar3 != (char *)0x0) && (*pcVar3 != '\0')) && (FUN_00320c60(param_3), param_4 != 0))
         && ((pcVar3 = *(char **)(*(long *)(param_1 + 0x50) + (long)iVar6 * 8),
             pcVar3 != (char *)0x0 && (*pcVar3 != '\0')))) {
        FUN_00320c60(param_4);
      }
    }
LAB_003242d0:
    FUN_00320c60(param_3,"<");
    iVar6 = FUN_00320420(param_2,&local_7c);
    if (iVar6 == 0) {
      return 0;
    }
    if (0 < local_7c) goto LAB_00324070;
LAB_00324300:
    iVar6 = 0;
  }
  if (*(char *)((long)param_3[1] + -1) == '>') {
    FUN_00320c60(param_3,&DAT_003f45df);
  }
  FUN_00320c60(param_3,&DAT_003fc99b);
LAB_0032422d:
  if ((param_6 & param_5) != 0) {
    uVar5 = FUN_00320660(param_1);
    pvVar2 = *param_3;
    iVar7 = 0;
    if (pvVar2 != param_3[1]) {
      iVar7 = (int)param_3[1] - (int)pvVar2;
    }
    FUN_00320ac0(param_1 + 0x18,pvVar2,iVar7,uVar5);
  }
  return iVar6;
}

