
int __regparm3 jsonParseValue(JsonParse *pParse,u32 i)

{
  u8 *puVar1;
  char *pcVar2;
  u32 uVar3;
  char cVar4;
  JsonParse *pParse_00;
  uint uVar5;
  u16 uVar6;
  int iVar7;
  byte bVar8;
  int iVar9;
  byte *pbVar10;
  u32 uVar11;
  u8 uVar12;
  int unaff_EDI;
  byte *pbVar13;
  bool bVar14;
  bool bVar15;
  byte bVar16;
  undefined8 uVar17;
  byte *local_28;
  
  bVar16 = 0;
  uVar17 = __x86_get_pc_thunk_di();
  pParse_00 = (JsonParse *)uVar17;
  pcVar2 = pParse_00->zJson;
  local_28 = (byte *)(pcVar2 + (int)((ulonglong)uVar17 >> 0x20));
  bVar8 = *local_28;
  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {
    do {
      i = i + 1;
      bVar8 = pcVar2[i];
      local_28 = (byte *)(pcVar2 + i);
    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');
  }
  if (bVar8 == 0x7b) {
    uVar5 = jsonParseAddNode(pParse_00,7,0,(char *)0x0);
    if (-1 < (int)uVar5) {
      uVar11 = i + 1;
      uVar6 = pParse_00->iDepth;
      iVar7 = unaff_EDI + 0x944d7;
      while( true ) {
        while (*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11]) != '\0') {
          uVar11 = uVar11 + 1;
        }
        pParse_00->iDepth = uVar6 + 1;
        if (2000 < (ushort)(uVar6 + 1)) {
          return -1;
        }
        iVar9 = jsonParseValue(pParse_00,uVar11);
        if (iVar9 < 0) {
          pParse_00->iDepth = pParse_00->iDepth - 1;
          if (iVar9 != -2) {
            return -1;
          }
          if (pParse_00->nNode != uVar5 + 1) {
            return -1;
          }
          goto LAB_0006cd22;
        }
        if (pParse_00->oom != '\0') {
          return -1;
        }
        if (pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05') {
          return -1;
        }
        puVar1 = &pParse_00->aNode[pParse_00->nNode - 1].jnFlags;
        *puVar1 = *puVar1 | 0x40;
        bVar8 = pcVar2[iVar9];
        cVar4 = *(char *)(iVar7 + (uint)bVar8);
        while (cVar4 != '\0') {
          iVar9 = iVar9 + 1;
          bVar8 = pcVar2[iVar9];
          cVar4 = *(char *)(iVar7 + (uint)bVar8);
        }
        if (bVar8 != 0x3a) {
          return -1;
        }
        iVar9 = jsonParseValue(pParse_00,iVar9 + 1);
        uVar6 = pParse_00->iDepth - 1;
        pParse_00->iDepth = uVar6;
        if (iVar9 < 0) {
          return -1;
        }
        bVar8 = pcVar2[iVar9];
        cVar4 = *(char *)(iVar7 + (uint)bVar8);
        while (cVar4 != '\0') {
          iVar9 = iVar9 + 1;
          bVar8 = pcVar2[iVar9];
          cVar4 = *(char *)(iVar7 + (uint)bVar8);
        }
        if (bVar8 != 0x2c) break;
        uVar11 = iVar9 + 1;
      }
      if (bVar8 == 0x7d) {
        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;
        return iVar9 + 1;
      }
    }
    return -1;
  }
  if (bVar8 == 0x5b) {
    uVar5 = jsonParseAddNode(pParse_00,6,0,(char *)0x0);
    if ((int)uVar5 < 0) {
      return -1;
    }
    uVar6 = pParse_00->iDepth;
    uVar11 = i + 1;
    while( true ) {
      while (*(char *)(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11]) != '\0') {
        uVar11 = uVar11 + 1;
      }
      pParse_00->iDepth = uVar6 + 1;
      if (2000 < (ushort)(uVar6 + 1)) {
        return -1;
      }
      iVar7 = jsonParseValue(pParse_00,uVar11);
      uVar6 = pParse_00->iDepth - 1;
      pParse_00->iDepth = uVar6;
      if (iVar7 < 0) break;
      while (bVar8 = pcVar2[iVar7], *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {
        iVar7 = iVar7 + 1;
      }
      if (bVar8 != 0x2c) {
        if (bVar8 != 0x5d) {
          return -1;
        }
        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;
        return iVar7 + 1;
      }
      uVar11 = iVar7 + 1;
    }
    if (iVar7 != -3) {
      return -1;
    }
    if (pParse_00->nNode != uVar5 + 1) {
      return -1;
    }
LAB_0006cd22:
    return uVar11 + 1;
  }
  if (bVar8 == 0x22) {
    bVar8 = pcVar2[i + 1];
    iVar7 = i + 1;
    if ((bVar8 & 0xe0) == 0) {
      return -1;
    }
    uVar12 = '\0';
    do {
      while (iVar9 = iVar7 + 1, bVar8 != 0x5c) {
        if (bVar8 == 0x22) {
          jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28);
          if (pParse_00->oom == '\0') {
            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;
            return iVar9;
          }
          return iVar9;
        }
LAB_0006c811:
        iVar7 = iVar9;
        bVar8 = pcVar2[iVar7];
        if ((bVar8 & 0xe0) == 0) {
          return -1;
        }
      }
      bVar8 = pcVar2[iVar7 + 1];
      if ((byte)(bVar8 - 0x5c) < 0x19) {
        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {
          return -1;
        }
      }
      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {
        if (bVar8 != 0x75) {
          return -1;
        }
        iVar9 = 0;
        do {
          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {
            return -1;
          }
          iVar9 = iVar9 + 1;
        } while (iVar9 != 4);
        uVar12 = '\x02';
        iVar9 = iVar7 + 2;
        goto LAB_0006c811;
      }
      iVar7 = iVar7 + 2;
      uVar12 = '\x02';
      bVar8 = pcVar2[iVar7];
      if ((bVar8 & 0xe0) == 0) {
        return -1;
      }
    } while( true );
  }
  bVar14 = bVar8 < 0x6e;
  bVar15 = bVar8 == 0x6e;
  if (bVar15) {
    iVar7 = 4;
    pbVar10 = local_28;
    pbVar13 = (byte *)(unaff_EDI + 0x8c2b3);
    do {
      if (iVar7 == 0) break;
      iVar7 = iVar7 + -1;
      bVar14 = *pbVar10 < *pbVar13;
      bVar15 = *pbVar10 == *pbVar13;
      pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;
      pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;
    } while (bVar15);
    if ((!bVar14 && !bVar15) != bVar14) goto LAB_0006c7db;
    if (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0) {
      jsonParseAddNode(pParse_00,0,0,(char *)0x0);
      return i + 4;
    }
LAB_0006ca39:
    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {
LAB_0006ca8f:
      bVar14 = false;
      bVar15 = false;
      uVar11 = i;
      do {
        do {
          uVar3 = uVar11;
          uVar11 = uVar3 + 1;
          bVar8 = pcVar2[uVar11];
        } while ((byte)(bVar8 - 0x30) < 10);
        cVar4 = pcVar2[uVar3];
        if (bVar8 == 0x2e) {
          if (cVar4 == '-') {
            return -1;
          }
          if (bVar15) {
            return -1;
          }
        }
        else {
          if ((bVar8 & 0xdf) != 0x45) {
            if (cVar4 < '0') {
              return -1;
            }
            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);
            return uVar11;
          }
          if (cVar4 < '0') {
            return -1;
          }
          if (bVar14) {
            return -1;
          }
          cVar4 = pcVar2[uVar3 + 2];
          if ((cVar4 - 0x2bU & 0xfd) == 0) {
            cVar4 = pcVar2[uVar3 + 3];
            uVar11 = uVar3 + 2;
          }
          if (9 < (byte)(cVar4 - 0x30U)) {
            return -1;
          }
          bVar14 = true;
        }
        bVar15 = true;
      } while( true );
    }
  }
  else {
    bVar14 = bVar8 < 0x74;
    bVar15 = bVar8 == 0x74;
    if (bVar15) {
      iVar7 = 4;
      pbVar10 = local_28;
      pbVar13 = (byte *)(unaff_EDI + 0x8bf2e);
      do {
        if (iVar7 == 0) break;
        iVar7 = iVar7 + -1;
        bVar14 = *pbVar10 < *pbVar13;
        bVar15 = *pbVar10 == *pbVar13;
        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;
        pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;
      } while (bVar15);
      if (((!bVar14 && !bVar15) == bVar14) &&
         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0)) {
        jsonParseAddNode(pParse_00,1,0,(char *)0x0);
        return i + 4;
      }
      goto LAB_0006ca39;
    }
    bVar14 = bVar8 < 0x66;
    bVar15 = bVar8 == 0x66;
    if (bVar15) {
      iVar7 = 5;
      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);
      do {
        if (iVar7 == 0) break;
        iVar7 = iVar7 + -1;
        bVar14 = *local_28 < *pbVar10;
        bVar15 = *local_28 == *pbVar10;
        local_28 = local_28 + (uint)bVar16 * -2 + 1;
        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;
      } while (bVar15);
      if (((!bVar14 && !bVar15) == bVar14) &&
         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0)) {
        jsonParseAddNode(pParse_00,2,0,(char *)0x0);
        return i + 5;
      }
      goto LAB_0006c7db;
    }
    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {
      if (((char)bVar8 < '1') &&
         ((iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&
          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)))) {
        return -1;
      }
      goto LAB_0006ca8f;
    }
  }
  if (bVar8 == 0x7d) {
    return -2;
  }
  if (bVar8 == 0x5d) {
    return -3;
  }
LAB_0006c7db:
  return -(uint)(bVar8 != 0);
}



int __regparm3 FUN_0006c720(undefined4 param_1,int param_2)

{
  char *pcVar1;
  int iVar2;
  char cVar3;
  int iVar4;
  uint uVar5;
  short sVar6;
  int iVar7;
  byte bVar8;
  byte *pbVar9;
  byte *pbVar10;
  undefined1 uVar11;
  int unaff_EDI;
  byte *pbVar12;
  bool bVar13;
  bool bVar14;
  byte bVar15;
  undefined8 uVar16;
  int *piVar17;
  int *piVar18;
  
  bVar15 = 0;
  uVar16 = FUN_0001af1a();
  piVar17 = (int *)uVar16;
  iVar2 = piVar17[3];
  pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20));
  bVar8 = *pbVar9;
  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {
    do {
      param_2 = param_2 + 1;
      bVar8 = *(byte *)(iVar2 + param_2);
      pbVar9 = (byte *)(iVar2 + param_2);
    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');
  }
  if (bVar8 == 0x7b) {
    uVar5 = FUN_0006c6e0(0);
    if (-1 < (int)uVar5) {
      param_2 = param_2 + 1;
      sVar6 = *(short *)((int)piVar17 + 0x16);
      iVar7 = unaff_EDI + 0x944d7;
      piVar18 = piVar17;
      while( true ) {
        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {
          param_2 = param_2 + 1;
        }
        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;
        if (2000 < (ushort)(sVar6 + 1U)) {
          return -1;
        }
        iVar4 = FUN_0006c720();
        if (iVar4 < 0) {
          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;
          if (iVar4 != -2) {
            return -1;
          }
          if (*piVar18 != uVar5 + 1) {
            return -1;
          }
          goto LAB_0006cd22;
        }
        if ((char)piVar17[5] != '\0') {
          return -1;
        }
        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);
        if (*pcVar1 != '\x05') {
          return -1;
        }
        pbVar9 = (byte *)(pcVar1 + 1);
        *pbVar9 = *pbVar9 | 0x40;
        bVar8 = *(byte *)(iVar2 + iVar4);
        cVar3 = *(char *)(iVar7 + (uint)bVar8);
        while (cVar3 != '\0') {
          iVar4 = iVar4 + 1;
          bVar8 = *(byte *)(iVar2 + iVar4);
          cVar3 = *(char *)(iVar7 + (uint)bVar8);
        }
        if (bVar8 != 0x3a) {
          return -1;
        }
        param_2 = FUN_0006c720();
        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;
        *(short *)((int)piVar17 + 0x16) = sVar6;
        if (param_2 < 0) {
          return -1;
        }
        bVar8 = *(byte *)(iVar2 + param_2);
        cVar3 = *(char *)(iVar7 + (uint)bVar8);
        while (cVar3 != '\0') {
          param_2 = param_2 + 1;
          bVar8 = *(byte *)(iVar2 + param_2);
          cVar3 = *(char *)(iVar7 + (uint)bVar8);
        }
        if (bVar8 != 0x2c) break;
        param_2 = param_2 + 1;
      }
      if (bVar8 == 0x7d) {
        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;
        return param_2 + 1;
      }
    }
    return -1;
  }
  if (bVar8 == 0x5b) {
    piVar18 = piVar17;
    uVar5 = FUN_0006c6e0(0);
    if ((int)uVar5 < 0) {
      return -1;
    }
    sVar6 = *(short *)((int)piVar17 + 0x16);
    param_2 = param_2 + 1;
    while( true ) {
      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {
        param_2 = param_2 + 1;
      }
      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;
      if (2000 < (ushort)(sVar6 + 1U)) {
        return -1;
      }
      iVar7 = FUN_0006c720(piVar18,pbVar9);
      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);
      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;
      *(short *)((int)piVar18 + 0x16) = sVar6;
      if (iVar7 < 0) break;
      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')
      {
        iVar7 = iVar7 + 1;
      }
      if (bVar8 != 0x2c) {
        if (bVar8 != 0x5d) {
          return -1;
        }
        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;
        return iVar7 + 1;
      }
      param_2 = iVar7 + 1;
    }
    if (iVar7 != -3) {
      return -1;
    }
    if (*piVar18 != uVar5 + 1) {
      return -1;
    }
LAB_0006cd22:
    return param_2 + 1;
  }
  if (bVar8 == 0x22) {
    bVar8 = *(byte *)(iVar2 + 1 + param_2);
    param_2 = param_2 + 1;
    if ((bVar8 & 0xe0) == 0) {
      return -1;
    }
    uVar11 = 0;
    do {
      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {
        param_2 = iVar7;
        if (bVar8 == 0x22) {
          FUN_0006c6e0(pbVar9);
          if ((char)piVar17[5] == '\0') {
            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;
            return iVar7;
          }
          return iVar7;
        }
LAB_0006c811:
        bVar8 = *(byte *)(iVar2 + param_2);
        if ((bVar8 & 0xe0) == 0) {
          return -1;
        }
      }
      bVar8 = *(byte *)(iVar2 + 1 + param_2);
      if ((byte)(bVar8 - 0x5c) < 0x19) {
        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {
          return -1;
        }
      }
      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {
        if (bVar8 != 0x75) {
          return -1;
        }
        iVar7 = 0;
        do {
          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)
          {
            return -1;
          }
          iVar7 = iVar7 + 1;
        } while (iVar7 != 4);
        uVar11 = 2;
        param_2 = param_2 + 2;
        goto LAB_0006c811;
      }
      param_2 = param_2 + 2;
      uVar11 = 2;
      bVar8 = *(byte *)(iVar2 + param_2);
      if ((bVar8 & 0xe0) == 0) {
        return -1;
      }
    } while( true );
  }
  bVar13 = bVar8 < 0x6e;
  bVar14 = bVar8 == 0x6e;
  if (bVar14) {
    iVar7 = 4;
    pbVar10 = pbVar9;
    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);
    do {
      if (iVar7 == 0) break;
      iVar7 = iVar7 + -1;
      bVar13 = *pbVar10 < *pbVar12;
      bVar14 = *pbVar10 == *pbVar12;
      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;
      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;
    } while (bVar14);
    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;
    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {
      FUN_0006c6e0(0);
      return param_2 + 4;
    }
LAB_0006ca39:
    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {
LAB_0006ca8f:
      bVar13 = false;
      bVar14 = false;
      do {
        do {
          iVar7 = param_2;
          param_2 = iVar7 + 1;
          bVar8 = *(byte *)(iVar2 + param_2);
        } while ((byte)(bVar8 - 0x30) < 10);
        cVar3 = *(char *)(iVar2 + -1 + param_2);
        if (bVar8 == 0x2e) {
          if (cVar3 == '-') {
            return -1;
          }
          if (bVar14) {
            return -1;
          }
        }
        else {
          if ((bVar8 & 0xdf) != 0x45) {
            if (cVar3 < '0') {
              return -1;
            }
            FUN_0006c6e0(pbVar9);
            return param_2;
          }
          if (cVar3 < '0') {
            return -1;
          }
          if (bVar13) {
            return -1;
          }
          cVar3 = *(char *)(iVar2 + 1 + param_2);
          if ((cVar3 - 0x2bU & 0xfd) == 0) {
            cVar3 = *(char *)(iVar2 + 2 + param_2);
            param_2 = iVar7 + 2;
          }
          if (9 < (byte)(cVar3 - 0x30U)) {
            return -1;
          }
          bVar13 = true;
        }
        bVar14 = true;
      } while( true );
    }
  }
  else {
    bVar13 = bVar8 < 0x74;
    bVar14 = bVar8 == 0x74;
    if (bVar14) {
      iVar7 = 4;
      pbVar10 = pbVar9;
      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);
      do {
        if (iVar7 == 0) break;
        iVar7 = iVar7 + -1;
        bVar13 = *pbVar10 < *pbVar12;
        bVar14 = *pbVar10 == *pbVar12;
        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;
        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;
      } while (bVar14);
      if (((!bVar13 && !bVar14) == bVar13) &&
         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {
        FUN_0006c6e0(0);
        return param_2 + 4;
      }
      goto LAB_0006ca39;
    }
    bVar13 = bVar8 < 0x66;
    bVar14 = bVar8 == 0x66;
    if (bVar14) {
      iVar7 = 5;
      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);
      do {
        if (iVar7 == 0) break;
        iVar7 = iVar7 + -1;
        bVar13 = *pbVar9 < *pbVar10;
        bVar14 = *pbVar9 == *pbVar10;
        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;
        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;
      } while (bVar14);
      if (((!bVar13 && !bVar14) == bVar13) &&
         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {
        FUN_0006c6e0(0);
        return param_2 + 5;
      }
      goto LAB_0006c7db;
    }
    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {
      if (((char)bVar8 < '1') &&
         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&
          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {
        return -1;
      }
      goto LAB_0006ca8f;
    }
  }
  if (bVar8 == 0x7d) {
    return -2;
  }
  if (bVar8 == 0x5d) {
    return -3;
  }
LAB_0006c7db:
  return -(uint)(bVar8 != 0);
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
CALL 0x0001af1a
ADD EDI,0xde7ab
PUSH ESI
PUSH EBX
SUB ESP,0x1c
MOV EBX,dword ptr [EAX + 0xc]
MOV dword ptr [ESP],EAX
LEA EAX,[EBX + EDX*0x1]
MOV dword ptr [ESP + 0xc],EDI
MOVZX EDX,byte ptr [EAX]
MOV dword ptr [ESP + 0x4],EAX
CMP byte ptr [EDI + EDX*0x1 + 0xfffb5d2c],0x0
JZ 0x0006cc50
LEA EDI,[EDI + 0xfffb5d2c]
LEA ESI,[ESI]
ADD EBP,0x1
MOVZX EDX,byte ptr [EBX + EBP*0x1]
LEA ECX,[EBX + EBP*0x1]
CMP byte ptr [EDI + EDX*0x1],0x0
MOV EAX,EDX
JNZ 0x0006c760
MOV dword ptr [ESP + 0x4],ECX
CMP AL,0x7b
JZ 0x0006c8c0
CMP AL,0x5b
JZ 0x0006cb20
CMP AL,0x22
JZ 0x0006c7f0
CMP AL,0x6e
JZ 0x0006cbf0
CMP AL,0x74
JZ 0x0006ca00
CMP AL,0x66
JNZ 0x0006ca5f
MOV ESI,dword ptr [ESP + 0xc]
MOV ECX,0x5
LEA EDI,[ESI + 0xfffad788]
MOV ESI,dword ptr [ESP + 0x4]
CMPSB.REPE ES:EDI,ESI
SETA DL
SBB DL,0x0
TEST DL,DL
JNZ 0x0006c7db
MOVZX EDX,byte ptr [EBX + EBP*0x1 + 0x5]
MOV EDI,dword ptr [ESP + 0xc]
LEA ESI,[EBP + 0x5]
TEST byte ptr [EDI + EDX*0x1 + 0xfffb992c],0x6
JZ 0x0006ccef
TEST AL,AL
SETNZ AL
ADD ESP,0x1c
MOVZX EAX,AL
POP EBX
POP ESI
NEG EAX
POP EDI
POP EBP
RET
MOVZX EDX,byte ptr [EBX + EBP*0x1 + 0x1]
LEA EAX,[EBP + 0x1]
TEST DL,0xe0
JZ 0x0006c870
XOR EDI,EDI
JMP 0x0006c81c
CMP DL,0x22
JZ 0x0006cc57
MOVZX EDX,byte ptr [EBX + ESI*0x1]
MOV EAX,ESI
TEST DL,0xe0
JZ 0x0006c870
LEA ESI,[EAX + 0x1]
CMP DL,0x5c
JNZ 0x0006c808
MOVZX EDX,byte ptr [EBX + EAX*0x1 + 0x1]
MOV ECX,EDX
LEA ESI,[EDX + -0x5c]
AND ECX,0xffffffbf
CMP CL,0x22
MOV byte ptr [ESP + 0xb],CL
SETZ CL
MOV EDI,ECX
MOV ECX,ESI
CMP CL,0x18
JA 0x0006c880
MOV ECX,0x1440401
BT ECX,ESI
JC 0x0006c854
MOV ECX,EDI
TEST CL,CL
JZ 0x0006c870
LEA ESI,[EAX + 0x2]
MOV EDI,0x2
MOVZX EDX,byte ptr [EBX + ESI*0x1]
MOV EAX,ESI
TEST DL,0xe0
JNZ 0x0006c81c
LEA ESI,[ESI]
NOP
MOV EAX,0xffffffff
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP byte ptr [ESP + 0xb],0x22
JZ 0x0006c854
CMP DL,0x2f
JZ 0x0006c854
CMP DL,0x75
JNZ 0x0006c870
LEA ESI,[EAX + 0x2]
LEA EDI,[EBX + EAX*0x1]
MOV EAX,dword ptr [ESP + 0xc]
XOR EDX,EDX
LEA ECX,[EAX + 0xfffb992c]
MOVZX EAX,byte ptr [EDI + EDX*0x1 + 0x2]
TEST byte ptr [ECX + EAX*0x1],0x8
JZ 0x0006c870
ADD EDX,0x1
CMP EDX,0x4
JNZ 0x0006c8a3
MOV EDI,0x2
JMP 0x0006c811
SUB ESP,0xc
XOR ECX,ECX
MOV EDX,0x7
PUSH 0x0
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x0006c6e0
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JS 0x0006c870
MOV EAX,dword ptr [ESP]
MOV EDI,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x4],ESI
ADD EBP,0x1
MOVZX ECX,word ptr [EAX + 0x16]
LEA EDI,[EDI + 0xfffb5d2c]
MOV ESI,EAX
MOVZX EAX,byte ptr [EBX + EBP*0x1]
CMP byte ptr [EDI + EAX*0x1],0x0
JNZ 0x0006c9f0
ADD ECX,0x1
MOV word ptr [ESI + 0x16],CX
CMP CX,0x7d0
JA 0x0006c870
MOV EDX,EBP
MOV EAX,ESI
CALL 0x0006c720
TEST EAX,EAX
JS 0x0006cd2a
CMP byte ptr [ESI + 0x14],0x0
JNZ 0x0006c870
MOV EDX,dword ptr [ESI]
LEA ECX,[EDX + EDX*0x2]
MOV EDX,dword ptr [ESI + 0x8]
LEA EDX,[EDX + ECX*0x4 + -0xc]
CMP byte ptr [EDX],0x5
JNZ 0x0006c870
OR byte ptr [EDX + 0x1],0x40
MOVZX ECX,byte ptr [EBX + EAX*0x1]
CMP byte ptr [EDI + ECX*0x1],0x0
MOV EDX,ECX
JZ 0x0006c96f
LEA ESI,[ESI]
NOP
ADD EAX,0x1
MOVZX ECX,byte ptr [EBX + EAX*0x1]
CMP byte ptr [EDI + ECX*0x1],0x0
MOV EDX,ECX
JNZ 0x0006c960
CMP DL,0x3a
JNZ 0x0006c870
LEA EDX,[EAX + 0x1]
MOV EAX,ESI
CALL 0x0006c720
MOVZX ECX,word ptr [ESI + 0x16]
SUB ECX,0x1
MOV word ptr [ESI + 0x16],CX
TEST EAX,EAX
JS 0x0006c870
MOVZX EBP,byte ptr [EBX + EAX*0x1]
CMP byte ptr [EDI + EBP*0x1],0x0
MOV EDX,EBP
JZ 0x0006c9b7
LEA ESI,[ESI]
ADD EAX,0x1
MOVZX EBP,byte ptr [EBX + EAX*0x1]
CMP byte ptr [EDI + EBP*0x1],0x0
MOV EDX,EBP
JNZ 0x0006c9a8
CMP DL,0x2c
JZ 0x0006cc93
MOV ESI,dword ptr [ESP + 0x4]
CMP DL,0x7d
JNZ 0x0006c870
MOV EDI,dword ptr [ESP]
LEA EDX,[ESI + ESI*0x2]
NOT ESI
ADD EAX,0x1
SHL EDX,0x2
ADD ESI,dword ptr [EDI]
ADD EDX,dword ptr [EDI + 0x8]
MOV dword ptr [EDX + 0x4],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD EBP,0x1
JMP 0x0006c8f8
MOV EDI,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [ESP + 0x4]
MOV ECX,0x4
LEA EDI,[EDI + 0xfffad783]
CMPSB.REPE ES:EDI,ESI
SETA DL
SBB DL,0x0
TEST DL,DL
JNZ 0x0006ca39
MOVZX EDX,byte ptr [EBX + EBP*0x1 + 0x4]
MOV EDI,dword ptr [ESP + 0xc]
LEA ESI,[EBP + 0x4]
TEST byte ptr [EDI + EDX*0x1 + 0xfffb992c],0x6
JZ 0x0006ccd0
LEA EDX,[EAX + -0x30]
CMP DL,0x9
JBE 0x0006ca8f
CMP AL,0x2d
JZ 0x0006ca8f
CMP AL,0x7d
JZ 0x0006cd4b
CMP AL,0x5d
JNZ 0x0006c7db
MOV EAX,0xfffffffd
JMP 0x0006c875
LEA EDX,[EAX + -0x30]
CMP DL,0x9
JBE 0x0006ca6b
CMP AL,0x2d
JNZ 0x0006ca45
CMP AL,0x30
JG 0x0006ca8f
CMP AL,0x2d
SETZ AL
MOVZX EAX,AL
ADD EAX,EBP
CMP byte ptr [EBX + EAX*0x1],0x30
JNZ 0x0006ca8f
MOVZX EAX,byte ptr [EBX + EAX*0x1 + 0x1]
SUB EAX,0x30
CMP AL,0x9
JBE 0x0006c870
LEA ESI,[EBP + 0x1]
XOR EDI,EDI
XOR EDX,EDX
JMP 0x0006caf0
AND EAX,0xffffffdf
CMP AL,0x45
JNZ 0x0006cc9b
CMP CL,0x2f
JLE 0x0006c870
MOV EAX,EDI
TEST AL,AL
JNZ 0x0006c870
MOVZX EAX,byte ptr [EBX + ESI*0x1 + 0x1]
LEA ECX,[ESI + 0x1]
LEA EDX,[EAX + -0x2b]
AND EDX,0xfd
JNZ 0x0006cad8
MOVZX EAX,byte ptr [EBX + ESI*0x1 + 0x2]
MOV ESI,ECX
SUB EAX,0x30
CMP AL,0x9
JA 0x0006c870
MOV EDI,0x1
MOV EDX,0x1
ADD ESI,0x1
MOVZX EAX,byte ptr [EBX + ESI*0x1]
LEA ECX,[EAX + -0x30]
CMP CL,0x9
JBE 0x0006caed
MOVZX ECX,byte ptr [EBX + ESI*0x1 + -0x1]
CMP AL,0x2e
JNZ 0x0006caa0
CMP CL,0x2d
JZ 0x0006c870
TEST DL,DL
JZ 0x0006cae8
JMP 0x0006c870
SUB ESP,0xc
XOR ECX,ECX
MOV EDX,0x6
PUSH 0x0
MOV EDI,dword ptr [ESP + 0x10]
MOV EAX,EDI
CALL 0x0006c6e0
ADD ESP,0x10
MOV ESI,EAX
TEST EAX,EAX
JS 0x0006c870
MOV EAX,dword ptr [ESP + 0xc]
MOVZX ECX,word ptr [EDI + 0x16]
ADD EBP,0x1
LEA EDI,[EAX + 0xfffb5d2c]
MOVZX EAX,byte ptr [EBX + EBP*0x1]
CMP byte ptr [EDI + EAX*0x1],0x0
JNZ 0x0006cbe0
MOV EAX,dword ptr [ESP]
ADD ECX,0x1
MOV word ptr [EAX + 0x16],CX
CMP CX,0x7d0
JA 0x0006c870
MOV EDX,EBP
CALL 0x0006c720
MOV EDX,dword ptr [ESP]
MOVZX ECX,word ptr [EDX + 0x16]
MOV word ptr [ESP + 0x4],CX
SUB ECX,0x1
MOV word ptr [EDX + 0x16],CX
TEST EAX,EAX
JNS 0x0006cba3
JMP 0x0006cd0e
ADD EAX,0x1
MOVZX EBP,byte ptr [EBX + EAX*0x1]
CMP byte ptr [EDI + EBP*0x1],0x0
MOV EDX,EBP
JNZ 0x0006cba0
CMP DL,0x2c
JZ 0x0006ccc8
CMP DL,0x5d
JNZ 0x0006c870
MOV EDI,dword ptr [ESP]
LEA ECX,[ESI + ESI*0x2]
NOT ESI
ADD EAX,0x1
SHL ECX,0x2
ADD ESI,dword ptr [EDI]
ADD ECX,dword ptr [EDI + 0x8]
MOV dword ptr [ECX + 0x4],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD EBP,0x1
JMP 0x0006cb55
MOV EDI,dword ptr [ESP + 0xc]
MOV ESI,dword ptr [ESP + 0x4]
MOV ECX,0x4
LEA EDI,[EDI + 0xfffadb08]
CMPSB.REPE ES:EDI,ESI
SETA DL
SBB DL,0x0
TEST DL,DL
JNZ 0x0006c7db
MOVZX EDX,byte ptr [EBX + EBP*0x1 + 0x4]
MOV EDI,dword ptr [ESP + 0xc]
LEA ESI,[EBP + 0x4]
TEST byte ptr [EDI + EDX*0x1 + 0xfffb992c],0x6
JNZ 0x0006ca39
SUB ESP,0xc
XOR ECX,ECX
XOR EDX,EDX
PUSH 0x0
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x0006c6e0
MOV EAX,ESI
ADD ESP,0x10
JMP 0x0006c875
MOV EAX,EDX
JMP 0x0006c776
SUB ESP,0xc
SUB EAX,EBP
MOV EDX,0x5
PUSH dword ptr [ESP + 0x10]
MOV EBX,dword ptr [ESP + 0x10]
LEA ECX,[EAX + 0x1]
MOV EAX,EBX
CALL 0x0006c6e0
ADD ESP,0x10
CMP byte ptr [EBX + 0x14],0x0
JNZ 0x0006cc8c
MOV EAX,dword ptr [EBX]
MOV EDX,dword ptr [EBX + 0x8]
MOV EBX,EDI
LEA EAX,[EAX + EAX*0x2]
LEA EAX,[EDX + EAX*0x4]
MOV byte ptr [EAX + -0xb],BL
MOV EAX,ESI
JMP 0x0006c875
LEA EBP,[EAX + 0x1]
JMP 0x0006c8f8
CMP CL,0x2f
JLE 0x0006c870
SUB ESP,0xc
MOV ECX,ESI
AND EDX,0x1
PUSH dword ptr [ESP + 0x10]
MOV EAX,dword ptr [ESP + 0x10]
SUB ECX,EBP
ADD EDX,0x3
CALL 0x0006c6e0
MOV EAX,ESI
ADD ESP,0x10
JMP 0x0006c875
LEA EBP,[EAX + 0x1]
JMP 0x0006cb55
SUB ESP,0xc
XOR ECX,ECX
MOV EDX,0x1
PUSH 0x0
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x0006c6e0
MOV EAX,ESI
ADD ESP,0x10
JMP 0x0006c875
SUB ESP,0xc
XOR ECX,ECX
MOV EDX,0x2
PUSH 0x0
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x0006c6e0
MOV EAX,ESI
ADD ESP,0x10
JMP 0x0006c875
CMP EAX,-0x3
JNZ 0x0006c870
ADD ESI,0x1
CMP dword ptr [EDX],ESI
JNZ 0x0006c870
LEA EAX,[EBP + 0x1]
JMP 0x0006c875
MOV EDI,dword ptr [ESP]
MOV ESI,dword ptr [ESP + 0x4]
SUB word ptr [EDI + 0x16],0x1
CMP EAX,-0x2
JNZ 0x0006c870
ADD ESI,0x1
CMP dword ptr [EDI],ESI
JZ 0x0006cd22
JMP 0x0006c870
MOV EAX,0xfffffffe
JMP 0x0006c875
(translation_unit "int __regparm3 FUN_0006c720(undefined4 param_1,int param_2)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  uint uVar5;\n  short sVar6;\n  int iVar7;\n  byte bVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  undefined1 uVar11;\n  int unaff_EDI;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  int *piVar17;\n  int *piVar18;\n  \n  bVar15 = 0;\n  uVar16 = FUN_0001af1a();\n  piVar17 = (int *)uVar16;\n  iVar2 = piVar17[3];\n  pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20));\n  bVar8 = *pbVar9;\n  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }\n  if (bVar8 == 0x7b) {\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }\n  if (bVar8 == 0x5b) {\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }\n  if (bVar8 == 0x22) {\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }\n  bVar13 = bVar8 < 0x6e;\n  bVar14 = bVar8 == 0x6e;\n  if (bVar14) {\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }\n  if (bVar8 == 0x7d) {\n    return -2;\n  }\n  if (bVar8 == 0x5d) {\n    return -3;\n  }\nLAB_0006c7db:\n  return -(uint)(bVar8 != 0);\n}\n\n" (function_definition "int __regparm3 FUN_0006c720(undefined4 param_1,int param_2)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  uint uVar5;\n  short sVar6;\n  int iVar7;\n  byte bVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  undefined1 uVar11;\n  int unaff_EDI;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  int *piVar17;\n  int *piVar18;\n  \n  bVar15 = 0;\n  uVar16 = FUN_0001af1a();\n  piVar17 = (int *)uVar16;\n  iVar2 = piVar17[3];\n  pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20));\n  bVar8 = *pbVar9;\n  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }\n  if (bVar8 == 0x7b) {\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }\n  if (bVar8 == 0x5b) {\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }\n  if (bVar8 == 0x22) {\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }\n  bVar13 = bVar8 < 0x6e;\n  bVar14 = bVar8 == 0x6e;\n  if (bVar14) {\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }\n  if (bVar8 == 0x7d) {\n    return -2;\n  }\n  if (bVar8 == 0x5d) {\n    return -3;\n  }\nLAB_0006c7db:\n  return -(uint)(bVar8 != 0);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0006c720(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  uint uVar5;\n  short sVar6;\n  int iVar7;\n  byte bVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  undefined1 uVar11;\n  int unaff_EDI;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  int *piVar17;\n  int *piVar18;\n  \n  bVar15 = 0;\n  uVar16 = FUN_0001af1a();\n  piVar17 = (int *)uVar16;\n  iVar2 = piVar17[3];\n  pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20));\n  bVar8 = *pbVar9;\n  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }\n  if (bVar8 == 0x7b) {\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }\n  if (bVar8 == 0x5b) {\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }\n  if (bVar8 == 0x22) {\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }\n  bVar13 = bVar8 < 0x6e;\n  bVar14 = bVar8 == 0x6e;\n  if (bVar14) {\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }\n  if (bVar8 == 0x7d) {\n    return -2;\n  }\n  if (bVar8 == 0x5d) {\n    return -3;\n  }\nLAB_0006c7db:\n  return -(uint)(bVar8 != 0);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "short sVar6;" (sized_type_specifier "short" short) identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "undefined1 uVar11;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "bool bVar14;" primitive_type identifier ;) (declaration "byte bVar15;" type_identifier identifier ;) (declaration "undefined8 uVar16;" type_identifier identifier ;) (declaration "int *piVar17;" primitive_type (pointer_declarator "*piVar17" * identifier) ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" identifier = number_literal) ;) (expression_statement "uVar16 = FUN_0001af1a();" (assignment_expression "uVar16 = FUN_0001af1a()" identifier = (call_expression "FUN_0001af1a()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar17 = (int *)uVar16;" (assignment_expression "piVar17 = (int *)uVar16" identifier = (cast_expression "(int *)uVar16" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar2 = piVar17[3];" (assignment_expression "iVar2 = piVar17[3]" identifier = (subscript_expression "piVar17[3]" identifier [ number_literal ])) ;) (expression_statement "pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20));" (assignment_expression "pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20))" identifier = (cast_expression "(byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (int)((ulonglong)uVar16 >> 0x20))" ( (binary_expression "iVar2 + (int)((ulonglong)uVar16 >> 0x20)" identifier + (cast_expression "(int)((ulonglong)uVar16 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar16 >> 0x20)" ( (binary_expression "(ulonglong)uVar16 >> 0x20" (cast_expression "(ulonglong)uVar16" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) )))) ;) (expression_statement "bVar8 = *pbVar9;" (assignment_expression "bVar8 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (if_statement "if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }" if (parenthesized_expression "(*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')" ( (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" * (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (binary_expression "unaff_EDI + 0x944d7 + (uint)bVar8" (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal) + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }" { (do_statement "do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');" do (compound_statement "{\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + param_2)" * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) ;) (expression_statement "pbVar9 = (byte *)(iVar2 + param_2);" (assignment_expression "pbVar9 = (byte *)(iVar2 + param_2)" identifier = (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) )))) ;) }) while (parenthesized_expression "(*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')" ( (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" * (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (binary_expression "unaff_EDI + 0x944d7 + (uint)bVar8" (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal) + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) != (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (if_statement "if (bVar8 == 0x7b) {\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }" if (parenthesized_expression "(bVar8 == 0x7b)" ( (binary_expression "bVar8 == 0x7b" identifier == number_literal) )) (compound_statement "{\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }" { (expression_statement "uVar5 = FUN_0006c6e0(0);" (assignment_expression "uVar5 = FUN_0006c6e0(0)" identifier = (call_expression "FUN_0006c6e0(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }" if (parenthesized_expression "(-1 < (int)uVar5)" ( (binary_expression "-1 < (int)uVar5" number_literal < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "sVar6 = *(short *)((int)piVar17 + 0x16);" (assignment_expression "sVar6 = *(short *)((int)piVar17 + 0x16)" identifier = (pointer_expression "*(short *)((int)piVar17 + 0x16)" * (cast_expression "(short *)((int)piVar17 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar17 + 0x16)" ( (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar7 = unaff_EDI + 0x944d7;" (assignment_expression "iVar7 = unaff_EDI + 0x944d7" identifier = (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal)) ;) (expression_statement "piVar18 = piVar17;" (assignment_expression "piVar18 = piVar17" identifier = identifier) ;) (while_statement "while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }" { (while_statement "while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }" while (parenthesized_expression "(*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0')" ( (binary_expression "*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0'" (pointer_expression "*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2))" * (cast_expression "(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)*(byte *)(iVar2 + param_2))" ( (binary_expression "iVar7 + (uint)*(byte *)(iVar2 + param_2)" identifier + (binary_expression "(uint)*(byte *)(iVar2 + param_2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          param_2 = param_2 + 1;\n        }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) })) (expression_statement "*(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;" (assignment_expression "*(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U" (pointer_expression "*(ushort *)((int)piVar17 + 0x16)" * (cast_expression "(ushort *)((int)piVar17 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar17 + 0x16)" ( (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "sVar6 + 1U" identifier + number_literal)) ;) (if_statement "if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }" if (parenthesized_expression "(2000 < (ushort)(sVar6 + 1U))" ( (binary_expression "2000 < (ushort)(sVar6 + 1U)" number_literal < (call_expression "(ushort)(sVar6 + 1U)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(sVar6 + 1U)" ( (binary_expression "sVar6 + 1U" identifier + number_literal) )))) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar4 = FUN_0006c720();" (assignment_expression "iVar4 = FUN_0006c720()" identifier = (call_expression "FUN_0006c720()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }" { (expression_statement "*(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;" (assignment_expression "*(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1" (pointer_expression "*(short *)((int)piVar18 + 0x16)" * (cast_expression "(short *)((int)piVar18 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar18 + 0x16)" ( (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(short *)((int)piVar18 + 0x16) + -1" (pointer_expression "*(short *)((int)piVar18 + 0x16)" * (cast_expression "(short *)((int)piVar18 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar18 + 0x16)" ( (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal)) ;) (if_statement "if (iVar4 != -2) {\n            return -1;\n          }" if (parenthesized_expression "(iVar4 != -2)" ( (binary_expression "iVar4 != -2" identifier != number_literal) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }" if (parenthesized_expression "(*piVar18 != uVar5 + 1)" ( (binary_expression "*piVar18 != uVar5 + 1" (pointer_expression "*piVar18" * identifier) != (binary_expression "uVar5 + 1" identifier + number_literal)) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (goto_statement "goto LAB_0006cd22;" goto statement_identifier ;) })) (if_statement "if ((char)piVar17[5] != '\0') {\n          return -1;\n        }" if (parenthesized_expression "((char)piVar17[5] != '\0')" ( (binary_expression "(char)piVar17[5] != '\0'" (cast_expression "(char)piVar17[5]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar17[5]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);" (assignment_expression "pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc)" identifier = (cast_expression "(char *)(piVar17[2] + -0xc + *piVar17 * 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar17[2] + -0xc + *piVar17 * 0xc)" ( (binary_expression "piVar17[2] + -0xc + *piVar17 * 0xc" (binary_expression "piVar17[2] + -0xc" (subscript_expression "piVar17[2]" identifier [ number_literal ]) + number_literal) + (binary_expression "*piVar17 * 0xc" (pointer_expression "*piVar17" * identifier) * number_literal)) )))) ;) (if_statement "if (*pcVar1 != '\x05') {\n          return -1;\n        }" if (parenthesized_expression "(*pcVar1 != '\x05')" ( (binary_expression "*pcVar1 != '\x05'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'\x05'" ' escape_sequence ')) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "pbVar9 = (byte *)(pcVar1 + 1);" (assignment_expression "pbVar9 = (byte *)(pcVar1 + 1)" identifier = (cast_expression "(byte *)(pcVar1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar1 + 1)" ( (binary_expression "pcVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "*pbVar9 = *pbVar9 | 0x40;" (assignment_expression "*pbVar9 = *pbVar9 | 0x40" (pointer_expression "*pbVar9" * identifier) = (binary_expression "*pbVar9 | 0x40" (pointer_expression "*pbVar9" * identifier) | number_literal)) ;) (expression_statement "bVar8 = *(byte *)(iVar2 + iVar4);" (assignment_expression "bVar8 = *(byte *)(iVar2 + iVar4)" identifier = (pointer_expression "*(byte *)(iVar2 + iVar4)" * (cast_expression "(byte *)(iVar2 + iVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar4)" ( (binary_expression "iVar2 + iVar4" identifier + identifier) ))))) ;) (expression_statement "cVar3 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar3 = *(char *)(iVar7 + (uint)bVar8)" identifier = (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" * (cast_expression "(char *)(iVar7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)bVar8)" ( (binary_expression "iVar7 + (uint)bVar8" identifier + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) (while_statement "while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }" while (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "bVar8 = *(byte *)(iVar2 + iVar4);" (assignment_expression "bVar8 = *(byte *)(iVar2 + iVar4)" identifier = (pointer_expression "*(byte *)(iVar2 + iVar4)" * (cast_expression "(byte *)(iVar2 + iVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar4)" ( (binary_expression "iVar2 + iVar4" identifier + identifier) ))))) ;) (expression_statement "cVar3 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar3 = *(char *)(iVar7 + (uint)bVar8)" identifier = (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" * (cast_expression "(char *)(iVar7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)bVar8)" ( (binary_expression "iVar7 + (uint)bVar8" identifier + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) })) (if_statement "if (bVar8 != 0x3a) {\n          return -1;\n        }" if (parenthesized_expression "(bVar8 != 0x3a)" ( (binary_expression "bVar8 != 0x3a" identifier != number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "param_2 = FUN_0006c720();" (assignment_expression "param_2 = FUN_0006c720()" identifier = (call_expression "FUN_0006c720()" identifier (argument_list "()" ( )))) ;) (expression_statement "sVar6 = *(short *)((int)piVar17 + 0x16) + -1;" (assignment_expression "sVar6 = *(short *)((int)piVar17 + 0x16) + -1" identifier = (binary_expression "*(short *)((int)piVar17 + 0x16) + -1" (pointer_expression "*(short *)((int)piVar17 + 0x16)" * (cast_expression "(short *)((int)piVar17 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar17 + 0x16)" ( (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal)) ;) (expression_statement "*(short *)((int)piVar17 + 0x16) = sVar6;" (assignment_expression "*(short *)((int)piVar17 + 0x16) = sVar6" (pointer_expression "*(short *)((int)piVar17 + 0x16)" * (cast_expression "(short *)((int)piVar17 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar17 + 0x16)" ( (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if (param_2 < 0) {\n          return -1;\n        }" if (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + param_2)" * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) ;) (expression_statement "cVar3 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar3 = *(char *)(iVar7 + (uint)bVar8)" identifier = (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" * (cast_expression "(char *)(iVar7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)bVar8)" ( (binary_expression "iVar7 + (uint)bVar8" identifier + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) (while_statement "while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }" while (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + param_2)" * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) ;) (expression_statement "cVar3 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar3 = *(char *)(iVar7 + (uint)bVar8)" identifier = (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" * (cast_expression "(char *)(iVar7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)bVar8)" ( (binary_expression "iVar7 + (uint)bVar8" identifier + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) })) (if_statement "if (bVar8 != 0x2c) break;" if (parenthesized_expression "(bVar8 != 0x2c)" ( (binary_expression "bVar8 != 0x2c" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) })) (if_statement "if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }" if (parenthesized_expression "(bVar8 == 0x7d)" ( (binary_expression "bVar8 == 0x7d" identifier == number_literal) )) (compound_statement "{\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }" { (expression_statement "*(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;" (assignment_expression "*(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18" (pointer_expression "*(uint *)(uVar5 * 0xc + piVar18[2] + 4)" * (cast_expression "(uint *)(uVar5 * 0xc + piVar18[2] + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 * 0xc + piVar18[2] + 4)" ( (binary_expression "uVar5 * 0xc + piVar18[2] + 4" (binary_expression "uVar5 * 0xc + piVar18[2]" (binary_expression "uVar5 * 0xc" identifier * number_literal) + (subscript_expression "piVar18[2]" identifier [ number_literal ])) + number_literal) )))) = (binary_expression "~uVar5 + *piVar18" (unary_expression "~uVar5" ~ identifier) + (pointer_expression "*piVar18" * identifier))) ;) (return_statement "return param_2 + 1;" return (binary_expression "param_2 + 1" identifier + number_literal) ;) })) })) (return_statement "return -1;" return number_literal ;) })) (if_statement "if (bVar8 == 0x5b) {\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }" if (parenthesized_expression "(bVar8 == 0x5b)" ( (binary_expression "bVar8 == 0x5b" identifier == number_literal) )) (compound_statement "{\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }" { (expression_statement "piVar18 = piVar17;" (assignment_expression "piVar18 = piVar17" identifier = identifier) ;) (expression_statement "uVar5 = FUN_0006c6e0(0);" (assignment_expression "uVar5 = FUN_0006c6e0(0)" identifier = (call_expression "FUN_0006c6e0(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (if_statement "if ((int)uVar5 < 0) {\n      return -1;\n    }" if (parenthesized_expression "((int)uVar5 < 0)" ( (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      return -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "sVar6 = *(short *)((int)piVar17 + 0x16);" (assignment_expression "sVar6 = *(short *)((int)piVar17 + 0x16)" identifier = (pointer_expression "*(short *)((int)piVar17 + 0x16)" * (cast_expression "(short *)((int)piVar17 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar17 + 0x16)" ( (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (while_statement "while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }" { (while_statement "while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }" while (parenthesized_expression "(*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0')" ( (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2))" * (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2))" ( (binary_expression "unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)" (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal) + (binary_expression "(uint)*(byte *)(iVar2 + param_2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        param_2 = param_2 + 1;\n      }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) })) (expression_statement "*(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;" (assignment_expression "*(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U" (pointer_expression "*(ushort *)((int)piVar18 + 0x16)" * (cast_expression "(ushort *)((int)piVar18 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar18 + 0x16)" ( (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "sVar6 + 1U" identifier + number_literal)) ;) (if_statement "if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }" if (parenthesized_expression "(2000 < (ushort)(sVar6 + 1U))" ( (binary_expression "2000 < (ushort)(sVar6 + 1U)" number_literal < (call_expression "(ushort)(sVar6 + 1U)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(sVar6 + 1U)" ( (binary_expression "sVar6 + 1U" identifier + number_literal) )))) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar7 = FUN_0006c720(piVar18,pbVar9);" (assignment_expression "iVar7 = FUN_0006c720(piVar18,pbVar9)" identifier = (call_expression "FUN_0006c720(piVar18,pbVar9)" identifier (argument_list "(piVar18,pbVar9)" ( identifier , identifier )))) ;) (expression_statement "pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);" (assignment_expression "pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16)" identifier = (binary_expression "(byte *)(uint)*(ushort *)((int)piVar18 + 0x16)" (cast_expression "(byte *)(uint)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(ushort *)((int)piVar18 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar18 + 0x16)" ( (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;" (assignment_expression "sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1" identifier = (binary_expression "*(ushort *)((int)piVar18 + 0x16) - 1" (pointer_expression "*(ushort *)((int)piVar18 + 0x16)" * (cast_expression "(ushort *)((int)piVar18 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar18 + 0x16)" ( (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - number_literal)) ;) (expression_statement "*(short *)((int)piVar18 + 0x16) = sVar6;" (assignment_expression "*(short *)((int)piVar18 + 0x16) = sVar6" (pointer_expression "*(short *)((int)piVar18 + 0x16)" * (cast_expression "(short *)((int)piVar18 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar18 + 0x16)" ( (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if (iVar7 < 0) break;" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (break_statement "break;" break ;)) (while_statement "while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }" while (parenthesized_expression "(bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')" ( (comma_expression "bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (assignment_expression "bVar8 = *(byte *)(iVar2 + iVar7)" identifier = (pointer_expression "*(byte *)(iVar2 + iVar7)" * (cast_expression "(byte *)(iVar2 + iVar7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar7)" ( (binary_expression "iVar2 + iVar7" identifier + identifier) ))))) , (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" * (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (binary_expression "unaff_EDI + 0x944d7 + (uint)bVar8" (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal) + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) != (char_literal "'\0'" ' escape_sequence '))) )) (compound_statement "{\n        iVar7 = iVar7 + 1;\n      }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) })) (if_statement "if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }" if (parenthesized_expression "(bVar8 != 0x2c)" ( (binary_expression "bVar8 != 0x2c" identifier != number_literal) )) (compound_statement "{\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }" { (if_statement "if (bVar8 != 0x5d) {\n          return -1;\n        }" if (parenthesized_expression "(bVar8 != 0x5d)" ( (binary_expression "bVar8 != 0x5d" identifier != number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "*(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;" (assignment_expression "*(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18" (pointer_expression "*(uint *)(uVar5 * 0xc + piVar18[2] + 4)" * (cast_expression "(uint *)(uVar5 * 0xc + piVar18[2] + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 * 0xc + piVar18[2] + 4)" ( (binary_expression "uVar5 * 0xc + piVar18[2] + 4" (binary_expression "uVar5 * 0xc + piVar18[2]" (binary_expression "uVar5 * 0xc" identifier * number_literal) + (subscript_expression "piVar18[2]" identifier [ number_literal ])) + number_literal) )))) = (binary_expression "~uVar5 + *piVar18" (unary_expression "~uVar5" ~ identifier) + (pointer_expression "*piVar18" * identifier))) ;) (return_statement "return iVar7 + 1;" return (binary_expression "iVar7 + 1" identifier + number_literal) ;) })) (expression_statement "param_2 = iVar7 + 1;" (assignment_expression "param_2 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) })) (if_statement "if (iVar7 != -3) {\n      return -1;\n    }" if (parenthesized_expression "(iVar7 != -3)" ( (binary_expression "iVar7 != -3" identifier != number_literal) )) (compound_statement "{\n      return -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }" if (parenthesized_expression "(*piVar18 != uVar5 + 1)" ( (binary_expression "*piVar18 != uVar5 + 1" (pointer_expression "*piVar18" * identifier) != (binary_expression "uVar5 + 1" identifier + number_literal)) )) (compound_statement "{\n      return -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (labeled_statement "LAB_0006cd22:\n    return param_2 + 1;" statement_identifier : (return_statement "return param_2 + 1;" return (binary_expression "param_2 + 1" identifier + number_literal) ;)) })) (if_statement "if (bVar8 == 0x22) {\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }" if (parenthesized_expression "(bVar8 == 0x22)" ( (binary_expression "bVar8 == 0x22" identifier == number_literal) )) (compound_statement "{\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }" { (expression_statement "bVar8 = *(byte *)(iVar2 + 1 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + 1 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + 1 + param_2)" * (cast_expression "(byte *)(iVar2 + 1 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1 + param_2)" ( (binary_expression "iVar2 + 1 + param_2" (binary_expression "iVar2 + 1" identifier + number_literal) + identifier) ))))) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (if_statement "if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }" if (parenthesized_expression "((bVar8 & 0xe0) == 0)" ( (binary_expression "(bVar8 & 0xe0) == 0" (parenthesized_expression "(bVar8 & 0xe0)" ( (binary_expression "bVar8 & 0xe0" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      return -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );" do (compound_statement "{\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    }" { (while_statement "while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }" while (parenthesized_expression "(iVar7 = param_2 + 1, bVar8 != 0x5c)" ( (comma_expression "iVar7 = param_2 + 1, bVar8 != 0x5c" (assignment_expression "iVar7 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) , (binary_expression "bVar8 != 0x5c" identifier != number_literal)) )) (compound_statement "{\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }" { (expression_statement "param_2 = iVar7;" (assignment_expression "param_2 = iVar7" identifier = identifier) ;) (if_statement "if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }" if (parenthesized_expression "(bVar8 == 0x22)" ( (binary_expression "bVar8 == 0x22" identifier == number_literal) )) (compound_statement "{\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }" { (expression_statement "FUN_0006c6e0(pbVar9);" (call_expression "FUN_0006c6e0(pbVar9)" identifier (argument_list "(pbVar9)" ( identifier ))) ;) (if_statement "if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }" if (parenthesized_expression "((char)piVar17[5] == '\0')" ( (binary_expression "(char)piVar17[5] == '\0'" (cast_expression "(char)piVar17[5]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar17[5]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }" { (expression_statement "*(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;" (assignment_expression "*(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11" (pointer_expression "*(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb)" * (cast_expression "(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar17[2] + *piVar17 * 0xc + -0xb)" ( (binary_expression "piVar17[2] + *piVar17 * 0xc + -0xb" (binary_expression "piVar17[2] + *piVar17 * 0xc" (subscript_expression "piVar17[2]" identifier [ number_literal ]) + (binary_expression "*piVar17 * 0xc" (pointer_expression "*piVar17" * identifier) * number_literal)) + number_literal) )))) = identifier) ;) (return_statement "return iVar7;" return identifier ;) })) (return_statement "return iVar7;" return identifier ;) })) (labeled_statement "LAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);" statement_identifier : (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + param_2)" * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) ;)) (if_statement "if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }" if (parenthesized_expression "((bVar8 & 0xe0) == 0)" ( (binary_expression "(bVar8 & 0xe0) == 0" (parenthesized_expression "(bVar8 & 0xe0)" ( (binary_expression "bVar8 & 0xe0" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) })) (expression_statement "bVar8 = *(byte *)(iVar2 + 1 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + 1 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + 1 + param_2)" * (cast_expression "(byte *)(iVar2 + 1 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1 + param_2)" ( (binary_expression "iVar2 + 1 + param_2" (binary_expression "iVar2 + 1" identifier + number_literal) + identifier) ))))) ;) (if_statement "if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }" if (parenthesized_expression "((byte)(bVar8 - 0x5c) < 0x19)" ( (binary_expression "(byte)(bVar8 - 0x5c) < 0x19" (call_expression "(byte)(bVar8 - 0x5c)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar8 - 0x5c)" ( (binary_expression "bVar8 - 0x5c" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }" { (if_statement "if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }" if (parenthesized_expression "(((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22))" ( (binary_expression "((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)" (parenthesized_expression "((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0)" ( (binary_expression "(0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0" (parenthesized_expression "(0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1)" ( (binary_expression "0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1" (binary_expression "0x1440401U >> (bVar8 - 0x5c & 0x1f)" number_literal >> (parenthesized_expression "(bVar8 - 0x5c & 0x1f)" ( (binary_expression "bVar8 - 0x5c & 0x1f" (binary_expression "bVar8 - 0x5c" identifier - number_literal) & number_literal) ))) & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar8 & 0xbf) != 0x22)" ( (binary_expression "(bVar8 & 0xbf) != 0x22" (parenthesized_expression "(bVar8 & 0xbf)" ( (binary_expression "bVar8 & 0xbf" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) }) (else_clause "else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }" else (if_statement "if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }" if (parenthesized_expression "(((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f))" ( (binary_expression "((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)" (parenthesized_expression "((bVar8 & 0xbf) != 0x22)" ( (binary_expression "(bVar8 & 0xbf) != 0x22" (parenthesized_expression "(bVar8 & 0xbf)" ( (binary_expression "bVar8 & 0xbf" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(bVar8 != 0x2f)" ( (binary_expression "bVar8 != 0x2f" identifier != number_literal) ))) )) (compound_statement "{\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }" { (if_statement "if (bVar8 != 0x75) {\n          return -1;\n        }" if (parenthesized_expression "(bVar8 != 0x75)" ( (binary_expression "bVar8 != 0x75" identifier != number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);" do (compound_statement "{\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        }" { (if_statement "if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }" if (parenthesized_expression "(((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)" ( (binary_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8)" ( (binary_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8" (subscript_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" ( (pointer_expression "&UNK_000980d7" & identifier) )) [ (binary_expression "(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI" (binary_expression "(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar2 + param_2 + 2 + iVar7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2 + 2 + iVar7)" ( (binary_expression "iVar2 + param_2 + 2 + iVar7" (binary_expression "iVar2 + param_2 + 2" (binary_expression "iVar2 + param_2" identifier + identifier) + number_literal) + identifier) )))) + identifier) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 != 4)" ( (binary_expression "iVar7 != 4" identifier != number_literal) )) ;) (expression_statement "uVar11 = 2;" (assignment_expression "uVar11 = 2" identifier = number_literal) ;) (expression_statement "param_2 = param_2 + 2;" (assignment_expression "param_2 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) (goto_statement "goto LAB_0006c811;" goto statement_identifier ;) })))) (expression_statement "param_2 = param_2 + 2;" (assignment_expression "param_2 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) (expression_statement "uVar11 = 2;" (assignment_expression "uVar11 = 2" identifier = number_literal) ;) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + param_2)" * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) ;) (if_statement "if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }" if (parenthesized_expression "((bVar8 & 0xe0) == 0)" ( (binary_expression "(bVar8 & 0xe0) == 0" (parenthesized_expression "(bVar8 & 0xe0)" ( (binary_expression "bVar8 & 0xe0" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "bVar13 = bVar8 < 0x6e;" (assignment_expression "bVar13 = bVar8 < 0x6e" identifier = (binary_expression "bVar8 < 0x6e" identifier < number_literal)) ;) (expression_statement "bVar14 = bVar8 == 0x6e;" (assignment_expression "bVar14 = bVar8 == 0x6e" identifier = (binary_expression "bVar8 == 0x6e" identifier == number_literal)) ;) (if_statement "if (bVar14) {\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }" { (expression_statement "iVar7 = 4;" (assignment_expression "iVar7 = 4" identifier = number_literal) ;) (expression_statement "pbVar10 = pbVar9;" (assignment_expression "pbVar10 = pbVar9" identifier = identifier) ;) (expression_statement "pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);" (assignment_expression "pbVar12 = (byte *)(unaff_EDI + 0x8c2b3)" identifier = (cast_expression "(byte *)(unaff_EDI + 0x8c2b3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x8c2b3)" ( (binary_expression "unaff_EDI + 0x8c2b3" identifier + number_literal) )))) ;) (do_statement "do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);" do (compound_statement "{\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    }" { (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar10 < *pbVar12;" (assignment_expression "bVar13 = *pbVar10 < *pbVar12" identifier = (binary_expression "*pbVar10 < *pbVar12" (pointer_expression "*pbVar10" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar10 == *pbVar12;" (assignment_expression "bVar14 = *pbVar10 == *pbVar12" identifier = (binary_expression "*pbVar10 == *pbVar12" (pointer_expression "*pbVar10" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;" if (parenthesized_expression "((!bVar13 && !bVar14) != bVar13)" ( (binary_expression "(!bVar13 && !bVar14) != bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_0006c7db;" goto statement_identifier ;)) (if_statement "if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }" if (parenthesized_expression "(((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)" ( (binary_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6)" ( (binary_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6" (subscript_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" ( (pointer_expression "&UNK_000980d7" & identifier) )) [ (binary_expression "(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI" (binary_expression "(uint)*(byte *)(iVar2 + 4 + param_2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar2 + 4 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4 + param_2)" ( (binary_expression "iVar2 + 4 + param_2" (binary_expression "iVar2 + 4" identifier + number_literal) + identifier) )))) + identifier) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }" { (expression_statement "FUN_0006c6e0(0);" (call_expression "FUN_0006c6e0(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (return_statement "return param_2 + 4;" return (binary_expression "param_2 + 4" identifier + number_literal) ;) })) (labeled_statement "LAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }" statement_identifier : (if_statement "if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }" if (parenthesized_expression "(((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d))" ( (binary_expression "((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)" (parenthesized_expression "((byte)(bVar8 - 0x30) < 10)" ( (binary_expression "(byte)(bVar8 - 0x30) < 10" (call_expression "(byte)(bVar8 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar8 - 0x30)" ( (binary_expression "bVar8 - 0x30" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(bVar8 == 0x2d)" ( (binary_expression "bVar8 == 0x2d" identifier == number_literal) ))) )) (compound_statement "{\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }" { (labeled_statement "LAB_0006ca8f:\n      bVar13 = false;" statement_identifier : (expression_statement "bVar13 = false;" (assignment_expression "bVar13 = false" identifier = false) ;)) (expression_statement "bVar14 = false;" (assignment_expression "bVar14 = false" identifier = false) ;) (do_statement "do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );" do (compound_statement "{\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      }" { (do_statement "do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);" do (compound_statement "{\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        }" { (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" identifier = identifier) ;) (expression_statement "param_2 = iVar7 + 1;" (assignment_expression "param_2 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + param_2)" * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) ;) }) while (parenthesized_expression "((byte)(bVar8 - 0x30) < 10)" ( (binary_expression "(byte)(bVar8 - 0x30) < 10" (call_expression "(byte)(bVar8 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar8 - 0x30)" ( (binary_expression "bVar8 - 0x30" identifier - number_literal) ))) < number_literal) )) ;) (expression_statement "cVar3 = *(char *)(iVar2 + -1 + param_2);" (assignment_expression "cVar3 = *(char *)(iVar2 + -1 + param_2)" identifier = (pointer_expression "*(char *)(iVar2 + -1 + param_2)" * (cast_expression "(char *)(iVar2 + -1 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -1 + param_2)" ( (binary_expression "iVar2 + -1 + param_2" (binary_expression "iVar2 + -1" identifier + number_literal) + identifier) ))))) ;) (if_statement "if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }" if (parenthesized_expression "(bVar8 == 0x2e)" ( (binary_expression "bVar8 == 0x2e" identifier == number_literal) )) (compound_statement "{\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }" { (if_statement "if (cVar3 == '-') {\n            return -1;\n          }" if (parenthesized_expression "(cVar3 == '-')" ( (binary_expression "cVar3 == '-'" identifier == (char_literal "'-'" ' character ')) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (bVar14) {\n            return -1;\n          }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) }) (else_clause "else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }" else (compound_statement "{\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }" { (if_statement "if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }" if (parenthesized_expression "((bVar8 & 0xdf) != 0x45)" ( (binary_expression "(bVar8 & 0xdf) != 0x45" (parenthesized_expression "(bVar8 & 0xdf)" ( (binary_expression "bVar8 & 0xdf" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }" { (if_statement "if (cVar3 < '0') {\n              return -1;\n            }" if (parenthesized_expression "(cVar3 < '0')" ( (binary_expression "cVar3 < '0'" identifier < (char_literal "'0'" ' character ')) )) (compound_statement "{\n              return -1;\n            }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "FUN_0006c6e0(pbVar9);" (call_expression "FUN_0006c6e0(pbVar9)" identifier (argument_list "(pbVar9)" ( identifier ))) ;) (return_statement "return param_2;" return identifier ;) })) (if_statement "if (cVar3 < '0') {\n            return -1;\n          }" if (parenthesized_expression "(cVar3 < '0')" ( (binary_expression "cVar3 < '0'" identifier < (char_literal "'0'" ' character ')) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (bVar13) {\n            return -1;\n          }" if (parenthesized_expression "(bVar13)" ( identifier )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "cVar3 = *(char *)(iVar2 + 1 + param_2);" (assignment_expression "cVar3 = *(char *)(iVar2 + 1 + param_2)" identifier = (pointer_expression "*(char *)(iVar2 + 1 + param_2)" * (cast_expression "(char *)(iVar2 + 1 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1 + param_2)" ( (binary_expression "iVar2 + 1 + param_2" (binary_expression "iVar2 + 1" identifier + number_literal) + identifier) ))))) ;) (if_statement "if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }" if (parenthesized_expression "((cVar3 - 0x2bU & 0xfd) == 0)" ( (binary_expression "(cVar3 - 0x2bU & 0xfd) == 0" (parenthesized_expression "(cVar3 - 0x2bU & 0xfd)" ( (binary_expression "cVar3 - 0x2bU & 0xfd" (binary_expression "cVar3 - 0x2bU" identifier - number_literal) & number_literal) )) == number_literal) )) (compound_statement "{\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }" { (expression_statement "cVar3 = *(char *)(iVar2 + 2 + param_2);" (assignment_expression "cVar3 = *(char *)(iVar2 + 2 + param_2)" identifier = (pointer_expression "*(char *)(iVar2 + 2 + param_2)" * (cast_expression "(char *)(iVar2 + 2 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 2 + param_2)" ( (binary_expression "iVar2 + 2 + param_2" (binary_expression "iVar2 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "param_2 = iVar7 + 2;" (assignment_expression "param_2 = iVar7 + 2" identifier = (binary_expression "iVar7 + 2" identifier + number_literal)) ;) })) (if_statement "if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }" if (parenthesized_expression "(9 < (byte)(cVar3 - 0x30U))" ( (binary_expression "9 < (byte)(cVar3 - 0x30U)" number_literal < (call_expression "(byte)(cVar3 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar3 - 0x30U)" ( (binary_expression "cVar3 - 0x30U" identifier - number_literal) )))) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "bVar13 = true;" (assignment_expression "bVar13 = true" identifier = true) ;) }))) (expression_statement "bVar14 = true;" (assignment_expression "bVar14 = true" identifier = true) ;) }) while (parenthesized_expression "( true )" ( true )) ;) }))) }) (else_clause "else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }" else (compound_statement "{\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }" { (expression_statement "bVar13 = bVar8 < 0x74;" (assignment_expression "bVar13 = bVar8 < 0x74" identifier = (binary_expression "bVar8 < 0x74" identifier < number_literal)) ;) (expression_statement "bVar14 = bVar8 == 0x74;" (assignment_expression "bVar14 = bVar8 == 0x74" identifier = (binary_expression "bVar8 == 0x74" identifier == number_literal)) ;) (if_statement "if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }" { (expression_statement "iVar7 = 4;" (assignment_expression "iVar7 = 4" identifier = number_literal) ;) (expression_statement "pbVar10 = pbVar9;" (assignment_expression "pbVar10 = pbVar9" identifier = identifier) ;) (expression_statement "pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);" (assignment_expression "pbVar12 = (byte *)(unaff_EDI + 0x8bf2e)" identifier = (cast_expression "(byte *)(unaff_EDI + 0x8bf2e)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x8bf2e)" ( (binary_expression "unaff_EDI + 0x8bf2e" identifier + number_literal) )))) ;) (do_statement "do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);" do (compound_statement "{\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      }" { (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar10 < *pbVar12;" (assignment_expression "bVar13 = *pbVar10 < *pbVar12" identifier = (binary_expression "*pbVar10 < *pbVar12" (pointer_expression "*pbVar10" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar10 == *pbVar12;" (assignment_expression "bVar14 = *pbVar10 == *pbVar12" identifier = (binary_expression "*pbVar10 == *pbVar12" (pointer_expression "*pbVar10" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }" if (parenthesized_expression "(((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0))" ( (binary_expression "((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)" (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) && (parenthesized_expression "(((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)" ( (binary_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6)" ( (binary_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6" (subscript_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" ( (pointer_expression "&UNK_000980d7" & identifier) )) [ (binary_expression "(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI" (binary_expression "(uint)*(byte *)(iVar2 + 4 + param_2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar2 + 4 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4 + param_2)" ( (binary_expression "iVar2 + 4 + param_2" (binary_expression "iVar2 + 4" identifier + number_literal) + identifier) )))) + identifier) ]) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }" { (expression_statement "FUN_0006c6e0(0);" (call_expression "FUN_0006c6e0(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (return_statement "return param_2 + 4;" return (binary_expression "param_2 + 4" identifier + number_literal) ;) })) (goto_statement "goto LAB_0006ca39;" goto statement_identifier ;) })) (expression_statement "bVar13 = bVar8 < 0x66;" (assignment_expression "bVar13 = bVar8 < 0x66" identifier = (binary_expression "bVar8 < 0x66" identifier < number_literal)) ;) (expression_statement "bVar14 = bVar8 == 0x66;" (assignment_expression "bVar14 = bVar8 == 0x66" identifier = (binary_expression "bVar8 == 0x66" identifier == number_literal)) ;) (if_statement "if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }" { (expression_statement "iVar7 = 5;" (assignment_expression "iVar7 = 5" identifier = number_literal) ;) (expression_statement "pbVar10 = (byte *)(unaff_EDI + 0x8bf33);" (assignment_expression "pbVar10 = (byte *)(unaff_EDI + 0x8bf33)" identifier = (cast_expression "(byte *)(unaff_EDI + 0x8bf33)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x8bf33)" ( (binary_expression "unaff_EDI + 0x8bf33" identifier + number_literal) )))) ;) (do_statement "do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);" do (compound_statement "{\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      }" { (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar9 < *pbVar10;" (assignment_expression "bVar13 = *pbVar9 < *pbVar10" identifier = (binary_expression "*pbVar9 < *pbVar10" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar10" * identifier))) ;) (expression_statement "bVar14 = *pbVar9 == *pbVar10;" (assignment_expression "bVar14 = *pbVar9 == *pbVar10" identifier = (binary_expression "*pbVar9 == *pbVar10" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar10" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }" if (parenthesized_expression "(((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0))" ( (binary_expression "((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)" (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) && (parenthesized_expression "(((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)" ( (binary_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6)" ( (binary_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6" (subscript_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" ( (pointer_expression "&UNK_000980d7" & identifier) )) [ (binary_expression "(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI" (binary_expression "(uint)*(byte *)(iVar2 + 5 + param_2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar2 + 5 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 5 + param_2)" ( (binary_expression "iVar2 + 5 + param_2" (binary_expression "iVar2 + 5" identifier + number_literal) + identifier) )))) + identifier) ]) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }" { (expression_statement "FUN_0006c6e0(0);" (call_expression "FUN_0006c6e0(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (return_statement "return param_2 + 5;" return (binary_expression "param_2 + 5" identifier + number_literal) ;) })) (goto_statement "goto LAB_0006c7db;" goto statement_identifier ;) })) (if_statement "if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }" if (parenthesized_expression "(((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d))" ( (binary_expression "((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)" (parenthesized_expression "((byte)(bVar8 - 0x30) < 10)" ( (binary_expression "(byte)(bVar8 - 0x30) < 10" (call_expression "(byte)(bVar8 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar8 - 0x30)" ( (binary_expression "bVar8 - 0x30" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(bVar8 == 0x2d)" ( (binary_expression "bVar8 == 0x2d" identifier == number_literal) ))) )) (compound_statement "{\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }" { (if_statement "if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }" if (parenthesized_expression "(((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10))))" ( (binary_expression "((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))" (parenthesized_expression "((char)bVar8 < '1')" ( (binary_expression "(char)bVar8 < '1'" (cast_expression "(char)bVar8" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'1'" ' character ')) )) && (parenthesized_expression "((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))" ( (parenthesized_expression "(iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10))" ( (comma_expression "iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)" (assignment_expression "iVar7 = (uint)(bVar8 == 0x2d) + param_2" identifier = (binary_expression "(uint)(bVar8 == 0x2d) + param_2" (call_expression "(uint)(bVar8 == 0x2d)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar8 == 0x2d)" ( (binary_expression "bVar8 == 0x2d" identifier == number_literal) ))) + identifier)) , (binary_expression "*(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)" (binary_expression "*(char *)(iVar2 + iVar7) == '0'" (pointer_expression "*(char *)(iVar2 + iVar7)" * (cast_expression "(char *)(iVar2 + iVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar7)" ( (binary_expression "iVar2 + iVar7" identifier + identifier) )))) == (char_literal "'0'" ' character ')) && (parenthesized_expression "((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)" ( (binary_expression "(byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10" (call_expression "(byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*(char *)(iVar2 + 1 + iVar7) - 0x30U)" ( (binary_expression "*(char *)(iVar2 + 1 + iVar7) - 0x30U" (pointer_expression "*(char *)(iVar2 + 1 + iVar7)" * (cast_expression "(char *)(iVar2 + 1 + iVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1 + iVar7)" ( (binary_expression "iVar2 + 1 + iVar7" (binary_expression "iVar2 + 1" identifier + number_literal) + identifier) )))) - number_literal) ))) < number_literal) )))) )) ))) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) (goto_statement "goto LAB_0006ca8f;" goto statement_identifier ;) })) }))) (if_statement "if (bVar8 == 0x7d) {\n    return -2;\n  }" if (parenthesized_expression "(bVar8 == 0x7d)" ( (binary_expression "bVar8 == 0x7d" identifier == number_literal) )) (compound_statement "{\n    return -2;\n  }" { (return_statement "return -2;" return number_literal ;) })) (if_statement "if (bVar8 == 0x5d) {\n    return -3;\n  }" if (parenthesized_expression "(bVar8 == 0x5d)" ( (binary_expression "bVar8 == 0x5d" identifier == number_literal) )) (compound_statement "{\n    return -3;\n  }" { (return_statement "return -3;" return number_literal ;) })) (labeled_statement "LAB_0006c7db:\n  return -(uint)(bVar8 != 0);" statement_identifier : (return_statement "return -(uint)(bVar8 != 0);" return (unary_expression "-(uint)(bVar8 != 0)" - (call_expression "(uint)(bVar8 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar8 != 0)" ( (binary_expression "bVar8 != 0" identifier != number_literal) )))) ;)) })))
(translation_unit "int __regparm3 jsonParseValue(JsonParse *pParse,u32 i)\n\n{\n  u8 *puVar1;\n  char *pcVar2;\n  u32 uVar3;\n  char cVar4;\n  JsonParse *pParse_00;\n  uint uVar5;\n  u16 uVar6;\n  int iVar7;\n  byte bVar8;\n  int iVar9;\n  byte *pbVar10;\n  u32 uVar11;\n  u8 uVar12;\n  int unaff_EDI;\n  byte *pbVar13;\n  bool bVar14;\n  bool bVar15;\n  byte bVar16;\n  undefined8 uVar17;\n  byte *local_28;\n  \n  bVar16 = 0;\n  uVar17 = __x86_get_pc_thunk_di();\n  pParse_00 = (JsonParse *)uVar17;\n  pcVar2 = pParse_00->zJson;\n  local_28 = (byte *)(pcVar2 + (int)((ulonglong)uVar17 >> 0x20));\n  bVar8 = *local_28;\n  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      i = i + 1;\n      bVar8 = pcVar2[i];\n      local_28 = (byte *)(pcVar2 + i);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }\n  if (bVar8 == 0x7b) {\n    uVar5 = jsonParseAddNode(pParse_00,7,0,(char *)0x0);\n    if (-1 < (int)uVar5) {\n      uVar11 = i + 1;\n      uVar6 = pParse_00->iDepth;\n      iVar7 = unaff_EDI + 0x944d7;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n          uVar11 = uVar11 + 1;\n        }\n        pParse_00->iDepth = uVar6 + 1;\n        if (2000 < (ushort)(uVar6 + 1)) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,uVar11);\n        if (iVar9 < 0) {\n          pParse_00->iDepth = pParse_00->iDepth - 1;\n          if (iVar9 != -2) {\n            return -1;\n          }\n          if (pParse_00->nNode != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if (pParse_00->oom != '\0') {\n          return -1;\n        }\n        if (pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05') {\n          return -1;\n        }\n        puVar1 = &pParse_00->aNode[pParse_00->nNode - 1].jnFlags;\n        *puVar1 = *puVar1 | 0x40;\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,iVar9 + 1);\n        uVar6 = pParse_00->iDepth - 1;\n        pParse_00->iDepth = uVar6;\n        if (iVar9 < 0) {\n          return -1;\n        }\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        uVar11 = iVar9 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar9 + 1;\n      }\n    }\n    return -1;\n  }\n  if (bVar8 == 0x5b) {\n    uVar5 = jsonParseAddNode(pParse_00,6,0,(char *)0x0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    uVar6 = pParse_00->iDepth;\n    uVar11 = i + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n        uVar11 = uVar11 + 1;\n      }\n      pParse_00->iDepth = uVar6 + 1;\n      if (2000 < (ushort)(uVar6 + 1)) {\n        return -1;\n      }\n      iVar7 = jsonParseValue(pParse_00,uVar11);\n      uVar6 = pParse_00->iDepth - 1;\n      pParse_00->iDepth = uVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = pcVar2[iVar7], *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar7 + 1;\n      }\n      uVar11 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (pParse_00->nNode != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return uVar11 + 1;\n  }\n  if (bVar8 == 0x22) {\n    bVar8 = pcVar2[i + 1];\n    iVar7 = i + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar12 = '\0';\n    do {\n      while (iVar9 = iVar7 + 1, bVar8 != 0x5c) {\n        if (bVar8 == 0x22) {\n          jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28);\n          if (pParse_00->oom == '\0') {\n            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;\n            return iVar9;\n          }\n          return iVar9;\n        }\nLAB_0006c811:\n        iVar7 = iVar9;\n        bVar8 = pcVar2[iVar7];\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = pcVar2[iVar7 + 1];\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar9 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }\n          iVar9 = iVar9 + 1;\n        } while (iVar9 != 4);\n        uVar12 = '\x02';\n        iVar9 = iVar7 + 2;\n        goto LAB_0006c811;\n      }\n      iVar7 = iVar7 + 2;\n      uVar12 = '\x02';\n      bVar8 = pcVar2[iVar7];\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }\n  bVar14 = bVar8 < 0x6e;\n  bVar15 = bVar8 == 0x6e;\n  if (bVar15) {\n    iVar7 = 4;\n    pbVar10 = local_28;\n    pbVar13 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar14 = *pbVar10 < *pbVar13;\n      bVar15 = *pbVar10 == *pbVar13;\n      pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n    } while (bVar15);\n    if ((!bVar14 && !bVar15) != bVar14) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0) {\n      jsonParseAddNode(pParse_00,0,0,(char *)0x0);\n      return i + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar14 = false;\n      bVar15 = false;\n      uVar11 = i;\n      do {\n        do {\n          uVar3 = uVar11;\n          uVar11 = uVar3 + 1;\n          bVar8 = pcVar2[uVar11];\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar4 = pcVar2[uVar3];\n        if (bVar8 == 0x2e) {\n          if (cVar4 == '-') {\n            return -1;\n          }\n          if (bVar15) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }\n          if (cVar4 < '0') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n          cVar4 = pcVar2[uVar3 + 2];\n          if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }\n          if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }\n          bVar14 = true;\n        }\n        bVar15 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar14 = bVar8 < 0x74;\n    bVar15 = bVar8 == 0x74;\n    if (bVar15) {\n      iVar7 = 4;\n      pbVar10 = local_28;\n      pbVar13 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *pbVar10 < *pbVar13;\n        bVar15 = *pbVar10 == *pbVar13;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n        pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,1,0,(char *)0x0);\n        return i + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar14 = bVar8 < 0x66;\n    bVar15 = bVar8 == 0x66;\n    if (bVar15) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *local_28 < *pbVar10;\n        bVar15 = *local_28 == *pbVar10;\n        local_28 = local_28 + (uint)bVar16 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,2,0,(char *)0x0);\n        return i + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }\n  if (bVar8 == 0x7d) {\n    return -2;\n  }\n  if (bVar8 == 0x5d) {\n    return -3;\n  }\nLAB_0006c7db:\n  return -(uint)(bVar8 != 0);\n}\n\n" (function_definition "int __regparm3 jsonParseValue(JsonParse *pParse,u32 i)\n\n{\n  u8 *puVar1;\n  char *pcVar2;\n  u32 uVar3;\n  char cVar4;\n  JsonParse *pParse_00;\n  uint uVar5;\n  u16 uVar6;\n  int iVar7;\n  byte bVar8;\n  int iVar9;\n  byte *pbVar10;\n  u32 uVar11;\n  u8 uVar12;\n  int unaff_EDI;\n  byte *pbVar13;\n  bool bVar14;\n  bool bVar15;\n  byte bVar16;\n  undefined8 uVar17;\n  byte *local_28;\n  \n  bVar16 = 0;\n  uVar17 = __x86_get_pc_thunk_di();\n  pParse_00 = (JsonParse *)uVar17;\n  pcVar2 = pParse_00->zJson;\n  local_28 = (byte *)(pcVar2 + (int)((ulonglong)uVar17 >> 0x20));\n  bVar8 = *local_28;\n  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      i = i + 1;\n      bVar8 = pcVar2[i];\n      local_28 = (byte *)(pcVar2 + i);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }\n  if (bVar8 == 0x7b) {\n    uVar5 = jsonParseAddNode(pParse_00,7,0,(char *)0x0);\n    if (-1 < (int)uVar5) {\n      uVar11 = i + 1;\n      uVar6 = pParse_00->iDepth;\n      iVar7 = unaff_EDI + 0x944d7;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n          uVar11 = uVar11 + 1;\n        }\n        pParse_00->iDepth = uVar6 + 1;\n        if (2000 < (ushort)(uVar6 + 1)) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,uVar11);\n        if (iVar9 < 0) {\n          pParse_00->iDepth = pParse_00->iDepth - 1;\n          if (iVar9 != -2) {\n            return -1;\n          }\n          if (pParse_00->nNode != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if (pParse_00->oom != '\0') {\n          return -1;\n        }\n        if (pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05') {\n          return -1;\n        }\n        puVar1 = &pParse_00->aNode[pParse_00->nNode - 1].jnFlags;\n        *puVar1 = *puVar1 | 0x40;\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,iVar9 + 1);\n        uVar6 = pParse_00->iDepth - 1;\n        pParse_00->iDepth = uVar6;\n        if (iVar9 < 0) {\n          return -1;\n        }\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        uVar11 = iVar9 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar9 + 1;\n      }\n    }\n    return -1;\n  }\n  if (bVar8 == 0x5b) {\n    uVar5 = jsonParseAddNode(pParse_00,6,0,(char *)0x0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    uVar6 = pParse_00->iDepth;\n    uVar11 = i + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n        uVar11 = uVar11 + 1;\n      }\n      pParse_00->iDepth = uVar6 + 1;\n      if (2000 < (ushort)(uVar6 + 1)) {\n        return -1;\n      }\n      iVar7 = jsonParseValue(pParse_00,uVar11);\n      uVar6 = pParse_00->iDepth - 1;\n      pParse_00->iDepth = uVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = pcVar2[iVar7], *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar7 + 1;\n      }\n      uVar11 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (pParse_00->nNode != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return uVar11 + 1;\n  }\n  if (bVar8 == 0x22) {\n    bVar8 = pcVar2[i + 1];\n    iVar7 = i + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar12 = '\0';\n    do {\n      while (iVar9 = iVar7 + 1, bVar8 != 0x5c) {\n        if (bVar8 == 0x22) {\n          jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28);\n          if (pParse_00->oom == '\0') {\n            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;\n            return iVar9;\n          }\n          return iVar9;\n        }\nLAB_0006c811:\n        iVar7 = iVar9;\n        bVar8 = pcVar2[iVar7];\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = pcVar2[iVar7 + 1];\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar9 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }\n          iVar9 = iVar9 + 1;\n        } while (iVar9 != 4);\n        uVar12 = '\x02';\n        iVar9 = iVar7 + 2;\n        goto LAB_0006c811;\n      }\n      iVar7 = iVar7 + 2;\n      uVar12 = '\x02';\n      bVar8 = pcVar2[iVar7];\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }\n  bVar14 = bVar8 < 0x6e;\n  bVar15 = bVar8 == 0x6e;\n  if (bVar15) {\n    iVar7 = 4;\n    pbVar10 = local_28;\n    pbVar13 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar14 = *pbVar10 < *pbVar13;\n      bVar15 = *pbVar10 == *pbVar13;\n      pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n    } while (bVar15);\n    if ((!bVar14 && !bVar15) != bVar14) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0) {\n      jsonParseAddNode(pParse_00,0,0,(char *)0x0);\n      return i + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar14 = false;\n      bVar15 = false;\n      uVar11 = i;\n      do {\n        do {\n          uVar3 = uVar11;\n          uVar11 = uVar3 + 1;\n          bVar8 = pcVar2[uVar11];\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar4 = pcVar2[uVar3];\n        if (bVar8 == 0x2e) {\n          if (cVar4 == '-') {\n            return -1;\n          }\n          if (bVar15) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }\n          if (cVar4 < '0') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n          cVar4 = pcVar2[uVar3 + 2];\n          if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }\n          if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }\n          bVar14 = true;\n        }\n        bVar15 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar14 = bVar8 < 0x74;\n    bVar15 = bVar8 == 0x74;\n    if (bVar15) {\n      iVar7 = 4;\n      pbVar10 = local_28;\n      pbVar13 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *pbVar10 < *pbVar13;\n        bVar15 = *pbVar10 == *pbVar13;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n        pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,1,0,(char *)0x0);\n        return i + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar14 = bVar8 < 0x66;\n    bVar15 = bVar8 == 0x66;\n    if (bVar15) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *local_28 < *pbVar10;\n        bVar15 = *local_28 == *pbVar10;\n        local_28 = local_28 + (uint)bVar16 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,2,0,(char *)0x0);\n        return i + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }\n  if (bVar8 == 0x7d) {\n    return -2;\n  }\n  if (bVar8 == 0x5d) {\n    return -3;\n  }\nLAB_0006c7db:\n  return -(uint)(bVar8 != 0);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "jsonParseValue(JsonParse *pParse,u32 i)" identifier (parameter_list "(JsonParse *pParse,u32 i)" ( (parameter_declaration "JsonParse *pParse" type_identifier (pointer_declarator "*pParse" * identifier)) , (parameter_declaration "u32 i" type_identifier identifier) ))) (compound_statement "{\n  u8 *puVar1;\n  char *pcVar2;\n  u32 uVar3;\n  char cVar4;\n  JsonParse *pParse_00;\n  uint uVar5;\n  u16 uVar6;\n  int iVar7;\n  byte bVar8;\n  int iVar9;\n  byte *pbVar10;\n  u32 uVar11;\n  u8 uVar12;\n  int unaff_EDI;\n  byte *pbVar13;\n  bool bVar14;\n  bool bVar15;\n  byte bVar16;\n  undefined8 uVar17;\n  byte *local_28;\n  \n  bVar16 = 0;\n  uVar17 = __x86_get_pc_thunk_di();\n  pParse_00 = (JsonParse *)uVar17;\n  pcVar2 = pParse_00->zJson;\n  local_28 = (byte *)(pcVar2 + (int)((ulonglong)uVar17 >> 0x20));\n  bVar8 = *local_28;\n  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      i = i + 1;\n      bVar8 = pcVar2[i];\n      local_28 = (byte *)(pcVar2 + i);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }\n  if (bVar8 == 0x7b) {\n    uVar5 = jsonParseAddNode(pParse_00,7,0,(char *)0x0);\n    if (-1 < (int)uVar5) {\n      uVar11 = i + 1;\n      uVar6 = pParse_00->iDepth;\n      iVar7 = unaff_EDI + 0x944d7;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n          uVar11 = uVar11 + 1;\n        }\n        pParse_00->iDepth = uVar6 + 1;\n        if (2000 < (ushort)(uVar6 + 1)) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,uVar11);\n        if (iVar9 < 0) {\n          pParse_00->iDepth = pParse_00->iDepth - 1;\n          if (iVar9 != -2) {\n            return -1;\n          }\n          if (pParse_00->nNode != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if (pParse_00->oom != '\0') {\n          return -1;\n        }\n        if (pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05') {\n          return -1;\n        }\n        puVar1 = &pParse_00->aNode[pParse_00->nNode - 1].jnFlags;\n        *puVar1 = *puVar1 | 0x40;\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,iVar9 + 1);\n        uVar6 = pParse_00->iDepth - 1;\n        pParse_00->iDepth = uVar6;\n        if (iVar9 < 0) {\n          return -1;\n        }\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        uVar11 = iVar9 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar9 + 1;\n      }\n    }\n    return -1;\n  }\n  if (bVar8 == 0x5b) {\n    uVar5 = jsonParseAddNode(pParse_00,6,0,(char *)0x0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    uVar6 = pParse_00->iDepth;\n    uVar11 = i + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n        uVar11 = uVar11 + 1;\n      }\n      pParse_00->iDepth = uVar6 + 1;\n      if (2000 < (ushort)(uVar6 + 1)) {\n        return -1;\n      }\n      iVar7 = jsonParseValue(pParse_00,uVar11);\n      uVar6 = pParse_00->iDepth - 1;\n      pParse_00->iDepth = uVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = pcVar2[iVar7], *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar7 + 1;\n      }\n      uVar11 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (pParse_00->nNode != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return uVar11 + 1;\n  }\n  if (bVar8 == 0x22) {\n    bVar8 = pcVar2[i + 1];\n    iVar7 = i + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar12 = '\0';\n    do {\n      while (iVar9 = iVar7 + 1, bVar8 != 0x5c) {\n        if (bVar8 == 0x22) {\n          jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28);\n          if (pParse_00->oom == '\0') {\n            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;\n            return iVar9;\n          }\n          return iVar9;\n        }\nLAB_0006c811:\n        iVar7 = iVar9;\n        bVar8 = pcVar2[iVar7];\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = pcVar2[iVar7 + 1];\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar9 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }\n          iVar9 = iVar9 + 1;\n        } while (iVar9 != 4);\n        uVar12 = '\x02';\n        iVar9 = iVar7 + 2;\n        goto LAB_0006c811;\n      }\n      iVar7 = iVar7 + 2;\n      uVar12 = '\x02';\n      bVar8 = pcVar2[iVar7];\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }\n  bVar14 = bVar8 < 0x6e;\n  bVar15 = bVar8 == 0x6e;\n  if (bVar15) {\n    iVar7 = 4;\n    pbVar10 = local_28;\n    pbVar13 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar14 = *pbVar10 < *pbVar13;\n      bVar15 = *pbVar10 == *pbVar13;\n      pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n    } while (bVar15);\n    if ((!bVar14 && !bVar15) != bVar14) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0) {\n      jsonParseAddNode(pParse_00,0,0,(char *)0x0);\n      return i + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar14 = false;\n      bVar15 = false;\n      uVar11 = i;\n      do {\n        do {\n          uVar3 = uVar11;\n          uVar11 = uVar3 + 1;\n          bVar8 = pcVar2[uVar11];\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar4 = pcVar2[uVar3];\n        if (bVar8 == 0x2e) {\n          if (cVar4 == '-') {\n            return -1;\n          }\n          if (bVar15) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }\n          if (cVar4 < '0') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n          cVar4 = pcVar2[uVar3 + 2];\n          if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }\n          if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }\n          bVar14 = true;\n        }\n        bVar15 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar14 = bVar8 < 0x74;\n    bVar15 = bVar8 == 0x74;\n    if (bVar15) {\n      iVar7 = 4;\n      pbVar10 = local_28;\n      pbVar13 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *pbVar10 < *pbVar13;\n        bVar15 = *pbVar10 == *pbVar13;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n        pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,1,0,(char *)0x0);\n        return i + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar14 = bVar8 < 0x66;\n    bVar15 = bVar8 == 0x66;\n    if (bVar15) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *local_28 < *pbVar10;\n        bVar15 = *local_28 == *pbVar10;\n        local_28 = local_28 + (uint)bVar16 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,2,0,(char *)0x0);\n        return i + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }\n  if (bVar8 == 0x7d) {\n    return -2;\n  }\n  if (bVar8 == 0x5d) {\n    return -3;\n  }\nLAB_0006c7db:\n  return -(uint)(bVar8 != 0);\n}" { (declaration "u8 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (declaration "u32 uVar3;" type_identifier identifier ;) (declaration "char cVar4;" primitive_type identifier ;) (declaration "JsonParse *pParse_00;" type_identifier (pointer_declarator "*pParse_00" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "u16 uVar6;" type_identifier identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "u32 uVar11;" type_identifier identifier ;) (declaration "u8 uVar12;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "byte *pbVar13;" type_identifier (pointer_declarator "*pbVar13" * identifier) ;) (declaration "bool bVar14;" primitive_type identifier ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "byte bVar16;" type_identifier identifier ;) (declaration "undefined8 uVar17;" type_identifier identifier ;) (declaration "byte *local_28;" type_identifier (pointer_declarator "*local_28" * identifier) ;) (expression_statement "bVar16 = 0;" (assignment_expression "bVar16 = 0" identifier = number_literal) ;) (expression_statement "uVar17 = __x86_get_pc_thunk_di();" (assignment_expression "uVar17 = __x86_get_pc_thunk_di()" identifier = (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( )))) ;) (expression_statement "pParse_00 = (JsonParse *)uVar17;" (assignment_expression "pParse_00 = (JsonParse *)uVar17" identifier = (cast_expression "(JsonParse *)uVar17" ( (type_descriptor "JsonParse *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "pcVar2 = pParse_00->zJson;" (assignment_expression "pcVar2 = pParse_00->zJson" identifier = (field_expression "pParse_00->zJson" identifier -> field_identifier)) ;) (expression_statement "local_28 = (byte *)(pcVar2 + (int)((ulonglong)uVar17 >> 0x20));" (assignment_expression "local_28 = (byte *)(pcVar2 + (int)((ulonglong)uVar17 >> 0x20))" identifier = (cast_expression "(byte *)(pcVar2 + (int)((ulonglong)uVar17 >> 0x20))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + (int)((ulonglong)uVar17 >> 0x20))" ( (binary_expression "pcVar2 + (int)((ulonglong)uVar17 >> 0x20)" identifier + (cast_expression "(int)((ulonglong)uVar17 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar17 >> 0x20)" ( (binary_expression "(ulonglong)uVar17 >> 0x20" (cast_expression "(ulonglong)uVar17" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) )))) ;) (expression_statement "bVar8 = *local_28;" (assignment_expression "bVar8 = *local_28" identifier = (pointer_expression "*local_28" * identifier)) ;) (if_statement "if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      i = i + 1;\n      bVar8 = pcVar2[i];\n      local_28 = (byte *)(pcVar2 + i);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }" if (parenthesized_expression "(*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')" ( (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" * (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (binary_expression "unaff_EDI + 0x944d7 + (uint)bVar8" (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal) + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    do {\n      i = i + 1;\n      bVar8 = pcVar2[i];\n      local_28 = (byte *)(pcVar2 + i);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }" { (do_statement "do {\n      i = i + 1;\n      bVar8 = pcVar2[i];\n      local_28 = (byte *)(pcVar2 + i);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');" do (compound_statement "{\n      i = i + 1;\n      bVar8 = pcVar2[i];\n      local_28 = (byte *)(pcVar2 + i);\n    }" { (expression_statement "i = i + 1;" (assignment_expression "i = i + 1" identifier = (binary_expression "i + 1" identifier + number_literal)) ;) (expression_statement "bVar8 = pcVar2[i];" (assignment_expression "bVar8 = pcVar2[i]" identifier = (subscript_expression "pcVar2[i]" identifier [ identifier ])) ;) (expression_statement "local_28 = (byte *)(pcVar2 + i);" (assignment_expression "local_28 = (byte *)(pcVar2 + i)" identifier = (cast_expression "(byte *)(pcVar2 + i)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar2 + i)" ( (binary_expression "pcVar2 + i" identifier + identifier) )))) ;) }) while (parenthesized_expression "(*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')" ( (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" * (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (binary_expression "unaff_EDI + 0x944d7 + (uint)bVar8" (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal) + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) != (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (if_statement "if (bVar8 == 0x7b) {\n    uVar5 = jsonParseAddNode(pParse_00,7,0,(char *)0x0);\n    if (-1 < (int)uVar5) {\n      uVar11 = i + 1;\n      uVar6 = pParse_00->iDepth;\n      iVar7 = unaff_EDI + 0x944d7;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n          uVar11 = uVar11 + 1;\n        }\n        pParse_00->iDepth = uVar6 + 1;\n        if (2000 < (ushort)(uVar6 + 1)) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,uVar11);\n        if (iVar9 < 0) {\n          pParse_00->iDepth = pParse_00->iDepth - 1;\n          if (iVar9 != -2) {\n            return -1;\n          }\n          if (pParse_00->nNode != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if (pParse_00->oom != '\0') {\n          return -1;\n        }\n        if (pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05') {\n          return -1;\n        }\n        puVar1 = &pParse_00->aNode[pParse_00->nNode - 1].jnFlags;\n        *puVar1 = *puVar1 | 0x40;\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,iVar9 + 1);\n        uVar6 = pParse_00->iDepth - 1;\n        pParse_00->iDepth = uVar6;\n        if (iVar9 < 0) {\n          return -1;\n        }\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        uVar11 = iVar9 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar9 + 1;\n      }\n    }\n    return -1;\n  }" if (parenthesized_expression "(bVar8 == 0x7b)" ( (binary_expression "bVar8 == 0x7b" identifier == number_literal) )) (compound_statement "{\n    uVar5 = jsonParseAddNode(pParse_00,7,0,(char *)0x0);\n    if (-1 < (int)uVar5) {\n      uVar11 = i + 1;\n      uVar6 = pParse_00->iDepth;\n      iVar7 = unaff_EDI + 0x944d7;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n          uVar11 = uVar11 + 1;\n        }\n        pParse_00->iDepth = uVar6 + 1;\n        if (2000 < (ushort)(uVar6 + 1)) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,uVar11);\n        if (iVar9 < 0) {\n          pParse_00->iDepth = pParse_00->iDepth - 1;\n          if (iVar9 != -2) {\n            return -1;\n          }\n          if (pParse_00->nNode != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if (pParse_00->oom != '\0') {\n          return -1;\n        }\n        if (pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05') {\n          return -1;\n        }\n        puVar1 = &pParse_00->aNode[pParse_00->nNode - 1].jnFlags;\n        *puVar1 = *puVar1 | 0x40;\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,iVar9 + 1);\n        uVar6 = pParse_00->iDepth - 1;\n        pParse_00->iDepth = uVar6;\n        if (iVar9 < 0) {\n          return -1;\n        }\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        uVar11 = iVar9 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar9 + 1;\n      }\n    }\n    return -1;\n  }" { (expression_statement "uVar5 = jsonParseAddNode(pParse_00,7,0,(char *)0x0);" (assignment_expression "uVar5 = jsonParseAddNode(pParse_00,7,0,(char *)0x0)" identifier = (call_expression "jsonParseAddNode(pParse_00,7,0,(char *)0x0)" identifier (argument_list "(pParse_00,7,0,(char *)0x0)" ( identifier , number_literal , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if (-1 < (int)uVar5) {\n      uVar11 = i + 1;\n      uVar6 = pParse_00->iDepth;\n      iVar7 = unaff_EDI + 0x944d7;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n          uVar11 = uVar11 + 1;\n        }\n        pParse_00->iDepth = uVar6 + 1;\n        if (2000 < (ushort)(uVar6 + 1)) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,uVar11);\n        if (iVar9 < 0) {\n          pParse_00->iDepth = pParse_00->iDepth - 1;\n          if (iVar9 != -2) {\n            return -1;\n          }\n          if (pParse_00->nNode != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if (pParse_00->oom != '\0') {\n          return -1;\n        }\n        if (pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05') {\n          return -1;\n        }\n        puVar1 = &pParse_00->aNode[pParse_00->nNode - 1].jnFlags;\n        *puVar1 = *puVar1 | 0x40;\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,iVar9 + 1);\n        uVar6 = pParse_00->iDepth - 1;\n        pParse_00->iDepth = uVar6;\n        if (iVar9 < 0) {\n          return -1;\n        }\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        uVar11 = iVar9 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar9 + 1;\n      }\n    }" if (parenthesized_expression "(-1 < (int)uVar5)" ( (binary_expression "-1 < (int)uVar5" number_literal < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      uVar11 = i + 1;\n      uVar6 = pParse_00->iDepth;\n      iVar7 = unaff_EDI + 0x944d7;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n          uVar11 = uVar11 + 1;\n        }\n        pParse_00->iDepth = uVar6 + 1;\n        if (2000 < (ushort)(uVar6 + 1)) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,uVar11);\n        if (iVar9 < 0) {\n          pParse_00->iDepth = pParse_00->iDepth - 1;\n          if (iVar9 != -2) {\n            return -1;\n          }\n          if (pParse_00->nNode != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if (pParse_00->oom != '\0') {\n          return -1;\n        }\n        if (pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05') {\n          return -1;\n        }\n        puVar1 = &pParse_00->aNode[pParse_00->nNode - 1].jnFlags;\n        *puVar1 = *puVar1 | 0x40;\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,iVar9 + 1);\n        uVar6 = pParse_00->iDepth - 1;\n        pParse_00->iDepth = uVar6;\n        if (iVar9 < 0) {\n          return -1;\n        }\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        uVar11 = iVar9 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar9 + 1;\n      }\n    }" { (expression_statement "uVar11 = i + 1;" (assignment_expression "uVar11 = i + 1" identifier = (binary_expression "i + 1" identifier + number_literal)) ;) (expression_statement "uVar6 = pParse_00->iDepth;" (assignment_expression "uVar6 = pParse_00->iDepth" identifier = (field_expression "pParse_00->iDepth" identifier -> field_identifier)) ;) (expression_statement "iVar7 = unaff_EDI + 0x944d7;" (assignment_expression "iVar7 = unaff_EDI + 0x944d7" identifier = (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal)) ;) (while_statement "while( true ) {\n        while (*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n          uVar11 = uVar11 + 1;\n        }\n        pParse_00->iDepth = uVar6 + 1;\n        if (2000 < (ushort)(uVar6 + 1)) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,uVar11);\n        if (iVar9 < 0) {\n          pParse_00->iDepth = pParse_00->iDepth - 1;\n          if (iVar9 != -2) {\n            return -1;\n          }\n          if (pParse_00->nNode != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if (pParse_00->oom != '\0') {\n          return -1;\n        }\n        if (pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05') {\n          return -1;\n        }\n        puVar1 = &pParse_00->aNode[pParse_00->nNode - 1].jnFlags;\n        *puVar1 = *puVar1 | 0x40;\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,iVar9 + 1);\n        uVar6 = pParse_00->iDepth - 1;\n        pParse_00->iDepth = uVar6;\n        if (iVar9 < 0) {\n          return -1;\n        }\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        uVar11 = iVar9 + 1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        while (*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n          uVar11 = uVar11 + 1;\n        }\n        pParse_00->iDepth = uVar6 + 1;\n        if (2000 < (ushort)(uVar6 + 1)) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,uVar11);\n        if (iVar9 < 0) {\n          pParse_00->iDepth = pParse_00->iDepth - 1;\n          if (iVar9 != -2) {\n            return -1;\n          }\n          if (pParse_00->nNode != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if (pParse_00->oom != '\0') {\n          return -1;\n        }\n        if (pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05') {\n          return -1;\n        }\n        puVar1 = &pParse_00->aNode[pParse_00->nNode - 1].jnFlags;\n        *puVar1 = *puVar1 | 0x40;\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        iVar9 = jsonParseValue(pParse_00,iVar9 + 1);\n        uVar6 = pParse_00->iDepth - 1;\n        pParse_00->iDepth = uVar6;\n        if (iVar9 < 0) {\n          return -1;\n        }\n        bVar8 = pcVar2[iVar9];\n        cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        uVar11 = iVar9 + 1;\n      }" { (while_statement "while (*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n          uVar11 = uVar11 + 1;\n        }" while (parenthesized_expression "(*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11]) != '\0')" ( (binary_expression "*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11]) != '\0'" (pointer_expression "*(char *)(iVar7 + (uint)(byte)pcVar2[uVar11])" * (cast_expression "(char *)(iVar7 + (uint)(byte)pcVar2[uVar11])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)(byte)pcVar2[uVar11])" ( (binary_expression "iVar7 + (uint)(byte)pcVar2[uVar11]" identifier + (cast_expression "(uint)(byte)pcVar2[uVar11]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar2[uVar11]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar2[uVar11]" identifier [ identifier ])))) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          uVar11 = uVar11 + 1;\n        }" { (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) })) (expression_statement "pParse_00->iDepth = uVar6 + 1;" (assignment_expression "pParse_00->iDepth = uVar6 + 1" (field_expression "pParse_00->iDepth" identifier -> field_identifier) = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (2000 < (ushort)(uVar6 + 1)) {\n          return -1;\n        }" if (parenthesized_expression "(2000 < (ushort)(uVar6 + 1))" ( (binary_expression "2000 < (ushort)(uVar6 + 1)" number_literal < (call_expression "(ushort)(uVar6 + 1)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(uVar6 + 1)" ( (binary_expression "uVar6 + 1" identifier + number_literal) )))) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar9 = jsonParseValue(pParse_00,uVar11);" (assignment_expression "iVar9 = jsonParseValue(pParse_00,uVar11)" identifier = (call_expression "jsonParseValue(pParse_00,uVar11)" identifier (argument_list "(pParse_00,uVar11)" ( identifier , identifier )))) ;) (if_statement "if (iVar9 < 0) {\n          pParse_00->iDepth = pParse_00->iDepth - 1;\n          if (iVar9 != -2) {\n            return -1;\n          }\n          if (pParse_00->nNode != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }" if (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) (compound_statement "{\n          pParse_00->iDepth = pParse_00->iDepth - 1;\n          if (iVar9 != -2) {\n            return -1;\n          }\n          if (pParse_00->nNode != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }" { (expression_statement "pParse_00->iDepth = pParse_00->iDepth - 1;" (assignment_expression "pParse_00->iDepth = pParse_00->iDepth - 1" (field_expression "pParse_00->iDepth" identifier -> field_identifier) = (binary_expression "pParse_00->iDepth - 1" (field_expression "pParse_00->iDepth" identifier -> field_identifier) - number_literal)) ;) (if_statement "if (iVar9 != -2) {\n            return -1;\n          }" if (parenthesized_expression "(iVar9 != -2)" ( (binary_expression "iVar9 != -2" identifier != number_literal) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (pParse_00->nNode != uVar5 + 1) {\n            return -1;\n          }" if (parenthesized_expression "(pParse_00->nNode != uVar5 + 1)" ( (binary_expression "pParse_00->nNode != uVar5 + 1" (field_expression "pParse_00->nNode" identifier -> field_identifier) != (binary_expression "uVar5 + 1" identifier + number_literal)) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (goto_statement "goto LAB_0006cd22;" goto statement_identifier ;) })) (if_statement "if (pParse_00->oom != '\0') {\n          return -1;\n        }" if (parenthesized_expression "(pParse_00->oom != '\0')" ( (binary_expression "pParse_00->oom != '\0'" (field_expression "pParse_00->oom" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05') {\n          return -1;\n        }" if (parenthesized_expression "(pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05')" ( (binary_expression "pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05'" (field_expression "pParse_00->aNode[pParse_00->nNode - 1].eType" (subscript_expression "pParse_00->aNode[pParse_00->nNode - 1]" (field_expression "pParse_00->aNode" identifier -> field_identifier) [ (binary_expression "pParse_00->nNode - 1" (field_expression "pParse_00->nNode" identifier -> field_identifier) - number_literal) ]) . field_identifier) != (char_literal "'\x05'" ' escape_sequence ')) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "puVar1 = &pParse_00->aNode[pParse_00->nNode - 1].jnFlags;" (assignment_expression "puVar1 = &pParse_00->aNode[pParse_00->nNode - 1].jnFlags" identifier = (pointer_expression "&pParse_00->aNode[pParse_00->nNode - 1].jnFlags" & (field_expression "pParse_00->aNode[pParse_00->nNode - 1].jnFlags" (subscript_expression "pParse_00->aNode[pParse_00->nNode - 1]" (field_expression "pParse_00->aNode" identifier -> field_identifier) [ (binary_expression "pParse_00->nNode - 1" (field_expression "pParse_00->nNode" identifier -> field_identifier) - number_literal) ]) . field_identifier))) ;) (expression_statement "*puVar1 = *puVar1 | 0x40;" (assignment_expression "*puVar1 = *puVar1 | 0x40" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 | 0x40" (pointer_expression "*puVar1" * identifier) | number_literal)) ;) (expression_statement "bVar8 = pcVar2[iVar9];" (assignment_expression "bVar8 = pcVar2[iVar9]" identifier = (subscript_expression "pcVar2[iVar9]" identifier [ identifier ])) ;) (expression_statement "cVar4 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar4 = *(char *)(iVar7 + (uint)bVar8)" identifier = (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" * (cast_expression "(char *)(iVar7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)bVar8)" ( (binary_expression "iVar7 + (uint)bVar8" identifier + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) (while_statement "while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }" while (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }" { (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "bVar8 = pcVar2[iVar9];" (assignment_expression "bVar8 = pcVar2[iVar9]" identifier = (subscript_expression "pcVar2[iVar9]" identifier [ identifier ])) ;) (expression_statement "cVar4 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar4 = *(char *)(iVar7 + (uint)bVar8)" identifier = (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" * (cast_expression "(char *)(iVar7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)bVar8)" ( (binary_expression "iVar7 + (uint)bVar8" identifier + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) })) (if_statement "if (bVar8 != 0x3a) {\n          return -1;\n        }" if (parenthesized_expression "(bVar8 != 0x3a)" ( (binary_expression "bVar8 != 0x3a" identifier != number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar9 = jsonParseValue(pParse_00,iVar9 + 1);" (assignment_expression "iVar9 = jsonParseValue(pParse_00,iVar9 + 1)" identifier = (call_expression "jsonParseValue(pParse_00,iVar9 + 1)" identifier (argument_list "(pParse_00,iVar9 + 1)" ( identifier , (binary_expression "iVar9 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar6 = pParse_00->iDepth - 1;" (assignment_expression "uVar6 = pParse_00->iDepth - 1" identifier = (binary_expression "pParse_00->iDepth - 1" (field_expression "pParse_00->iDepth" identifier -> field_identifier) - number_literal)) ;) (expression_statement "pParse_00->iDepth = uVar6;" (assignment_expression "pParse_00->iDepth = uVar6" (field_expression "pParse_00->iDepth" identifier -> field_identifier) = identifier) ;) (if_statement "if (iVar9 < 0) {\n          return -1;\n        }" if (parenthesized_expression "(iVar9 < 0)" ( (binary_expression "iVar9 < 0" identifier < number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "bVar8 = pcVar2[iVar9];" (assignment_expression "bVar8 = pcVar2[iVar9]" identifier = (subscript_expression "pcVar2[iVar9]" identifier [ identifier ])) ;) (expression_statement "cVar4 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar4 = *(char *)(iVar7 + (uint)bVar8)" identifier = (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" * (cast_expression "(char *)(iVar7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)bVar8)" ( (binary_expression "iVar7 + (uint)bVar8" identifier + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) (while_statement "while (cVar4 != '\0') {\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }" while (parenthesized_expression "(cVar4 != '\0')" ( (binary_expression "cVar4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar9 = iVar9 + 1;\n          bVar8 = pcVar2[iVar9];\n          cVar4 = *(char *)(iVar7 + (uint)bVar8);\n        }" { (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "bVar8 = pcVar2[iVar9];" (assignment_expression "bVar8 = pcVar2[iVar9]" identifier = (subscript_expression "pcVar2[iVar9]" identifier [ identifier ])) ;) (expression_statement "cVar4 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar4 = *(char *)(iVar7 + (uint)bVar8)" identifier = (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" * (cast_expression "(char *)(iVar7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)bVar8)" ( (binary_expression "iVar7 + (uint)bVar8" identifier + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) })) (if_statement "if (bVar8 != 0x2c) break;" if (parenthesized_expression "(bVar8 != 0x2c)" ( (binary_expression "bVar8 != 0x2c" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar11 = iVar9 + 1;" (assignment_expression "uVar11 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) })) (if_statement "if (bVar8 == 0x7d) {\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar9 + 1;\n      }" if (parenthesized_expression "(bVar8 == 0x7d)" ( (binary_expression "bVar8 == 0x7d" identifier == number_literal) )) (compound_statement "{\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar9 + 1;\n      }" { (expression_statement "pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;" (assignment_expression "pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode" (field_expression "pParse_00->aNode[uVar5].n" (subscript_expression "pParse_00->aNode[uVar5]" (field_expression "pParse_00->aNode" identifier -> field_identifier) [ identifier ]) . field_identifier) = (binary_expression "~uVar5 + pParse_00->nNode" (unary_expression "~uVar5" ~ identifier) + (field_expression "pParse_00->nNode" identifier -> field_identifier))) ;) (return_statement "return iVar9 + 1;" return (binary_expression "iVar9 + 1" identifier + number_literal) ;) })) })) (return_statement "return -1;" return number_literal ;) })) (if_statement "if (bVar8 == 0x5b) {\n    uVar5 = jsonParseAddNode(pParse_00,6,0,(char *)0x0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    uVar6 = pParse_00->iDepth;\n    uVar11 = i + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n        uVar11 = uVar11 + 1;\n      }\n      pParse_00->iDepth = uVar6 + 1;\n      if (2000 < (ushort)(uVar6 + 1)) {\n        return -1;\n      }\n      iVar7 = jsonParseValue(pParse_00,uVar11);\n      uVar6 = pParse_00->iDepth - 1;\n      pParse_00->iDepth = uVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = pcVar2[iVar7], *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar7 + 1;\n      }\n      uVar11 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (pParse_00->nNode != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return uVar11 + 1;\n  }" if (parenthesized_expression "(bVar8 == 0x5b)" ( (binary_expression "bVar8 == 0x5b" identifier == number_literal) )) (compound_statement "{\n    uVar5 = jsonParseAddNode(pParse_00,6,0,(char *)0x0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    uVar6 = pParse_00->iDepth;\n    uVar11 = i + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n        uVar11 = uVar11 + 1;\n      }\n      pParse_00->iDepth = uVar6 + 1;\n      if (2000 < (ushort)(uVar6 + 1)) {\n        return -1;\n      }\n      iVar7 = jsonParseValue(pParse_00,uVar11);\n      uVar6 = pParse_00->iDepth - 1;\n      pParse_00->iDepth = uVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = pcVar2[iVar7], *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar7 + 1;\n      }\n      uVar11 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (pParse_00->nNode != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return uVar11 + 1;\n  }" { (expression_statement "uVar5 = jsonParseAddNode(pParse_00,6,0,(char *)0x0);" (assignment_expression "uVar5 = jsonParseAddNode(pParse_00,6,0,(char *)0x0)" identifier = (call_expression "jsonParseAddNode(pParse_00,6,0,(char *)0x0)" identifier (argument_list "(pParse_00,6,0,(char *)0x0)" ( identifier , number_literal , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) )))) ;) (if_statement "if ((int)uVar5 < 0) {\n      return -1;\n    }" if (parenthesized_expression "((int)uVar5 < 0)" ( (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      return -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "uVar6 = pParse_00->iDepth;" (assignment_expression "uVar6 = pParse_00->iDepth" identifier = (field_expression "pParse_00->iDepth" identifier -> field_identifier)) ;) (expression_statement "uVar11 = i + 1;" (assignment_expression "uVar11 = i + 1" identifier = (binary_expression "i + 1" identifier + number_literal)) ;) (while_statement "while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n        uVar11 = uVar11 + 1;\n      }\n      pParse_00->iDepth = uVar6 + 1;\n      if (2000 < (ushort)(uVar6 + 1)) {\n        return -1;\n      }\n      iVar7 = jsonParseValue(pParse_00,uVar11);\n      uVar6 = pParse_00->iDepth - 1;\n      pParse_00->iDepth = uVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = pcVar2[iVar7], *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar7 + 1;\n      }\n      uVar11 = iVar7 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n        uVar11 = uVar11 + 1;\n      }\n      pParse_00->iDepth = uVar6 + 1;\n      if (2000 < (ushort)(uVar6 + 1)) {\n        return -1;\n      }\n      iVar7 = jsonParseValue(pParse_00,uVar11);\n      uVar6 = pParse_00->iDepth - 1;\n      pParse_00->iDepth = uVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = pcVar2[iVar7], *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar7 + 1;\n      }\n      uVar11 = iVar7 + 1;\n    }" { (while_statement "while (*(char *)(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11]) != '\0') {\n        uVar11 = uVar11 + 1;\n      }" while (parenthesized_expression "(*(char *)(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11]) != '\0')" ( (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11]) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11])" * (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11])" ( (binary_expression "unaff_EDI + 0x944d7 + (uint)(byte)pcVar2[uVar11]" (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal) + (cast_expression "(uint)(byte)pcVar2[uVar11]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar2[uVar11]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar2[uVar11]" identifier [ identifier ])))) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        uVar11 = uVar11 + 1;\n      }" { (expression_statement "uVar11 = uVar11 + 1;" (assignment_expression "uVar11 = uVar11 + 1" identifier = (binary_expression "uVar11 + 1" identifier + number_literal)) ;) })) (expression_statement "pParse_00->iDepth = uVar6 + 1;" (assignment_expression "pParse_00->iDepth = uVar6 + 1" (field_expression "pParse_00->iDepth" identifier -> field_identifier) = (binary_expression "uVar6 + 1" identifier + number_literal)) ;) (if_statement "if (2000 < (ushort)(uVar6 + 1)) {\n        return -1;\n      }" if (parenthesized_expression "(2000 < (ushort)(uVar6 + 1))" ( (binary_expression "2000 < (ushort)(uVar6 + 1)" number_literal < (call_expression "(ushort)(uVar6 + 1)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(uVar6 + 1)" ( (binary_expression "uVar6 + 1" identifier + number_literal) )))) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar7 = jsonParseValue(pParse_00,uVar11);" (assignment_expression "iVar7 = jsonParseValue(pParse_00,uVar11)" identifier = (call_expression "jsonParseValue(pParse_00,uVar11)" identifier (argument_list "(pParse_00,uVar11)" ( identifier , identifier )))) ;) (expression_statement "uVar6 = pParse_00->iDepth - 1;" (assignment_expression "uVar6 = pParse_00->iDepth - 1" identifier = (binary_expression "pParse_00->iDepth - 1" (field_expression "pParse_00->iDepth" identifier -> field_identifier) - number_literal)) ;) (expression_statement "pParse_00->iDepth = uVar6;" (assignment_expression "pParse_00->iDepth = uVar6" (field_expression "pParse_00->iDepth" identifier -> field_identifier) = identifier) ;) (if_statement "if (iVar7 < 0) break;" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (break_statement "break;" break ;)) (while_statement "while (bVar8 = pcVar2[iVar7], *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n        iVar7 = iVar7 + 1;\n      }" while (parenthesized_expression "(bVar8 = pcVar2[iVar7], *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')" ( (comma_expression "bVar8 = pcVar2[iVar7], *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (assignment_expression "bVar8 = pcVar2[iVar7]" identifier = (subscript_expression "pcVar2[iVar7]" identifier [ identifier ])) , (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" * (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (binary_expression "unaff_EDI + 0x944d7 + (uint)bVar8" (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal) + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) != (char_literal "'\0'" ' escape_sequence '))) )) (compound_statement "{\n        iVar7 = iVar7 + 1;\n      }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) })) (if_statement "if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar7 + 1;\n      }" if (parenthesized_expression "(bVar8 != 0x2c)" ( (binary_expression "bVar8 != 0x2c" identifier != number_literal) )) (compound_statement "{\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;\n        return iVar7 + 1;\n      }" { (if_statement "if (bVar8 != 0x5d) {\n          return -1;\n        }" if (parenthesized_expression "(bVar8 != 0x5d)" ( (binary_expression "bVar8 != 0x5d" identifier != number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode;" (assignment_expression "pParse_00->aNode[uVar5].n = ~uVar5 + pParse_00->nNode" (field_expression "pParse_00->aNode[uVar5].n" (subscript_expression "pParse_00->aNode[uVar5]" (field_expression "pParse_00->aNode" identifier -> field_identifier) [ identifier ]) . field_identifier) = (binary_expression "~uVar5 + pParse_00->nNode" (unary_expression "~uVar5" ~ identifier) + (field_expression "pParse_00->nNode" identifier -> field_identifier))) ;) (return_statement "return iVar7 + 1;" return (binary_expression "iVar7 + 1" identifier + number_literal) ;) })) (expression_statement "uVar11 = iVar7 + 1;" (assignment_expression "uVar11 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) })) (if_statement "if (iVar7 != -3) {\n      return -1;\n    }" if (parenthesized_expression "(iVar7 != -3)" ( (binary_expression "iVar7 != -3" identifier != number_literal) )) (compound_statement "{\n      return -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (pParse_00->nNode != uVar5 + 1) {\n      return -1;\n    }" if (parenthesized_expression "(pParse_00->nNode != uVar5 + 1)" ( (binary_expression "pParse_00->nNode != uVar5 + 1" (field_expression "pParse_00->nNode" identifier -> field_identifier) != (binary_expression "uVar5 + 1" identifier + number_literal)) )) (compound_statement "{\n      return -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (labeled_statement "LAB_0006cd22:\n    return uVar11 + 1;" statement_identifier : (return_statement "return uVar11 + 1;" return (binary_expression "uVar11 + 1" identifier + number_literal) ;)) })) (if_statement "if (bVar8 == 0x22) {\n    bVar8 = pcVar2[i + 1];\n    iVar7 = i + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar12 = '\0';\n    do {\n      while (iVar9 = iVar7 + 1, bVar8 != 0x5c) {\n        if (bVar8 == 0x22) {\n          jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28);\n          if (pParse_00->oom == '\0') {\n            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;\n            return iVar9;\n          }\n          return iVar9;\n        }\nLAB_0006c811:\n        iVar7 = iVar9;\n        bVar8 = pcVar2[iVar7];\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = pcVar2[iVar7 + 1];\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar9 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }\n          iVar9 = iVar9 + 1;\n        } while (iVar9 != 4);\n        uVar12 = '\x02';\n        iVar9 = iVar7 + 2;\n        goto LAB_0006c811;\n      }\n      iVar7 = iVar7 + 2;\n      uVar12 = '\x02';\n      bVar8 = pcVar2[iVar7];\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }" if (parenthesized_expression "(bVar8 == 0x22)" ( (binary_expression "bVar8 == 0x22" identifier == number_literal) )) (compound_statement "{\n    bVar8 = pcVar2[i + 1];\n    iVar7 = i + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar12 = '\0';\n    do {\n      while (iVar9 = iVar7 + 1, bVar8 != 0x5c) {\n        if (bVar8 == 0x22) {\n          jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28);\n          if (pParse_00->oom == '\0') {\n            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;\n            return iVar9;\n          }\n          return iVar9;\n        }\nLAB_0006c811:\n        iVar7 = iVar9;\n        bVar8 = pcVar2[iVar7];\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = pcVar2[iVar7 + 1];\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar9 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }\n          iVar9 = iVar9 + 1;\n        } while (iVar9 != 4);\n        uVar12 = '\x02';\n        iVar9 = iVar7 + 2;\n        goto LAB_0006c811;\n      }\n      iVar7 = iVar7 + 2;\n      uVar12 = '\x02';\n      bVar8 = pcVar2[iVar7];\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }" { (expression_statement "bVar8 = pcVar2[i + 1];" (assignment_expression "bVar8 = pcVar2[i + 1]" identifier = (subscript_expression "pcVar2[i + 1]" identifier [ (binary_expression "i + 1" identifier + number_literal) ])) ;) (expression_statement "iVar7 = i + 1;" (assignment_expression "iVar7 = i + 1" identifier = (binary_expression "i + 1" identifier + number_literal)) ;) (if_statement "if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }" if (parenthesized_expression "((bVar8 & 0xe0) == 0)" ( (binary_expression "(bVar8 & 0xe0) == 0" (parenthesized_expression "(bVar8 & 0xe0)" ( (binary_expression "bVar8 & 0xe0" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      return -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "uVar12 = '\0';" (assignment_expression "uVar12 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (do_statement "do {\n      while (iVar9 = iVar7 + 1, bVar8 != 0x5c) {\n        if (bVar8 == 0x22) {\n          jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28);\n          if (pParse_00->oom == '\0') {\n            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;\n            return iVar9;\n          }\n          return iVar9;\n        }\nLAB_0006c811:\n        iVar7 = iVar9;\n        bVar8 = pcVar2[iVar7];\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = pcVar2[iVar7 + 1];\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar9 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }\n          iVar9 = iVar9 + 1;\n        } while (iVar9 != 4);\n        uVar12 = '\x02';\n        iVar9 = iVar7 + 2;\n        goto LAB_0006c811;\n      }\n      iVar7 = iVar7 + 2;\n      uVar12 = '\x02';\n      bVar8 = pcVar2[iVar7];\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );" do (compound_statement "{\n      while (iVar9 = iVar7 + 1, bVar8 != 0x5c) {\n        if (bVar8 == 0x22) {\n          jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28);\n          if (pParse_00->oom == '\0') {\n            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;\n            return iVar9;\n          }\n          return iVar9;\n        }\nLAB_0006c811:\n        iVar7 = iVar9;\n        bVar8 = pcVar2[iVar7];\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = pcVar2[iVar7 + 1];\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar9 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }\n          iVar9 = iVar9 + 1;\n        } while (iVar9 != 4);\n        uVar12 = '\x02';\n        iVar9 = iVar7 + 2;\n        goto LAB_0006c811;\n      }\n      iVar7 = iVar7 + 2;\n      uVar12 = '\x02';\n      bVar8 = pcVar2[iVar7];\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    }" { (while_statement "while (iVar9 = iVar7 + 1, bVar8 != 0x5c) {\n        if (bVar8 == 0x22) {\n          jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28);\n          if (pParse_00->oom == '\0') {\n            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;\n            return iVar9;\n          }\n          return iVar9;\n        }\nLAB_0006c811:\n        iVar7 = iVar9;\n        bVar8 = pcVar2[iVar7];\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }" while (parenthesized_expression "(iVar9 = iVar7 + 1, bVar8 != 0x5c)" ( (comma_expression "iVar9 = iVar7 + 1, bVar8 != 0x5c" (assignment_expression "iVar9 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) , (binary_expression "bVar8 != 0x5c" identifier != number_literal)) )) (compound_statement "{\n        if (bVar8 == 0x22) {\n          jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28);\n          if (pParse_00->oom == '\0') {\n            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;\n            return iVar9;\n          }\n          return iVar9;\n        }\nLAB_0006c811:\n        iVar7 = iVar9;\n        bVar8 = pcVar2[iVar7];\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }" { (if_statement "if (bVar8 == 0x22) {\n          jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28);\n          if (pParse_00->oom == '\0') {\n            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;\n            return iVar9;\n          }\n          return iVar9;\n        }" if (parenthesized_expression "(bVar8 == 0x22)" ( (binary_expression "bVar8 == 0x22" identifier == number_literal) )) (compound_statement "{\n          jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28);\n          if (pParse_00->oom == '\0') {\n            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;\n            return iVar9;\n          }\n          return iVar9;\n        }" { (expression_statement "jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28);" (call_expression "jsonParseAddNode(pParse_00,5,(iVar7 - i) + 1,(char *)local_28)" identifier (argument_list "(pParse_00,5,(iVar7 - i) + 1,(char *)local_28)" ( identifier , number_literal , (binary_expression "(iVar7 - i) + 1" (parenthesized_expression "(iVar7 - i)" ( (binary_expression "iVar7 - i" identifier - identifier) )) + number_literal) , (cast_expression "(char *)local_28" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (if_statement "if (pParse_00->oom == '\0') {\n            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;\n            return iVar9;\n          }" if (parenthesized_expression "(pParse_00->oom == '\0')" ( (binary_expression "pParse_00->oom == '\0'" (field_expression "pParse_00->oom" identifier -> field_identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;\n            return iVar9;\n          }" { (expression_statement "pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;" (assignment_expression "pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12" (field_expression "pParse_00->aNode[pParse_00->nNode - 1].jnFlags" (subscript_expression "pParse_00->aNode[pParse_00->nNode - 1]" (field_expression "pParse_00->aNode" identifier -> field_identifier) [ (binary_expression "pParse_00->nNode - 1" (field_expression "pParse_00->nNode" identifier -> field_identifier) - number_literal) ]) . field_identifier) = identifier) ;) (return_statement "return iVar9;" return identifier ;) })) (return_statement "return iVar9;" return identifier ;) })) (labeled_statement "LAB_0006c811:\n        iVar7 = iVar9;" statement_identifier : (expression_statement "iVar7 = iVar9;" (assignment_expression "iVar7 = iVar9" identifier = identifier) ;)) (expression_statement "bVar8 = pcVar2[iVar7];" (assignment_expression "bVar8 = pcVar2[iVar7]" identifier = (subscript_expression "pcVar2[iVar7]" identifier [ identifier ])) ;) (if_statement "if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }" if (parenthesized_expression "((bVar8 & 0xe0) == 0)" ( (binary_expression "(bVar8 & 0xe0) == 0" (parenthesized_expression "(bVar8 & 0xe0)" ( (binary_expression "bVar8 & 0xe0" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) })) (expression_statement "bVar8 = pcVar2[iVar7 + 1];" (assignment_expression "bVar8 = pcVar2[iVar7 + 1]" identifier = (subscript_expression "pcVar2[iVar7 + 1]" identifier [ (binary_expression "iVar7 + 1" identifier + number_literal) ])) ;) (if_statement "if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar9 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }\n          iVar9 = iVar9 + 1;\n        } while (iVar9 != 4);\n        uVar12 = '\x02';\n        iVar9 = iVar7 + 2;\n        goto LAB_0006c811;\n      }" if (parenthesized_expression "((byte)(bVar8 - 0x5c) < 0x19)" ( (binary_expression "(byte)(bVar8 - 0x5c) < 0x19" (call_expression "(byte)(bVar8 - 0x5c)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar8 - 0x5c)" ( (binary_expression "bVar8 - 0x5c" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }" { (if_statement "if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }" if (parenthesized_expression "(((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22))" ( (binary_expression "((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)" (parenthesized_expression "((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0)" ( (binary_expression "(0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0" (parenthesized_expression "(0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1)" ( (binary_expression "0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1" (binary_expression "0x1440401U >> (bVar8 - 0x5c & 0x1f)" number_literal >> (parenthesized_expression "(bVar8 - 0x5c & 0x1f)" ( (binary_expression "bVar8 - 0x5c & 0x1f" (binary_expression "bVar8 - 0x5c" identifier - number_literal) & number_literal) ))) & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar8 & 0xbf) != 0x22)" ( (binary_expression "(bVar8 & 0xbf) != 0x22" (parenthesized_expression "(bVar8 & 0xbf)" ( (binary_expression "bVar8 & 0xbf" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) }) (else_clause "else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar9 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }\n          iVar9 = iVar9 + 1;\n        } while (iVar9 != 4);\n        uVar12 = '\x02';\n        iVar9 = iVar7 + 2;\n        goto LAB_0006c811;\n      }" else (if_statement "if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar9 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }\n          iVar9 = iVar9 + 1;\n        } while (iVar9 != 4);\n        uVar12 = '\x02';\n        iVar9 = iVar7 + 2;\n        goto LAB_0006c811;\n      }" if (parenthesized_expression "(((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f))" ( (binary_expression "((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)" (parenthesized_expression "((bVar8 & 0xbf) != 0x22)" ( (binary_expression "(bVar8 & 0xbf) != 0x22" (parenthesized_expression "(bVar8 & 0xbf)" ( (binary_expression "bVar8 & 0xbf" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(bVar8 != 0x2f)" ( (binary_expression "bVar8 != 0x2f" identifier != number_literal) ))) )) (compound_statement "{\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar9 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }\n          iVar9 = iVar9 + 1;\n        } while (iVar9 != 4);\n        uVar12 = '\x02';\n        iVar9 = iVar7 + 2;\n        goto LAB_0006c811;\n      }" { (if_statement "if (bVar8 != 0x75) {\n          return -1;\n        }" if (parenthesized_expression "(bVar8 != 0x75)" ( (binary_expression "bVar8 != 0x75" identifier != number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (do_statement "do {\n          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }\n          iVar9 = iVar9 + 1;\n        } while (iVar9 != 4);" do (compound_statement "{\n          if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }\n          iVar9 = iVar9 + 1;\n        }" { (if_statement "if (((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0) {\n            return -1;\n          }" if (parenthesized_expression "(((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0)" ( (binary_expression "((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8)" ( (binary_expression "(&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI] & 8" (subscript_expression "(&UNK_000980d7)[(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" ( (pointer_expression "&UNK_000980d7" & identifier) )) [ (binary_expression "(uint)(byte)pcVar2[iVar9 + iVar7 + 2] + unaff_EDI" (cast_expression "(uint)(byte)pcVar2[iVar9 + iVar7 + 2]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar2[iVar9 + iVar7 + 2]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar2[iVar9 + iVar7 + 2]" identifier [ (binary_expression "iVar9 + iVar7 + 2" (binary_expression "iVar9 + iVar7" identifier + identifier) + number_literal) ]))) + identifier) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar9 != 4)" ( (binary_expression "iVar9 != 4" identifier != number_literal) )) ;) (expression_statement "uVar12 = '\x02';" (assignment_expression "uVar12 = '\x02'" identifier = (char_literal "'\x02'" ' escape_sequence ')) ;) (expression_statement "iVar9 = iVar7 + 2;" (assignment_expression "iVar9 = iVar7 + 2" identifier = (binary_expression "iVar7 + 2" identifier + number_literal)) ;) (goto_statement "goto LAB_0006c811;" goto statement_identifier ;) })))) (expression_statement "iVar7 = iVar7 + 2;" (assignment_expression "iVar7 = iVar7 + 2" identifier = (binary_expression "iVar7 + 2" identifier + number_literal)) ;) (expression_statement "uVar12 = '\x02';" (assignment_expression "uVar12 = '\x02'" identifier = (char_literal "'\x02'" ' escape_sequence ')) ;) (expression_statement "bVar8 = pcVar2[iVar7];" (assignment_expression "bVar8 = pcVar2[iVar7]" identifier = (subscript_expression "pcVar2[iVar7]" identifier [ identifier ])) ;) (if_statement "if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }" if (parenthesized_expression "((bVar8 & 0xe0) == 0)" ( (binary_expression "(bVar8 & 0xe0) == 0" (parenthesized_expression "(bVar8 & 0xe0)" ( (binary_expression "bVar8 & 0xe0" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "bVar14 = bVar8 < 0x6e;" (assignment_expression "bVar14 = bVar8 < 0x6e" identifier = (binary_expression "bVar8 < 0x6e" identifier < number_literal)) ;) (expression_statement "bVar15 = bVar8 == 0x6e;" (assignment_expression "bVar15 = bVar8 == 0x6e" identifier = (binary_expression "bVar8 == 0x6e" identifier == number_literal)) ;) (if_statement "if (bVar15) {\n    iVar7 = 4;\n    pbVar10 = local_28;\n    pbVar13 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar14 = *pbVar10 < *pbVar13;\n      bVar15 = *pbVar10 == *pbVar13;\n      pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n    } while (bVar15);\n    if ((!bVar14 && !bVar15) != bVar14) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0) {\n      jsonParseAddNode(pParse_00,0,0,(char *)0x0);\n      return i + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar14 = false;\n      bVar15 = false;\n      uVar11 = i;\n      do {\n        do {\n          uVar3 = uVar11;\n          uVar11 = uVar3 + 1;\n          bVar8 = pcVar2[uVar11];\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar4 = pcVar2[uVar3];\n        if (bVar8 == 0x2e) {\n          if (cVar4 == '-') {\n            return -1;\n          }\n          if (bVar15) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }\n          if (cVar4 < '0') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n          cVar4 = pcVar2[uVar3 + 2];\n          if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }\n          if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }\n          bVar14 = true;\n        }\n        bVar15 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar14 = bVar8 < 0x74;\n    bVar15 = bVar8 == 0x74;\n    if (bVar15) {\n      iVar7 = 4;\n      pbVar10 = local_28;\n      pbVar13 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *pbVar10 < *pbVar13;\n        bVar15 = *pbVar10 == *pbVar13;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n        pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,1,0,(char *)0x0);\n        return i + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar14 = bVar8 < 0x66;\n    bVar15 = bVar8 == 0x66;\n    if (bVar15) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *local_28 < *pbVar10;\n        bVar15 = *local_28 == *pbVar10;\n        local_28 = local_28 + (uint)bVar16 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,2,0,(char *)0x0);\n        return i + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }" if (parenthesized_expression "(bVar15)" ( identifier )) (compound_statement "{\n    iVar7 = 4;\n    pbVar10 = local_28;\n    pbVar13 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar14 = *pbVar10 < *pbVar13;\n      bVar15 = *pbVar10 == *pbVar13;\n      pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n    } while (bVar15);\n    if ((!bVar14 && !bVar15) != bVar14) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0) {\n      jsonParseAddNode(pParse_00,0,0,(char *)0x0);\n      return i + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar14 = false;\n      bVar15 = false;\n      uVar11 = i;\n      do {\n        do {\n          uVar3 = uVar11;\n          uVar11 = uVar3 + 1;\n          bVar8 = pcVar2[uVar11];\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar4 = pcVar2[uVar3];\n        if (bVar8 == 0x2e) {\n          if (cVar4 == '-') {\n            return -1;\n          }\n          if (bVar15) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }\n          if (cVar4 < '0') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n          cVar4 = pcVar2[uVar3 + 2];\n          if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }\n          if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }\n          bVar14 = true;\n        }\n        bVar15 = true;\n      } while( true );\n    }\n  }" { (expression_statement "iVar7 = 4;" (assignment_expression "iVar7 = 4" identifier = number_literal) ;) (expression_statement "pbVar10 = local_28;" (assignment_expression "pbVar10 = local_28" identifier = identifier) ;) (expression_statement "pbVar13 = (byte *)(unaff_EDI + 0x8c2b3);" (assignment_expression "pbVar13 = (byte *)(unaff_EDI + 0x8c2b3)" identifier = (cast_expression "(byte *)(unaff_EDI + 0x8c2b3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x8c2b3)" ( (binary_expression "unaff_EDI + 0x8c2b3" identifier + number_literal) )))) ;) (do_statement "do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar14 = *pbVar10 < *pbVar13;\n      bVar15 = *pbVar10 == *pbVar13;\n      pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n    } while (bVar15);" do (compound_statement "{\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar14 = *pbVar10 < *pbVar13;\n      bVar15 = *pbVar10 == *pbVar13;\n      pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n    }" { (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "bVar14 = *pbVar10 < *pbVar13;" (assignment_expression "bVar14 = *pbVar10 < *pbVar13" identifier = (binary_expression "*pbVar10 < *pbVar13" (pointer_expression "*pbVar10" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar15 = *pbVar10 == *pbVar13;" (assignment_expression "bVar15 = *pbVar10 == *pbVar13" identifier = (binary_expression "*pbVar10 == *pbVar13" (pointer_expression "*pbVar10" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar16 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar16 * -2" identifier + (binary_expression "(uint)bVar16 * -2" (cast_expression "(uint)bVar16" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1" identifier = (binary_expression "pbVar13 + (uint)bVar16 * -2 + 1" (binary_expression "pbVar13 + (uint)bVar16 * -2" identifier + (binary_expression "(uint)bVar16 * -2" (cast_expression "(uint)bVar16" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar15)" ( identifier )) ;) (if_statement "if ((!bVar14 && !bVar15) != bVar14) goto LAB_0006c7db;" if (parenthesized_expression "((!bVar14 && !bVar15) != bVar14)" ( (binary_expression "(!bVar14 && !bVar15) != bVar14" (parenthesized_expression "(!bVar14 && !bVar15)" ( (binary_expression "!bVar14 && !bVar15" (unary_expression "!bVar14" ! identifier) && (unary_expression "!bVar15" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_0006c7db;" goto statement_identifier ;)) (if_statement "if (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0) {\n      jsonParseAddNode(pParse_00,0,0,(char *)0x0);\n      return i + 4;\n    }" if (parenthesized_expression "(((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0)" ( (binary_expression "((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6)" ( (binary_expression "(&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6" (subscript_expression "(&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" ( (pointer_expression "&UNK_000980d7" & identifier) )) [ (binary_expression "(uint)(byte)pcVar2[i + 4] + unaff_EDI" (cast_expression "(uint)(byte)pcVar2[i + 4]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar2[i + 4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar2[i + 4]" identifier [ (binary_expression "i + 4" identifier + number_literal) ]))) + identifier) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      jsonParseAddNode(pParse_00,0,0,(char *)0x0);\n      return i + 4;\n    }" { (expression_statement "jsonParseAddNode(pParse_00,0,0,(char *)0x0);" (call_expression "jsonParseAddNode(pParse_00,0,0,(char *)0x0)" identifier (argument_list "(pParse_00,0,0,(char *)0x0)" ( identifier , number_literal , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (return_statement "return i + 4;" return (binary_expression "i + 4" identifier + number_literal) ;) })) (labeled_statement "LAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar14 = false;\n      bVar15 = false;\n      uVar11 = i;\n      do {\n        do {\n          uVar3 = uVar11;\n          uVar11 = uVar3 + 1;\n          bVar8 = pcVar2[uVar11];\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar4 = pcVar2[uVar3];\n        if (bVar8 == 0x2e) {\n          if (cVar4 == '-') {\n            return -1;\n          }\n          if (bVar15) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }\n          if (cVar4 < '0') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n          cVar4 = pcVar2[uVar3 + 2];\n          if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }\n          if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }\n          bVar14 = true;\n        }\n        bVar15 = true;\n      } while( true );\n    }" statement_identifier : (if_statement "if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar14 = false;\n      bVar15 = false;\n      uVar11 = i;\n      do {\n        do {\n          uVar3 = uVar11;\n          uVar11 = uVar3 + 1;\n          bVar8 = pcVar2[uVar11];\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar4 = pcVar2[uVar3];\n        if (bVar8 == 0x2e) {\n          if (cVar4 == '-') {\n            return -1;\n          }\n          if (bVar15) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }\n          if (cVar4 < '0') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n          cVar4 = pcVar2[uVar3 + 2];\n          if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }\n          if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }\n          bVar14 = true;\n        }\n        bVar15 = true;\n      } while( true );\n    }" if (parenthesized_expression "(((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d))" ( (binary_expression "((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)" (parenthesized_expression "((byte)(bVar8 - 0x30) < 10)" ( (binary_expression "(byte)(bVar8 - 0x30) < 10" (call_expression "(byte)(bVar8 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar8 - 0x30)" ( (binary_expression "bVar8 - 0x30" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(bVar8 == 0x2d)" ( (binary_expression "bVar8 == 0x2d" identifier == number_literal) ))) )) (compound_statement "{\nLAB_0006ca8f:\n      bVar14 = false;\n      bVar15 = false;\n      uVar11 = i;\n      do {\n        do {\n          uVar3 = uVar11;\n          uVar11 = uVar3 + 1;\n          bVar8 = pcVar2[uVar11];\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar4 = pcVar2[uVar3];\n        if (bVar8 == 0x2e) {\n          if (cVar4 == '-') {\n            return -1;\n          }\n          if (bVar15) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }\n          if (cVar4 < '0') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n          cVar4 = pcVar2[uVar3 + 2];\n          if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }\n          if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }\n          bVar14 = true;\n        }\n        bVar15 = true;\n      } while( true );\n    }" { (labeled_statement "LAB_0006ca8f:\n      bVar14 = false;" statement_identifier : (expression_statement "bVar14 = false;" (assignment_expression "bVar14 = false" identifier = false) ;)) (expression_statement "bVar15 = false;" (assignment_expression "bVar15 = false" identifier = false) ;) (expression_statement "uVar11 = i;" (assignment_expression "uVar11 = i" identifier = identifier) ;) (do_statement "do {\n        do {\n          uVar3 = uVar11;\n          uVar11 = uVar3 + 1;\n          bVar8 = pcVar2[uVar11];\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar4 = pcVar2[uVar3];\n        if (bVar8 == 0x2e) {\n          if (cVar4 == '-') {\n            return -1;\n          }\n          if (bVar15) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }\n          if (cVar4 < '0') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n          cVar4 = pcVar2[uVar3 + 2];\n          if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }\n          if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }\n          bVar14 = true;\n        }\n        bVar15 = true;\n      } while( true );" do (compound_statement "{\n        do {\n          uVar3 = uVar11;\n          uVar11 = uVar3 + 1;\n          bVar8 = pcVar2[uVar11];\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar4 = pcVar2[uVar3];\n        if (bVar8 == 0x2e) {\n          if (cVar4 == '-') {\n            return -1;\n          }\n          if (bVar15) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }\n          if (cVar4 < '0') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n          cVar4 = pcVar2[uVar3 + 2];\n          if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }\n          if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }\n          bVar14 = true;\n        }\n        bVar15 = true;\n      }" { (do_statement "do {\n          uVar3 = uVar11;\n          uVar11 = uVar3 + 1;\n          bVar8 = pcVar2[uVar11];\n        } while ((byte)(bVar8 - 0x30) < 10);" do (compound_statement "{\n          uVar3 = uVar11;\n          uVar11 = uVar3 + 1;\n          bVar8 = pcVar2[uVar11];\n        }" { (expression_statement "uVar3 = uVar11;" (assignment_expression "uVar3 = uVar11" identifier = identifier) ;) (expression_statement "uVar11 = uVar3 + 1;" (assignment_expression "uVar11 = uVar3 + 1" identifier = (binary_expression "uVar3 + 1" identifier + number_literal)) ;) (expression_statement "bVar8 = pcVar2[uVar11];" (assignment_expression "bVar8 = pcVar2[uVar11]" identifier = (subscript_expression "pcVar2[uVar11]" identifier [ identifier ])) ;) }) while (parenthesized_expression "((byte)(bVar8 - 0x30) < 10)" ( (binary_expression "(byte)(bVar8 - 0x30) < 10" (call_expression "(byte)(bVar8 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar8 - 0x30)" ( (binary_expression "bVar8 - 0x30" identifier - number_literal) ))) < number_literal) )) ;) (expression_statement "cVar4 = pcVar2[uVar3];" (assignment_expression "cVar4 = pcVar2[uVar3]" identifier = (subscript_expression "pcVar2[uVar3]" identifier [ identifier ])) ;) (if_statement "if (bVar8 == 0x2e) {\n          if (cVar4 == '-') {\n            return -1;\n          }\n          if (bVar15) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }\n          if (cVar4 < '0') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n          cVar4 = pcVar2[uVar3 + 2];\n          if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }\n          if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }\n          bVar14 = true;\n        }" if (parenthesized_expression "(bVar8 == 0x2e)" ( (binary_expression "bVar8 == 0x2e" identifier == number_literal) )) (compound_statement "{\n          if (cVar4 == '-') {\n            return -1;\n          }\n          if (bVar15) {\n            return -1;\n          }\n        }" { (if_statement "if (cVar4 == '-') {\n            return -1;\n          }" if (parenthesized_expression "(cVar4 == '-')" ( (binary_expression "cVar4 == '-'" identifier == (char_literal "'-'" ' character ')) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (bVar15) {\n            return -1;\n          }" if (parenthesized_expression "(bVar15)" ( identifier )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) }) (else_clause "else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }\n          if (cVar4 < '0') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n          cVar4 = pcVar2[uVar3 + 2];\n          if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }\n          if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }\n          bVar14 = true;\n        }" else (compound_statement "{\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }\n          if (cVar4 < '0') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n          cVar4 = pcVar2[uVar3 + 2];\n          if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }\n          if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }\n          bVar14 = true;\n        }" { (if_statement "if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }" if (parenthesized_expression "((bVar8 & 0xdf) != 0x45)" ( (binary_expression "(bVar8 & 0xdf) != 0x45" (parenthesized_expression "(bVar8 & 0xdf)" ( (binary_expression "bVar8 & 0xdf" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            if (cVar4 < '0') {\n              return -1;\n            }\n            jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);\n            return uVar11;\n          }" { (if_statement "if (cVar4 < '0') {\n              return -1;\n            }" if (parenthesized_expression "(cVar4 < '0')" ( (binary_expression "cVar4 < '0'" identifier < (char_literal "'0'" ' character ')) )) (compound_statement "{\n              return -1;\n            }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28);" (call_expression "jsonParseAddNode(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28)" identifier (argument_list "(pParse_00,bVar15 + 3,uVar11 - i,(char *)local_28)" ( identifier , (binary_expression "bVar15 + 3" identifier + number_literal) , (binary_expression "uVar11 - i" identifier - identifier) , (cast_expression "(char *)local_28" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (return_statement "return uVar11;" return identifier ;) })) (if_statement "if (cVar4 < '0') {\n            return -1;\n          }" if (parenthesized_expression "(cVar4 < '0')" ( (binary_expression "cVar4 < '0'" identifier < (char_literal "'0'" ' character ')) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (bVar14) {\n            return -1;\n          }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "cVar4 = pcVar2[uVar3 + 2];" (assignment_expression "cVar4 = pcVar2[uVar3 + 2]" identifier = (subscript_expression "pcVar2[uVar3 + 2]" identifier [ (binary_expression "uVar3 + 2" identifier + number_literal) ])) ;) (if_statement "if ((cVar4 - 0x2bU & 0xfd) == 0) {\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }" if (parenthesized_expression "((cVar4 - 0x2bU & 0xfd) == 0)" ( (binary_expression "(cVar4 - 0x2bU & 0xfd) == 0" (parenthesized_expression "(cVar4 - 0x2bU & 0xfd)" ( (binary_expression "cVar4 - 0x2bU & 0xfd" (binary_expression "cVar4 - 0x2bU" identifier - number_literal) & number_literal) )) == number_literal) )) (compound_statement "{\n            cVar4 = pcVar2[uVar3 + 3];\n            uVar11 = uVar3 + 2;\n          }" { (expression_statement "cVar4 = pcVar2[uVar3 + 3];" (assignment_expression "cVar4 = pcVar2[uVar3 + 3]" identifier = (subscript_expression "pcVar2[uVar3 + 3]" identifier [ (binary_expression "uVar3 + 3" identifier + number_literal) ])) ;) (expression_statement "uVar11 = uVar3 + 2;" (assignment_expression "uVar11 = uVar3 + 2" identifier = (binary_expression "uVar3 + 2" identifier + number_literal)) ;) })) (if_statement "if (9 < (byte)(cVar4 - 0x30U)) {\n            return -1;\n          }" if (parenthesized_expression "(9 < (byte)(cVar4 - 0x30U))" ( (binary_expression "9 < (byte)(cVar4 - 0x30U)" number_literal < (call_expression "(byte)(cVar4 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar4 - 0x30U)" ( (binary_expression "cVar4 - 0x30U" identifier - number_literal) )))) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "bVar14 = true;" (assignment_expression "bVar14 = true" identifier = true) ;) }))) (expression_statement "bVar15 = true;" (assignment_expression "bVar15 = true" identifier = true) ;) }) while (parenthesized_expression "( true )" ( true )) ;) }))) }) (else_clause "else {\n    bVar14 = bVar8 < 0x74;\n    bVar15 = bVar8 == 0x74;\n    if (bVar15) {\n      iVar7 = 4;\n      pbVar10 = local_28;\n      pbVar13 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *pbVar10 < *pbVar13;\n        bVar15 = *pbVar10 == *pbVar13;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n        pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,1,0,(char *)0x0);\n        return i + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar14 = bVar8 < 0x66;\n    bVar15 = bVar8 == 0x66;\n    if (bVar15) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *local_28 < *pbVar10;\n        bVar15 = *local_28 == *pbVar10;\n        local_28 = local_28 + (uint)bVar16 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,2,0,(char *)0x0);\n        return i + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }" else (compound_statement "{\n    bVar14 = bVar8 < 0x74;\n    bVar15 = bVar8 == 0x74;\n    if (bVar15) {\n      iVar7 = 4;\n      pbVar10 = local_28;\n      pbVar13 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *pbVar10 < *pbVar13;\n        bVar15 = *pbVar10 == *pbVar13;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n        pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,1,0,(char *)0x0);\n        return i + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar14 = bVar8 < 0x66;\n    bVar15 = bVar8 == 0x66;\n    if (bVar15) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *local_28 < *pbVar10;\n        bVar15 = *local_28 == *pbVar10;\n        local_28 = local_28 + (uint)bVar16 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,2,0,(char *)0x0);\n        return i + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }" { (expression_statement "bVar14 = bVar8 < 0x74;" (assignment_expression "bVar14 = bVar8 < 0x74" identifier = (binary_expression "bVar8 < 0x74" identifier < number_literal)) ;) (expression_statement "bVar15 = bVar8 == 0x74;" (assignment_expression "bVar15 = bVar8 == 0x74" identifier = (binary_expression "bVar8 == 0x74" identifier == number_literal)) ;) (if_statement "if (bVar15) {\n      iVar7 = 4;\n      pbVar10 = local_28;\n      pbVar13 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *pbVar10 < *pbVar13;\n        bVar15 = *pbVar10 == *pbVar13;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n        pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,1,0,(char *)0x0);\n        return i + 4;\n      }\n      goto LAB_0006ca39;\n    }" if (parenthesized_expression "(bVar15)" ( identifier )) (compound_statement "{\n      iVar7 = 4;\n      pbVar10 = local_28;\n      pbVar13 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *pbVar10 < *pbVar13;\n        bVar15 = *pbVar10 == *pbVar13;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n        pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,1,0,(char *)0x0);\n        return i + 4;\n      }\n      goto LAB_0006ca39;\n    }" { (expression_statement "iVar7 = 4;" (assignment_expression "iVar7 = 4" identifier = number_literal) ;) (expression_statement "pbVar10 = local_28;" (assignment_expression "pbVar10 = local_28" identifier = identifier) ;) (expression_statement "pbVar13 = (byte *)(unaff_EDI + 0x8bf2e);" (assignment_expression "pbVar13 = (byte *)(unaff_EDI + 0x8bf2e)" identifier = (cast_expression "(byte *)(unaff_EDI + 0x8bf2e)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x8bf2e)" ( (binary_expression "unaff_EDI + 0x8bf2e" identifier + number_literal) )))) ;) (do_statement "do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *pbVar10 < *pbVar13;\n        bVar15 = *pbVar10 == *pbVar13;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n        pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);" do (compound_statement "{\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *pbVar10 < *pbVar13;\n        bVar15 = *pbVar10 == *pbVar13;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n        pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;\n      }" { (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "bVar14 = *pbVar10 < *pbVar13;" (assignment_expression "bVar14 = *pbVar10 < *pbVar13" identifier = (binary_expression "*pbVar10 < *pbVar13" (pointer_expression "*pbVar10" * identifier) < (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "bVar15 = *pbVar10 == *pbVar13;" (assignment_expression "bVar15 = *pbVar10 == *pbVar13" identifier = (binary_expression "*pbVar10 == *pbVar13" (pointer_expression "*pbVar10" * identifier) == (pointer_expression "*pbVar13" * identifier))) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar16 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar16 * -2" identifier + (binary_expression "(uint)bVar16 * -2" (cast_expression "(uint)bVar16" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1;" (assignment_expression "pbVar13 = pbVar13 + (uint)bVar16 * -2 + 1" identifier = (binary_expression "pbVar13 + (uint)bVar16 * -2 + 1" (binary_expression "pbVar13 + (uint)bVar16 * -2" identifier + (binary_expression "(uint)bVar16 * -2" (cast_expression "(uint)bVar16" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar15)" ( identifier )) ;) (if_statement "if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,1,0,(char *)0x0);\n        return i + 4;\n      }" if (parenthesized_expression "(((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0))" ( (binary_expression "((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0)" (parenthesized_expression "((!bVar14 && !bVar15) == bVar14)" ( (binary_expression "(!bVar14 && !bVar15) == bVar14" (parenthesized_expression "(!bVar14 && !bVar15)" ( (binary_expression "!bVar14 && !bVar15" (unary_expression "!bVar14" ! identifier) && (unary_expression "!bVar15" ! identifier)) )) == identifier) )) && (parenthesized_expression "(((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0)" ( (binary_expression "((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6)" ( (binary_expression "(&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI] & 6" (subscript_expression "(&UNK_000980d7)[(uint)(byte)pcVar2[i + 4] + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" ( (pointer_expression "&UNK_000980d7" & identifier) )) [ (binary_expression "(uint)(byte)pcVar2[i + 4] + unaff_EDI" (cast_expression "(uint)(byte)pcVar2[i + 4]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar2[i + 4]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar2[i + 4]" identifier [ (binary_expression "i + 4" identifier + number_literal) ]))) + identifier) ]) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        jsonParseAddNode(pParse_00,1,0,(char *)0x0);\n        return i + 4;\n      }" { (expression_statement "jsonParseAddNode(pParse_00,1,0,(char *)0x0);" (call_expression "jsonParseAddNode(pParse_00,1,0,(char *)0x0)" identifier (argument_list "(pParse_00,1,0,(char *)0x0)" ( identifier , number_literal , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (return_statement "return i + 4;" return (binary_expression "i + 4" identifier + number_literal) ;) })) (goto_statement "goto LAB_0006ca39;" goto statement_identifier ;) })) (expression_statement "bVar14 = bVar8 < 0x66;" (assignment_expression "bVar14 = bVar8 < 0x66" identifier = (binary_expression "bVar8 < 0x66" identifier < number_literal)) ;) (expression_statement "bVar15 = bVar8 == 0x66;" (assignment_expression "bVar15 = bVar8 == 0x66" identifier = (binary_expression "bVar8 == 0x66" identifier == number_literal)) ;) (if_statement "if (bVar15) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *local_28 < *pbVar10;\n        bVar15 = *local_28 == *pbVar10;\n        local_28 = local_28 + (uint)bVar16 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,2,0,(char *)0x0);\n        return i + 5;\n      }\n      goto LAB_0006c7db;\n    }" if (parenthesized_expression "(bVar15)" ( identifier )) (compound_statement "{\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *local_28 < *pbVar10;\n        bVar15 = *local_28 == *pbVar10;\n        local_28 = local_28 + (uint)bVar16 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);\n      if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,2,0,(char *)0x0);\n        return i + 5;\n      }\n      goto LAB_0006c7db;\n    }" { (expression_statement "iVar7 = 5;" (assignment_expression "iVar7 = 5" identifier = number_literal) ;) (expression_statement "pbVar10 = (byte *)(unaff_EDI + 0x8bf33);" (assignment_expression "pbVar10 = (byte *)(unaff_EDI + 0x8bf33)" identifier = (cast_expression "(byte *)(unaff_EDI + 0x8bf33)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x8bf33)" ( (binary_expression "unaff_EDI + 0x8bf33" identifier + number_literal) )))) ;) (do_statement "do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *local_28 < *pbVar10;\n        bVar15 = *local_28 == *pbVar10;\n        local_28 = local_28 + (uint)bVar16 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      } while (bVar15);" do (compound_statement "{\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar14 = *local_28 < *pbVar10;\n        bVar15 = *local_28 == *pbVar10;\n        local_28 = local_28 + (uint)bVar16 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;\n      }" { (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "bVar14 = *local_28 < *pbVar10;" (assignment_expression "bVar14 = *local_28 < *pbVar10" identifier = (binary_expression "*local_28 < *pbVar10" (pointer_expression "*local_28" * identifier) < (pointer_expression "*pbVar10" * identifier))) ;) (expression_statement "bVar15 = *local_28 == *pbVar10;" (assignment_expression "bVar15 = *local_28 == *pbVar10" identifier = (binary_expression "*local_28 == *pbVar10" (pointer_expression "*local_28" * identifier) == (pointer_expression "*pbVar10" * identifier))) ;) (expression_statement "local_28 = local_28 + (uint)bVar16 * -2 + 1;" (assignment_expression "local_28 = local_28 + (uint)bVar16 * -2 + 1" identifier = (binary_expression "local_28 + (uint)bVar16 * -2 + 1" (binary_expression "local_28 + (uint)bVar16 * -2" identifier + (binary_expression "(uint)bVar16 * -2" (cast_expression "(uint)bVar16" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar16 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar16 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar16 * -2" identifier + (binary_expression "(uint)bVar16 * -2" (cast_expression "(uint)bVar16" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar15)" ( identifier )) ;) (if_statement "if (((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0)) {\n        jsonParseAddNode(pParse_00,2,0,(char *)0x0);\n        return i + 5;\n      }" if (parenthesized_expression "(((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0))" ( (binary_expression "((!bVar14 && !bVar15) == bVar14) &&\n         (((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0)" (parenthesized_expression "((!bVar14 && !bVar15) == bVar14)" ( (binary_expression "(!bVar14 && !bVar15) == bVar14" (parenthesized_expression "(!bVar14 && !bVar15)" ( (binary_expression "!bVar14 && !bVar15" (unary_expression "!bVar14" ! identifier) && (unary_expression "!bVar15" ! identifier)) )) == identifier) )) && (parenthesized_expression "(((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0)" ( (binary_expression "((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6)" ( (binary_expression "(&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI] & 6" (subscript_expression "(&UNK_000980d7)[(uint)(byte)pcVar2[i + 5] + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" ( (pointer_expression "&UNK_000980d7" & identifier) )) [ (binary_expression "(uint)(byte)pcVar2[i + 5] + unaff_EDI" (cast_expression "(uint)(byte)pcVar2[i + 5]" ( (type_descriptor "uint" type_identifier) ) (cast_expression "(byte)pcVar2[i + 5]" ( (type_descriptor "byte" type_identifier) ) (subscript_expression "pcVar2[i + 5]" identifier [ (binary_expression "i + 5" identifier + number_literal) ]))) + identifier) ]) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        jsonParseAddNode(pParse_00,2,0,(char *)0x0);\n        return i + 5;\n      }" { (expression_statement "jsonParseAddNode(pParse_00,2,0,(char *)0x0);" (call_expression "jsonParseAddNode(pParse_00,2,0,(char *)0x0)" identifier (argument_list "(pParse_00,2,0,(char *)0x0)" ( identifier , number_literal , number_literal , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (return_statement "return i + 5;" return (binary_expression "i + 5" identifier + number_literal) ;) })) (goto_statement "goto LAB_0006c7db;" goto statement_identifier ;) })) (if_statement "if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }" if (parenthesized_expression "(((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d))" ( (binary_expression "((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)" (parenthesized_expression "((byte)(bVar8 - 0x30) < 10)" ( (binary_expression "(byte)(bVar8 - 0x30) < 10" (call_expression "(byte)(bVar8 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar8 - 0x30)" ( (binary_expression "bVar8 - 0x30" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(bVar8 == 0x2d)" ( (binary_expression "bVar8 == 0x2d" identifier == number_literal) ))) )) (compound_statement "{\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }" { (if_statement "if (((char)bVar8 < '1') &&\n         ((iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)))) {\n        return -1;\n      }" if (parenthesized_expression "(((char)bVar8 < '1') &&\n         ((iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10))))" ( (binary_expression "((char)bVar8 < '1') &&\n         ((iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)))" (parenthesized_expression "((char)bVar8 < '1')" ( (binary_expression "(char)bVar8 < '1'" (cast_expression "(char)bVar8" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'1'" ' character ')) )) && (parenthesized_expression "((iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)))" ( (parenthesized_expression "(iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10))" ( (comma_expression "iVar7 = (bVar8 == 0x2d) + i, pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)" (assignment_expression "iVar7 = (bVar8 == 0x2d) + i" identifier = (binary_expression "(bVar8 == 0x2d) + i" (parenthesized_expression "(bVar8 == 0x2d)" ( (binary_expression "bVar8 == 0x2d" identifier == number_literal) )) + identifier)) , (binary_expression "pcVar2[iVar7] == '0' &&\n          ((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)" (binary_expression "pcVar2[iVar7] == '0'" (subscript_expression "pcVar2[iVar7]" identifier [ identifier ]) == (char_literal "'0'" ' character ')) && (parenthesized_expression "((byte)(pcVar2[iVar7 + 1] - 0x30U) < 10)" ( (binary_expression "(byte)(pcVar2[iVar7 + 1] - 0x30U) < 10" (call_expression "(byte)(pcVar2[iVar7 + 1] - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(pcVar2[iVar7 + 1] - 0x30U)" ( (binary_expression "pcVar2[iVar7 + 1] - 0x30U" (subscript_expression "pcVar2[iVar7 + 1]" identifier [ (binary_expression "iVar7 + 1" identifier + number_literal) ]) - number_literal) ))) < number_literal) )))) )) ))) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) (goto_statement "goto LAB_0006ca8f;" goto statement_identifier ;) })) }))) (if_statement "if (bVar8 == 0x7d) {\n    return -2;\n  }" if (parenthesized_expression "(bVar8 == 0x7d)" ( (binary_expression "bVar8 == 0x7d" identifier == number_literal) )) (compound_statement "{\n    return -2;\n  }" { (return_statement "return -2;" return number_literal ;) })) (if_statement "if (bVar8 == 0x5d) {\n    return -3;\n  }" if (parenthesized_expression "(bVar8 == 0x5d)" ( (binary_expression "bVar8 == 0x5d" identifier == number_literal) )) (compound_statement "{\n    return -3;\n  }" { (return_statement "return -3;" return number_literal ;) })) (labeled_statement "LAB_0006c7db:\n  return -(uint)(bVar8 != 0);" statement_identifier : (return_statement "return -(uint)(bVar8 != 0);" return (unary_expression "-(uint)(bVar8 != 0)" - (call_expression "(uint)(bVar8 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar8 != 0)" ( (binary_expression "bVar8 != 0" identifier != number_literal) )))) ;)) })))
(translation_unit "int __regparm3 FUN_0006c720(undefined4 param_1,int param_2)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  uint uVar5;\n  short sVar6;\n  int iVar7;\n  byte bVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  undefined1 uVar11;\n  int unaff_EDI;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  int *piVar17;\n  int *piVar18;\n  \n  bVar15 = 0;\n  uVar16 = FUN_0001af1a();\n  piVar17 = (int *)uVar16;\n  iVar2 = piVar17[3];\n  pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20));\n  bVar8 = *pbVar9;\n  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }\n  if (bVar8 == 0x7b) {\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }\n  if (bVar8 == 0x5b) {\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }\n  if (bVar8 == 0x22) {\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }\n  bVar13 = bVar8 < 0x6e;\n  bVar14 = bVar8 == 0x6e;\n  if (bVar14) {\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }\n  if (bVar8 == 0x7d) {\n    return -2;\n  }\n  if (bVar8 == 0x5d) {\n    return -3;\n  }\nLAB_0006c7db:\n  return -(uint)(bVar8 != 0);\n}\n\n" (function_definition "int __regparm3 FUN_0006c720(undefined4 param_1,int param_2)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  uint uVar5;\n  short sVar6;\n  int iVar7;\n  byte bVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  undefined1 uVar11;\n  int unaff_EDI;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  int *piVar17;\n  int *piVar18;\n  \n  bVar15 = 0;\n  uVar16 = FUN_0001af1a();\n  piVar17 = (int *)uVar16;\n  iVar2 = piVar17[3];\n  pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20));\n  bVar8 = *pbVar9;\n  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }\n  if (bVar8 == 0x7b) {\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }\n  if (bVar8 == 0x5b) {\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }\n  if (bVar8 == 0x22) {\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }\n  bVar13 = bVar8 < 0x6e;\n  bVar14 = bVar8 == 0x6e;\n  if (bVar14) {\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }\n  if (bVar8 == 0x7d) {\n    return -2;\n  }\n  if (bVar8 == 0x5d) {\n    return -3;\n  }\nLAB_0006c7db:\n  return -(uint)(bVar8 != 0);\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0006c720(undefined4 param_1,int param_2)" identifier (parameter_list "(undefined4 param_1,int param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  uint uVar5;\n  short sVar6;\n  int iVar7;\n  byte bVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  undefined1 uVar11;\n  int unaff_EDI;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  int *piVar17;\n  int *piVar18;\n  \n  bVar15 = 0;\n  uVar16 = FUN_0001af1a();\n  piVar17 = (int *)uVar16;\n  iVar2 = piVar17[3];\n  pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20));\n  bVar8 = *pbVar9;\n  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }\n  if (bVar8 == 0x7b) {\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }\n  if (bVar8 == 0x5b) {\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }\n  if (bVar8 == 0x22) {\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }\n  bVar13 = bVar8 < 0x6e;\n  bVar14 = bVar8 == 0x6e;\n  if (bVar14) {\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }\n  if (bVar8 == 0x7d) {\n    return -2;\n  }\n  if (bVar8 == 0x5d) {\n    return -3;\n  }\nLAB_0006c7db:\n  return -(uint)(bVar8 != 0);\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "uint uVar5;" type_identifier identifier ;) (declaration "short sVar6;" (sized_type_specifier "short" short) identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "byte bVar8;" type_identifier identifier ;) (declaration "byte *pbVar9;" type_identifier (pointer_declarator "*pbVar9" * identifier) ;) (declaration "byte *pbVar10;" type_identifier (pointer_declarator "*pbVar10" * identifier) ;) (declaration "undefined1 uVar11;" type_identifier identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "bool bVar14;" primitive_type identifier ;) (declaration "byte bVar15;" type_identifier identifier ;) (declaration "undefined8 uVar16;" type_identifier identifier ;) (declaration "int *piVar17;" primitive_type (pointer_declarator "*piVar17" * identifier) ;) (declaration "int *piVar18;" primitive_type (pointer_declarator "*piVar18" * identifier) ;) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" identifier = number_literal) ;) (expression_statement "uVar16 = FUN_0001af1a();" (assignment_expression "uVar16 = FUN_0001af1a()" identifier = (call_expression "FUN_0001af1a()" identifier (argument_list "()" ( )))) ;) (expression_statement "piVar17 = (int *)uVar16;" (assignment_expression "piVar17 = (int *)uVar16" identifier = (cast_expression "(int *)uVar16" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "iVar2 = piVar17[3];" (assignment_expression "iVar2 = piVar17[3]" identifier = (subscript_expression "piVar17[3]" identifier [ number_literal ])) ;) (expression_statement "pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20));" (assignment_expression "pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20))" identifier = (cast_expression "(byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + (int)((ulonglong)uVar16 >> 0x20))" ( (binary_expression "iVar2 + (int)((ulonglong)uVar16 >> 0x20)" identifier + (cast_expression "(int)((ulonglong)uVar16 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar16 >> 0x20)" ( (binary_expression "(ulonglong)uVar16 >> 0x20" (cast_expression "(ulonglong)uVar16" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) )))) )))) ;) (expression_statement "bVar8 = *pbVar9;" (assignment_expression "bVar8 = *pbVar9" identifier = (pointer_expression "*pbVar9" * identifier)) ;) (if_statement "if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }" if (parenthesized_expression "(*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')" ( (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" * (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (binary_expression "unaff_EDI + 0x944d7 + (uint)bVar8" (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal) + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }" { (do_statement "do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');" do (compound_statement "{\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + param_2)" * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) ;) (expression_statement "pbVar9 = (byte *)(iVar2 + param_2);" (assignment_expression "pbVar9 = (byte *)(iVar2 + param_2)" identifier = (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) )))) ;) }) while (parenthesized_expression "(*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')" ( (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" * (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (binary_expression "unaff_EDI + 0x944d7 + (uint)bVar8" (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal) + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) != (char_literal "'\0'" ' escape_sequence ')) )) ;) })) (if_statement "if (bVar8 == 0x7b) {\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }" if (parenthesized_expression "(bVar8 == 0x7b)" ( (binary_expression "bVar8 == 0x7b" identifier == number_literal) )) (compound_statement "{\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }" { (expression_statement "uVar5 = FUN_0006c6e0(0);" (assignment_expression "uVar5 = FUN_0006c6e0(0)" identifier = (call_expression "FUN_0006c6e0(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (if_statement "if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }" if (parenthesized_expression "(-1 < (int)uVar5)" ( (binary_expression "-1 < (int)uVar5" number_literal < (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "sVar6 = *(short *)((int)piVar17 + 0x16);" (assignment_expression "sVar6 = *(short *)((int)piVar17 + 0x16)" identifier = (pointer_expression "*(short *)((int)piVar17 + 0x16)" * (cast_expression "(short *)((int)piVar17 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar17 + 0x16)" ( (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "iVar7 = unaff_EDI + 0x944d7;" (assignment_expression "iVar7 = unaff_EDI + 0x944d7" identifier = (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal)) ;) (expression_statement "piVar18 = piVar17;" (assignment_expression "piVar18 = piVar17" identifier = identifier) ;) (while_statement "while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }" { (while_statement "while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }" while (parenthesized_expression "(*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0')" ( (binary_expression "*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0'" (pointer_expression "*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2))" * (cast_expression "(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)*(byte *)(iVar2 + param_2))" ( (binary_expression "iVar7 + (uint)*(byte *)(iVar2 + param_2)" identifier + (binary_expression "(uint)*(byte *)(iVar2 + param_2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          param_2 = param_2 + 1;\n        }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) })) (expression_statement "*(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;" (assignment_expression "*(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U" (pointer_expression "*(ushort *)((int)piVar17 + 0x16)" * (cast_expression "(ushort *)((int)piVar17 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar17 + 0x16)" ( (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "sVar6 + 1U" identifier + number_literal)) ;) (if_statement "if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }" if (parenthesized_expression "(2000 < (ushort)(sVar6 + 1U))" ( (binary_expression "2000 < (ushort)(sVar6 + 1U)" number_literal < (call_expression "(ushort)(sVar6 + 1U)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(sVar6 + 1U)" ( (binary_expression "sVar6 + 1U" identifier + number_literal) )))) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar4 = FUN_0006c720();" (assignment_expression "iVar4 = FUN_0006c720()" identifier = (call_expression "FUN_0006c720()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }" if (parenthesized_expression "(iVar4 < 0)" ( (binary_expression "iVar4 < 0" identifier < number_literal) )) (compound_statement "{\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }" { (expression_statement "*(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;" (assignment_expression "*(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1" (pointer_expression "*(short *)((int)piVar18 + 0x16)" * (cast_expression "(short *)((int)piVar18 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar18 + 0x16)" ( (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "*(short *)((int)piVar18 + 0x16) + -1" (pointer_expression "*(short *)((int)piVar18 + 0x16)" * (cast_expression "(short *)((int)piVar18 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar18 + 0x16)" ( (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal)) ;) (if_statement "if (iVar4 != -2) {\n            return -1;\n          }" if (parenthesized_expression "(iVar4 != -2)" ( (binary_expression "iVar4 != -2" identifier != number_literal) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }" if (parenthesized_expression "(*piVar18 != uVar5 + 1)" ( (binary_expression "*piVar18 != uVar5 + 1" (pointer_expression "*piVar18" * identifier) != (binary_expression "uVar5 + 1" identifier + number_literal)) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (goto_statement "goto LAB_0006cd22;" goto statement_identifier ;) })) (if_statement "if ((char)piVar17[5] != '\0') {\n          return -1;\n        }" if (parenthesized_expression "((char)piVar17[5] != '\0')" ( (binary_expression "(char)piVar17[5] != '\0'" (cast_expression "(char)piVar17[5]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar17[5]" identifier [ number_literal ])) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);" (assignment_expression "pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc)" identifier = (cast_expression "(char *)(piVar17[2] + -0xc + *piVar17 * 0xc)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar17[2] + -0xc + *piVar17 * 0xc)" ( (binary_expression "piVar17[2] + -0xc + *piVar17 * 0xc" (binary_expression "piVar17[2] + -0xc" (subscript_expression "piVar17[2]" identifier [ number_literal ]) + number_literal) + (binary_expression "*piVar17 * 0xc" (pointer_expression "*piVar17" * identifier) * number_literal)) )))) ;) (if_statement "if (*pcVar1 != '\x05') {\n          return -1;\n        }" if (parenthesized_expression "(*pcVar1 != '\x05')" ( (binary_expression "*pcVar1 != '\x05'" (pointer_expression "*pcVar1" * identifier) != (char_literal "'\x05'" ' escape_sequence ')) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "pbVar9 = (byte *)(pcVar1 + 1);" (assignment_expression "pbVar9 = (byte *)(pcVar1 + 1)" identifier = (cast_expression "(byte *)(pcVar1 + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar1 + 1)" ( (binary_expression "pcVar1 + 1" identifier + number_literal) )))) ;) (expression_statement "*pbVar9 = *pbVar9 | 0x40;" (assignment_expression "*pbVar9 = *pbVar9 | 0x40" (pointer_expression "*pbVar9" * identifier) = (binary_expression "*pbVar9 | 0x40" (pointer_expression "*pbVar9" * identifier) | number_literal)) ;) (expression_statement "bVar8 = *(byte *)(iVar2 + iVar4);" (assignment_expression "bVar8 = *(byte *)(iVar2 + iVar4)" identifier = (pointer_expression "*(byte *)(iVar2 + iVar4)" * (cast_expression "(byte *)(iVar2 + iVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar4)" ( (binary_expression "iVar2 + iVar4" identifier + identifier) ))))) ;) (expression_statement "cVar3 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar3 = *(char *)(iVar7 + (uint)bVar8)" identifier = (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" * (cast_expression "(char *)(iVar7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)bVar8)" ( (binary_expression "iVar7 + (uint)bVar8" identifier + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) (while_statement "while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }" while (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "bVar8 = *(byte *)(iVar2 + iVar4);" (assignment_expression "bVar8 = *(byte *)(iVar2 + iVar4)" identifier = (pointer_expression "*(byte *)(iVar2 + iVar4)" * (cast_expression "(byte *)(iVar2 + iVar4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar4)" ( (binary_expression "iVar2 + iVar4" identifier + identifier) ))))) ;) (expression_statement "cVar3 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar3 = *(char *)(iVar7 + (uint)bVar8)" identifier = (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" * (cast_expression "(char *)(iVar7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)bVar8)" ( (binary_expression "iVar7 + (uint)bVar8" identifier + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) })) (if_statement "if (bVar8 != 0x3a) {\n          return -1;\n        }" if (parenthesized_expression "(bVar8 != 0x3a)" ( (binary_expression "bVar8 != 0x3a" identifier != number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "param_2 = FUN_0006c720();" (assignment_expression "param_2 = FUN_0006c720()" identifier = (call_expression "FUN_0006c720()" identifier (argument_list "()" ( )))) ;) (expression_statement "sVar6 = *(short *)((int)piVar17 + 0x16) + -1;" (assignment_expression "sVar6 = *(short *)((int)piVar17 + 0x16) + -1" identifier = (binary_expression "*(short *)((int)piVar17 + 0x16) + -1" (pointer_expression "*(short *)((int)piVar17 + 0x16)" * (cast_expression "(short *)((int)piVar17 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar17 + 0x16)" ( (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) + number_literal)) ;) (expression_statement "*(short *)((int)piVar17 + 0x16) = sVar6;" (assignment_expression "*(short *)((int)piVar17 + 0x16) = sVar6" (pointer_expression "*(short *)((int)piVar17 + 0x16)" * (cast_expression "(short *)((int)piVar17 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar17 + 0x16)" ( (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if (param_2 < 0) {\n          return -1;\n        }" if (parenthesized_expression "(param_2 < 0)" ( (binary_expression "param_2 < 0" identifier < number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + param_2)" * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) ;) (expression_statement "cVar3 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar3 = *(char *)(iVar7 + (uint)bVar8)" identifier = (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" * (cast_expression "(char *)(iVar7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)bVar8)" ( (binary_expression "iVar7 + (uint)bVar8" identifier + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) (while_statement "while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }" while (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + param_2)" * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) ;) (expression_statement "cVar3 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar3 = *(char *)(iVar7 + (uint)bVar8)" identifier = (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" * (cast_expression "(char *)(iVar7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + (uint)bVar8)" ( (binary_expression "iVar7 + (uint)bVar8" identifier + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) ))))) ;) })) (if_statement "if (bVar8 != 0x2c) break;" if (parenthesized_expression "(bVar8 != 0x2c)" ( (binary_expression "bVar8 != 0x2c" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) })) (if_statement "if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }" if (parenthesized_expression "(bVar8 == 0x7d)" ( (binary_expression "bVar8 == 0x7d" identifier == number_literal) )) (compound_statement "{\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }" { (expression_statement "*(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;" (assignment_expression "*(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18" (pointer_expression "*(uint *)(uVar5 * 0xc + piVar18[2] + 4)" * (cast_expression "(uint *)(uVar5 * 0xc + piVar18[2] + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 * 0xc + piVar18[2] + 4)" ( (binary_expression "uVar5 * 0xc + piVar18[2] + 4" (binary_expression "uVar5 * 0xc + piVar18[2]" (binary_expression "uVar5 * 0xc" identifier * number_literal) + (subscript_expression "piVar18[2]" identifier [ number_literal ])) + number_literal) )))) = (binary_expression "~uVar5 + *piVar18" (unary_expression "~uVar5" ~ identifier) + (pointer_expression "*piVar18" * identifier))) ;) (return_statement "return param_2 + 1;" return (binary_expression "param_2 + 1" identifier + number_literal) ;) })) })) (return_statement "return -1;" return number_literal ;) })) (if_statement "if (bVar8 == 0x5b) {\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }" if (parenthesized_expression "(bVar8 == 0x5b)" ( (binary_expression "bVar8 == 0x5b" identifier == number_literal) )) (compound_statement "{\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }" { (expression_statement "piVar18 = piVar17;" (assignment_expression "piVar18 = piVar17" identifier = identifier) ;) (expression_statement "uVar5 = FUN_0006c6e0(0);" (assignment_expression "uVar5 = FUN_0006c6e0(0)" identifier = (call_expression "FUN_0006c6e0(0)" identifier (argument_list "(0)" ( number_literal )))) ;) (if_statement "if ((int)uVar5 < 0) {\n      return -1;\n    }" if (parenthesized_expression "((int)uVar5 < 0)" ( (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n      return -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "sVar6 = *(short *)((int)piVar17 + 0x16);" (assignment_expression "sVar6 = *(short *)((int)piVar17 + 0x16)" identifier = (pointer_expression "*(short *)((int)piVar17 + 0x16)" * (cast_expression "(short *)((int)piVar17 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar17 + 0x16)" ( (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (while_statement "while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }" { (while_statement "while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }" while (parenthesized_expression "(*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0')" ( (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2))" * (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2))" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2))" ( (binary_expression "unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)" (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal) + (binary_expression "(uint)*(byte *)(iVar2 + param_2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        param_2 = param_2 + 1;\n      }" { (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) })) (expression_statement "*(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;" (assignment_expression "*(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U" (pointer_expression "*(ushort *)((int)piVar18 + 0x16)" * (cast_expression "(ushort *)((int)piVar18 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar18 + 0x16)" ( (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = (binary_expression "sVar6 + 1U" identifier + number_literal)) ;) (if_statement "if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }" if (parenthesized_expression "(2000 < (ushort)(sVar6 + 1U))" ( (binary_expression "2000 < (ushort)(sVar6 + 1U)" number_literal < (call_expression "(ushort)(sVar6 + 1U)" (parenthesized_expression "(ushort)" ( identifier )) (argument_list "(sVar6 + 1U)" ( (binary_expression "sVar6 + 1U" identifier + number_literal) )))) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar7 = FUN_0006c720(piVar18,pbVar9);" (assignment_expression "iVar7 = FUN_0006c720(piVar18,pbVar9)" identifier = (call_expression "FUN_0006c720(piVar18,pbVar9)" identifier (argument_list "(piVar18,pbVar9)" ( identifier , identifier )))) ;) (expression_statement "pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);" (assignment_expression "pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16)" identifier = (binary_expression "(byte *)(uint)*(ushort *)((int)piVar18 + 0x16)" (cast_expression "(byte *)(uint)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(ushort *)((int)piVar18 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar18 + 0x16)" ( (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;" (assignment_expression "sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1" identifier = (binary_expression "*(ushort *)((int)piVar18 + 0x16) - 1" (pointer_expression "*(ushort *)((int)piVar18 + 0x16)" * (cast_expression "(ushort *)((int)piVar18 + 0x16)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar18 + 0x16)" ( (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) - number_literal)) ;) (expression_statement "*(short *)((int)piVar18 + 0x16) = sVar6;" (assignment_expression "*(short *)((int)piVar18 + 0x16) = sVar6" (pointer_expression "*(short *)((int)piVar18 + 0x16)" * (cast_expression "(short *)((int)piVar18 + 0x16)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)piVar18 + 0x16)" ( (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (if_statement "if (iVar7 < 0) break;" if (parenthesized_expression "(iVar7 < 0)" ( (binary_expression "iVar7 < 0" identifier < number_literal) )) (break_statement "break;" break ;)) (while_statement "while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }" while (parenthesized_expression "(bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')" ( (comma_expression "bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (assignment_expression "bVar8 = *(byte *)(iVar2 + iVar7)" identifier = (pointer_expression "*(byte *)(iVar2 + iVar7)" * (cast_expression "(byte *)(iVar2 + iVar7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar7)" ( (binary_expression "iVar2 + iVar7" identifier + identifier) ))))) , (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" * (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)bVar8)" ( (binary_expression "unaff_EDI + 0x944d7 + (uint)bVar8" (binary_expression "unaff_EDI + 0x944d7" identifier + number_literal) + (cast_expression "(uint)bVar8" ( (type_descriptor "uint" type_identifier) ) identifier)) )))) != (char_literal "'\0'" ' escape_sequence '))) )) (compound_statement "{\n        iVar7 = iVar7 + 1;\n      }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) })) (if_statement "if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }" if (parenthesized_expression "(bVar8 != 0x2c)" ( (binary_expression "bVar8 != 0x2c" identifier != number_literal) )) (compound_statement "{\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }" { (if_statement "if (bVar8 != 0x5d) {\n          return -1;\n        }" if (parenthesized_expression "(bVar8 != 0x5d)" ( (binary_expression "bVar8 != 0x5d" identifier != number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "*(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;" (assignment_expression "*(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18" (pointer_expression "*(uint *)(uVar5 * 0xc + piVar18[2] + 4)" * (cast_expression "(uint *)(uVar5 * 0xc + piVar18[2] + 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(uVar5 * 0xc + piVar18[2] + 4)" ( (binary_expression "uVar5 * 0xc + piVar18[2] + 4" (binary_expression "uVar5 * 0xc + piVar18[2]" (binary_expression "uVar5 * 0xc" identifier * number_literal) + (subscript_expression "piVar18[2]" identifier [ number_literal ])) + number_literal) )))) = (binary_expression "~uVar5 + *piVar18" (unary_expression "~uVar5" ~ identifier) + (pointer_expression "*piVar18" * identifier))) ;) (return_statement "return iVar7 + 1;" return (binary_expression "iVar7 + 1" identifier + number_literal) ;) })) (expression_statement "param_2 = iVar7 + 1;" (assignment_expression "param_2 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) })) (if_statement "if (iVar7 != -3) {\n      return -1;\n    }" if (parenthesized_expression "(iVar7 != -3)" ( (binary_expression "iVar7 != -3" identifier != number_literal) )) (compound_statement "{\n      return -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }" if (parenthesized_expression "(*piVar18 != uVar5 + 1)" ( (binary_expression "*piVar18 != uVar5 + 1" (pointer_expression "*piVar18" * identifier) != (binary_expression "uVar5 + 1" identifier + number_literal)) )) (compound_statement "{\n      return -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (labeled_statement "LAB_0006cd22:\n    return param_2 + 1;" statement_identifier : (return_statement "return param_2 + 1;" return (binary_expression "param_2 + 1" identifier + number_literal) ;)) })) (if_statement "if (bVar8 == 0x22) {\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }" if (parenthesized_expression "(bVar8 == 0x22)" ( (binary_expression "bVar8 == 0x22" identifier == number_literal) )) (compound_statement "{\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }" { (expression_statement "bVar8 = *(byte *)(iVar2 + 1 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + 1 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + 1 + param_2)" * (cast_expression "(byte *)(iVar2 + 1 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1 + param_2)" ( (binary_expression "iVar2 + 1 + param_2" (binary_expression "iVar2 + 1" identifier + number_literal) + identifier) ))))) ;) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (if_statement "if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }" if (parenthesized_expression "((bVar8 & 0xe0) == 0)" ( (binary_expression "(bVar8 & 0xe0) == 0" (parenthesized_expression "(bVar8 & 0xe0)" ( (binary_expression "bVar8 & 0xe0" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      return -1;\n    }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" identifier = number_literal) ;) (do_statement "do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );" do (compound_statement "{\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    }" { (while_statement "while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }" while (parenthesized_expression "(iVar7 = param_2 + 1, bVar8 != 0x5c)" ( (comma_expression "iVar7 = param_2 + 1, bVar8 != 0x5c" (assignment_expression "iVar7 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) , (binary_expression "bVar8 != 0x5c" identifier != number_literal)) )) (compound_statement "{\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }" { (expression_statement "param_2 = iVar7;" (assignment_expression "param_2 = iVar7" identifier = identifier) ;) (if_statement "if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }" if (parenthesized_expression "(bVar8 == 0x22)" ( (binary_expression "bVar8 == 0x22" identifier == number_literal) )) (compound_statement "{\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }" { (expression_statement "FUN_0006c6e0(pbVar9);" (call_expression "FUN_0006c6e0(pbVar9)" identifier (argument_list "(pbVar9)" ( identifier ))) ;) (if_statement "if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }" if (parenthesized_expression "((char)piVar17[5] == '\0')" ( (binary_expression "(char)piVar17[5] == '\0'" (cast_expression "(char)piVar17[5]" ( (type_descriptor "char" primitive_type) ) (subscript_expression "piVar17[5]" identifier [ number_literal ])) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }" { (expression_statement "*(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;" (assignment_expression "*(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11" (pointer_expression "*(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb)" * (cast_expression "(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar17[2] + *piVar17 * 0xc + -0xb)" ( (binary_expression "piVar17[2] + *piVar17 * 0xc + -0xb" (binary_expression "piVar17[2] + *piVar17 * 0xc" (subscript_expression "piVar17[2]" identifier [ number_literal ]) + (binary_expression "*piVar17 * 0xc" (pointer_expression "*piVar17" * identifier) * number_literal)) + number_literal) )))) = identifier) ;) (return_statement "return iVar7;" return identifier ;) })) (return_statement "return iVar7;" return identifier ;) })) (labeled_statement "LAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);" statement_identifier : (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + param_2)" * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) ;)) (if_statement "if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }" if (parenthesized_expression "((bVar8 & 0xe0) == 0)" ( (binary_expression "(bVar8 & 0xe0) == 0" (parenthesized_expression "(bVar8 & 0xe0)" ( (binary_expression "bVar8 & 0xe0" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) })) (expression_statement "bVar8 = *(byte *)(iVar2 + 1 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + 1 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + 1 + param_2)" * (cast_expression "(byte *)(iVar2 + 1 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1 + param_2)" ( (binary_expression "iVar2 + 1 + param_2" (binary_expression "iVar2 + 1" identifier + number_literal) + identifier) ))))) ;) (if_statement "if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }" if (parenthesized_expression "((byte)(bVar8 - 0x5c) < 0x19)" ( (binary_expression "(byte)(bVar8 - 0x5c) < 0x19" (call_expression "(byte)(bVar8 - 0x5c)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar8 - 0x5c)" ( (binary_expression "bVar8 - 0x5c" identifier - number_literal) ))) < number_literal) )) (compound_statement "{\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }" { (if_statement "if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }" if (parenthesized_expression "(((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22))" ( (binary_expression "((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)" (parenthesized_expression "((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0)" ( (binary_expression "(0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0" (parenthesized_expression "(0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1)" ( (binary_expression "0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1" (binary_expression "0x1440401U >> (bVar8 - 0x5c & 0x1f)" number_literal >> (parenthesized_expression "(bVar8 - 0x5c & 0x1f)" ( (binary_expression "bVar8 - 0x5c & 0x1f" (binary_expression "bVar8 - 0x5c" identifier - number_literal) & number_literal) ))) & number_literal) )) == number_literal) )) && (parenthesized_expression "((bVar8 & 0xbf) != 0x22)" ( (binary_expression "(bVar8 & 0xbf) != 0x22" (parenthesized_expression "(bVar8 & 0xbf)" ( (binary_expression "bVar8 & 0xbf" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) }) (else_clause "else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }" else (if_statement "if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }" if (parenthesized_expression "(((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f))" ( (binary_expression "((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)" (parenthesized_expression "((bVar8 & 0xbf) != 0x22)" ( (binary_expression "(bVar8 & 0xbf) != 0x22" (parenthesized_expression "(bVar8 & 0xbf)" ( (binary_expression "bVar8 & 0xbf" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(bVar8 != 0x2f)" ( (binary_expression "bVar8 != 0x2f" identifier != number_literal) ))) )) (compound_statement "{\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }" { (if_statement "if (bVar8 != 0x75) {\n          return -1;\n        }" if (parenthesized_expression "(bVar8 != 0x75)" ( (binary_expression "bVar8 != 0x75" identifier != number_literal) )) (compound_statement "{\n          return -1;\n        }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);" do (compound_statement "{\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        }" { (if_statement "if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }" if (parenthesized_expression "(((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)" ( (binary_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8)" ( (binary_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8" (subscript_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" ( (pointer_expression "&UNK_000980d7" & identifier) )) [ (binary_expression "(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI" (binary_expression "(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar2 + param_2 + 2 + iVar7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2 + 2 + iVar7)" ( (binary_expression "iVar2 + param_2 + 2 + iVar7" (binary_expression "iVar2 + param_2 + 2" (binary_expression "iVar2 + param_2" identifier + identifier) + number_literal) + identifier) )))) + identifier) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar7 != 4)" ( (binary_expression "iVar7 != 4" identifier != number_literal) )) ;) (expression_statement "uVar11 = 2;" (assignment_expression "uVar11 = 2" identifier = number_literal) ;) (expression_statement "param_2 = param_2 + 2;" (assignment_expression "param_2 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) (goto_statement "goto LAB_0006c811;" goto statement_identifier ;) })))) (expression_statement "param_2 = param_2 + 2;" (assignment_expression "param_2 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) (expression_statement "uVar11 = 2;" (assignment_expression "uVar11 = 2" identifier = number_literal) ;) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + param_2)" * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) ;) (if_statement "if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }" if (parenthesized_expression "((bVar8 & 0xe0) == 0)" ( (binary_expression "(bVar8 & 0xe0) == 0" (parenthesized_expression "(bVar8 & 0xe0)" ( (binary_expression "bVar8 & 0xe0" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) }) while (parenthesized_expression "( true )" ( true )) ;) })) (expression_statement "bVar13 = bVar8 < 0x6e;" (assignment_expression "bVar13 = bVar8 < 0x6e" identifier = (binary_expression "bVar8 < 0x6e" identifier < number_literal)) ;) (expression_statement "bVar14 = bVar8 == 0x6e;" (assignment_expression "bVar14 = bVar8 == 0x6e" identifier = (binary_expression "bVar8 == 0x6e" identifier == number_literal)) ;) (if_statement "if (bVar14) {\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }" { (expression_statement "iVar7 = 4;" (assignment_expression "iVar7 = 4" identifier = number_literal) ;) (expression_statement "pbVar10 = pbVar9;" (assignment_expression "pbVar10 = pbVar9" identifier = identifier) ;) (expression_statement "pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);" (assignment_expression "pbVar12 = (byte *)(unaff_EDI + 0x8c2b3)" identifier = (cast_expression "(byte *)(unaff_EDI + 0x8c2b3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x8c2b3)" ( (binary_expression "unaff_EDI + 0x8c2b3" identifier + number_literal) )))) ;) (do_statement "do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);" do (compound_statement "{\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    }" { (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar10 < *pbVar12;" (assignment_expression "bVar13 = *pbVar10 < *pbVar12" identifier = (binary_expression "*pbVar10 < *pbVar12" (pointer_expression "*pbVar10" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar10 == *pbVar12;" (assignment_expression "bVar14 = *pbVar10 == *pbVar12" identifier = (binary_expression "*pbVar10 == *pbVar12" (pointer_expression "*pbVar10" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;" if (parenthesized_expression "((!bVar13 && !bVar14) != bVar13)" ( (binary_expression "(!bVar13 && !bVar14) != bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) != identifier) )) (goto_statement "goto LAB_0006c7db;" goto statement_identifier ;)) (if_statement "if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }" if (parenthesized_expression "(((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)" ( (binary_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6)" ( (binary_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6" (subscript_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" ( (pointer_expression "&UNK_000980d7" & identifier) )) [ (binary_expression "(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI" (binary_expression "(uint)*(byte *)(iVar2 + 4 + param_2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar2 + 4 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4 + param_2)" ( (binary_expression "iVar2 + 4 + param_2" (binary_expression "iVar2 + 4" identifier + number_literal) + identifier) )))) + identifier) ]) & number_literal) )) == number_literal) )) (compound_statement "{\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }" { (expression_statement "FUN_0006c6e0(0);" (call_expression "FUN_0006c6e0(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (return_statement "return param_2 + 4;" return (binary_expression "param_2 + 4" identifier + number_literal) ;) })) (labeled_statement "LAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }" statement_identifier : (if_statement "if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }" if (parenthesized_expression "(((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d))" ( (binary_expression "((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)" (parenthesized_expression "((byte)(bVar8 - 0x30) < 10)" ( (binary_expression "(byte)(bVar8 - 0x30) < 10" (call_expression "(byte)(bVar8 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar8 - 0x30)" ( (binary_expression "bVar8 - 0x30" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(bVar8 == 0x2d)" ( (binary_expression "bVar8 == 0x2d" identifier == number_literal) ))) )) (compound_statement "{\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }" { (labeled_statement "LAB_0006ca8f:\n      bVar13 = false;" statement_identifier : (expression_statement "bVar13 = false;" (assignment_expression "bVar13 = false" identifier = false) ;)) (expression_statement "bVar14 = false;" (assignment_expression "bVar14 = false" identifier = false) ;) (do_statement "do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );" do (compound_statement "{\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      }" { (do_statement "do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);" do (compound_statement "{\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        }" { (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" identifier = identifier) ;) (expression_statement "param_2 = iVar7 + 1;" (assignment_expression "param_2 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" identifier = (pointer_expression "*(byte *)(iVar2 + param_2)" * (cast_expression "(byte *)(iVar2 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_2)" ( (binary_expression "iVar2 + param_2" identifier + identifier) ))))) ;) }) while (parenthesized_expression "((byte)(bVar8 - 0x30) < 10)" ( (binary_expression "(byte)(bVar8 - 0x30) < 10" (call_expression "(byte)(bVar8 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar8 - 0x30)" ( (binary_expression "bVar8 - 0x30" identifier - number_literal) ))) < number_literal) )) ;) (expression_statement "cVar3 = *(char *)(iVar2 + -1 + param_2);" (assignment_expression "cVar3 = *(char *)(iVar2 + -1 + param_2)" identifier = (pointer_expression "*(char *)(iVar2 + -1 + param_2)" * (cast_expression "(char *)(iVar2 + -1 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + -1 + param_2)" ( (binary_expression "iVar2 + -1 + param_2" (binary_expression "iVar2 + -1" identifier + number_literal) + identifier) ))))) ;) (if_statement "if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }" if (parenthesized_expression "(bVar8 == 0x2e)" ( (binary_expression "bVar8 == 0x2e" identifier == number_literal) )) (compound_statement "{\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }" { (if_statement "if (cVar3 == '-') {\n            return -1;\n          }" if (parenthesized_expression "(cVar3 == '-')" ( (binary_expression "cVar3 == '-'" identifier == (char_literal "'-'" ' character ')) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (bVar14) {\n            return -1;\n          }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) }) (else_clause "else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }" else (compound_statement "{\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }" { (if_statement "if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }" if (parenthesized_expression "((bVar8 & 0xdf) != 0x45)" ( (binary_expression "(bVar8 & 0xdf) != 0x45" (parenthesized_expression "(bVar8 & 0xdf)" ( (binary_expression "bVar8 & 0xdf" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }" { (if_statement "if (cVar3 < '0') {\n              return -1;\n            }" if (parenthesized_expression "(cVar3 < '0')" ( (binary_expression "cVar3 < '0'" identifier < (char_literal "'0'" ' character ')) )) (compound_statement "{\n              return -1;\n            }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "FUN_0006c6e0(pbVar9);" (call_expression "FUN_0006c6e0(pbVar9)" identifier (argument_list "(pbVar9)" ( identifier ))) ;) (return_statement "return param_2;" return identifier ;) })) (if_statement "if (cVar3 < '0') {\n            return -1;\n          }" if (parenthesized_expression "(cVar3 < '0')" ( (binary_expression "cVar3 < '0'" identifier < (char_literal "'0'" ' character ')) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (if_statement "if (bVar13) {\n            return -1;\n          }" if (parenthesized_expression "(bVar13)" ( identifier )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "cVar3 = *(char *)(iVar2 + 1 + param_2);" (assignment_expression "cVar3 = *(char *)(iVar2 + 1 + param_2)" identifier = (pointer_expression "*(char *)(iVar2 + 1 + param_2)" * (cast_expression "(char *)(iVar2 + 1 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1 + param_2)" ( (binary_expression "iVar2 + 1 + param_2" (binary_expression "iVar2 + 1" identifier + number_literal) + identifier) ))))) ;) (if_statement "if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }" if (parenthesized_expression "((cVar3 - 0x2bU & 0xfd) == 0)" ( (binary_expression "(cVar3 - 0x2bU & 0xfd) == 0" (parenthesized_expression "(cVar3 - 0x2bU & 0xfd)" ( (binary_expression "cVar3 - 0x2bU & 0xfd" (binary_expression "cVar3 - 0x2bU" identifier - number_literal) & number_literal) )) == number_literal) )) (compound_statement "{\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }" { (expression_statement "cVar3 = *(char *)(iVar2 + 2 + param_2);" (assignment_expression "cVar3 = *(char *)(iVar2 + 2 + param_2)" identifier = (pointer_expression "*(char *)(iVar2 + 2 + param_2)" * (cast_expression "(char *)(iVar2 + 2 + param_2)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 2 + param_2)" ( (binary_expression "iVar2 + 2 + param_2" (binary_expression "iVar2 + 2" identifier + number_literal) + identifier) ))))) ;) (expression_statement "param_2 = iVar7 + 2;" (assignment_expression "param_2 = iVar7 + 2" identifier = (binary_expression "iVar7 + 2" identifier + number_literal)) ;) })) (if_statement "if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }" if (parenthesized_expression "(9 < (byte)(cVar3 - 0x30U))" ( (binary_expression "9 < (byte)(cVar3 - 0x30U)" number_literal < (call_expression "(byte)(cVar3 - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(cVar3 - 0x30U)" ( (binary_expression "cVar3 - 0x30U" identifier - number_literal) )))) )) (compound_statement "{\n            return -1;\n          }" { (return_statement "return -1;" return number_literal ;) })) (expression_statement "bVar13 = true;" (assignment_expression "bVar13 = true" identifier = true) ;) }))) (expression_statement "bVar14 = true;" (assignment_expression "bVar14 = true" identifier = true) ;) }) while (parenthesized_expression "( true )" ( true )) ;) }))) }) (else_clause "else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }" else (compound_statement "{\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }" { (expression_statement "bVar13 = bVar8 < 0x74;" (assignment_expression "bVar13 = bVar8 < 0x74" identifier = (binary_expression "bVar8 < 0x74" identifier < number_literal)) ;) (expression_statement "bVar14 = bVar8 == 0x74;" (assignment_expression "bVar14 = bVar8 == 0x74" identifier = (binary_expression "bVar8 == 0x74" identifier == number_literal)) ;) (if_statement "if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }" { (expression_statement "iVar7 = 4;" (assignment_expression "iVar7 = 4" identifier = number_literal) ;) (expression_statement "pbVar10 = pbVar9;" (assignment_expression "pbVar10 = pbVar9" identifier = identifier) ;) (expression_statement "pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);" (assignment_expression "pbVar12 = (byte *)(unaff_EDI + 0x8bf2e)" identifier = (cast_expression "(byte *)(unaff_EDI + 0x8bf2e)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x8bf2e)" ( (binary_expression "unaff_EDI + 0x8bf2e" identifier + number_literal) )))) ;) (do_statement "do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);" do (compound_statement "{\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      }" { (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar10 < *pbVar12;" (assignment_expression "bVar13 = *pbVar10 < *pbVar12" identifier = (binary_expression "*pbVar10 < *pbVar12" (pointer_expression "*pbVar10" * identifier) < (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "bVar14 = *pbVar10 == *pbVar12;" (assignment_expression "bVar14 = *pbVar10 == *pbVar12" identifier = (binary_expression "*pbVar10 == *pbVar12" (pointer_expression "*pbVar10" * identifier) == (pointer_expression "*pbVar12" * identifier))) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }" if (parenthesized_expression "(((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0))" ( (binary_expression "((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)" (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) && (parenthesized_expression "(((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)" ( (binary_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6)" ( (binary_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6" (subscript_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" ( (pointer_expression "&UNK_000980d7" & identifier) )) [ (binary_expression "(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI" (binary_expression "(uint)*(byte *)(iVar2 + 4 + param_2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar2 + 4 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 4 + param_2)" ( (binary_expression "iVar2 + 4 + param_2" (binary_expression "iVar2 + 4" identifier + number_literal) + identifier) )))) + identifier) ]) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }" { (expression_statement "FUN_0006c6e0(0);" (call_expression "FUN_0006c6e0(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (return_statement "return param_2 + 4;" return (binary_expression "param_2 + 4" identifier + number_literal) ;) })) (goto_statement "goto LAB_0006ca39;" goto statement_identifier ;) })) (expression_statement "bVar13 = bVar8 < 0x66;" (assignment_expression "bVar13 = bVar8 < 0x66" identifier = (binary_expression "bVar8 < 0x66" identifier < number_literal)) ;) (expression_statement "bVar14 = bVar8 == 0x66;" (assignment_expression "bVar14 = bVar8 == 0x66" identifier = (binary_expression "bVar8 == 0x66" identifier == number_literal)) ;) (if_statement "if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }" if (parenthesized_expression "(bVar14)" ( identifier )) (compound_statement "{\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }" { (expression_statement "iVar7 = 5;" (assignment_expression "iVar7 = 5" identifier = number_literal) ;) (expression_statement "pbVar10 = (byte *)(unaff_EDI + 0x8bf33);" (assignment_expression "pbVar10 = (byte *)(unaff_EDI + 0x8bf33)" identifier = (cast_expression "(byte *)(unaff_EDI + 0x8bf33)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x8bf33)" ( (binary_expression "unaff_EDI + 0x8bf33" identifier + number_literal) )))) ;) (do_statement "do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);" do (compound_statement "{\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      }" { (if_statement "if (iVar7 == 0) break;" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" identifier = (binary_expression "iVar7 + -1" identifier + number_literal)) ;) (expression_statement "bVar13 = *pbVar9 < *pbVar10;" (assignment_expression "bVar13 = *pbVar9 < *pbVar10" identifier = (binary_expression "*pbVar9 < *pbVar10" (pointer_expression "*pbVar9" * identifier) < (pointer_expression "*pbVar10" * identifier))) ;) (expression_statement "bVar14 = *pbVar9 == *pbVar10;" (assignment_expression "bVar14 = *pbVar9 == *pbVar10" identifier = (binary_expression "*pbVar9 == *pbVar10" (pointer_expression "*pbVar9" * identifier) == (pointer_expression "*pbVar10" * identifier))) ;) (expression_statement "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar9 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) (expression_statement "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1" identifier = (binary_expression "pbVar10 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar15 * -2" identifier + (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) }) while (parenthesized_expression "(bVar14)" ( identifier )) ;) (if_statement "if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }" if (parenthesized_expression "(((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0))" ( (binary_expression "((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)" (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" ( (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" ( (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" ! identifier) && (unary_expression "!bVar14" ! identifier)) )) == identifier) )) && (parenthesized_expression "(((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)" ( (binary_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6)" ( (binary_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6" (subscript_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" ( (pointer_expression "&UNK_000980d7" & identifier) )) [ (binary_expression "(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI" (binary_expression "(uint)*(byte *)(iVar2 + 5 + param_2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(iVar2 + 5 + param_2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 5 + param_2)" ( (binary_expression "iVar2 + 5 + param_2" (binary_expression "iVar2 + 5" identifier + number_literal) + identifier) )))) + identifier) ]) & number_literal) )) == number_literal) ))) )) (compound_statement "{\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }" { (expression_statement "FUN_0006c6e0(0);" (call_expression "FUN_0006c6e0(0)" identifier (argument_list "(0)" ( number_literal ))) ;) (return_statement "return param_2 + 5;" return (binary_expression "param_2 + 5" identifier + number_literal) ;) })) (goto_statement "goto LAB_0006c7db;" goto statement_identifier ;) })) (if_statement "if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }" if (parenthesized_expression "(((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d))" ( (binary_expression "((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)" (parenthesized_expression "((byte)(bVar8 - 0x30) < 10)" ( (binary_expression "(byte)(bVar8 - 0x30) < 10" (call_expression "(byte)(bVar8 - 0x30)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(bVar8 - 0x30)" ( (binary_expression "bVar8 - 0x30" identifier - number_literal) ))) < number_literal) )) || (parenthesized_expression "(bVar8 == 0x2d)" ( (binary_expression "bVar8 == 0x2d" identifier == number_literal) ))) )) (compound_statement "{\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }" { (if_statement "if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }" if (parenthesized_expression "(((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10))))" ( (binary_expression "((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))" (parenthesized_expression "((char)bVar8 < '1')" ( (binary_expression "(char)bVar8 < '1'" (cast_expression "(char)bVar8" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'1'" ' character ')) )) && (parenthesized_expression "((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))" ( (parenthesized_expression "(iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10))" ( (comma_expression "iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)" (assignment_expression "iVar7 = (uint)(bVar8 == 0x2d) + param_2" identifier = (binary_expression "(uint)(bVar8 == 0x2d) + param_2" (call_expression "(uint)(bVar8 == 0x2d)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar8 == 0x2d)" ( (binary_expression "bVar8 == 0x2d" identifier == number_literal) ))) + identifier)) , (binary_expression "*(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)" (binary_expression "*(char *)(iVar2 + iVar7) == '0'" (pointer_expression "*(char *)(iVar2 + iVar7)" * (cast_expression "(char *)(iVar2 + iVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + iVar7)" ( (binary_expression "iVar2 + iVar7" identifier + identifier) )))) == (char_literal "'0'" ' character ')) && (parenthesized_expression "((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)" ( (binary_expression "(byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10" (call_expression "(byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(*(char *)(iVar2 + 1 + iVar7) - 0x30U)" ( (binary_expression "*(char *)(iVar2 + 1 + iVar7) - 0x30U" (pointer_expression "*(char *)(iVar2 + 1 + iVar7)" * (cast_expression "(char *)(iVar2 + 1 + iVar7)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 1 + iVar7)" ( (binary_expression "iVar2 + 1 + iVar7" (binary_expression "iVar2 + 1" identifier + number_literal) + identifier) )))) - number_literal) ))) < number_literal) )))) )) ))) )) (compound_statement "{\n        return -1;\n      }" { (return_statement "return -1;" return number_literal ;) })) (goto_statement "goto LAB_0006ca8f;" goto statement_identifier ;) })) }))) (if_statement "if (bVar8 == 0x7d) {\n    return -2;\n  }" if (parenthesized_expression "(bVar8 == 0x7d)" ( (binary_expression "bVar8 == 0x7d" identifier == number_literal) )) (compound_statement "{\n    return -2;\n  }" { (return_statement "return -2;" return number_literal ;) })) (if_statement "if (bVar8 == 0x5d) {\n    return -3;\n  }" if (parenthesized_expression "(bVar8 == 0x5d)" ( (binary_expression "bVar8 == 0x5d" identifier == number_literal) )) (compound_statement "{\n    return -3;\n  }" { (return_statement "return -3;" return number_literal ;) })) (labeled_statement "LAB_0006c7db:\n  return -(uint)(bVar8 != 0);" statement_identifier : (return_statement "return -(uint)(bVar8 != 0);" return (unary_expression "-(uint)(bVar8 != 0)" - (call_expression "(uint)(bVar8 != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(bVar8 != 0)" ( (binary_expression "bVar8 != 0" identifier != number_literal) )))) ;)) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier short) IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) ;) }) while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) != (char_literal ' escape_sequence ')) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) )))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (binary_expression IDENT + LIT)) )) (compound_statement { (return_statement return LIT ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) + (binary_expression (pointer_expression * IDENT) * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) | LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT * LIT) + (subscript_expression IDENT [ LIT ])) + LIT) )))) = (binary_expression (unary_expression ~ IDENT) + (pointer_expression * IDENT))) ;) (return_statement return (binary_expression IDENT + LIT) ;) })) })) (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (while_statement while (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) )))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( IDENT ))) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) - LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (break_statement break ;)) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) != (char_literal ' escape_sequence '))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT * LIT) + (subscript_expression IDENT [ LIT ])) + LIT) )))) = (binary_expression (unary_expression ~ IDENT) + (pointer_expression * IDENT))) ;) (return_statement return (binary_expression IDENT + LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (binary_expression IDENT + LIT)) )) (compound_statement { (return_statement return LIT ;) })) (labeled_statement statement_identifier : (return_statement return (binary_expression IDENT + LIT) ;)) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression (pointer_expression * IDENT) * LIT)) + LIT) )))) = IDENT) ;) (return_statement return IDENT ;) })) (return_statement return IDENT ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (return_statement return LIT ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression LIT >> (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) ))) & LIT) )) == LIT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + IDENT) + LIT) + IDENT) )))) + IDENT) ]) & LIT) )) == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (goto_statement goto statement_identifier ;) })))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (return_statement return LIT ;) })) }) while (parenthesized_expression ( BOOL )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (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 (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) + IDENT) ]) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (return_statement return (binary_expression IDENT + LIT) ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = BOOL) ;)) (expression_statement (assignment_expression IDENT = BOOL) ;) (do_statement do (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) ))))) ;) }) while (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (return_statement return LIT ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (char_literal ' character ')) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) )))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) }))) (expression_statement (assignment_expression IDENT = BOOL) ;) }) while (parenthesized_expression ( BOOL )) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT < LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (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 (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) + IDENT) ]) & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (return_statement return (binary_expression IDENT + LIT) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT < LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (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 (parenthesized_expression ( (binary_expression (unary_expression ! IDENT) && (unary_expression ! IDENT)) )) == IDENT) )) && (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) + IDENT) ]) & LIT) )) == LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) (return_statement return (binary_expression IDENT + LIT) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT - LIT) ))) < LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' character ')) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) ))) + IDENT)) , (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) == (char_literal ' character ')) && (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + IDENT) )))) - LIT) ))) < LIT) )))) )) ))) )) (compound_statement { (return_statement return LIT ;) })) (goto_statement goto statement_identifier ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (labeled_statement statement_identifier : (return_statement return (unary_expression - (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT != LIT) )))) ;)) })))
(function_definition "int __regparm3 FUN_0006c720(undefined4 param_1,int param_2)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  uint uVar5;\n  short sVar6;\n  int iVar7;\n  byte bVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  undefined1 uVar11;\n  int unaff_EDI;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  int *piVar17;\n  int *piVar18;\n  \n  bVar15 = 0;\n  uVar16 = FUN_0001af1a();\n  piVar17 = (int *)uVar16;\n  iVar2 = piVar17[3];\n  pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20));\n  bVar8 = *pbVar9;\n  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }\n  if (bVar8 == 0x7b) {\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }\n  if (bVar8 == 0x5b) {\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }\n  if (bVar8 == 0x22) {\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }\n  bVar13 = bVar8 < 0x6e;\n  bVar14 = bVar8 == 0x6e;\n  if (bVar14) {\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }\n  if (bVar8 == 0x7d) {\n    return -2;\n  }\n  if (bVar8 == 0x5d) {\n    return -3;\n  }\nLAB_0006c7db:\n  return -(uint)(bVar8 != 0);\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0006c720(undefined4 param_1,int param_2)" (identifier "FUN_0006c720") (parameter_list "(undefined4 param_1,int param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  uint uVar5;\n  short sVar6;\n  int iVar7;\n  byte bVar8;\n  byte *pbVar9;\n  byte *pbVar10;\n  undefined1 uVar11;\n  int unaff_EDI;\n  byte *pbVar12;\n  bool bVar13;\n  bool bVar14;\n  byte bVar15;\n  undefined8 uVar16;\n  int *piVar17;\n  int *piVar18;\n  \n  bVar15 = 0;\n  uVar16 = FUN_0001af1a();\n  piVar17 = (int *)uVar16;\n  iVar2 = piVar17[3];\n  pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20));\n  bVar8 = *pbVar9;\n  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }\n  if (bVar8 == 0x7b) {\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }\n  if (bVar8 == 0x5b) {\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }\n  if (bVar8 == 0x22) {\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }\n  bVar13 = bVar8 < 0x6e;\n  bVar14 = bVar8 == 0x6e;\n  if (bVar14) {\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }\n  if (bVar8 == 0x7d) {\n    return -2;\n  }\n  if (bVar8 == 0x5d) {\n    return -3;\n  }\nLAB_0006c7db:\n  return -(uint)(bVar8 != 0);\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (declaration "short sVar6;" (sized_type_specifier "short" (short "short")) (identifier "sVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "byte bVar8;" (type_identifier "byte") (identifier "bVar8") (; ";")) (declaration "byte *pbVar9;" (type_identifier "byte") (pointer_declarator "*pbVar9" (* "*") (identifier "pbVar9")) (; ";")) (declaration "byte *pbVar10;" (type_identifier "byte") (pointer_declarator "*pbVar10" (* "*") (identifier "pbVar10")) (; ";")) (declaration "undefined1 uVar11;" (type_identifier "undefined1") (identifier "uVar11") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (declaration "byte *pbVar12;" (type_identifier "byte") (pointer_declarator "*pbVar12" (* "*") (identifier "pbVar12")) (; ";")) (declaration "bool bVar13;" (primitive_type "bool") (identifier "bVar13") (; ";")) (declaration "bool bVar14;" (primitive_type "bool") (identifier "bVar14") (; ";")) (declaration "byte bVar15;" (type_identifier "byte") (identifier "bVar15") (; ";")) (declaration "undefined8 uVar16;" (type_identifier "undefined8") (identifier "uVar16") (; ";")) (declaration "int *piVar17;" (primitive_type "int") (pointer_declarator "*piVar17" (* "*") (identifier "piVar17")) (; ";")) (declaration "int *piVar18;" (primitive_type "int") (pointer_declarator "*piVar18" (* "*") (identifier "piVar18")) (; ";")) (expression_statement "bVar15 = 0;" (assignment_expression "bVar15 = 0" (identifier "bVar15") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar16 = FUN_0001af1a();" (assignment_expression "uVar16 = FUN_0001af1a()" (identifier "uVar16") (= "=") (call_expression "FUN_0001af1a()" (identifier "FUN_0001af1a") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "piVar17 = (int *)uVar16;" (assignment_expression "piVar17 = (int *)uVar16" (identifier "piVar17") (= "=") (cast_expression "(int *)uVar16" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "uVar16"))) (; ";")) (expression_statement "iVar2 = piVar17[3];" (assignment_expression "iVar2 = piVar17[3]" (identifier "iVar2") (= "=") (subscript_expression "piVar17[3]" (identifier "piVar17") ([ "[") (number_literal "3") (] "]"))) (; ";")) (expression_statement "pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20));" (assignment_expression "pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20))" (identifier "pbVar9") (= "=") (cast_expression "(byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + (int)((ulonglong)uVar16 >> 0x20))" (( "(") (binary_expression "iVar2 + (int)((ulonglong)uVar16 >> 0x20)" (identifier "iVar2") (+ "+") (cast_expression "(int)((ulonglong)uVar16 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar16 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar16 >> 0x20" (cast_expression "(ulonglong)uVar16" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar16")) (>> ">>") (number_literal "0x20")) () ")")))) () ")")))) (; ";")) (expression_statement "bVar8 = *pbVar9;" (assignment_expression "bVar8 = *pbVar9" (identifier "bVar8") (= "=") (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9"))) (; ";")) (if_statement "if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }" (if "if") (parenthesized_expression "(*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')" (( "(") (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" (* "*") (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)bVar8)" (( "(") (binary_expression "unaff_EDI + 0x944d7 + (uint)bVar8" (binary_expression "unaff_EDI + 0x944d7" (identifier "unaff_EDI") (+ "+") (number_literal "0x944d7")) (+ "+") (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8"))) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');\n  }" ({ "{") (do_statement "do {\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');" (do "do") (compound_statement "{\n      param_2 = param_2 + 1;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      pbVar9 = (byte *)(iVar2 + param_2);\n    }" ({ "{") (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" (identifier "bVar8") (= "=") (pointer_expression "*(byte *)(iVar2 + param_2)" (* "*") (cast_expression "(byte *)(iVar2 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + param_2)" (( "(") (binary_expression "iVar2 + param_2" (identifier "iVar2") (+ "+") (identifier "param_2")) () ")"))))) (; ";")) (expression_statement "pbVar9 = (byte *)(iVar2 + param_2);" (assignment_expression "pbVar9 = (byte *)(iVar2 + param_2)" (identifier "pbVar9") (= "=") (cast_expression "(byte *)(iVar2 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + param_2)" (( "(") (binary_expression "iVar2 + param_2" (identifier "iVar2") (+ "+") (identifier "param_2")) () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')" (( "(") (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" (* "*") (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)bVar8)" (( "(") (binary_expression "unaff_EDI + 0x944d7 + (uint)bVar8" (binary_expression "unaff_EDI + 0x944d7" (identifier "unaff_EDI") (+ "+") (number_literal "0x944d7")) (+ "+") (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8"))) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (; ";")) (} "}"))) (if_statement "if (bVar8 == 0x7b) {\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }" (if "if") (parenthesized_expression "(bVar8 == 0x7b)" (( "(") (binary_expression "bVar8 == 0x7b" (identifier "bVar8") (== "==") (number_literal "0x7b")) () ")")) (compound_statement "{\n    uVar5 = FUN_0006c6e0(0);\n    if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }\n    return -1;\n  }" ({ "{") (expression_statement "uVar5 = FUN_0006c6e0(0);" (assignment_expression "uVar5 = FUN_0006c6e0(0)" (identifier "uVar5") (= "=") (call_expression "FUN_0006c6e0(0)" (identifier "FUN_0006c6e0") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (if_statement "if (-1 < (int)uVar5) {\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }" (if "if") (parenthesized_expression "(-1 < (int)uVar5)" (( "(") (binary_expression "-1 < (int)uVar5" (number_literal "-1") (< "<") (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5"))) () ")")) (compound_statement "{\n      param_2 = param_2 + 1;\n      sVar6 = *(short *)((int)piVar17 + 0x16);\n      iVar7 = unaff_EDI + 0x944d7;\n      piVar18 = piVar17;\n      while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }\n      if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }\n    }" ({ "{") (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "sVar6 = *(short *)((int)piVar17 + 0x16);" (assignment_expression "sVar6 = *(short *)((int)piVar17 + 0x16)" (identifier "sVar6") (= "=") (pointer_expression "*(short *)((int)piVar17 + 0x16)" (* "*") (cast_expression "(short *)((int)piVar17 + 0x16)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar17 + 0x16)" (( "(") (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar17")) (+ "+") (number_literal "0x16")) () ")"))))) (; ";")) (expression_statement "iVar7 = unaff_EDI + 0x944d7;" (assignment_expression "iVar7 = unaff_EDI + 0x944d7" (identifier "iVar7") (= "=") (binary_expression "unaff_EDI + 0x944d7" (identifier "unaff_EDI") (+ "+") (number_literal "0x944d7"))) (; ";")) (expression_statement "piVar18 = piVar17;" (assignment_expression "piVar18 = piVar17" (identifier "piVar18") (= "=") (identifier "piVar17")) (; ";")) (while_statement "while( true ) {\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }\n        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;\n        if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }\n        iVar4 = FUN_0006c720();\n        if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }\n        if ((char)piVar17[5] != '\0') {\n          return -1;\n        }\n        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);\n        if (*pcVar1 != '\x05') {\n          return -1;\n        }\n        pbVar9 = (byte *)(pcVar1 + 1);\n        *pbVar9 = *pbVar9 | 0x40;\n        bVar8 = *(byte *)(iVar2 + iVar4);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x3a) {\n          return -1;\n        }\n        param_2 = FUN_0006c720();\n        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;\n        *(short *)((int)piVar17 + 0x16) = sVar6;\n        if (param_2 < 0) {\n          return -1;\n        }\n        bVar8 = *(byte *)(iVar2 + param_2);\n        cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }\n        if (bVar8 != 0x2c) break;\n        param_2 = param_2 + 1;\n      }" ({ "{") (while_statement "while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n          param_2 = param_2 + 1;\n        }" (while "while") (parenthesized_expression "(*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0')" (( "(") (binary_expression "*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0'" (pointer_expression "*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2))" (* "*") (cast_expression "(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2))" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + (uint)*(byte *)(iVar2 + param_2))" (( "(") (binary_expression "iVar7 + (uint)*(byte *)(iVar2 + param_2)" (identifier "iVar7") (+ "+") (binary_expression "(uint)*(byte *)(iVar2 + param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar2 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + param_2)" (( "(") (binary_expression "iVar2 + param_2" (identifier "iVar2") (+ "+") (identifier "param_2")) () ")"))))) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          param_2 = param_2 + 1;\n        }" ({ "{") (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;" (assignment_expression "*(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U" (pointer_expression "*(ushort *)((int)piVar17 + 0x16)" (* "*") (cast_expression "(ushort *)((int)piVar17 + 0x16)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar17 + 0x16)" (( "(") (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar17")) (+ "+") (number_literal "0x16")) () ")")))) (= "=") (binary_expression "sVar6 + 1U" (identifier "sVar6") (+ "+") (number_literal "1U"))) (; ";")) (if_statement "if (2000 < (ushort)(sVar6 + 1U)) {\n          return -1;\n        }" (if "if") (parenthesized_expression "(2000 < (ushort)(sVar6 + 1U))" (( "(") (binary_expression "2000 < (ushort)(sVar6 + 1U)" (number_literal "2000") (< "<") (call_expression "(ushort)(sVar6 + 1U)" (parenthesized_expression "(ushort)" (( "(") (identifier "ushort") () ")")) (argument_list "(sVar6 + 1U)" (( "(") (binary_expression "sVar6 + 1U" (identifier "sVar6") (+ "+") (number_literal "1U")) () ")")))) () ")")) (compound_statement "{\n          return -1;\n        }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "iVar4 = FUN_0006c720();" (assignment_expression "iVar4 = FUN_0006c720()" (identifier "iVar4") (= "=") (call_expression "FUN_0006c720()" (identifier "FUN_0006c720") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar4 < 0) {\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }" (if "if") (parenthesized_expression "(iVar4 < 0)" (( "(") (binary_expression "iVar4 < 0" (identifier "iVar4") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;\n          if (iVar4 != -2) {\n            return -1;\n          }\n          if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }\n          goto LAB_0006cd22;\n        }" ({ "{") (expression_statement "*(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;" (assignment_expression "*(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1" (pointer_expression "*(short *)((int)piVar18 + 0x16)" (* "*") (cast_expression "(short *)((int)piVar18 + 0x16)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar18 + 0x16)" (( "(") (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar18")) (+ "+") (number_literal "0x16")) () ")")))) (= "=") (binary_expression "*(short *)((int)piVar18 + 0x16) + -1" (pointer_expression "*(short *)((int)piVar18 + 0x16)" (* "*") (cast_expression "(short *)((int)piVar18 + 0x16)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar18 + 0x16)" (( "(") (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar18")) (+ "+") (number_literal "0x16")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (iVar4 != -2) {\n            return -1;\n          }" (if "if") (parenthesized_expression "(iVar4 != -2)" (( "(") (binary_expression "iVar4 != -2" (identifier "iVar4") (!= "!=") (number_literal "-2")) () ")")) (compound_statement "{\n            return -1;\n          }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (if_statement "if (*piVar18 != uVar5 + 1) {\n            return -1;\n          }" (if "if") (parenthesized_expression "(*piVar18 != uVar5 + 1)" (( "(") (binary_expression "*piVar18 != uVar5 + 1" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (!= "!=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) () ")")) (compound_statement "{\n            return -1;\n          }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (goto_statement "goto LAB_0006cd22;" (goto "goto") (statement_identifier "LAB_0006cd22") (; ";")) (} "}"))) (if_statement "if ((char)piVar17[5] != '\0') {\n          return -1;\n        }" (if "if") (parenthesized_expression "((char)piVar17[5] != '\0')" (( "(") (binary_expression "(char)piVar17[5] != '\0'" (cast_expression "(char)piVar17[5]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "piVar17[5]" (identifier "piVar17") ([ "[") (number_literal "5") (] "]"))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          return -1;\n        }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);" (assignment_expression "pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc)" (identifier "pcVar1") (= "=") (cast_expression "(char *)(piVar17[2] + -0xc + *piVar17 * 0xc)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar17[2] + -0xc + *piVar17 * 0xc)" (( "(") (binary_expression "piVar17[2] + -0xc + *piVar17 * 0xc" (binary_expression "piVar17[2] + -0xc" (subscript_expression "piVar17[2]" (identifier "piVar17") ([ "[") (number_literal "2") (] "]")) (+ "+") (number_literal "-0xc")) (+ "+") (binary_expression "*piVar17 * 0xc" (pointer_expression "*piVar17" (* "*") (identifier "piVar17")) (* "*") (number_literal "0xc"))) () ")")))) (; ";")) (if_statement "if (*pcVar1 != '\x05') {\n          return -1;\n        }" (if "if") (parenthesized_expression "(*pcVar1 != '\x05')" (( "(") (binary_expression "*pcVar1 != '\x05'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (!= "!=") (char_literal "'\x05'" (' "'") (escape_sequence "\x05") (' "'"))) () ")")) (compound_statement "{\n          return -1;\n        }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "pbVar9 = (byte *)(pcVar1 + 1);" (assignment_expression "pbVar9 = (byte *)(pcVar1 + 1)" (identifier "pbVar9") (= "=") (cast_expression "(byte *)(pcVar1 + 1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar1 + 1)" (( "(") (binary_expression "pcVar1 + 1" (identifier "pcVar1") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "*pbVar9 = *pbVar9 | 0x40;" (assignment_expression "*pbVar9 = *pbVar9 | 0x40" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (= "=") (binary_expression "*pbVar9 | 0x40" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (| "|") (number_literal "0x40"))) (; ";")) (expression_statement "bVar8 = *(byte *)(iVar2 + iVar4);" (assignment_expression "bVar8 = *(byte *)(iVar2 + iVar4)" (identifier "bVar8") (= "=") (pointer_expression "*(byte *)(iVar2 + iVar4)" (* "*") (cast_expression "(byte *)(iVar2 + iVar4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar4)" (( "(") (binary_expression "iVar2 + iVar4" (identifier "iVar2") (+ "+") (identifier "iVar4")) () ")"))))) (; ";")) (expression_statement "cVar3 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar3 = *(char *)(iVar7 + (uint)bVar8)" (identifier "cVar3") (= "=") (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" (* "*") (cast_expression "(char *)(iVar7 + (uint)bVar8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + (uint)bVar8)" (( "(") (binary_expression "iVar7 + (uint)bVar8" (identifier "iVar7") (+ "+") (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8"))) () ")"))))) (; ";")) (while_statement "while (cVar3 != '\0') {\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }" (while "while") (parenthesized_expression "(cVar3 != '\0')" (( "(") (binary_expression "cVar3 != '\0'" (identifier "cVar3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar4 = iVar4 + 1;\n          bVar8 = *(byte *)(iVar2 + iVar4);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }" ({ "{") (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar8 = *(byte *)(iVar2 + iVar4);" (assignment_expression "bVar8 = *(byte *)(iVar2 + iVar4)" (identifier "bVar8") (= "=") (pointer_expression "*(byte *)(iVar2 + iVar4)" (* "*") (cast_expression "(byte *)(iVar2 + iVar4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar4)" (( "(") (binary_expression "iVar2 + iVar4" (identifier "iVar2") (+ "+") (identifier "iVar4")) () ")"))))) (; ";")) (expression_statement "cVar3 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar3 = *(char *)(iVar7 + (uint)bVar8)" (identifier "cVar3") (= "=") (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" (* "*") (cast_expression "(char *)(iVar7 + (uint)bVar8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + (uint)bVar8)" (( "(") (binary_expression "iVar7 + (uint)bVar8" (identifier "iVar7") (+ "+") (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8"))) () ")"))))) (; ";")) (} "}"))) (if_statement "if (bVar8 != 0x3a) {\n          return -1;\n        }" (if "if") (parenthesized_expression "(bVar8 != 0x3a)" (( "(") (binary_expression "bVar8 != 0x3a" (identifier "bVar8") (!= "!=") (number_literal "0x3a")) () ")")) (compound_statement "{\n          return -1;\n        }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "param_2 = FUN_0006c720();" (assignment_expression "param_2 = FUN_0006c720()" (identifier "param_2") (= "=") (call_expression "FUN_0006c720()" (identifier "FUN_0006c720") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "sVar6 = *(short *)((int)piVar17 + 0x16) + -1;" (assignment_expression "sVar6 = *(short *)((int)piVar17 + 0x16) + -1" (identifier "sVar6") (= "=") (binary_expression "*(short *)((int)piVar17 + 0x16) + -1" (pointer_expression "*(short *)((int)piVar17 + 0x16)" (* "*") (cast_expression "(short *)((int)piVar17 + 0x16)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar17 + 0x16)" (( "(") (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar17")) (+ "+") (number_literal "0x16")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "*(short *)((int)piVar17 + 0x16) = sVar6;" (assignment_expression "*(short *)((int)piVar17 + 0x16) = sVar6" (pointer_expression "*(short *)((int)piVar17 + 0x16)" (* "*") (cast_expression "(short *)((int)piVar17 + 0x16)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar17 + 0x16)" (( "(") (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar17")) (+ "+") (number_literal "0x16")) () ")")))) (= "=") (identifier "sVar6")) (; ";")) (if_statement "if (param_2 < 0) {\n          return -1;\n        }" (if "if") (parenthesized_expression "(param_2 < 0)" (( "(") (binary_expression "param_2 < 0" (identifier "param_2") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n          return -1;\n        }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" (identifier "bVar8") (= "=") (pointer_expression "*(byte *)(iVar2 + param_2)" (* "*") (cast_expression "(byte *)(iVar2 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + param_2)" (( "(") (binary_expression "iVar2 + param_2" (identifier "iVar2") (+ "+") (identifier "param_2")) () ")"))))) (; ";")) (expression_statement "cVar3 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar3 = *(char *)(iVar7 + (uint)bVar8)" (identifier "cVar3") (= "=") (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" (* "*") (cast_expression "(char *)(iVar7 + (uint)bVar8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + (uint)bVar8)" (( "(") (binary_expression "iVar7 + (uint)bVar8" (identifier "iVar7") (+ "+") (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8"))) () ")"))))) (; ";")) (while_statement "while (cVar3 != '\0') {\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }" (while "while") (parenthesized_expression "(cVar3 != '\0')" (( "(") (binary_expression "cVar3 != '\0'" (identifier "cVar3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          param_2 = param_2 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n          cVar3 = *(char *)(iVar7 + (uint)bVar8);\n        }" ({ "{") (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" (identifier "bVar8") (= "=") (pointer_expression "*(byte *)(iVar2 + param_2)" (* "*") (cast_expression "(byte *)(iVar2 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + param_2)" (( "(") (binary_expression "iVar2 + param_2" (identifier "iVar2") (+ "+") (identifier "param_2")) () ")"))))) (; ";")) (expression_statement "cVar3 = *(char *)(iVar7 + (uint)bVar8);" (assignment_expression "cVar3 = *(char *)(iVar7 + (uint)bVar8)" (identifier "cVar3") (= "=") (pointer_expression "*(char *)(iVar7 + (uint)bVar8)" (* "*") (cast_expression "(char *)(iVar7 + (uint)bVar8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + (uint)bVar8)" (( "(") (binary_expression "iVar7 + (uint)bVar8" (identifier "iVar7") (+ "+") (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8"))) () ")"))))) (; ";")) (} "}"))) (if_statement "if (bVar8 != 0x2c) break;" (if "if") (parenthesized_expression "(bVar8 != 0x2c)" (( "(") (binary_expression "bVar8 != 0x2c" (identifier "bVar8") (!= "!=") (number_literal "0x2c")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (bVar8 == 0x7d) {\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }" (if "if") (parenthesized_expression "(bVar8 == 0x7d)" (( "(") (binary_expression "bVar8 == 0x7d" (identifier "bVar8") (== "==") (number_literal "0x7d")) () ")")) (compound_statement "{\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return param_2 + 1;\n      }" ({ "{") (expression_statement "*(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;" (assignment_expression "*(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18" (pointer_expression "*(uint *)(uVar5 * 0xc + piVar18[2] + 4)" (* "*") (cast_expression "(uint *)(uVar5 * 0xc + piVar18[2] + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar5 * 0xc + piVar18[2] + 4)" (( "(") (binary_expression "uVar5 * 0xc + piVar18[2] + 4" (binary_expression "uVar5 * 0xc + piVar18[2]" (binary_expression "uVar5 * 0xc" (identifier "uVar5") (* "*") (number_literal "0xc")) (+ "+") (subscript_expression "piVar18[2]" (identifier "piVar18") ([ "[") (number_literal "2") (] "]"))) (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "~uVar5 + *piVar18" (unary_expression "~uVar5" (~ "~") (identifier "uVar5")) (+ "+") (pointer_expression "*piVar18" (* "*") (identifier "piVar18")))) (; ";")) (return_statement "return param_2 + 1;" (return "return") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) (; ";")) (} "}"))) (} "}"))) (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (if_statement "if (bVar8 == 0x5b) {\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }" (if "if") (parenthesized_expression "(bVar8 == 0x5b)" (( "(") (binary_expression "bVar8 == 0x5b" (identifier "bVar8") (== "==") (number_literal "0x5b")) () ")")) (compound_statement "{\n    piVar18 = piVar17;\n    uVar5 = FUN_0006c6e0(0);\n    if ((int)uVar5 < 0) {\n      return -1;\n    }\n    sVar6 = *(short *)((int)piVar17 + 0x16);\n    param_2 = param_2 + 1;\n    while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }\n    if (iVar7 != -3) {\n      return -1;\n    }\n    if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }\nLAB_0006cd22:\n    return param_2 + 1;\n  }" ({ "{") (expression_statement "piVar18 = piVar17;" (assignment_expression "piVar18 = piVar17" (identifier "piVar18") (= "=") (identifier "piVar17")) (; ";")) (expression_statement "uVar5 = FUN_0006c6e0(0);" (assignment_expression "uVar5 = FUN_0006c6e0(0)" (identifier "uVar5") (= "=") (call_expression "FUN_0006c6e0(0)" (identifier "FUN_0006c6e0") (argument_list "(0)" (( "(") (number_literal "0") () ")")))) (; ";")) (if_statement "if ((int)uVar5 < 0) {\n      return -1;\n    }" (if "if") (parenthesized_expression "((int)uVar5 < 0)" (( "(") (binary_expression "(int)uVar5 < 0" (cast_expression "(int)uVar5" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar5")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n      return -1;\n    }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "sVar6 = *(short *)((int)piVar17 + 0x16);" (assignment_expression "sVar6 = *(short *)((int)piVar17 + 0x16)" (identifier "sVar6") (= "=") (pointer_expression "*(short *)((int)piVar17 + 0x16)" (* "*") (cast_expression "(short *)((int)piVar17 + 0x16)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar17 + 0x16)" (( "(") (binary_expression "(int)piVar17 + 0x16" (cast_expression "(int)piVar17" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar17")) (+ "+") (number_literal "0x16")) () ")"))))) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (while_statement "while( true ) {\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }\n      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;\n      if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }\n      iVar7 = FUN_0006c720(piVar18,pbVar9);\n      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);\n      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;\n      *(short *)((int)piVar18 + 0x16) = sVar6;\n      if (iVar7 < 0) break;\n      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }\n      if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }\n      param_2 = iVar7 + 1;\n    }" ({ "{") (while_statement "while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {\n        param_2 = param_2 + 1;\n      }" (while "while") (parenthesized_expression "(*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0')" (( "(") (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2))" (* "*") (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2))" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2))" (( "(") (binary_expression "unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)" (binary_expression "unaff_EDI + 0x944d7" (identifier "unaff_EDI") (+ "+") (number_literal "0x944d7")) (+ "+") (binary_expression "(uint)*(byte *)(iVar2 + param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar2 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + param_2)" (( "(") (binary_expression "iVar2 + param_2" (identifier "iVar2") (+ "+") (identifier "param_2")) () ")"))))) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n        param_2 = param_2 + 1;\n      }" ({ "{") (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;" (assignment_expression "*(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U" (pointer_expression "*(ushort *)((int)piVar18 + 0x16)" (* "*") (cast_expression "(ushort *)((int)piVar18 + 0x16)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar18 + 0x16)" (( "(") (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar18")) (+ "+") (number_literal "0x16")) () ")")))) (= "=") (binary_expression "sVar6 + 1U" (identifier "sVar6") (+ "+") (number_literal "1U"))) (; ";")) (if_statement "if (2000 < (ushort)(sVar6 + 1U)) {\n        return -1;\n      }" (if "if") (parenthesized_expression "(2000 < (ushort)(sVar6 + 1U))" (( "(") (binary_expression "2000 < (ushort)(sVar6 + 1U)" (number_literal "2000") (< "<") (call_expression "(ushort)(sVar6 + 1U)" (parenthesized_expression "(ushort)" (( "(") (identifier "ushort") () ")")) (argument_list "(sVar6 + 1U)" (( "(") (binary_expression "sVar6 + 1U" (identifier "sVar6") (+ "+") (number_literal "1U")) () ")")))) () ")")) (compound_statement "{\n        return -1;\n      }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "iVar7 = FUN_0006c720(piVar18,pbVar9);" (assignment_expression "iVar7 = FUN_0006c720(piVar18,pbVar9)" (identifier "iVar7") (= "=") (call_expression "FUN_0006c720(piVar18,pbVar9)" (identifier "FUN_0006c720") (argument_list "(piVar18,pbVar9)" (( "(") (identifier "piVar18") (, ",") (identifier "pbVar9") () ")")))) (; ";")) (expression_statement "pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);" (assignment_expression "pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16)" (identifier "pbVar9") (= "=") (binary_expression "(byte *)(uint)*(ushort *)((int)piVar18 + 0x16)" (cast_expression "(byte *)(uint)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (cast_expression "(ushort *)((int)piVar18 + 0x16)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar18 + 0x16)" (( "(") (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar18")) (+ "+") (number_literal "0x16")) () ")"))))) (; ";")) (expression_statement "sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;" (assignment_expression "sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1" (identifier "sVar6") (= "=") (binary_expression "*(ushort *)((int)piVar18 + 0x16) - 1" (pointer_expression "*(ushort *)((int)piVar18 + 0x16)" (* "*") (cast_expression "(ushort *)((int)piVar18 + 0x16)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar18 + 0x16)" (( "(") (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar18")) (+ "+") (number_literal "0x16")) () ")")))) (- "-") (number_literal "1"))) (; ";")) (expression_statement "*(short *)((int)piVar18 + 0x16) = sVar6;" (assignment_expression "*(short *)((int)piVar18 + 0x16) = sVar6" (pointer_expression "*(short *)((int)piVar18 + 0x16)" (* "*") (cast_expression "(short *)((int)piVar18 + 0x16)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)piVar18 + 0x16)" (( "(") (binary_expression "(int)piVar18 + 0x16" (cast_expression "(int)piVar18" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar18")) (+ "+") (number_literal "0x16")) () ")")))) (= "=") (identifier "sVar6")) (; ";")) (if_statement "if (iVar7 < 0) break;" (if "if") (parenthesized_expression "(iVar7 < 0)" (( "(") (binary_expression "iVar7 < 0" (identifier "iVar7") (< "<") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (while_statement "while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')\n      {\n        iVar7 = iVar7 + 1;\n      }" (while "while") (parenthesized_expression "(bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')" (( "(") (comma_expression "bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (assignment_expression "bVar8 = *(byte *)(iVar2 + iVar7)" (identifier "bVar8") (= "=") (pointer_expression "*(byte *)(iVar2 + iVar7)" (* "*") (cast_expression "(byte *)(iVar2 + iVar7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar7)" (( "(") (binary_expression "iVar2 + iVar7" (identifier "iVar2") (+ "+") (identifier "iVar7")) () ")"))))) (, ",") (binary_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0'" (pointer_expression "*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" (* "*") (cast_expression "(char *)(unaff_EDI + 0x944d7 + (uint)bVar8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x944d7 + (uint)bVar8)" (( "(") (binary_expression "unaff_EDI + 0x944d7 + (uint)bVar8" (binary_expression "unaff_EDI + 0x944d7" (identifier "unaff_EDI") (+ "+") (number_literal "0x944d7")) (+ "+") (cast_expression "(uint)bVar8" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar8"))) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")")) (compound_statement "{\n        iVar7 = iVar7 + 1;\n      }" ({ "{") (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (bVar8 != 0x2c) {\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }" (if "if") (parenthesized_expression "(bVar8 != 0x2c)" (( "(") (binary_expression "bVar8 != 0x2c" (identifier "bVar8") (!= "!=") (number_literal "0x2c")) () ")")) (compound_statement "{\n        if (bVar8 != 0x5d) {\n          return -1;\n        }\n        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;\n        return iVar7 + 1;\n      }" ({ "{") (if_statement "if (bVar8 != 0x5d) {\n          return -1;\n        }" (if "if") (parenthesized_expression "(bVar8 != 0x5d)" (( "(") (binary_expression "bVar8 != 0x5d" (identifier "bVar8") (!= "!=") (number_literal "0x5d")) () ")")) (compound_statement "{\n          return -1;\n        }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "*(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;" (assignment_expression "*(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18" (pointer_expression "*(uint *)(uVar5 * 0xc + piVar18[2] + 4)" (* "*") (cast_expression "(uint *)(uVar5 * 0xc + piVar18[2] + 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(uVar5 * 0xc + piVar18[2] + 4)" (( "(") (binary_expression "uVar5 * 0xc + piVar18[2] + 4" (binary_expression "uVar5 * 0xc + piVar18[2]" (binary_expression "uVar5 * 0xc" (identifier "uVar5") (* "*") (number_literal "0xc")) (+ "+") (subscript_expression "piVar18[2]" (identifier "piVar18") ([ "[") (number_literal "2") (] "]"))) (+ "+") (number_literal "4")) () ")")))) (= "=") (binary_expression "~uVar5 + *piVar18" (unary_expression "~uVar5" (~ "~") (identifier "uVar5")) (+ "+") (pointer_expression "*piVar18" (* "*") (identifier "piVar18")))) (; ";")) (return_statement "return iVar7 + 1;" (return "return") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "param_2 = iVar7 + 1;" (assignment_expression "param_2 = iVar7 + 1" (identifier "param_2") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (if_statement "if (iVar7 != -3) {\n      return -1;\n    }" (if "if") (parenthesized_expression "(iVar7 != -3)" (( "(") (binary_expression "iVar7 != -3" (identifier "iVar7") (!= "!=") (number_literal "-3")) () ")")) (compound_statement "{\n      return -1;\n    }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (if_statement "if (*piVar18 != uVar5 + 1) {\n      return -1;\n    }" (if "if") (parenthesized_expression "(*piVar18 != uVar5 + 1)" (( "(") (binary_expression "*piVar18 != uVar5 + 1" (pointer_expression "*piVar18" (* "*") (identifier "piVar18")) (!= "!=") (binary_expression "uVar5 + 1" (identifier "uVar5") (+ "+") (number_literal "1"))) () ")")) (compound_statement "{\n      return -1;\n    }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (labeled_statement "LAB_0006cd22:\n    return param_2 + 1;" (statement_identifier "LAB_0006cd22") (: ":") (return_statement "return param_2 + 1;" (return "return") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) (; ";"))) (} "}"))) (if_statement "if (bVar8 == 0x22) {\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }" (if "if") (parenthesized_expression "(bVar8 == 0x22)" (( "(") (binary_expression "bVar8 == 0x22" (identifier "bVar8") (== "==") (number_literal "0x22")) () ")")) (compound_statement "{\n    bVar8 = *(byte *)(iVar2 + 1 + param_2);\n    param_2 = param_2 + 1;\n    if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }\n    uVar11 = 0;\n    do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );\n  }" ({ "{") (expression_statement "bVar8 = *(byte *)(iVar2 + 1 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + 1 + param_2)" (identifier "bVar8") (= "=") (pointer_expression "*(byte *)(iVar2 + 1 + param_2)" (* "*") (cast_expression "(byte *)(iVar2 + 1 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 1 + param_2)" (( "(") (binary_expression "iVar2 + 1 + param_2" (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) (+ "+") (identifier "param_2")) () ")"))))) (; ";")) (expression_statement "param_2 = param_2 + 1;" (assignment_expression "param_2 = param_2 + 1" (identifier "param_2") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((bVar8 & 0xe0) == 0) {\n      return -1;\n    }" (if "if") (parenthesized_expression "((bVar8 & 0xe0) == 0)" (( "(") (binary_expression "(bVar8 & 0xe0) == 0" (parenthesized_expression "(bVar8 & 0xe0)" (( "(") (binary_expression "bVar8 & 0xe0" (identifier "bVar8") (& "&") (number_literal "0xe0")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return -1;\n    }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "uVar11 = 0;" (assignment_expression "uVar11 = 0" (identifier "uVar11") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    } while( true );" (do "do") (compound_statement "{\n      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }\n      bVar8 = *(byte *)(iVar2 + 1 + param_2);\n      if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }\n      param_2 = param_2 + 2;\n      uVar11 = 2;\n      bVar8 = *(byte *)(iVar2 + param_2);\n      if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }\n    }" ({ "{") (while_statement "while (iVar7 = param_2 + 1, bVar8 != 0x5c) {\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }" (while "while") (parenthesized_expression "(iVar7 = param_2 + 1, bVar8 != 0x5c)" (( "(") (comma_expression "iVar7 = param_2 + 1, bVar8 != 0x5c" (assignment_expression "iVar7 = param_2 + 1" (identifier "iVar7") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (, ",") (binary_expression "bVar8 != 0x5c" (identifier "bVar8") (!= "!=") (number_literal "0x5c"))) () ")")) (compound_statement "{\n        param_2 = iVar7;\n        if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }\nLAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);\n        if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }\n      }" ({ "{") (expression_statement "param_2 = iVar7;" (assignment_expression "param_2 = iVar7" (identifier "param_2") (= "=") (identifier "iVar7")) (; ";")) (if_statement "if (bVar8 == 0x22) {\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }" (if "if") (parenthesized_expression "(bVar8 == 0x22)" (( "(") (binary_expression "bVar8 == 0x22" (identifier "bVar8") (== "==") (number_literal "0x22")) () ")")) (compound_statement "{\n          FUN_0006c6e0(pbVar9);\n          if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }\n          return iVar7;\n        }" ({ "{") (expression_statement "FUN_0006c6e0(pbVar9);" (call_expression "FUN_0006c6e0(pbVar9)" (identifier "FUN_0006c6e0") (argument_list "(pbVar9)" (( "(") (identifier "pbVar9") () ")"))) (; ";")) (if_statement "if ((char)piVar17[5] == '\0') {\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }" (if "if") (parenthesized_expression "((char)piVar17[5] == '\0')" (( "(") (binary_expression "(char)piVar17[5] == '\0'" (cast_expression "(char)piVar17[5]" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (subscript_expression "piVar17[5]" (identifier "piVar17") ([ "[") (number_literal "5") (] "]"))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;\n            return iVar7;\n          }" ({ "{") (expression_statement "*(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;" (assignment_expression "*(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11" (pointer_expression "*(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb)" (* "*") (cast_expression "(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar17[2] + *piVar17 * 0xc + -0xb)" (( "(") (binary_expression "piVar17[2] + *piVar17 * 0xc + -0xb" (binary_expression "piVar17[2] + *piVar17 * 0xc" (subscript_expression "piVar17[2]" (identifier "piVar17") ([ "[") (number_literal "2") (] "]")) (+ "+") (binary_expression "*piVar17 * 0xc" (pointer_expression "*piVar17" (* "*") (identifier "piVar17")) (* "*") (number_literal "0xc"))) (+ "+") (number_literal "-0xb")) () ")")))) (= "=") (identifier "uVar11")) (; ";")) (return_statement "return iVar7;" (return "return") (identifier "iVar7") (; ";")) (} "}"))) (return_statement "return iVar7;" (return "return") (identifier "iVar7") (; ";")) (} "}"))) (labeled_statement "LAB_0006c811:\n        bVar8 = *(byte *)(iVar2 + param_2);" (statement_identifier "LAB_0006c811") (: ":") (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" (identifier "bVar8") (= "=") (pointer_expression "*(byte *)(iVar2 + param_2)" (* "*") (cast_expression "(byte *)(iVar2 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + param_2)" (( "(") (binary_expression "iVar2 + param_2" (identifier "iVar2") (+ "+") (identifier "param_2")) () ")"))))) (; ";"))) (if_statement "if ((bVar8 & 0xe0) == 0) {\n          return -1;\n        }" (if "if") (parenthesized_expression "((bVar8 & 0xe0) == 0)" (( "(") (binary_expression "(bVar8 & 0xe0) == 0" (parenthesized_expression "(bVar8 & 0xe0)" (( "(") (binary_expression "bVar8 & 0xe0" (identifier "bVar8") (& "&") (number_literal "0xe0")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          return -1;\n        }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (} "}"))) (expression_statement "bVar8 = *(byte *)(iVar2 + 1 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + 1 + param_2)" (identifier "bVar8") (= "=") (pointer_expression "*(byte *)(iVar2 + 1 + param_2)" (* "*") (cast_expression "(byte *)(iVar2 + 1 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 1 + param_2)" (( "(") (binary_expression "iVar2 + 1 + param_2" (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) (+ "+") (identifier "param_2")) () ")"))))) (; ";")) (if_statement "if ((byte)(bVar8 - 0x5c) < 0x19) {\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }\n      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }" (if "if") (parenthesized_expression "((byte)(bVar8 - 0x5c) < 0x19)" (( "(") (binary_expression "(byte)(bVar8 - 0x5c) < 0x19" (call_expression "(byte)(bVar8 - 0x5c)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar8 - 0x5c)" (( "(") (binary_expression "bVar8 - 0x5c" (identifier "bVar8") (- "-") (number_literal "0x5c")) () ")"))) (< "<") (number_literal "0x19")) () ")")) (compound_statement "{\n        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }\n      }" ({ "{") (if_statement "if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {\n          return -1;\n        }" (if "if") (parenthesized_expression "(((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22))" (( "(") (binary_expression "((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)" (parenthesized_expression "((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0)" (( "(") (binary_expression "(0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0" (parenthesized_expression "(0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1)" (( "(") (binary_expression "0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1" (binary_expression "0x1440401U >> (bVar8 - 0x5c & 0x1f)" (number_literal "0x1440401U") (>> ">>") (parenthesized_expression "(bVar8 - 0x5c & 0x1f)" (( "(") (binary_expression "bVar8 - 0x5c & 0x1f" (binary_expression "bVar8 - 0x5c" (identifier "bVar8") (- "-") (number_literal "0x5c")) (& "&") (number_literal "0x1f")) () ")"))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((bVar8 & 0xbf) != 0x22)" (( "(") (binary_expression "(bVar8 & 0xbf) != 0x22" (parenthesized_expression "(bVar8 & 0xbf)" (( "(") (binary_expression "bVar8 & 0xbf" (identifier "bVar8") (& "&") (number_literal "0xbf")) () ")")) (!= "!=") (number_literal "0x22")) () ")"))) () ")")) (compound_statement "{\n          return -1;\n        }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (} "}")) (else_clause "else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }" (else "else") (if_statement "if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }" (if "if") (parenthesized_expression "(((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f))" (( "(") (binary_expression "((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)" (parenthesized_expression "((bVar8 & 0xbf) != 0x22)" (( "(") (binary_expression "(bVar8 & 0xbf) != 0x22" (parenthesized_expression "(bVar8 & 0xbf)" (( "(") (binary_expression "bVar8 & 0xbf" (identifier "bVar8") (& "&") (number_literal "0xbf")) () ")")) (!= "!=") (number_literal "0x22")) () ")")) (&& "&&") (parenthesized_expression "(bVar8 != 0x2f)" (( "(") (binary_expression "bVar8 != 0x2f" (identifier "bVar8") (!= "!=") (number_literal "0x2f")) () ")"))) () ")")) (compound_statement "{\n        if (bVar8 != 0x75) {\n          return -1;\n        }\n        iVar7 = 0;\n        do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);\n        uVar11 = 2;\n        param_2 = param_2 + 2;\n        goto LAB_0006c811;\n      }" ({ "{") (if_statement "if (bVar8 != 0x75) {\n          return -1;\n        }" (if "if") (parenthesized_expression "(bVar8 != 0x75)" (( "(") (binary_expression "bVar8 != 0x75" (identifier "bVar8") (!= "!=") (number_literal "0x75")) () ")")) (compound_statement "{\n          return -1;\n        }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        } while (iVar7 != 4);" (do "do") (compound_statement "{\n          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }\n          iVar7 = iVar7 + 1;\n        }" ({ "{") (if_statement "if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)\n          {\n            return -1;\n          }" (if "if") (parenthesized_expression "(((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)" (( "(") (binary_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8)" (( "(") (binary_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8" (subscript_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" (( "(") (pointer_expression "&UNK_000980d7" (& "&") (identifier "UNK_000980d7")) () ")")) ([ "[") (binary_expression "(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI" (binary_expression "(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar2 + param_2 + 2 + iVar7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + param_2 + 2 + iVar7)" (( "(") (binary_expression "iVar2 + param_2 + 2 + iVar7" (binary_expression "iVar2 + param_2 + 2" (binary_expression "iVar2 + param_2" (identifier "iVar2") (+ "+") (identifier "param_2")) (+ "+") (number_literal "2")) (+ "+") (identifier "iVar7")) () ")")))) (+ "+") (identifier "unaff_EDI")) (] "]")) (& "&") (number_literal "8")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            return -1;\n          }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar7 != 4)" (( "(") (binary_expression "iVar7 != 4" (identifier "iVar7") (!= "!=") (number_literal "4")) () ")")) (; ";")) (expression_statement "uVar11 = 2;" (assignment_expression "uVar11 = 2" (identifier "uVar11") (= "=") (number_literal "2")) (; ";")) (expression_statement "param_2 = param_2 + 2;" (assignment_expression "param_2 = param_2 + 2" (identifier "param_2") (= "=") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2"))) (; ";")) (goto_statement "goto LAB_0006c811;" (goto "goto") (statement_identifier "LAB_0006c811") (; ";")) (} "}"))))) (expression_statement "param_2 = param_2 + 2;" (assignment_expression "param_2 = param_2 + 2" (identifier "param_2") (= "=") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "uVar11 = 2;" (assignment_expression "uVar11 = 2" (identifier "uVar11") (= "=") (number_literal "2")) (; ";")) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" (identifier "bVar8") (= "=") (pointer_expression "*(byte *)(iVar2 + param_2)" (* "*") (cast_expression "(byte *)(iVar2 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + param_2)" (( "(") (binary_expression "iVar2 + param_2" (identifier "iVar2") (+ "+") (identifier "param_2")) () ")"))))) (; ";")) (if_statement "if ((bVar8 & 0xe0) == 0) {\n        return -1;\n      }" (if "if") (parenthesized_expression "((bVar8 & 0xe0) == 0)" (( "(") (binary_expression "(bVar8 & 0xe0) == 0" (parenthesized_expression "(bVar8 & 0xe0)" (( "(") (binary_expression "bVar8 & 0xe0" (identifier "bVar8") (& "&") (number_literal "0xe0")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return -1;\n      }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (expression_statement "bVar13 = bVar8 < 0x6e;" (assignment_expression "bVar13 = bVar8 < 0x6e" (identifier "bVar13") (= "=") (binary_expression "bVar8 < 0x6e" (identifier "bVar8") (< "<") (number_literal "0x6e"))) (; ";")) (expression_statement "bVar14 = bVar8 == 0x6e;" (assignment_expression "bVar14 = bVar8 == 0x6e" (identifier "bVar14") (= "=") (binary_expression "bVar8 == 0x6e" (identifier "bVar8") (== "==") (number_literal "0x6e"))) (; ";")) (if_statement "if (bVar14) {\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }\n  else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }" (if "if") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (compound_statement "{\n    iVar7 = 4;\n    pbVar10 = pbVar9;\n    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);\n    do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);\n    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;\n    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }\nLAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }\n  }" ({ "{") (expression_statement "iVar7 = 4;" (assignment_expression "iVar7 = 4" (identifier "iVar7") (= "=") (number_literal "4")) (; ";")) (expression_statement "pbVar10 = pbVar9;" (assignment_expression "pbVar10 = pbVar9" (identifier "pbVar10") (= "=") (identifier "pbVar9")) (; ";")) (expression_statement "pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);" (assignment_expression "pbVar12 = (byte *)(unaff_EDI + 0x8c2b3)" (identifier "pbVar12") (= "=") (cast_expression "(byte *)(unaff_EDI + 0x8c2b3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x8c2b3)" (( "(") (binary_expression "unaff_EDI + 0x8c2b3" (identifier "unaff_EDI") (+ "+") (number_literal "0x8c2b3")) () ")")))) (; ";")) (do_statement "do {\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    } while (bVar14);" (do "do") (compound_statement "{\n      if (iVar7 == 0) break;\n      iVar7 = iVar7 + -1;\n      bVar13 = *pbVar10 < *pbVar12;\n      bVar14 = *pbVar10 == *pbVar12;\n      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n    }" ({ "{") (if_statement "if (iVar7 == 0) break;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar13 = *pbVar10 < *pbVar12;" (assignment_expression "bVar13 = *pbVar10 < *pbVar12" (identifier "bVar13") (= "=") (binary_expression "*pbVar10 < *pbVar12" (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10")) (< "<") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "bVar14 = *pbVar10 == *pbVar12;" (assignment_expression "bVar14 = *pbVar10 == *pbVar12" (identifier "bVar14") (= "=") (binary_expression "*pbVar10 == *pbVar12" (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10")) (== "==") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1" (identifier "pbVar10") (= "=") (binary_expression "pbVar10 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar15 * -2" (identifier "pbVar10") (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" (identifier "pbVar12") (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (; ";")) (if_statement "if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;" (if "if") (parenthesized_expression "((!bVar13 && !bVar14) != bVar13)" (( "(") (binary_expression "(!bVar13 && !bVar14) != bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" (( "(") (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" (! "!") (identifier "bVar13")) (&& "&&") (unary_expression "!bVar14" (! "!") (identifier "bVar14"))) () ")")) (!= "!=") (identifier "bVar13")) () ")")) (goto_statement "goto LAB_0006c7db;" (goto "goto") (statement_identifier "LAB_0006c7db") (; ";"))) (if_statement "if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }" (if "if") (parenthesized_expression "(((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)" (( "(") (binary_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6)" (( "(") (binary_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6" (subscript_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" (( "(") (pointer_expression "&UNK_000980d7" (& "&") (identifier "UNK_000980d7")) () ")")) ([ "[") (binary_expression "(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI" (binary_expression "(uint)*(byte *)(iVar2 + 4 + param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar2 + 4 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4 + param_2)" (( "(") (binary_expression "iVar2 + 4 + param_2" (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) (+ "+") (identifier "param_2")) () ")")))) (+ "+") (identifier "unaff_EDI")) (] "]")) (& "&") (number_literal "6")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0006c6e0(0);\n      return param_2 + 4;\n    }" ({ "{") (expression_statement "FUN_0006c6e0(0);" (call_expression "FUN_0006c6e0(0)" (identifier "FUN_0006c6e0") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (return_statement "return param_2 + 4;" (return "return") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) (; ";")) (} "}"))) (labeled_statement "LAB_0006ca39:\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }" (statement_identifier "LAB_0006ca39") (: ":") (if_statement "if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }" (if "if") (parenthesized_expression "(((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d))" (( "(") (binary_expression "((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)" (parenthesized_expression "((byte)(bVar8 - 0x30) < 10)" (( "(") (binary_expression "(byte)(bVar8 - 0x30) < 10" (call_expression "(byte)(bVar8 - 0x30)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar8 - 0x30)" (( "(") (binary_expression "bVar8 - 0x30" (identifier "bVar8") (- "-") (number_literal "0x30")) () ")"))) (< "<") (number_literal "10")) () ")")) (|| "||") (parenthesized_expression "(bVar8 == 0x2d)" (( "(") (binary_expression "bVar8 == 0x2d" (identifier "bVar8") (== "==") (number_literal "0x2d")) () ")"))) () ")")) (compound_statement "{\nLAB_0006ca8f:\n      bVar13 = false;\n      bVar14 = false;\n      do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );\n    }" ({ "{") (labeled_statement "LAB_0006ca8f:\n      bVar13 = false;" (statement_identifier "LAB_0006ca8f") (: ":") (expression_statement "bVar13 = false;" (assignment_expression "bVar13 = false" (identifier "bVar13") (= "=") (false "false")) (; ";"))) (expression_statement "bVar14 = false;" (assignment_expression "bVar14 = false" (identifier "bVar14") (= "=") (false "false")) (; ";")) (do_statement "do {\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      } while( true );" (do "do") (compound_statement "{\n        do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);\n        cVar3 = *(char *)(iVar2 + -1 + param_2);\n        if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }\n        bVar14 = true;\n      }" ({ "{") (do_statement "do {\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        } while ((byte)(bVar8 - 0x30) < 10);" (do "do") (compound_statement "{\n          iVar7 = param_2;\n          param_2 = iVar7 + 1;\n          bVar8 = *(byte *)(iVar2 + param_2);\n        }" ({ "{") (expression_statement "iVar7 = param_2;" (assignment_expression "iVar7 = param_2" (identifier "iVar7") (= "=") (identifier "param_2")) (; ";")) (expression_statement "param_2 = iVar7 + 1;" (assignment_expression "param_2 = iVar7 + 1" (identifier "param_2") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar8 = *(byte *)(iVar2 + param_2);" (assignment_expression "bVar8 = *(byte *)(iVar2 + param_2)" (identifier "bVar8") (= "=") (pointer_expression "*(byte *)(iVar2 + param_2)" (* "*") (cast_expression "(byte *)(iVar2 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + param_2)" (( "(") (binary_expression "iVar2 + param_2" (identifier "iVar2") (+ "+") (identifier "param_2")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((byte)(bVar8 - 0x30) < 10)" (( "(") (binary_expression "(byte)(bVar8 - 0x30) < 10" (call_expression "(byte)(bVar8 - 0x30)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar8 - 0x30)" (( "(") (binary_expression "bVar8 - 0x30" (identifier "bVar8") (- "-") (number_literal "0x30")) () ")"))) (< "<") (number_literal "10")) () ")")) (; ";")) (expression_statement "cVar3 = *(char *)(iVar2 + -1 + param_2);" (assignment_expression "cVar3 = *(char *)(iVar2 + -1 + param_2)" (identifier "cVar3") (= "=") (pointer_expression "*(char *)(iVar2 + -1 + param_2)" (* "*") (cast_expression "(char *)(iVar2 + -1 + param_2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + -1 + param_2)" (( "(") (binary_expression "iVar2 + -1 + param_2" (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1")) (+ "+") (identifier "param_2")) () ")"))))) (; ";")) (if_statement "if (bVar8 == 0x2e) {\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }\n        else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }" (if "if") (parenthesized_expression "(bVar8 == 0x2e)" (( "(") (binary_expression "bVar8 == 0x2e" (identifier "bVar8") (== "==") (number_literal "0x2e")) () ")")) (compound_statement "{\n          if (cVar3 == '-') {\n            return -1;\n          }\n          if (bVar14) {\n            return -1;\n          }\n        }" ({ "{") (if_statement "if (cVar3 == '-') {\n            return -1;\n          }" (if "if") (parenthesized_expression "(cVar3 == '-')" (( "(") (binary_expression "cVar3 == '-'" (identifier "cVar3") (== "==") (char_literal "'-'" (' "'") (character "-") (' "'"))) () ")")) (compound_statement "{\n            return -1;\n          }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (if_statement "if (bVar14) {\n            return -1;\n          }" (if "if") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (compound_statement "{\n            return -1;\n          }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }" (else "else") (compound_statement "{\n          if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }\n          if (cVar3 < '0') {\n            return -1;\n          }\n          if (bVar13) {\n            return -1;\n          }\n          cVar3 = *(char *)(iVar2 + 1 + param_2);\n          if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }\n          if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }\n          bVar13 = true;\n        }" ({ "{") (if_statement "if ((bVar8 & 0xdf) != 0x45) {\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }" (if "if") (parenthesized_expression "((bVar8 & 0xdf) != 0x45)" (( "(") (binary_expression "(bVar8 & 0xdf) != 0x45" (parenthesized_expression "(bVar8 & 0xdf)" (( "(") (binary_expression "bVar8 & 0xdf" (identifier "bVar8") (& "&") (number_literal "0xdf")) () ")")) (!= "!=") (number_literal "0x45")) () ")")) (compound_statement "{\n            if (cVar3 < '0') {\n              return -1;\n            }\n            FUN_0006c6e0(pbVar9);\n            return param_2;\n          }" ({ "{") (if_statement "if (cVar3 < '0') {\n              return -1;\n            }" (if "if") (parenthesized_expression "(cVar3 < '0')" (( "(") (binary_expression "cVar3 < '0'" (identifier "cVar3") (< "<") (char_literal "'0'" (' "'") (character "0") (' "'"))) () ")")) (compound_statement "{\n              return -1;\n            }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "FUN_0006c6e0(pbVar9);" (call_expression "FUN_0006c6e0(pbVar9)" (identifier "FUN_0006c6e0") (argument_list "(pbVar9)" (( "(") (identifier "pbVar9") () ")"))) (; ";")) (return_statement "return param_2;" (return "return") (identifier "param_2") (; ";")) (} "}"))) (if_statement "if (cVar3 < '0') {\n            return -1;\n          }" (if "if") (parenthesized_expression "(cVar3 < '0')" (( "(") (binary_expression "cVar3 < '0'" (identifier "cVar3") (< "<") (char_literal "'0'" (' "'") (character "0") (' "'"))) () ")")) (compound_statement "{\n            return -1;\n          }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (if_statement "if (bVar13) {\n            return -1;\n          }" (if "if") (parenthesized_expression "(bVar13)" (( "(") (identifier "bVar13") () ")")) (compound_statement "{\n            return -1;\n          }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "cVar3 = *(char *)(iVar2 + 1 + param_2);" (assignment_expression "cVar3 = *(char *)(iVar2 + 1 + param_2)" (identifier "cVar3") (= "=") (pointer_expression "*(char *)(iVar2 + 1 + param_2)" (* "*") (cast_expression "(char *)(iVar2 + 1 + param_2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 1 + param_2)" (( "(") (binary_expression "iVar2 + 1 + param_2" (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) (+ "+") (identifier "param_2")) () ")"))))) (; ";")) (if_statement "if ((cVar3 - 0x2bU & 0xfd) == 0) {\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }" (if "if") (parenthesized_expression "((cVar3 - 0x2bU & 0xfd) == 0)" (( "(") (binary_expression "(cVar3 - 0x2bU & 0xfd) == 0" (parenthesized_expression "(cVar3 - 0x2bU & 0xfd)" (( "(") (binary_expression "cVar3 - 0x2bU & 0xfd" (binary_expression "cVar3 - 0x2bU" (identifier "cVar3") (- "-") (number_literal "0x2bU")) (& "&") (number_literal "0xfd")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            cVar3 = *(char *)(iVar2 + 2 + param_2);\n            param_2 = iVar7 + 2;\n          }" ({ "{") (expression_statement "cVar3 = *(char *)(iVar2 + 2 + param_2);" (assignment_expression "cVar3 = *(char *)(iVar2 + 2 + param_2)" (identifier "cVar3") (= "=") (pointer_expression "*(char *)(iVar2 + 2 + param_2)" (* "*") (cast_expression "(char *)(iVar2 + 2 + param_2)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 2 + param_2)" (( "(") (binary_expression "iVar2 + 2 + param_2" (binary_expression "iVar2 + 2" (identifier "iVar2") (+ "+") (number_literal "2")) (+ "+") (identifier "param_2")) () ")"))))) (; ";")) (expression_statement "param_2 = iVar7 + 2;" (assignment_expression "param_2 = iVar7 + 2" (identifier "param_2") (= "=") (binary_expression "iVar7 + 2" (identifier "iVar7") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (if_statement "if (9 < (byte)(cVar3 - 0x30U)) {\n            return -1;\n          }" (if "if") (parenthesized_expression "(9 < (byte)(cVar3 - 0x30U))" (( "(") (binary_expression "9 < (byte)(cVar3 - 0x30U)" (number_literal "9") (< "<") (call_expression "(byte)(cVar3 - 0x30U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(cVar3 - 0x30U)" (( "(") (binary_expression "cVar3 - 0x30U" (identifier "cVar3") (- "-") (number_literal "0x30U")) () ")")))) () ")")) (compound_statement "{\n            return -1;\n          }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (expression_statement "bVar13 = true;" (assignment_expression "bVar13 = true" (identifier "bVar13") (= "=") (true "true")) (; ";")) (} "}")))) (expression_statement "bVar14 = true;" (assignment_expression "bVar14 = true" (identifier "bVar14") (= "=") (true "true")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }" (else "else") (compound_statement "{\n    bVar13 = bVar8 < 0x74;\n    bVar14 = bVar8 == 0x74;\n    if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }\n    bVar13 = bVar8 < 0x66;\n    bVar14 = bVar8 == 0x66;\n    if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }\n    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }\n  }" ({ "{") (expression_statement "bVar13 = bVar8 < 0x74;" (assignment_expression "bVar13 = bVar8 < 0x74" (identifier "bVar13") (= "=") (binary_expression "bVar8 < 0x74" (identifier "bVar8") (< "<") (number_literal "0x74"))) (; ";")) (expression_statement "bVar14 = bVar8 == 0x74;" (assignment_expression "bVar14 = bVar8 == 0x74" (identifier "bVar14") (= "=") (binary_expression "bVar8 == 0x74" (identifier "bVar8") (== "==") (number_literal "0x74"))) (; ";")) (if_statement "if (bVar14) {\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }" (if "if") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (compound_statement "{\n      iVar7 = 4;\n      pbVar10 = pbVar9;\n      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }\n      goto LAB_0006ca39;\n    }" ({ "{") (expression_statement "iVar7 = 4;" (assignment_expression "iVar7 = 4" (identifier "iVar7") (= "=") (number_literal "4")) (; ";")) (expression_statement "pbVar10 = pbVar9;" (assignment_expression "pbVar10 = pbVar9" (identifier "pbVar10") (= "=") (identifier "pbVar9")) (; ";")) (expression_statement "pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);" (assignment_expression "pbVar12 = (byte *)(unaff_EDI + 0x8bf2e)" (identifier "pbVar12") (= "=") (cast_expression "(byte *)(unaff_EDI + 0x8bf2e)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x8bf2e)" (( "(") (binary_expression "unaff_EDI + 0x8bf2e" (identifier "unaff_EDI") (+ "+") (number_literal "0x8bf2e")) () ")")))) (; ";")) (do_statement "do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);" (do "do") (compound_statement "{\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar10 < *pbVar12;\n        bVar14 = *pbVar10 == *pbVar12;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;\n      }" ({ "{") (if_statement "if (iVar7 == 0) break;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar13 = *pbVar10 < *pbVar12;" (assignment_expression "bVar13 = *pbVar10 < *pbVar12" (identifier "bVar13") (= "=") (binary_expression "*pbVar10 < *pbVar12" (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10")) (< "<") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "bVar14 = *pbVar10 == *pbVar12;" (assignment_expression "bVar14 = *pbVar10 == *pbVar12" (identifier "bVar14") (= "=") (binary_expression "*pbVar10 == *pbVar12" (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10")) (== "==") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (; ";")) (expression_statement "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1" (identifier "pbVar10") (= "=") (binary_expression "pbVar10 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar15 * -2" (identifier "pbVar10") (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar12 + (uint)bVar15 * -2" (identifier "pbVar12") (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (; ";")) (if_statement "if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }" (if "if") (parenthesized_expression "(((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0))" (( "(") (binary_expression "((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)" (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" (( "(") (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" (( "(") (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" (! "!") (identifier "bVar13")) (&& "&&") (unary_expression "!bVar14" (! "!") (identifier "bVar14"))) () ")")) (== "==") (identifier "bVar13")) () ")")) (&& "&&") (parenthesized_expression "(((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)" (( "(") (binary_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6)" (( "(") (binary_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6" (subscript_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" (( "(") (pointer_expression "&UNK_000980d7" (& "&") (identifier "UNK_000980d7")) () ")")) ([ "[") (binary_expression "(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI" (binary_expression "(uint)*(byte *)(iVar2 + 4 + param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar2 + 4 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 4 + param_2)" (( "(") (binary_expression "iVar2 + 4 + param_2" (binary_expression "iVar2 + 4" (identifier "iVar2") (+ "+") (number_literal "4")) (+ "+") (identifier "param_2")) () ")")))) (+ "+") (identifier "unaff_EDI")) (] "]")) (& "&") (number_literal "6")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        FUN_0006c6e0(0);\n        return param_2 + 4;\n      }" ({ "{") (expression_statement "FUN_0006c6e0(0);" (call_expression "FUN_0006c6e0(0)" (identifier "FUN_0006c6e0") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (return_statement "return param_2 + 4;" (return "return") (binary_expression "param_2 + 4" (identifier "param_2") (+ "+") (number_literal "4")) (; ";")) (} "}"))) (goto_statement "goto LAB_0006ca39;" (goto "goto") (statement_identifier "LAB_0006ca39") (; ";")) (} "}"))) (expression_statement "bVar13 = bVar8 < 0x66;" (assignment_expression "bVar13 = bVar8 < 0x66" (identifier "bVar13") (= "=") (binary_expression "bVar8 < 0x66" (identifier "bVar8") (< "<") (number_literal "0x66"))) (; ";")) (expression_statement "bVar14 = bVar8 == 0x66;" (assignment_expression "bVar14 = bVar8 == 0x66" (identifier "bVar14") (= "=") (binary_expression "bVar8 == 0x66" (identifier "bVar8") (== "==") (number_literal "0x66"))) (; ";")) (if_statement "if (bVar14) {\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }" (if "if") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (compound_statement "{\n      iVar7 = 5;\n      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);\n      do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);\n      if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }\n      goto LAB_0006c7db;\n    }" ({ "{") (expression_statement "iVar7 = 5;" (assignment_expression "iVar7 = 5" (identifier "iVar7") (= "=") (number_literal "5")) (; ";")) (expression_statement "pbVar10 = (byte *)(unaff_EDI + 0x8bf33);" (assignment_expression "pbVar10 = (byte *)(unaff_EDI + 0x8bf33)" (identifier "pbVar10") (= "=") (cast_expression "(byte *)(unaff_EDI + 0x8bf33)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0x8bf33)" (( "(") (binary_expression "unaff_EDI + 0x8bf33" (identifier "unaff_EDI") (+ "+") (number_literal "0x8bf33")) () ")")))) (; ";")) (do_statement "do {\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      } while (bVar14);" (do "do") (compound_statement "{\n        if (iVar7 == 0) break;\n        iVar7 = iVar7 + -1;\n        bVar13 = *pbVar9 < *pbVar10;\n        bVar14 = *pbVar9 == *pbVar10;\n        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;\n        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;\n      }" ({ "{") (if_statement "if (iVar7 == 0) break;" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar7 = iVar7 + -1;" (assignment_expression "iVar7 = iVar7 + -1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + -1" (identifier "iVar7") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "bVar13 = *pbVar9 < *pbVar10;" (assignment_expression "bVar13 = *pbVar9 < *pbVar10" (identifier "bVar13") (= "=") (binary_expression "*pbVar9 < *pbVar10" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (< "<") (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10")))) (; ";")) (expression_statement "bVar14 = *pbVar9 == *pbVar10;" (assignment_expression "bVar14 = *pbVar9 == *pbVar10" (identifier "bVar14") (= "=") (binary_expression "*pbVar9 == *pbVar10" (pointer_expression "*pbVar9" (* "*") (identifier "pbVar9")) (== "==") (pointer_expression "*pbVar10" (* "*") (identifier "pbVar10")))) (; ";")) (expression_statement "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1" (identifier "pbVar9") (= "=") (binary_expression "pbVar9 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar9 + (uint)bVar15 * -2" (identifier "pbVar9") (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;" (assignment_expression "pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1" (identifier "pbVar10") (= "=") (binary_expression "pbVar10 + (uint)bVar15 * -2 + 1" (binary_expression "pbVar10 + (uint)bVar15 * -2" (identifier "pbVar10") (+ "+") (binary_expression "(uint)bVar15 * -2" (cast_expression "(uint)bVar15" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar15")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(bVar14)" (( "(") (identifier "bVar14") () ")")) (; ";")) (if_statement "if (((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }" (if "if") (parenthesized_expression "(((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0))" (( "(") (binary_expression "((!bVar13 && !bVar14) == bVar13) &&\n         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)" (parenthesized_expression "((!bVar13 && !bVar14) == bVar13)" (( "(") (binary_expression "(!bVar13 && !bVar14) == bVar13" (parenthesized_expression "(!bVar13 && !bVar14)" (( "(") (binary_expression "!bVar13 && !bVar14" (unary_expression "!bVar13" (! "!") (identifier "bVar13")) (&& "&&") (unary_expression "!bVar14" (! "!") (identifier "bVar14"))) () ")")) (== "==") (identifier "bVar13")) () ")")) (&& "&&") (parenthesized_expression "(((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)" (( "(") (binary_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0" (parenthesized_expression "((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6)" (( "(") (binary_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6" (subscript_expression "(&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI]" (parenthesized_expression "(&UNK_000980d7)" (( "(") (pointer_expression "&UNK_000980d7" (& "&") (identifier "UNK_000980d7")) () ")")) ([ "[") (binary_expression "(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI" (binary_expression "(uint)*(byte *)(iVar2 + 5 + param_2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(iVar2 + 5 + param_2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 5 + param_2)" (( "(") (binary_expression "iVar2 + 5 + param_2" (binary_expression "iVar2 + 5" (identifier "iVar2") (+ "+") (number_literal "5")) (+ "+") (identifier "param_2")) () ")")))) (+ "+") (identifier "unaff_EDI")) (] "]")) (& "&") (number_literal "6")) () ")")) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        FUN_0006c6e0(0);\n        return param_2 + 5;\n      }" ({ "{") (expression_statement "FUN_0006c6e0(0);" (call_expression "FUN_0006c6e0(0)" (identifier "FUN_0006c6e0") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";")) (return_statement "return param_2 + 5;" (return "return") (binary_expression "param_2 + 5" (identifier "param_2") (+ "+") (number_literal "5")) (; ";")) (} "}"))) (goto_statement "goto LAB_0006c7db;" (goto "goto") (statement_identifier "LAB_0006c7db") (; ";")) (} "}"))) (if_statement "if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }" (if "if") (parenthesized_expression "(((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d))" (( "(") (binary_expression "((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)" (parenthesized_expression "((byte)(bVar8 - 0x30) < 10)" (( "(") (binary_expression "(byte)(bVar8 - 0x30) < 10" (call_expression "(byte)(bVar8 - 0x30)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(bVar8 - 0x30)" (( "(") (binary_expression "bVar8 - 0x30" (identifier "bVar8") (- "-") (number_literal "0x30")) () ")"))) (< "<") (number_literal "10")) () ")")) (|| "||") (parenthesized_expression "(bVar8 == 0x2d)" (( "(") (binary_expression "bVar8 == 0x2d" (identifier "bVar8") (== "==") (number_literal "0x2d")) () ")"))) () ")")) (compound_statement "{\n      if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }\n      goto LAB_0006ca8f;\n    }" ({ "{") (if_statement "if (((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {\n        return -1;\n      }" (if "if") (parenthesized_expression "(((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10))))" (( "(") (binary_expression "((char)bVar8 < '1') &&\n         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))" (parenthesized_expression "((char)bVar8 < '1')" (( "(") (binary_expression "(char)bVar8 < '1'" (cast_expression "(char)bVar8" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "bVar8")) (< "<") (char_literal "'1'" (' "'") (character "1") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))" (( "(") (parenthesized_expression "(iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10))" (( "(") (comma_expression "iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)" (assignment_expression "iVar7 = (uint)(bVar8 == 0x2d) + param_2" (identifier "iVar7") (= "=") (binary_expression "(uint)(bVar8 == 0x2d) + param_2" (call_expression "(uint)(bVar8 == 0x2d)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(bVar8 == 0x2d)" (( "(") (binary_expression "bVar8 == 0x2d" (identifier "bVar8") (== "==") (number_literal "0x2d")) () ")"))) (+ "+") (identifier "param_2"))) (, ",") (binary_expression "*(char *)(iVar2 + iVar7) == '0' &&\n          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)" (binary_expression "*(char *)(iVar2 + iVar7) == '0'" (pointer_expression "*(char *)(iVar2 + iVar7)" (* "*") (cast_expression "(char *)(iVar2 + iVar7)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + iVar7)" (( "(") (binary_expression "iVar2 + iVar7" (identifier "iVar2") (+ "+") (identifier "iVar7")) () ")")))) (== "==") (char_literal "'0'" (' "'") (character "0") (' "'"))) (&& "&&") (parenthesized_expression "((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)" (( "(") (binary_expression "(byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10" (call_expression "(byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(*(char *)(iVar2 + 1 + iVar7) - 0x30U)" (( "(") (binary_expression "*(char *)(iVar2 + 1 + iVar7) - 0x30U" (pointer_expression "*(char *)(iVar2 + 1 + iVar7)" (* "*") (cast_expression "(char *)(iVar2 + 1 + iVar7)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 1 + iVar7)" (( "(") (binary_expression "iVar2 + 1 + iVar7" (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) (+ "+") (identifier "iVar7")) () ")")))) (- "-") (number_literal "0x30U")) () ")"))) (< "<") (number_literal "10")) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n        return -1;\n      }" ({ "{") (return_statement "return -1;" (return "return") (number_literal "-1") (; ";")) (} "}"))) (goto_statement "goto LAB_0006ca8f;" (goto "goto") (statement_identifier "LAB_0006ca8f") (; ";")) (} "}"))) (} "}")))) (if_statement "if (bVar8 == 0x7d) {\n    return -2;\n  }" (if "if") (parenthesized_expression "(bVar8 == 0x7d)" (( "(") (binary_expression "bVar8 == 0x7d" (identifier "bVar8") (== "==") (number_literal "0x7d")) () ")")) (compound_statement "{\n    return -2;\n  }" ({ "{") (return_statement "return -2;" (return "return") (number_literal "-2") (; ";")) (} "}"))) (if_statement "if (bVar8 == 0x5d) {\n    return -3;\n  }" (if "if") (parenthesized_expression "(bVar8 == 0x5d)" (( "(") (binary_expression "bVar8 == 0x5d" (identifier "bVar8") (== "==") (number_literal "0x5d")) () ")")) (compound_statement "{\n    return -3;\n  }" ({ "{") (return_statement "return -3;" (return "return") (number_literal "-3") (; ";")) (} "}"))) (labeled_statement "LAB_0006c7db:\n  return -(uint)(bVar8 != 0);" (statement_identifier "LAB_0006c7db") (: ":") (return_statement "return -(uint)(bVar8 != 0);" (return "return") (unary_expression "-(uint)(bVar8 != 0)" (- "-") (call_expression "(uint)(bVar8 != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(bVar8 != 0)" (( "(") (binary_expression "bVar8 != 0" (identifier "bVar8") (!= "!=") (number_literal "0")) () ")")))) (; ";"))) (} "}")))

int __regparm3 function_1(type_1 *pParse,type_2 var_4)

{
  type_3 *puVar1;
  char *var_2;
  type_2 var_16;
  char var_12;
  type_1 *pParse_00;
  type_4 var_11;
  type_5 var_9;
  int var_7;
  type_6 var_5;
  int var_10;
  type_6 *var_13;
  type_2 var_8;
  type_3 uVar12;
  int var_3;
  type_6 *var_14;
  bool var_15;
  bool var_17;
  type_6 bVar16;
  type_7 uVar17;
  type_6 *var_18;
  
  bVar16 = 0;
  uVar17 = var_1();
  pParse_00 = (type_1 *)uVar17;
  var_2 = pParse_00->zJson;
  var_18 = (type_6 *)(var_2 + (int)((type_8)uVar17 >> 0x20));
  var_5 = *var_18;
  if (*(char *)(var_3 + 0x944d7 + (type_4)var_5) != '\0') {
    do {
      var_4 = var_4 + 1;
      var_5 = var_2[var_4];
      var_18 = (type_6 *)(var_2 + var_4);
    } while (*(char *)(var_3 + 0x944d7 + (type_4)var_5) != '\0');
  }
  if (var_5 == 0x7b) {
    var_11 = var_6(pParse_00,7,0,(char *)0x0);
    if (-1 < (int)var_11) {
      var_8 = var_4 + 1;
      var_9 = pParse_00->iDepth;
      var_7 = var_3 + 0x944d7;
      while( true ) {
        while (*(char *)(var_7 + (type_4)(type_6)var_2[var_8]) != '\0') {
          var_8 = var_8 + 1;
        }
        pParse_00->iDepth = var_9 + 1;
        if (2000 < (ushort)(var_9 + 1)) {
          return -1;
        }
        var_10 = function_1(pParse_00,var_8);
        if (var_10 < 0) {
          pParse_00->iDepth = pParse_00->iDepth - 1;
          if (var_10 != -2) {
            return -1;
          }
          if (pParse_00->nNode != var_11 + 1) {
            return -1;
          }
          goto LAB_0006cd22;
        }
        if (pParse_00->oom != '\0') {
          return -1;
        }
        if (pParse_00->aNode[pParse_00->nNode - 1].eType != '\x05') {
          return -1;
        }
        puVar1 = &pParse_00->aNode[pParse_00->nNode - 1].jnFlags;
        *puVar1 = *puVar1 | 0x40;
        var_5 = var_2[var_10];
        var_12 = *(char *)(var_7 + (type_4)var_5);
        while (var_12 != '\0') {
          var_10 = var_10 + 1;
          var_5 = var_2[var_10];
          var_12 = *(char *)(var_7 + (type_4)var_5);
        }
        if (var_5 != 0x3a) {
          return -1;
        }
        var_10 = function_1(pParse_00,var_10 + 1);
        var_9 = pParse_00->iDepth - 1;
        pParse_00->iDepth = var_9;
        if (var_10 < 0) {
          return -1;
        }
        var_5 = var_2[var_10];
        var_12 = *(char *)(var_7 + (type_4)var_5);
        while (var_12 != '\0') {
          var_10 = var_10 + 1;
          var_5 = var_2[var_10];
          var_12 = *(char *)(var_7 + (type_4)var_5);
        }
        if (var_5 != 0x2c) break;
        var_8 = var_10 + 1;
      }
      if (var_5 == 0x7d) {
        pParse_00->aNode[var_11].n = ~var_11 + pParse_00->nNode;
        return var_10 + 1;
      }
    }
    return -1;
  }
  if (var_5 == 0x5b) {
    var_11 = var_6(pParse_00,6,0,(char *)0x0);
    if ((int)var_11 < 0) {
      return -1;
    }
    var_9 = pParse_00->iDepth;
    var_8 = var_4 + 1;
    while( true ) {
      while (*(char *)(var_3 + 0x944d7 + (type_4)(type_6)var_2[var_8]) != '\0') {
        var_8 = var_8 + 1;
      }
      pParse_00->iDepth = var_9 + 1;
      if (2000 < (ushort)(var_9 + 1)) {
        return -1;
      }
      var_7 = function_1(pParse_00,var_8);
      var_9 = pParse_00->iDepth - 1;
      pParse_00->iDepth = var_9;
      if (var_7 < 0) break;
      while (var_5 = var_2[var_7], *(char *)(var_3 + 0x944d7 + (type_4)var_5) != '\0') {
        var_7 = var_7 + 1;
      }
      if (var_5 != 0x2c) {
        if (var_5 != 0x5d) {
          return -1;
        }
        pParse_00->aNode[var_11].n = ~var_11 + pParse_00->nNode;
        return var_7 + 1;
      }
      var_8 = var_7 + 1;
    }
    if (var_7 != -3) {
      return -1;
    }
    if (pParse_00->nNode != var_11 + 1) {
      return -1;
    }
LAB_0006cd22:
    return var_8 + 1;
  }
  if (var_5 == 0x22) {
    var_5 = var_2[var_4 + 1];
    var_7 = var_4 + 1;
    if ((var_5 & 0xe0) == 0) {
      return -1;
    }
    uVar12 = '\0';
    do {
      while (var_10 = var_7 + 1, var_5 != 0x5c) {
        if (var_5 == 0x22) {
          var_6(pParse_00,5,(var_7 - var_4) + 1,(char *)var_18);
          if (pParse_00->oom == '\0') {
            pParse_00->aNode[pParse_00->nNode - 1].jnFlags = uVar12;
            return var_10;
          }
          return var_10;
        }
LAB_0006c811:
        var_7 = var_10;
        var_5 = var_2[var_7];
        if ((var_5 & 0xe0) == 0) {
          return -1;
        }
      }
      var_5 = var_2[var_7 + 1];
      if ((type_6)(var_5 - 0x5c) < 0x19) {
        if (((0x1440401U >> (var_5 - 0x5c & 0x1f) & 1) == 0) && ((var_5 & 0xbf) != 0x22)) {
          return -1;
        }
      }
      else if (((var_5 & 0xbf) != 0x22) && (var_5 != 0x2f)) {
        if (var_5 != 0x75) {
          return -1;
        }
        var_10 = 0;
        do {
          if (((&UNK_000980d7)[(type_4)(type_6)var_2[var_10 + var_7 + 2] + var_3] & 8) == 0) {
            return -1;
          }
          var_10 = var_10 + 1;
        } while (var_10 != 4);
        uVar12 = '\x02';
        var_10 = var_7 + 2;
        goto LAB_0006c811;
      }
      var_7 = var_7 + 2;
      uVar12 = '\x02';
      var_5 = var_2[var_7];
      if ((var_5 & 0xe0) == 0) {
        return -1;
      }
    } while( true );
  }
  var_15 = var_5 < 0x6e;
  var_17 = var_5 == 0x6e;
  if (var_17) {
    var_7 = 4;
    var_13 = var_18;
    var_14 = (type_6 *)(var_3 + 0x8c2b3);
    do {
      if (var_7 == 0) break;
      var_7 = var_7 + -1;
      var_15 = *var_13 < *var_14;
      var_17 = *var_13 == *var_14;
      var_13 = var_13 + (type_4)bVar16 * -2 + 1;
      var_14 = var_14 + (type_4)bVar16 * -2 + 1;
    } while (var_17);
    if ((!var_15 && !var_17) != var_15) goto LAB_0006c7db;
    if (((&UNK_000980d7)[(type_4)(type_6)var_2[var_4 + 4] + var_3] & 6) == 0) {
      var_6(pParse_00,0,0,(char *)0x0);
      return var_4 + 4;
    }
LAB_0006ca39:
    if (((type_6)(var_5 - 0x30) < 10) || (var_5 == 0x2d)) {
LAB_0006ca8f:
      var_15 = false;
      var_17 = false;
      var_8 = var_4;
      do {
        do {
          var_16 = var_8;
          var_8 = var_16 + 1;
          var_5 = var_2[var_8];
        } while ((type_6)(var_5 - 0x30) < 10);
        var_12 = var_2[var_16];
        if (var_5 == 0x2e) {
          if (var_12 == '-') {
            return -1;
          }
          if (var_17) {
            return -1;
          }
        }
        else {
          if ((var_5 & 0xdf) != 0x45) {
            if (var_12 < '0') {
              return -1;
            }
            var_6(pParse_00,var_17 + 3,var_8 - var_4,(char *)var_18);
            return var_8;
          }
          if (var_12 < '0') {
            return -1;
          }
          if (var_15) {
            return -1;
          }
          var_12 = var_2[var_16 + 2];
          if ((var_12 - 0x2bU & 0xfd) == 0) {
            var_12 = var_2[var_16 + 3];
            var_8 = var_16 + 2;
          }
          if (9 < (type_6)(var_12 - 0x30U)) {
            return -1;
          }
          var_15 = true;
        }
        var_17 = true;
      } while( true );
    }
  }
  else {
    var_15 = var_5 < 0x74;
    var_17 = var_5 == 0x74;
    if (var_17) {
      var_7 = 4;
      var_13 = var_18;
      var_14 = (type_6 *)(var_3 + 0x8bf2e);
      do {
        if (var_7 == 0) break;
        var_7 = var_7 + -1;
        var_15 = *var_13 < *var_14;
        var_17 = *var_13 == *var_14;
        var_13 = var_13 + (type_4)bVar16 * -2 + 1;
        var_14 = var_14 + (type_4)bVar16 * -2 + 1;
      } while (var_17);
      if (((!var_15 && !var_17) == var_15) &&
         (((&UNK_000980d7)[(type_4)(type_6)var_2[var_4 + 4] + var_3] & 6) == 0)) {
        var_6(pParse_00,1,0,(char *)0x0);
        return var_4 + 4;
      }
      goto LAB_0006ca39;
    }
    var_15 = var_5 < 0x66;
    var_17 = var_5 == 0x66;
    if (var_17) {
      var_7 = 5;
      var_13 = (type_6 *)(var_3 + 0x8bf33);
      do {
        if (var_7 == 0) break;
        var_7 = var_7 + -1;
        var_15 = *var_18 < *var_13;
        var_17 = *var_18 == *var_13;
        var_18 = var_18 + (type_4)bVar16 * -2 + 1;
        var_13 = var_13 + (type_4)bVar16 * -2 + 1;
      } while (var_17);
      if (((!var_15 && !var_17) == var_15) &&
         (((&UNK_000980d7)[(type_4)(type_6)var_2[var_4 + 5] + var_3] & 6) == 0)) {
        var_6(pParse_00,2,0,(char *)0x0);
        return var_4 + 5;
      }
      goto LAB_0006c7db;
    }
    if (((type_6)(var_5 - 0x30) < 10) || (var_5 == 0x2d)) {
      if (((char)var_5 < '1') &&
         ((var_7 = (var_5 == 0x2d) + var_4, var_2[var_7] == '0' &&
          ((type_6)(var_2[var_7 + 1] - 0x30U) < 10)))) {
        return -1;
      }
      goto LAB_0006ca8f;
    }
  }
  if (var_5 == 0x7d) {
    return -2;
  }
  if (var_5 == 0x5d) {
    return -3;
  }
LAB_0006c7db:
  return -(type_4)(var_5 != 0);
}


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

int __regparm3 MASKED(undefined4 param_1,int param_2)

{
  char *pcVar1;
  int iVar2;
  char cVar3;
  int iVar4;
  uint uVar5;
  short sVar6;
  int iVar7;
  byte bVar8;
  byte *pbVar9;
  byte *pbVar10;
  undefined1 uVar11;
  int unaff_EDI;
  byte *pbVar12;
  bool bVar13;
  bool bVar14;
  byte bVar15;
  undefined8 uVar16;
  int *piVar17;
  int *piVar18;
  
  bVar15 = 0;
  uVar16 = FUN_0001af1a();
  piVar17 = (int *)uVar16;
  iVar2 = piVar17[3];
  pbVar9 = (byte *)(iVar2 + (int)((ulonglong)uVar16 >> 0x20));
  bVar8 = *pbVar9;
  if (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0') {
    do {
      param_2 = param_2 + 1;
      bVar8 = *(byte *)(iVar2 + param_2);
      pbVar9 = (byte *)(iVar2 + param_2);
    } while (*(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0');
  }
  if (bVar8 == 0x7b) {
    uVar5 = FUN_0006c6e0(0);
    if (-1 < (int)uVar5) {
      param_2 = param_2 + 1;
      sVar6 = *(short *)((int)piVar17 + 0x16);
      iVar7 = unaff_EDI + 0x944d7;
      piVar18 = piVar17;
      while( true ) {
        while (*(char *)(iVar7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {
          param_2 = param_2 + 1;
        }
        *(ushort *)((int)piVar17 + 0x16) = sVar6 + 1U;
        if (2000 < (ushort)(sVar6 + 1U)) {
          return -1;
        }
        iVar4 = MASKED();
        if (iVar4 < 0) {
          *(short *)((int)piVar18 + 0x16) = *(short *)((int)piVar18 + 0x16) + -1;
          if (iVar4 != -2) {
            return -1;
          }
          if (*piVar18 != uVar5 + 1) {
            return -1;
          }
          goto LAB_0006cd22;
        }
        if ((char)piVar17[5] != '\0') {
          return -1;
        }
        pcVar1 = (char *)(piVar17[2] + -0xc + *piVar17 * 0xc);
        if (*pcVar1 != '\x05') {
          return -1;
        }
        pbVar9 = (byte *)(pcVar1 + 1);
        *pbVar9 = *pbVar9 | 0x40;
        bVar8 = *(byte *)(iVar2 + iVar4);
        cVar3 = *(char *)(iVar7 + (uint)bVar8);
        while (cVar3 != '\0') {
          iVar4 = iVar4 + 1;
          bVar8 = *(byte *)(iVar2 + iVar4);
          cVar3 = *(char *)(iVar7 + (uint)bVar8);
        }
        if (bVar8 != 0x3a) {
          return -1;
        }
        param_2 = MASKED();
        sVar6 = *(short *)((int)piVar17 + 0x16) + -1;
        *(short *)((int)piVar17 + 0x16) = sVar6;
        if (param_2 < 0) {
          return -1;
        }
        bVar8 = *(byte *)(iVar2 + param_2);
        cVar3 = *(char *)(iVar7 + (uint)bVar8);
        while (cVar3 != '\0') {
          param_2 = param_2 + 1;
          bVar8 = *(byte *)(iVar2 + param_2);
          cVar3 = *(char *)(iVar7 + (uint)bVar8);
        }
        if (bVar8 != 0x2c) break;
        param_2 = param_2 + 1;
      }
      if (bVar8 == 0x7d) {
        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;
        return param_2 + 1;
      }
    }
    return -1;
  }
  if (bVar8 == 0x5b) {
    piVar18 = piVar17;
    uVar5 = FUN_0006c6e0(0);
    if ((int)uVar5 < 0) {
      return -1;
    }
    sVar6 = *(short *)((int)piVar17 + 0x16);
    param_2 = param_2 + 1;
    while( true ) {
      while (*(char *)(unaff_EDI + 0x944d7 + (uint)*(byte *)(iVar2 + param_2)) != '\0') {
        param_2 = param_2 + 1;
      }
      *(ushort *)((int)piVar18 + 0x16) = sVar6 + 1U;
      if (2000 < (ushort)(sVar6 + 1U)) {
        return -1;
      }
      iVar7 = MASKED(piVar18,pbVar9);
      pbVar9 = (byte *)(uint)*(ushort *)((int)piVar18 + 0x16);
      sVar6 = *(ushort *)((int)piVar18 + 0x16) - 1;
      *(short *)((int)piVar18 + 0x16) = sVar6;
      if (iVar7 < 0) break;
      while (bVar8 = *(byte *)(iVar2 + iVar7), *(char *)(unaff_EDI + 0x944d7 + (uint)bVar8) != '\0')
      {
        iVar7 = iVar7 + 1;
      }
      if (bVar8 != 0x2c) {
        if (bVar8 != 0x5d) {
          return -1;
        }
        *(uint *)(uVar5 * 0xc + piVar18[2] + 4) = ~uVar5 + *piVar18;
        return iVar7 + 1;
      }
      param_2 = iVar7 + 1;
    }
    if (iVar7 != -3) {
      return -1;
    }
    if (*piVar18 != uVar5 + 1) {
      return -1;
    }
LAB_0006cd22:
    return param_2 + 1;
  }
  if (bVar8 == 0x22) {
    bVar8 = *(byte *)(iVar2 + 1 + param_2);
    param_2 = param_2 + 1;
    if ((bVar8 & 0xe0) == 0) {
      return -1;
    }
    uVar11 = 0;
    do {
      while (iVar7 = param_2 + 1, bVar8 != 0x5c) {
        param_2 = iVar7;
        if (bVar8 == 0x22) {
          FUN_0006c6e0(pbVar9);
          if ((char)piVar17[5] == '\0') {
            *(undefined1 *)(piVar17[2] + *piVar17 * 0xc + -0xb) = uVar11;
            return iVar7;
          }
          return iVar7;
        }
LAB_0006c811:
        bVar8 = *(byte *)(iVar2 + param_2);
        if ((bVar8 & 0xe0) == 0) {
          return -1;
        }
      }
      bVar8 = *(byte *)(iVar2 + 1 + param_2);
      if ((byte)(bVar8 - 0x5c) < 0x19) {
        if (((0x1440401U >> (bVar8 - 0x5c & 0x1f) & 1) == 0) && ((bVar8 & 0xbf) != 0x22)) {
          return -1;
        }
      }
      else if (((bVar8 & 0xbf) != 0x22) && (bVar8 != 0x2f)) {
        if (bVar8 != 0x75) {
          return -1;
        }
        iVar7 = 0;
        do {
          if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + param_2 + 2 + iVar7) + unaff_EDI] & 8) == 0)
          {
            return -1;
          }
          iVar7 = iVar7 + 1;
        } while (iVar7 != 4);
        uVar11 = 2;
        param_2 = param_2 + 2;
        goto LAB_0006c811;
      }
      param_2 = param_2 + 2;
      uVar11 = 2;
      bVar8 = *(byte *)(iVar2 + param_2);
      if ((bVar8 & 0xe0) == 0) {
        return -1;
      }
    } while( true );
  }
  bVar13 = bVar8 < 0x6e;
  bVar14 = bVar8 == 0x6e;
  if (bVar14) {
    iVar7 = 4;
    pbVar10 = pbVar9;
    pbVar12 = (byte *)(unaff_EDI + 0x8c2b3);
    do {
      if (iVar7 == 0) break;
      iVar7 = iVar7 + -1;
      bVar13 = *pbVar10 < *pbVar12;
      bVar14 = *pbVar10 == *pbVar12;
      pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;
      pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;
    } while (bVar14);
    if ((!bVar13 && !bVar14) != bVar13) goto LAB_0006c7db;
    if (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0) {
      FUN_0006c6e0(0);
      return param_2 + 4;
    }
LAB_0006ca39:
    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {
LAB_0006ca8f:
      bVar13 = false;
      bVar14 = false;
      do {
        do {
          iVar7 = param_2;
          param_2 = iVar7 + 1;
          bVar8 = *(byte *)(iVar2 + param_2);
        } while ((byte)(bVar8 - 0x30) < 10);
        cVar3 = *(char *)(iVar2 + -1 + param_2);
        if (bVar8 == 0x2e) {
          if (cVar3 == '-') {
            return -1;
          }
          if (bVar14) {
            return -1;
          }
        }
        else {
          if ((bVar8 & 0xdf) != 0x45) {
            if (cVar3 < '0') {
              return -1;
            }
            FUN_0006c6e0(pbVar9);
            return param_2;
          }
          if (cVar3 < '0') {
            return -1;
          }
          if (bVar13) {
            return -1;
          }
          cVar3 = *(char *)(iVar2 + 1 + param_2);
          if ((cVar3 - 0x2bU & 0xfd) == 0) {
            cVar3 = *(char *)(iVar2 + 2 + param_2);
            param_2 = iVar7 + 2;
          }
          if (9 < (byte)(cVar3 - 0x30U)) {
            return -1;
          }
          bVar13 = true;
        }
        bVar14 = true;
      } while( true );
    }
  }
  else {
    bVar13 = bVar8 < 0x74;
    bVar14 = bVar8 == 0x74;
    if (bVar14) {
      iVar7 = 4;
      pbVar10 = pbVar9;
      pbVar12 = (byte *)(unaff_EDI + 0x8bf2e);
      do {
        if (iVar7 == 0) break;
        iVar7 = iVar7 + -1;
        bVar13 = *pbVar10 < *pbVar12;
        bVar14 = *pbVar10 == *pbVar12;
        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;
        pbVar12 = pbVar12 + (uint)bVar15 * -2 + 1;
      } while (bVar14);
      if (((!bVar13 && !bVar14) == bVar13) &&
         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 4 + param_2) + unaff_EDI] & 6) == 0)) {
        FUN_0006c6e0(0);
        return param_2 + 4;
      }
      goto LAB_0006ca39;
    }
    bVar13 = bVar8 < 0x66;
    bVar14 = bVar8 == 0x66;
    if (bVar14) {
      iVar7 = 5;
      pbVar10 = (byte *)(unaff_EDI + 0x8bf33);
      do {
        if (iVar7 == 0) break;
        iVar7 = iVar7 + -1;
        bVar13 = *pbVar9 < *pbVar10;
        bVar14 = *pbVar9 == *pbVar10;
        pbVar9 = pbVar9 + (uint)bVar15 * -2 + 1;
        pbVar10 = pbVar10 + (uint)bVar15 * -2 + 1;
      } while (bVar14);
      if (((!bVar13 && !bVar14) == bVar13) &&
         (((&UNK_000980d7)[(uint)*(byte *)(iVar2 + 5 + param_2) + unaff_EDI] & 6) == 0)) {
        FUN_0006c6e0(0);
        return param_2 + 5;
      }
      goto LAB_0006c7db;
    }
    if (((byte)(bVar8 - 0x30) < 10) || (bVar8 == 0x2d)) {
      if (((char)bVar8 < '1') &&
         ((iVar7 = (uint)(bVar8 == 0x2d) + param_2, *(char *)(iVar2 + iVar7) == '0' &&
          ((byte)(*(char *)(iVar2 + 1 + iVar7) - 0x30U) < 10)))) {
        return -1;
      }
      goto LAB_0006ca8f;
    }
  }
  if (bVar8 == 0x7d) {
    return -2;
  }
  if (bVar8 == 0x5d) {
    return -3;
  }
LAB_0006c7db:
  return -(uint)(bVar8 != 0);
}

