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

int zipfileUpdate(sqlite3_vtab *pVtab,int nVal,sqlite3_value **apVal,sqlite_int64 *pRowid)

{
  ZipfileEntry *pZVar1;
  _func_int_sqlite3_vtab_ptr *p_Var2;
  int iVar3;
  uchar *__s;
  size_t nB;
  _func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *p_Var4;
  char *zFmt;
  uchar *zA;
  u8 *puVar5;
  sqlite3_module *psVar6;
  _func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *p_Var7;
  uint uVar8;
  sqlite3_module *psVar9;
  sqlite3_vtab *psVar10;
  sqlite3_module *psVar11;
  int iVar12;
  sqlite3_module *p;
  sqlite3_module *psVar13;
  undefined4 *puVar14;
  int in_GS_OFFSET;
  bool bVar15;
  byte bVar16;
  ZipfileCDS *in_stack_ffffff94;
  u32 in_stack_ffffff98;
  ZipfileCDS *in_stack_ffffff9c;
  uchar *local_60;
  char **local_58;
  size_t local_54;
  _func_int_sqlite3_vtab_ptr *local_48;
  _func_int_sqlite3_vtab_ptr *local_44;
  u16 local_3c;
  u8 *local_34;
  _func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *local_30;
  u32 mode;
  u8 *pFree;
  int nCmp;
  int local_20;
  undefined4 uStack_14;
  
  bVar16 = 0;
  uStack_14 = 0x29649;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  mode = 0;
  pFree = (u8 *)0x0;
  if ((pVtab[3].zErrMsg == (char *)0x0) && (iVar3 = zipfileBegin(pVtab), iVar3 != 0))
  goto LAB_000296d6;
  iVar3 = sqlite3_value_type(*apVal);
  if (iVar3 == 5) {
    if (nVal < 2) {
      local_60 = (uchar *)0x0;
      iVar3 = 0;
      goto LAB_000296b5;
    }
    bVar15 = true;
    psVar13 = (sqlite3_module *)0x0;
LAB_0002975e:
    iVar3 = sqlite3_value_type(apVal[5]);
    if (iVar3 == 5) {
      iVar3 = sqlite3_value_type(apVal[6]);
      if (iVar3 == 5) {
        iVar3 = sqlite3_value_type(apVal[7]);
        if (iVar3 == 5) {
          local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0;
          iVar12 = 1;
          local_3c = 0;
          local_48 = (_func_int_sqlite3_vtab_ptr *)0x0;
          local_34 = (u8 *)0x0;
          local_44 = (_func_int_sqlite3_vtab_ptr *)0x0;
        }
        else {
          puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);
          local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);
          iVar3 = sqlite3_value_type(apVal[8]);
          uVar8 = sqlite3_value_int(apVal[8]);
          if ((uVar8 & 0xfffffff7) != 0) {
            zFmt = "unknown compression method: %d";
            goto LAB_00029a5a;
          }
          local_34 = puVar5;
          local_48 = local_44;
          if (iVar3 == 5 || uVar8 != 0) {
            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);
            if (iVar3 != 0) {
              crc32(0,puVar5,local_44,iVar3);
              goto LAB_00029a6c;
            }
            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {
              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;
              local_3c = 8;
              local_34 = pFree;
            }
            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)
            ;
            iVar12 = 0;
          }
          else {
            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)
            ;
            local_3c = 0;
            iVar12 = 0;
          }
        }
        local_58 = &pVtab->zErrMsg;
        iVar3 = zipfileGetMode(apVal[3],iVar12,&mode,local_58);
        if (iVar3 == 0) {
          local_58 = (char **)sqlite3_value_text(apVal[2]);
          local_54 = strlen((char *)local_58);
          p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4]);
          if (iVar12 == 0) {
            if (bVar15) {
LAB_00029cc0:
              local_60 = (uchar *)0x0;
              goto LAB_00029894;
            }
            local_60 = (uchar *)0x0;
            p = (sqlite3_module *)0x0;
          }
          else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {
            if (bVar15) goto LAB_00029cc0;
            local_60 = (uchar *)0x0;
            p = (sqlite3_module *)0x0;
          }
          else {
            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);
            if (local_60 == (uchar *)0x0) {
              local_60 = (uchar *)0x0;
              iVar3 = 7;
              goto LAB_000296b5;
            }
            local_54 = local_54 + 1;
            local_58 = (char **)local_60;
            if (!bVar15) {
              p = (sqlite3_module *)0x0;
              goto LAB_00029b74;
            }
LAB_00029894:
            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;
                p = (sqlite3_module *)p->xRollback) {
              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);
              if (iVar3 == 0) {
                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);
                iVar3 = 0;
                if (iVar12 == 2) goto LAB_000296b5;
                if (iVar12 != 5) {
                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);
                  iVar3 = 0x13;
                  goto LAB_000296b5;
                }
                break;
              }
            }
          }
LAB_00029b74:
          psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);
          iVar3 = 7;
          if (psVar6 != (sqlite3_module *)0x0) {
            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);
            *(u16 *)&psVar6->iVersion = 0;
            *(u16 *)((int)&psVar6->iVersion + 2) = 0;
            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;
            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;
            for (; uVar8 != 0; uVar8 = uVar8 - 1) {
              *puVar14 = 0;
              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;
            }
            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)
                     sqlite3_mprintf("%s",local_58);
            psVar6->xColumn = p_Var7;
            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {
              sqlite3_free(psVar6);
              iVar3 = 7;
            }
            else {
              *(u16 *)&psVar6->xCreate = 0x800;
              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;
              *(u16 *)&psVar6->iVersion = 0x31e;
              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;
              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);
              psVar6->xBestIndex = local_30;
              psVar6->xDisconnect = local_48;
              psVar6->xDestroy = local_44;
              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);
              psVar11 = pVtab[4].pModule;
              *(u16 *)&psVar6->xOpen = (u16)local_54;
              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;
              psVar6->xRowid = p_Var4;
              puVar5 = (u8 *)pVtab[1].zErrMsg;
              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);
              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);
              if (iVar3 == 0) {
                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;
                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;
                psVar6->xSync = p_Var2;
                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);
              }
              psVar11 = pVtab[3].pModule;
              if (psVar13 == (sqlite3_module *)0x0) {
                if (psVar11 == (sqlite3_module *)0x0) {
                  pVtab[3].nRef = (int)psVar6;
                  pVtab[3].pModule = psVar6;
                }
                else {
                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;
                  pVtab[3].nRef = (int)psVar6;
                }
                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {
                  psVar6 = pVtab[2].pModule;
                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;
                  goto LAB_000299b2;
                }
              }
              else {
                if (psVar13 == psVar11) {
                  psVar10 = pVtab + 3;
                }
                else {
                  do {
                    psVar9 = psVar11;
                    psVar11 = (sqlite3_module *)psVar9->xRollback;
                  } while (psVar11 != psVar13);
                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;
                }
                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;
                psVar10->pModule = psVar6;
                if (iVar3 == 0) {
                  psVar6 = pVtab[2].pModule;
                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;
LAB_000299fb:
                  do {
                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,
                           psVar11 != (sqlite3_module *)0x0 &&
                           ((psVar11 == p || (psVar11 == psVar13))))) {
                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;
                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;
                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1
                      ;
                      psVar6 = (sqlite3_module *)psVar6->xUpdate;
                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;
                    }
                    psVar6 = (sqlite3_module *)psVar6->xUpdate;
                  } while (psVar6 != (sqlite3_module *)0x0);
LAB_00029a17:
                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;
                  goto LAB_000299a8;
                }
              }
            }
          }
          goto LAB_000296b5;
        }
      }
      else {
LAB_00029a51:
        zFmt = "rawdata must be NULL";
LAB_00029a5a:
        zipfileTableErr((ZipfileTab *)pVtab,zFmt);
        iVar3 = 0x13;
      }
    }
    else {
      zipfileTableErr((ZipfileTab *)pVtab,"sz must be NULL");
      iVar12 = sqlite3_value_type(apVal[6]);
      iVar3 = 0x13;
      if (iVar12 != 5) goto LAB_00029a51;
    }
LAB_00029a6c:
    local_60 = (uchar *)0x0;
  }
  else {
    __s = sqlite3_value_text(*apVal);
    nB = strlen((char *)__s);
    if ((nVal < 2) || (zA = sqlite3_value_text(apVal[1]), zA == (uchar *)0x0)) {
      bVar15 = false;
    }
    else {
      iVar3 = zipfileComparePath((char *)zA,(char *)__s,nB);
      bVar15 = iVar3 != 0;
    }
    psVar13 = pVtab[3].pModule;
    while (iVar3 = zipfileComparePath((char *)psVar13->xColumn,(char *)__s,nB), iVar3 != 0) {
      psVar13 = (sqlite3_module *)psVar13->xRollback;
    }
    if (1 < nVal) goto LAB_0002975e;
    p = (sqlite3_module *)0x0;
    local_60 = (uchar *)0x0;
    psVar6 = pVtab[2].pModule;
    if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;
LAB_00029980:
    psVar6 = pVtab[3].pModule;
    if (psVar13 == pVtab[3].pModule) {
      psVar10 = pVtab + 3;
      psVar6 = psVar13;
    }
    else {
      do {
        psVar11 = psVar6;
        psVar6 = (sqlite3_module *)psVar11->xRollback;
      } while (psVar13 != psVar6);
      psVar10 = (sqlite3_vtab *)&psVar11->xRollback;
    }
    psVar10->pModule = (sqlite3_module *)psVar6->xRollback;
    zipfileEntryFree((ZipfileEntry *)psVar13);
LAB_000299a8:
    iVar3 = 0;
    if (p != (sqlite3_module *)0x0) {
LAB_000299b2:
      psVar13 = pVtab[3].pModule;
      if (pVtab[3].pModule == p) {
        psVar10 = pVtab + 3;
      }
      else {
        do {
          psVar6 = psVar13;
          psVar13 = (sqlite3_module *)psVar6->xRollback;
        } while (psVar13 != p);
        psVar10 = (sqlite3_vtab *)&psVar6->xRollback;
      }
      psVar10->pModule = (sqlite3_module *)p->xRollback;
      zipfileEntryFree((ZipfileEntry *)p);
      iVar3 = 0;
    }
  }
LAB_000296b5:
  sqlite3_free(pFree);
  sqlite3_free(local_60);
LAB_000296d6:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar3;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



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

int FUN_00029640(int param_1,int param_2,undefined4 *param_3)

{
  undefined4 uVar1;
  bool bVar2;
  int iVar3;
  char *pcVar4;
  undefined4 uVar5;
  int iVar6;
  undefined4 *puVar7;
  uint uVar8;
  int iVar9;
  undefined4 *puVar10;
  int iVar11;
  int iVar12;
  int in_GS_OFFSET;
  bool bVar13;
  byte bVar14;
  char *local_60;
  char *local_58;
  size_t local_54;
  int local_48;
  int local_44;
  undefined2 local_3c;
  undefined4 local_30;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  bVar14 = 0;
  uStack_14 = 0x29649;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if ((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))
  goto LAB_000296d6;
  iVar3 = FUN_00038f70(*param_3);
  if (iVar3 == 5) {
    if (param_2 < 2) {
      local_60 = (char *)0x0;
      iVar3 = 0;
      goto LAB_000296b5;
    }
    bVar13 = true;
    iVar12 = 0;
LAB_0002975e:
    iVar3 = FUN_00038f70(param_3[5]);
    if (iVar3 == 5) {
      iVar3 = FUN_00038f70(param_3[6]);
      if (iVar3 == 5) {
        iVar3 = FUN_00038f70(param_3[7]);
        if (iVar3 == 5) {
          local_30 = 0;
          bVar2 = true;
          local_3c = 0;
          local_48 = 0;
          local_44 = 0;
        }
        else {
          uVar5 = FUN_0006a4e0(param_3[7]);
          local_44 = FUN_0006a2f0(param_3[7]);
          iVar3 = FUN_00038f70(param_3[8]);
          uVar8 = FUN_00049400(param_3[8]);
          if ((uVar8 & 0xfffffff7) != 0) {
            pcVar4 = "unknown compression method: %d";
            goto LAB_00029a5a;
          }
          local_48 = local_44;
          if (iVar3 == 5 || uVar8 != 0) {
            iVar3 = FUN_00024250(&local_24,param_1 + 8);
            if (iVar3 != 0) {
              crc32(0,uVar5,local_44,iVar3);
              goto LAB_00029a6c;
            }
            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {
              local_48 = local_24;
              local_3c = 8;
            }
            local_30 = crc32(0,uVar5,local_44);
            bVar2 = false;
          }
          else {
            local_30 = crc32(0,uVar5,local_44);
            local_3c = 0;
            bVar2 = false;
          }
        }
        local_58 = (char *)(param_1 + 8);
        iVar3 = FUN_0001bb40(local_58);
        if (iVar3 == 0) {
          local_58 = (char *)FUN_0006a4a0(param_3[2]);
          local_54 = strlen(local_58);
          uVar5 = FUN_00023fd0();
          if (bVar2) {
            if (local_58[local_54 - 1] == '/') {
              if (bVar13) goto LAB_00029cc0;
              local_60 = (char *)0x0;
              iVar11 = 0;
            }
            else {
              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);
              if (local_60 == (char *)0x0) {
                local_60 = (char *)0x0;
                iVar3 = 7;
                goto LAB_000296b5;
              }
              local_54 = local_54 + 1;
              local_58 = local_60;
              if (!bVar13) {
                iVar11 = 0;
                goto LAB_00029b74;
              }
LAB_00029894:
              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))
              {
                iVar3 = FUN_0001dcf0();
                if (iVar3 == 0) {
                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));
                  iVar3 = 0;
                  if (iVar6 == 2) goto LAB_000296b5;
                  if (iVar6 != 5) {
                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);
                    iVar3 = 0x13;
                    goto LAB_000296b5;
                  }
                  break;
                }
              }
            }
          }
          else {
            if (bVar13) {
LAB_00029cc0:
              local_60 = (char *)0x0;
              goto LAB_00029894;
            }
            local_60 = (char *)0x0;
            iVar11 = 0;
          }
LAB_00029b74:
          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);
          iVar3 = 7;
          if (puVar7 != (undefined4 *)0x0) {
            *puVar7 = 0;
            puVar7[0x11] = 0;
            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);
            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;
                uVar8 != 0; uVar8 = uVar8 - 1) {
              *puVar10 = 0;
              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;
            }
            iVar3 = FUN_0008ff90("%s",local_58);
            puVar7[0xb] = iVar3;
            if (iVar3 == 0) {
              FUN_00042800(puVar7);
              iVar3 = 7;
            }
            else {
              *(undefined2 *)(puVar7 + 1) = 0x800;
              *(undefined2 *)((int)puVar7 + 6) = local_3c;
              *puVar7 = 0x14031e;
              FUN_00022c90();
              puVar7[3] = local_30;
              puVar7[4] = local_48;
              puVar7[5] = local_44;
              puVar7[9] = 0;
              uVar1 = *(undefined4 *)(param_1 + 0x30);
              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;
              puVar7[10] = uVar1;
              puVar7[0xc] = uVar5;
              FUN_0001be00();
              iVar3 = FUN_00023910();
              if (iVar3 == 0) {
                uVar5 = *(undefined4 *)(param_1 + 0x34);
                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);
                puVar7[0xf] = uVar5;
                iVar3 = FUN_00023910();
              }
              iVar6 = *(int *)(param_1 + 0x24);
              if (iVar12 == 0) {
                if (iVar6 == 0) {
                  *(undefined4 **)(param_1 + 0x28) = puVar7;
                  *(undefined4 **)(param_1 + 0x24) = puVar7;
                }
                else {
                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;
                  *(undefined4 **)(param_1 + 0x28) = puVar7;
                }
                if ((iVar3 == 0) && (iVar11 != 0)) {
                  iVar3 = *(int *)(param_1 + 0x18);
                  if (iVar3 != 0) goto LAB_000299fb;
                  goto LAB_000299b2;
                }
              }
              else {
                if (iVar12 == iVar6) {
                  puVar10 = (undefined4 *)(param_1 + 0x24);
                }
                else {
                  do {
                    iVar9 = iVar6;
                    iVar6 = *(int *)(iVar9 + 0x44);
                  } while (iVar6 != iVar12);
                  puVar10 = (undefined4 *)(iVar9 + 0x44);
                }
                puVar7[0x11] = iVar12;
                *puVar10 = puVar7;
                if (iVar3 == 0) {
                  iVar3 = *(int *)(param_1 + 0x18);
                  if (iVar3 == 0) goto LAB_00029980;
LAB_000299fb:
                  do {
                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&
                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {
                      uVar5 = *(undefined4 *)(iVar6 + 0x44);
                      *(undefined1 *)(iVar3 + 0xd) = 1;
                      *(undefined4 *)(iVar3 + 0x30) = uVar5;
                      iVar3 = *(int *)(iVar3 + 0x34);
                      if (iVar3 == 0) goto LAB_00029a17;
                    }
                    iVar3 = *(int *)(iVar3 + 0x34);
                  } while (iVar3 != 0);
LAB_00029a17:
                  if (iVar12 != 0) goto LAB_00029980;
                  goto LAB_000299a8;
                }
              }
            }
          }
          goto LAB_000296b5;
        }
      }
      else {
LAB_00029a51:
        pcVar4 = "rawdata must be NULL";
LAB_00029a5a:
        FUN_0001c450(param_1,pcVar4);
        iVar3 = 0x13;
      }
    }
    else {
      FUN_0001c450(param_1,"sz must be NULL");
      iVar12 = FUN_00038f70(param_3[6]);
      iVar3 = 0x13;
      if (iVar12 != 5) goto LAB_00029a51;
    }
LAB_00029a6c:
    local_60 = (char *)0x0;
  }
  else {
    pcVar4 = (char *)FUN_0006a4a0(*param_3);
    strlen(pcVar4);
    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {
      bVar13 = false;
    }
    else {
      iVar3 = FUN_0001dcf0();
      bVar13 = iVar3 != 0;
    }
    iVar12 = *(int *)(param_1 + 0x24);
    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {
      iVar12 = *(int *)(iVar12 + 0x44);
    }
    if (1 < param_2) goto LAB_0002975e;
    iVar11 = 0;
    local_60 = (char *)0x0;
    iVar3 = *(int *)(param_1 + 0x18);
    if (iVar3 != 0) goto LAB_000299fb;
LAB_00029980:
    iVar3 = *(int *)(param_1 + 0x24);
    if (iVar12 == *(int *)(param_1 + 0x24)) {
      puVar7 = (undefined4 *)(param_1 + 0x24);
      iVar3 = iVar12;
    }
    else {
      do {
        iVar6 = iVar3;
        iVar3 = *(int *)(iVar6 + 0x44);
      } while (iVar12 != iVar3);
      puVar7 = (undefined4 *)(iVar6 + 0x44);
    }
    *puVar7 = *(undefined4 *)(iVar3 + 0x44);
    FUN_000230c0();
LAB_000299a8:
    iVar3 = 0;
    if (iVar11 != 0) {
LAB_000299b2:
      iVar3 = *(int *)(param_1 + 0x24);
      if (*(int *)(param_1 + 0x24) == iVar11) {
        puVar7 = (undefined4 *)(param_1 + 0x24);
      }
      else {
        do {
          iVar12 = iVar3;
          iVar3 = *(int *)(iVar12 + 0x44);
        } while (iVar3 != iVar11);
        puVar7 = (undefined4 *)(iVar12 + 0x44);
      }
      *puVar7 = *(undefined4 *)(iVar11 + 0x44);
      FUN_000230c0();
      iVar3 = 0;
    }
  }
LAB_000296b5:
  FUN_00042800(0);
  FUN_00042800(local_60);
LAB_000296d6:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00116110();
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00017230
ADD EBX,0x1527df
SUB ESP,0x5c
MOV EAX,dword ptr [ESP + 0x70]
MOV ECX,dword ptr [ESP + 0x78]
MOV dword ptr [ESP + 0x10],EAX
MOV EAX,dword ptr [EAX + 0x2c]
MOV dword ptr [ESP + 0xc],ECX
MOV EDI,dword ptr GS:[0x14]
MOV dword ptr [ESP + 0x4c],EDI
XOR EDI,EDI
MOV dword ptr [ESP + 0x40],0x0
MOV dword ptr [ESP + 0x44],0x0
TEST EAX,EAX
JZ 0x00029928
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x18]
PUSH dword ptr [EAX]
CALL 0x00038f70
ADD ESP,0x10
CMP EAX,0x5
JNZ 0x000296f8
CMP dword ptr [ESP + 0x74],0x1
JG 0x00029950
MOV dword ptr [ESP + 0xc],0x0
XOR EDX,EDX
MOV dword ptr [ESP + 0x10],EDX
SUB ESP,0xc
PUSH dword ptr [ESP + 0x50]
CALL 0x00042800
POP ECX
PUSH dword ptr [ESP + 0x18]
CALL 0x00042800
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x10]
MOV EDI,dword ptr [ESP + 0x4c]
XOR EDI,dword ptr GS:[0x14]
MOV EAX,EDX
JNZ 0x00029e5f
ADD ESP,0x5c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x18]
PUSH dword ptr [EAX]
CALL 0x0006a4a0
MOV dword ptr [ESP],EAX
MOV EDI,EAX
CALL 0x000153b0
ADD ESP,0x10
CMP dword ptr [ESP + 0x74],0x1
MOV EBP,EAX
JG 0x00029a80
MOV dword ptr [ESP + 0x14],0x0
MOV EAX,dword ptr [ESP + 0x10]
MOV ESI,dword ptr [EAX + 0x24]
JMP 0x0002973b
MOV ESI,dword ptr [ESI + 0x44]
MOV EAX,dword ptr [ESI + 0x2c]
MOV ECX,EBP
MOV EDX,EDI
CALL 0x0001dcf0
TEST EAX,EAX
JNZ 0x00029738
CMP dword ptr [ESP + 0x74],0x1
JLE 0x00029960
MOVZX EDI,byte ptr [ESP + 0x14]
AND EDI,0x1
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x18]
PUSH dword ptr [EBP + 0x14]
CALL 0x00038f70
ADD ESP,0x10
CMP EAX,0x5
JNZ 0x00029a28
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x18]
PUSH dword ptr [EBP + 0x18]
CALL 0x00038f70
ADD ESP,0x10
CMP EAX,0x5
JNZ 0x00029a51
SUB ESP,0xc
PUSH dword ptr [EBP + 0x1c]
CALL 0x00038f70
ADD ESP,0x10
CMP EAX,0x5
JNZ 0x00029ab4
MOV EAX,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0x3c],0x0
MOV EBP,0x1
MOV dword ptr [ESP + 0x30],0x0
ADD EAX,0x8
MOV dword ptr [ESP + 0x24],0x0
MOV dword ptr [ESP + 0x14],EAX
MOV dword ptr [ESP + 0x38],0x0
MOV dword ptr [ESP + 0x28],0x0
MOV dword ptr [ESP + 0x2c],0x0
MOV EAX,dword ptr [ESP + 0xc]
LEA ECX,[ESP + 0x40]
SUB ESP,0xc
MOV EDX,EBP
MOV EAX,dword ptr [EAX + 0xc]
PUSH dword ptr [ESP + 0x20]
CALL 0x0001bb40
ADD ESP,0x10
MOV EDX,EAX
TEST EAX,EAX
JNZ 0x00029a6c
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x18]
PUSH dword ptr [EAX + 0x8]
CALL 0x0006a4a0
MOV dword ptr [ESP + 0x24],EAX
MOV dword ptr [ESP],EAX
CALL 0x000153b0
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x18],EAX
MOV EAX,dword ptr [EDX + 0x10]
CALL 0x00023fd0
MOV dword ptr [ESP + 0x1c],EAX
TEST EBP,EBP
JZ 0x00029e64
MOV ECX,dword ptr [ESP + 0x14]
MOV EBP,dword ptr [ESP + 0x18]
CMP byte ptr [ECX + EBP*0x1 + -0x1],0x2f
JZ 0x00029b60
SUB ESP,0x8
LEA EAX,[EBX + 0xfff9b701]
PUSH ECX
PUSH EAX
CALL 0x0008ff90
MOV dword ptr [ESP + 0x24],EAX
MOV ECX,EAX
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00029ce8
ADD EBP,0x1
MOV EAX,EDI
MOV dword ptr [ESP + 0x18],EBP
TEST AL,AL
JZ 0x00029cd9
MOV dword ptr [ESP + 0xc],ECX
MOV EAX,dword ptr [ESP + 0x10]
MOV EBP,dword ptr [EAX + 0x24]
TEST EBP,EBP
JZ 0x00029b74
MOV dword ptr [ESP + 0x20],ESI
MOV EDI,dword ptr [ESP + 0x18]
MOV ESI,dword ptr [ESP + 0x14]
JMP 0x000298c3
MOV EBP,dword ptr [EBP + 0x44]
TEST EBP,EBP
JZ 0x00029cd0
MOV EAX,dword ptr [EBP + 0x2c]
MOV ECX,EDI
MOV EDX,ESI
CALL 0x0001dcf0
TEST EAX,EAX
JNZ 0x000298b8
MOV ESI,dword ptr [ESP + 0x20]
MOV dword ptr [ESP + 0x20],EAX
SUB ESP,0xc
MOV EDI,dword ptr [ESP + 0x1c]
PUSH dword ptr [EDI + 0x10]
CALL 0x00039f00
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x20]
CMP EAX,0x2
JZ 0x000296b5
CMP EAX,0x5
JZ 0x00029b74
SUB ESP,0x4
LEA EAX,[EBX + 0xfff9bb57]
PUSH dword ptr [ESP + 0x18]
PUSH EAX
PUSH EDI
CALL 0x0001c450
ADD ESP,0x10
MOV EDX,0x13
JMP 0x000296b5
SUB ESP,0xc
PUSH dword ptr [ESP + 0x1c]
CALL 0x000295a0
ADD ESP,0x10
MOV EDX,EAX
TEST EAX,EAX
JZ 0x0002968a
JMP 0x000296d6
MOV EDI,0x1
XOR ESI,ESI
JMP 0x0002975e
MOV EAX,dword ptr [ESP + 0x10]
XOR EBP,EBP
MOV dword ptr [ESP + 0xc],0x0
MOV EAX,dword ptr [EAX + 0x18]
TEST EAX,EAX
JNZ 0x000299fb
LEA ESI,[ESI]
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EAX + 0x24]
CMP ESI,EDX
JNZ 0x00029992
JMP 0x00029d68
MOV EDX,EAX
MOV EAX,dword ptr [EDX + 0x44]
CMP ESI,EAX
JNZ 0x00029990
ADD EDX,0x44
MOV EAX,dword ptr [EAX + 0x44]
MOV dword ptr [EDX],EAX
MOV EAX,ESI
CALL 0x000230c0
XOR EDX,EDX
TEST EBP,EBP
JZ 0x000296b5
MOV EAX,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [EAX + 0x24]
CMP EDX,EBP
JNZ 0x000299ca
JMP 0x00029d76
MOV EDX,EAX
MOV EAX,dword ptr [EDX + 0x44]
CMP EAX,EBP
JNZ 0x000299c8
ADD EDX,0x44
MOV EAX,dword ptr [EBP + 0x44]
MOV dword ptr [EDX],EAX
MOV EAX,EBP
CALL 0x000230c0
XOR EDX,EDX
JMP 0x000296b5
CMP EDX,ESI
JZ 0x00029a06
MOV EAX,dword ptr [EAX + 0x34]
TEST EAX,EAX
JZ 0x00029a17
MOV EDX,dword ptr [EAX + 0x30]
TEST EDX,EDX
JZ 0x000299f4
CMP EDX,EBP
JNZ 0x000299f0
MOV EDX,dword ptr [EDX + 0x44]
MOV byte ptr [EAX + 0xd],0x1
MOV dword ptr [EAX + 0x30],EDX
MOV EAX,dword ptr [EAX + 0x34]
TEST EAX,EAX
JNZ 0x000299fb
TEST ESI,ESI
JNZ 0x00029980
JMP 0x000299a8
SUB ESP,0x8
LEA EAX,[EBX + 0xfff9bb32]
PUSH EAX
PUSH dword ptr [ESP + 0x1c]
CALL 0x0001c450
POP EAX
PUSH dword ptr [EBP + 0x18]
CALL 0x00038f70
ADD ESP,0x10
MOV EDX,0x13
CMP EAX,0x5
JZ 0x00029a6c
SUB ESP,0x8
LEA EAX,[EBX + 0xfff9bb42]
PUSH EAX
PUSH dword ptr [ESP + 0x1c]
CALL 0x0001c450
ADD ESP,0x10
MOV EDX,0x13
MOV dword ptr [ESP + 0xc],0x0
JMP 0x000296b5
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x18]
PUSH dword ptr [EAX + 0x4]
CALL 0x0006a4a0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00029720
MOV ECX,EBP
MOV EDX,EDI
CALL 0x0001dcf0
TEST EAX,EAX
SETNZ AL
MOVZX EAX,AL
MOV dword ptr [ESP + 0x14],EAX
JMP 0x00029728
SUB ESP,0xc
MOV EBP,dword ptr [ESP + 0x18]
PUSH dword ptr [EBP + 0x1c]
CALL 0x0006a4e0
MOV dword ptr [ESP + 0x48],EAX
POP ECX
PUSH dword ptr [EBP + 0x1c]
CALL 0x0006a2f0
MOV dword ptr [ESP + 0x34],EAX
POP EAX
MOV dword ptr [ESP + 0x18],EBP
PUSH dword ptr [EBP + 0x20]
CALL 0x00038f70
MOV EBP,EAX
POP EAX
MOV ECX,dword ptr [ESP + 0x18]
PUSH dword ptr [ECX + 0x20]
CALL 0x00049400
MOV ECX,dword ptr [ESP + 0x34]
MOV dword ptr [ESP + 0x40],EAX
MOV dword ptr [ESP + 0x38],ECX
SAR ECX,0x1f
MOV dword ptr [ESP + 0x3c],ECX
ADD ESP,0x10
AND EAX,0xfffffff7
JNZ 0x00029d82
MOV ECX,dword ptr [ESP + 0x10]
XOR EAX,EAX
CMP EBP,0x5
SETZ AL
ADD ECX,0x8
OR EAX,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0x14],ECX
MOV ECX,dword ptr [ESP + 0x24]
MOV EBP,EAX
MOV dword ptr [ESP + 0x18],ECX
JNZ 0x00029d94
SUB ESP,0x4
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x40]
PUSH 0x0
CALL 0x00015140
MOV dword ptr [ESP + 0x4c],EAX
ADD ESP,0x10
MOV dword ptr [ESP + 0x30],0x0
JMP 0x000297eb
MOV EAX,EDI
TEST AL,AL
JNZ 0x00029cc0
MOV dword ptr [ESP + 0xc],0x0
XOR EBP,EBP
SUB ESP,0xc
PUSH 0x48
CALL 0x0005bfa0
ADD ESP,0x10
MOV EDX,0x7
TEST EAX,EAX
JZ 0x000296b5
LEA EDI,[EAX + 0x4]
MOV ECX,EAX
MOV dword ptr [ESP + 0x34],EDX
SUB ESP,0x8
AND EDI,0xfffffffc
MOV dword ptr [EAX],0x0
SUB ECX,EDI
MOV dword ptr [EAX + 0x44],0x0
ADD ECX,0x48
MOV dword ptr [ESP + 0x28],EAX
XOR EAX,EAX
SHR ECX,0x2
STOSD.REP ES:EDI
LEA EAX,[EBX + 0xfff9cdcb]
PUSH dword ptr [ESP + 0x1c]
PUSH EAX
CALL 0x0008ff90
MOV ECX,dword ptr [ESP + 0x30]
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x34]
TEST EAX,EAX
MOV dword ptr [ECX + 0x2c],EAX
JZ 0x00029df3
MOV EDI,dword ptr [ESP + 0x20]
MOVZX EAX,word ptr [ESP + 0x30]
MOV EDX,0x800
MOV ECX,dword ptr [ESP + 0x1c]
MOV word ptr [EDI + 0x4],DX
LEA EDX,[EDI + 0xa]
MOV word ptr [EDI + 0x6],AX
LEA EAX,[EDI + 0x8]
MOV dword ptr [EDI],0x14031e
CALL 0x00022c90
MOV EAX,dword ptr [ESP + 0x3c]
MOV ECX,EDI
MOVZX EDX,word ptr [ESP + 0x18]
MOV dword ptr [EDI + 0xc],EAX
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [EDI + 0x10],EAX
MOV EAX,dword ptr [ESP + 0x28]
MOV dword ptr [EDI + 0x14],EAX
MOV EAX,dword ptr [ESP + 0x40]
SHL EAX,0x10
MOV dword ptr [EDI + 0x24],EAX
MOV EDI,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EDI + 0x30]
MOV word ptr [ECX + 0x18],DX
MOV dword ptr [ECX + 0x28],EAX
MOV EAX,ECX
MOV ECX,dword ptr [ESP + 0x1c]
MOV dword ptr [EAX + 0x30],ECX
MOV EDI,dword ptr [EDI + 0x14]
MOV EDX,EDI
CALL 0x0001be00
MOV EDX,EDI
MOV ECX,EAX
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x00023910
MOV EDX,EAX
TEST EAX,EAX
JZ 0x00029cfa
MOV EAX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [EAX + 0x24]
TEST ESI,ESI
JZ 0x00029d24
CMP ESI,ECX
JNZ 0x00029c8a
JMP 0x00029de7
MOV ECX,EAX
MOV EAX,dword ptr [ECX + 0x44]
CMP EAX,ESI
JNZ 0x00029c88
ADD ECX,0x44
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [EAX + 0x44],ESI
MOV dword ptr [ECX],EAX
TEST EDX,EDX
JNZ 0x000296b5
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX + 0x18]
TEST EAX,EAX
JNZ 0x000299fb
JMP 0x00029980
MOV dword ptr [ESP + 0xc],0x0
JMP 0x00029894
MOV ESI,dword ptr [ESP + 0x20]
JMP 0x00029b74
MOV EAX,dword ptr [ESP + 0x14]
XOR EBP,EBP
MOV dword ptr [ESP + 0xc],EAX
JMP 0x00029b74
MOV dword ptr [ESP + 0xc],0x0
MOV EDX,0x7
JMP 0x000296b5
MOV EDI,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [EDI + 0x30]
MOV EDX,dword ptr [EDI + 0x34]
MOV dword ptr [ECX + 0x38],EAX
MOV EAX,EDI
MOV dword ptr [ECX + 0x3c],EDX
MOV EDX,dword ptr [ESP + 0x38]
MOV ECX,dword ptr [ESP + 0x24]
CALL 0x00023910
MOV EDX,EAX
JMP 0x00029c69
TEST ECX,ECX
JZ 0x00029dd8
MOV ECX,dword ptr [ESP + 0x10]
MOV EDI,dword ptr [ESP + 0x20]
MOV EAX,dword ptr [ECX + 0x28]
MOV dword ptr [EAX + 0x44],EDI
MOV dword ptr [ECX + 0x28],EDI
TEST EDX,EDX
JNZ 0x000296b5
TEST EBP,EBP
JZ 0x000296b5
MOV EAX,dword ptr [ESP + 0x10]
MOV EAX,dword ptr [EAX + 0x18]
TEST EAX,EAX
JNZ 0x000299fb
JMP 0x000299b2
MOV EAX,dword ptr [ESP + 0x10]
LEA EDX,[EAX + 0x24]
MOV EAX,ESI
JMP 0x0002999c
MOV EDX,dword ptr [ESP + 0x10]
ADD EDX,0x24
JMP 0x000299d4
SUB ESP,0x4
LEA EAX,[EBX + 0xfff9e484]
PUSH dword ptr [ESP + 0x34]
JMP 0x00029a5a
LEA ECX,[ESP + 0x44]
SUB ESP,0x8
PUSH dword ptr [ESP + 0x1c]
LEA EAX,[ESP + 0x54]
PUSH EAX
MOV EDX,dword ptr [ESP + 0x34]
MOV EAX,dword ptr [ESP + 0x48]
CALL 0x00024250
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JZ 0x00029e0f
PUSH EAX
PUSH dword ptr [ESP + 0x28]
PUSH dword ptr [ESP + 0x40]
PUSH 0x0
CALL 0x00015140
ADD ESP,0x10
MOV EDX,EBP
JMP 0x00029a6c
MOV ECX,dword ptr [ESP + 0x20]
MOV dword ptr [EAX + 0x28],ECX
MOV dword ptr [EAX + 0x24],ECX
JMP 0x00029d3d
MOV EAX,dword ptr [ESP + 0x10]
LEA ECX,[EAX + 0x24]
JMP 0x00029c94
MOV dword ptr [ESP + 0x10],EDX
SUB ESP,0xc
PUSH dword ptr [ESP + 0x2c]
CALL 0x00042800
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x10]
JMP 0x000296b5
MOV EDX,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [ESP + 0x48]
TEST EDX,EDX
JNZ 0x00029e25
MOV EDX,dword ptr [ESP + 0x38]
CMP EAX,dword ptr [ESP + 0x24]
JGE 0x00029e35
MOV dword ptr [ESP + 0x24],EAX
MOV EDX,dword ptr [ESP + 0x44]
MOV dword ptr [ESP + 0x30],0x8
MOV dword ptr [ESP + 0x1c],EDX
SUB ESP,0x4
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x40]
PUSH 0x0
CALL 0x00015140
MOV dword ptr [ESP + 0x4c],EAX
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0x1c]
MOV dword ptr [ESP + 0x38],EDX
JMP 0x000297eb
CALL 0x00116110
MOV EAX,EDI
TEST AL,AL
JNZ 0x00029cc0
MOV dword ptr [ESP + 0xc],0x0
XOR EBP,EBP
JMP 0x00029b74
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_00029640(int param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  byte bVar14;\n  char *local_60;\n  char *local_58;\n  size_t local_54;\n  int local_48;\n  int local_44;\n  undefined2 local_3c;\n  undefined4 local_30;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0x29649;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))\n  goto LAB_000296d6;\n  iVar3 = FUN_00038f70(*param_3);\n  if (iVar3 == 5) {\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }\nLAB_000296b5:\n  FUN_00042800(0);\n  FUN_00042800(local_60);\nLAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00116110();\n}\n\n" comment (function_definition "int FUN_00029640(int param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  byte bVar14;\n  char *local_60;\n  char *local_58;\n  size_t local_54;\n  int local_48;\n  int local_44;\n  undefined2 local_3c;\n  undefined4 local_30;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0x29649;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))\n  goto LAB_000296d6;\n  iVar3 = FUN_00038f70(*param_3);\n  if (iVar3 == 5) {\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }\nLAB_000296b5:\n  FUN_00042800(0);\n  FUN_00042800(local_60);\nLAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00116110();\n}" primitive_type (function_declarator "FUN_00029640(int param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  byte bVar14;\n  char *local_60;\n  char *local_58;\n  size_t local_54;\n  int local_48;\n  int local_44;\n  undefined2 local_3c;\n  undefined4 local_30;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0x29649;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))\n  goto LAB_000296d6;\n  iVar3 = FUN_00038f70(*param_3);\n  if (iVar3 == 5) {\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }\nLAB_000296b5:\n  FUN_00042800(0);\n  FUN_00042800(local_60);\nLAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00116110();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "byte bVar14;" type_identifier identifier ;) (declaration "char *local_60;" primitive_type (pointer_declarator "*local_60" * identifier) ;) (declaration "char *local_58;" primitive_type (pointer_declarator "*local_58" * identifier) ;) (declaration "size_t local_54;" primitive_type identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "undefined2 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x29649;" (assignment_expression "uStack_14 = 0x29649" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))\n  goto LAB_000296d6;" if (parenthesized_expression "((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))" ( (binary_expression "(*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x2c) == 0)" ( (binary_expression "*(int *)(param_1 + 0x2c) == 0" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar3 = FUN_000295a0(param_1), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_000295a0(param_1), iVar3 != 0" (assignment_expression "iVar3 = FUN_000295a0(param_1)" identifier = (call_expression "FUN_000295a0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000296d6;" goto statement_identifier ;)) (expression_statement "iVar3 = FUN_00038f70(*param_3);" (assignment_expression "iVar3 = FUN_00038f70(*param_3)" identifier = (call_expression "FUN_00038f70(*param_3)" identifier (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) )))) ;) (if_statement "if (iVar3 == 5) {\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }" if (parenthesized_expression "(iVar3 == 5)" ( (binary_expression "iVar3 == 5" identifier == number_literal) )) (compound_statement "{\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }" { (if_statement "if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }" if (parenthesized_expression "(param_2 < 2)" ( (binary_expression "param_2 < 2" identifier < number_literal) )) (compound_statement "{\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }" { (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;) })) (expression_statement "bVar13 = true;" (assignment_expression "bVar13 = true" identifier = true) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);" statement_identifier : (expression_statement "iVar3 = FUN_00038f70(param_3[5]);" (assignment_expression "iVar3 = FUN_00038f70(param_3[5])" identifier = (call_expression "FUN_00038f70(param_3[5])" identifier (argument_list "(param_3[5])" ( (subscript_expression "param_3[5]" identifier [ number_literal ]) )))) ;)) (if_statement "if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }" if (parenthesized_expression "(iVar3 == 5)" ( (binary_expression "iVar3 == 5" identifier == number_literal) )) (compound_statement "{\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }" { (expression_statement "iVar3 = FUN_00038f70(param_3[6]);" (assignment_expression "iVar3 = FUN_00038f70(param_3[6])" identifier = (call_expression "FUN_00038f70(param_3[6])" identifier (argument_list "(param_3[6])" ( (subscript_expression "param_3[6]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }" if (parenthesized_expression "(iVar3 == 5)" ( (binary_expression "iVar3 == 5" identifier == number_literal) )) (compound_statement "{\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }" { (expression_statement "iVar3 = FUN_00038f70(param_3[7]);" (assignment_expression "iVar3 = FUN_00038f70(param_3[7])" identifier = (call_expression "FUN_00038f70(param_3[7])" identifier (argument_list "(param_3[7])" ( (subscript_expression "param_3[7]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }" if (parenthesized_expression "(iVar3 == 5)" ( (binary_expression "iVar3 == 5" identifier == number_literal) )) (compound_statement "{\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }" { (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }" else (compound_statement "{\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }" { (expression_statement "uVar5 = FUN_0006a4e0(param_3[7]);" (assignment_expression "uVar5 = FUN_0006a4e0(param_3[7])" identifier = (call_expression "FUN_0006a4e0(param_3[7])" identifier (argument_list "(param_3[7])" ( (subscript_expression "param_3[7]" identifier [ number_literal ]) )))) ;) (expression_statement "local_44 = FUN_0006a2f0(param_3[7]);" (assignment_expression "local_44 = FUN_0006a2f0(param_3[7])" identifier = (call_expression "FUN_0006a2f0(param_3[7])" identifier (argument_list "(param_3[7])" ( (subscript_expression "param_3[7]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar3 = FUN_00038f70(param_3[8]);" (assignment_expression "iVar3 = FUN_00038f70(param_3[8])" identifier = (call_expression "FUN_00038f70(param_3[8])" identifier (argument_list "(param_3[8])" ( (subscript_expression "param_3[8]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar8 = FUN_00049400(param_3[8]);" (assignment_expression "uVar8 = FUN_00049400(param_3[8])" identifier = (call_expression "FUN_00049400(param_3[8])" identifier (argument_list "(param_3[8])" ( (subscript_expression "param_3[8]" identifier [ number_literal ]) )))) ;) (if_statement "if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }" if (parenthesized_expression "((uVar8 & 0xfffffff7) != 0)" ( (binary_expression "(uVar8 & 0xfffffff7) != 0" (parenthesized_expression "(uVar8 & 0xfffffff7)" ( (binary_expression "uVar8 & 0xfffffff7" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }" { (expression_statement "pcVar4 = "unknown compression method: %d";" (assignment_expression "pcVar4 = "unknown compression method: %d"" identifier = (string_literal ""unknown compression method: %d"" " string_content ")) ;) (goto_statement "goto LAB_00029a5a;" goto statement_identifier ;) })) (expression_statement "local_48 = local_44;" (assignment_expression "local_48 = local_44" identifier = identifier) ;) (if_statement "if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }" if (parenthesized_expression "(iVar3 == 5 || uVar8 != 0)" ( (binary_expression "iVar3 == 5 || uVar8 != 0" (binary_expression "iVar3 == 5" identifier == number_literal) || (binary_expression "uVar8 != 0" identifier != number_literal)) )) (compound_statement "{\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }" { (expression_statement "iVar3 = FUN_00024250(&local_24,param_1 + 8);" (assignment_expression "iVar3 = FUN_00024250(&local_24,param_1 + 8)" identifier = (call_expression "FUN_00024250(&local_24,param_1 + 8)" identifier (argument_list "(&local_24,param_1 + 8)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "param_1 + 8" identifier + number_literal) )))) ;) (if_statement "if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }" { (expression_statement "crc32(0,uVar5,local_44,iVar3);" (call_expression "crc32(0,uVar5,local_44,iVar3)" identifier (argument_list "(0,uVar5,local_44,iVar3)" ( number_literal , identifier , identifier , identifier ))) ;) (goto_statement "goto LAB_00029a6c;" goto statement_identifier ;) })) (if_statement "if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }" if (parenthesized_expression "((uVar8 != 0) || (local_3c = 0, local_24 < local_44))" ( (binary_expression "(uVar8 != 0) || (local_3c = 0, local_24 < local_44)" (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) || (parenthesized_expression "(local_3c = 0, local_24 < local_44)" ( (comma_expression "local_3c = 0, local_24 < local_44" (assignment_expression "local_3c = 0" identifier = number_literal) , (binary_expression "local_24 < local_44" identifier < identifier)) ))) )) (compound_statement "{\n              local_48 = local_24;\n              local_3c = 8;\n            }" { (expression_statement "local_48 = local_24;" (assignment_expression "local_48 = local_24" identifier = identifier) ;) (expression_statement "local_3c = 8;" (assignment_expression "local_3c = 8" identifier = number_literal) ;) })) (expression_statement "local_30 = crc32(0,uVar5,local_44);" (assignment_expression "local_30 = crc32(0,uVar5,local_44)" identifier = (call_expression "crc32(0,uVar5,local_44)" identifier (argument_list "(0,uVar5,local_44)" ( number_literal , identifier , identifier )))) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }) (else_clause "else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }" else (compound_statement "{\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }" { (expression_statement "local_30 = crc32(0,uVar5,local_44);" (assignment_expression "local_30 = crc32(0,uVar5,local_44)" identifier = (call_expression "crc32(0,uVar5,local_44)" identifier (argument_list "(0,uVar5,local_44)" ( number_literal , identifier , identifier )))) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }))) }))) (expression_statement "local_58 = (char *)(param_1 + 8);" (assignment_expression "local_58 = (char *)(param_1 + 8)" identifier = (cast_expression "(char *)(param_1 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) ;) (expression_statement "iVar3 = FUN_0001bb40(local_58);" (assignment_expression "iVar3 = FUN_0001bb40(local_58)" identifier = (call_expression "FUN_0001bb40(local_58)" identifier (argument_list "(local_58)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }" { (expression_statement "local_58 = (char *)FUN_0006a4a0(param_3[2]);" (assignment_expression "local_58 = (char *)FUN_0006a4a0(param_3[2])" identifier = (cast_expression "(char *)FUN_0006a4a0(param_3[2])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006a4a0(param_3[2])" identifier (argument_list "(param_3[2])" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) ))))) ;) (expression_statement "local_54 = strlen(local_58);" (assignment_expression "local_54 = strlen(local_58)" identifier = (call_expression "strlen(local_58)" identifier (argument_list "(local_58)" ( identifier )))) ;) (expression_statement "uVar5 = FUN_00023fd0();" (assignment_expression "uVar5 = FUN_00023fd0()" identifier = (call_expression "FUN_00023fd0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }" { (if_statement "if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }" if (parenthesized_expression "(local_58[local_54 - 1] == '/')" ( (binary_expression "local_58[local_54 - 1] == '/'" (subscript_expression "local_58[local_54 - 1]" identifier [ (binary_expression "local_54 - 1" identifier - number_literal) ]) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }" { (if_statement "if (bVar13) goto LAB_00029cc0;" if (parenthesized_expression "(bVar13)" ( identifier )) (goto_statement "goto LAB_00029cc0;" goto statement_identifier ;)) (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }" else (compound_statement "{\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }" { (expression_statement "local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);" (assignment_expression "local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58)" identifier = (cast_expression "(char *)FUN_0008ff90(&DAT_00117529,local_58)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0008ff90(&DAT_00117529,local_58)" identifier (argument_list "(&DAT_00117529,local_58)" ( (pointer_expression "&DAT_00117529" & identifier) , identifier ))))) ;) (if_statement "if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }" if (parenthesized_expression "(local_60 == (char *)0x0)" ( (binary_expression "local_60 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }" { (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;) })) (expression_statement "local_54 = local_54 + 1;" (assignment_expression "local_54 = local_54 + 1" identifier = (binary_expression "local_54 + 1" identifier + number_literal)) ;) (expression_statement "local_58 = local_60;" (assignment_expression "local_58 = local_60" identifier = identifier) ;) (if_statement "if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }" if (parenthesized_expression "(!bVar13)" ( (unary_expression "!bVar13" ! identifier) )) (compound_statement "{\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }" { (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00029b74;" goto statement_identifier ;) })) (labeled_statement "LAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }" statement_identifier : (for_statement "for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }" for ( (assignment_expression "iVar11 = *(int *)(param_1 + 0x24)" identifier = (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ; (binary_expression "iVar11 != 0" identifier != number_literal) ; (assignment_expression "iVar11 = *(int *)(iVar11 + 0x44)" identifier = (pointer_expression "*(int *)(iVar11 + 0x44)" * (cast_expression "(int *)(iVar11 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x44)" ( (binary_expression "iVar11 + 0x44" identifier + number_literal) ))))) ) (compound_statement "{\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }" { (expression_statement "iVar3 = FUN_0001dcf0();" (assignment_expression "iVar3 = FUN_0001dcf0()" identifier = (call_expression "FUN_0001dcf0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }" { (expression_statement "iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));" (assignment_expression "iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10))" identifier = (call_expression "FUN_00039f00(*(undefined4 *)(param_1 + 0x10))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (iVar6 == 2) goto LAB_000296b5;" if (parenthesized_expression "(iVar6 == 2)" ( (binary_expression "iVar6 == 2" identifier == number_literal) )) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;)) (if_statement "if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }" if (parenthesized_expression "(iVar6 != 5)" ( (binary_expression "iVar6 != 5" identifier != number_literal) )) (compound_statement "{\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }" { (expression_statement "FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);" (call_expression "FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58)" identifier (argument_list "(param_1,"duplicate name: \"%s\"",local_58)" ( identifier , (string_literal ""duplicate name: \"%s\""" " string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) (expression_statement "iVar3 = 0x13;" (assignment_expression "iVar3 = 0x13" identifier = number_literal) ;) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) }))) }))) }) (else_clause "else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }" else (compound_statement "{\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }" { (if_statement "if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }" if (parenthesized_expression "(bVar13)" ( identifier )) (compound_statement "{\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }" { (labeled_statement "LAB_00029cc0:\n              local_60 = (char *)0x0;" statement_identifier : (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (goto_statement "goto LAB_00029894;" goto statement_identifier ;) })) (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) }))) (labeled_statement "LAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);" statement_identifier : (expression_statement "puVar7 = (undefined4 *)FUN_0005bfa0(0x48);" (assignment_expression "puVar7 = (undefined4 *)FUN_0005bfa0(0x48)" identifier = (cast_expression "(undefined4 *)FUN_0005bfa0(0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005bfa0(0x48)" identifier (argument_list "(0x48)" ( number_literal ))))) ;)) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) (if_statement "if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }" if (parenthesized_expression "(puVar7 != (undefined4 *)0x0)" ( (binary_expression "puVar7 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }" { (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "puVar7[0x11] = 0;" (assignment_expression "puVar7[0x11] = 0" (subscript_expression "puVar7[0x11]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);" (assignment_expression "puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }" for ( (assignment_expression "uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc)))" ( (binary_expression "(int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))" ( (binary_expression "0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(puVar7 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar8 != 0" identifier != number_literal) ; (assignment_expression "uVar8 = uVar8 - 1" identifier = (binary_expression "uVar8 - 1" identifier - number_literal)) ) (compound_statement "{\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }" { (expression_statement "*puVar10 = 0;" (assignment_expression "*puVar10 = 0" (pointer_expression "*puVar10" * identifier) = number_literal) ;) (expression_statement "puVar10 = puVar10 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar10 = puVar10 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar10 + (uint)bVar14 * -2 + 1" (binary_expression "puVar10 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "iVar3 = FUN_0008ff90("%s",local_58);" (assignment_expression "iVar3 = FUN_0008ff90("%s",local_58)" identifier = (call_expression "FUN_0008ff90("%s",local_58)" identifier (argument_list "("%s",local_58)" ( (string_literal ""%s"" " string_content ") , identifier )))) ;) (expression_statement "puVar7[0xb] = iVar3;" (assignment_expression "puVar7[0xb] = iVar3" (subscript_expression "puVar7[0xb]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }" { (expression_statement "FUN_00042800(puVar7);" (call_expression "FUN_00042800(puVar7)" identifier (argument_list "(puVar7)" ( identifier ))) ;) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) }) (else_clause "else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }" else (compound_statement "{\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }" { (expression_statement "*(undefined2 *)(puVar7 + 1) = 0x800;" (assignment_expression "*(undefined2 *)(puVar7 + 1) = 0x800" (pointer_expression "*(undefined2 *)(puVar7 + 1)" * (cast_expression "(undefined2 *)(puVar7 + 1)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined2 *)((int)puVar7 + 6) = local_3c;" (assignment_expression "*(undefined2 *)((int)puVar7 + 6) = local_3c" (pointer_expression "*(undefined2 *)((int)puVar7 + 6)" * (cast_expression "(undefined2 *)((int)puVar7 + 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 6)" ( (binary_expression "(int)puVar7 + 6" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*puVar7 = 0x14031e;" (assignment_expression "*puVar7 = 0x14031e" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "FUN_00022c90();" (call_expression "FUN_00022c90()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar7[3] = local_30;" (assignment_expression "puVar7[3] = local_30" (subscript_expression "puVar7[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[4] = local_48;" (assignment_expression "puVar7[4] = local_48" (subscript_expression "puVar7[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[5] = local_44;" (assignment_expression "puVar7[5] = local_44" (subscript_expression "puVar7[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[9] = 0;" (assignment_expression "puVar7[9] = 0" (subscript_expression "puVar7[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined2 *)(puVar7 + 6) = (undefined2)local_54;" (assignment_expression "*(undefined2 *)(puVar7 + 6) = (undefined2)local_54" (pointer_expression "*(undefined2 *)(puVar7 + 6)" * (cast_expression "(undefined2 *)(puVar7 + 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 6)" ( (binary_expression "puVar7 + 6" identifier + number_literal) )))) = (cast_expression "(undefined2)local_54" ( (type_descriptor "undefined2" type_identifier) ) identifier)) ;) (expression_statement "puVar7[10] = uVar1;" (assignment_expression "puVar7[10] = uVar1" (subscript_expression "puVar7[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[0xc] = uVar5;" (assignment_expression "puVar7[0xc] = uVar5" (subscript_expression "puVar7[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_0001be00();" (call_expression "FUN_0001be00()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = FUN_00023910();" (assignment_expression "iVar3 = FUN_00023910()" identifier = (call_expression "FUN_00023910()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }" { (expression_statement "uVar5 = *(undefined4 *)(param_1 + 0x34);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 0x34)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "puVar7[0xe] = *(undefined4 *)(param_1 + 0x30)" (subscript_expression "puVar7[0xe]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "puVar7[0xf] = uVar5;" (assignment_expression "puVar7[0xf] = uVar5" (subscript_expression "puVar7[0xf]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = FUN_00023910();" (assignment_expression "iVar3 = FUN_00023910()" identifier = (call_expression "FUN_00023910()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "iVar6 = *(int *)(param_1 + 0x24);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x24)" identifier = (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }" { (if_statement "if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }" { (expression_statement "*(undefined4 **)(param_1 + 0x28) = puVar7;" (assignment_expression "*(undefined4 **)(param_1 + 0x28) = puVar7" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" * (cast_expression "(undefined4 **)(param_1 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x24) = puVar7;" (assignment_expression "*(undefined4 **)(param_1 + 0x24) = puVar7" (pointer_expression "*(undefined4 **)(param_1 + 0x24)" * (cast_expression "(undefined4 **)(param_1 + 0x24)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }" else (compound_statement "{\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }" { (expression_statement "*(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;" (assignment_expression "*(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7" (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44)" * (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x28) + 0x44)" ( (binary_expression "*(int *)(param_1 + 0x28) + 0x44" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x28) = puVar7;" (assignment_expression "*(undefined4 **)(param_1 + 0x28) = puVar7" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" * (cast_expression "(undefined4 **)(param_1 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) }))) (if_statement "if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }" if (parenthesized_expression "((iVar3 == 0) && (iVar11 != 0))" ( (binary_expression "(iVar3 == 0) && (iVar11 != 0)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) ))) )) (compound_statement "{\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) goto LAB_000299fb;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000299fb;" goto statement_identifier ;)) (goto_statement "goto LAB_000299b2;" goto statement_identifier ;) })) }) (else_clause "else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }" else (compound_statement "{\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }" { (if_statement "if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }" if (parenthesized_expression "(iVar12 == iVar6)" ( (binary_expression "iVar12 == iVar6" identifier == identifier) )) (compound_statement "{\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }" { (expression_statement "puVar10 = (undefined4 *)(param_1 + 0x24);" (assignment_expression "puVar10 = (undefined4 *)(param_1 + 0x24)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) ;) }) (else_clause "else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }" else (compound_statement "{\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }" { (do_statement "do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);" do (compound_statement "{\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  }" { (expression_statement "iVar9 = iVar6;" (assignment_expression "iVar9 = iVar6" identifier = identifier) ;) (expression_statement "iVar6 = *(int *)(iVar9 + 0x44);" (assignment_expression "iVar6 = *(int *)(iVar9 + 0x44)" identifier = (pointer_expression "*(int *)(iVar9 + 0x44)" * (cast_expression "(int *)(iVar9 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x44)" ( (binary_expression "iVar9 + 0x44" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar6 != iVar12)" ( (binary_expression "iVar6 != iVar12" identifier != identifier) )) ;) (expression_statement "puVar10 = (undefined4 *)(iVar9 + 0x44);" (assignment_expression "puVar10 = (undefined4 *)(iVar9 + 0x44)" identifier = (cast_expression "(undefined4 *)(iVar9 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x44)" ( (binary_expression "iVar9 + 0x44" identifier + number_literal) )))) ;) }))) (expression_statement "puVar7[0x11] = iVar12;" (assignment_expression "puVar7[0x11] = iVar12" (subscript_expression "puVar7[0x11]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar10 = puVar7;" (assignment_expression "*puVar10 = puVar7" (pointer_expression "*puVar10" * identifier) = identifier) ;) (if_statement "if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) goto LAB_00029980;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00029980;" goto statement_identifier ;)) (labeled_statement "LAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);" statement_identifier : (do_statement "do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);" do (compound_statement "{\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  }" { (while_statement "while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }" while (parenthesized_expression "((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12)))))" ( (parenthesized_expression "(iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))" ( (comma_expression "iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12)))" (assignment_expression "iVar6 = *(int *)(iVar3 + 0x30)" identifier = (pointer_expression "*(int *)(iVar3 + 0x30)" * (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) ))))) , (binary_expression "iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12)))" (binary_expression "iVar6 != 0" identifier != number_literal) && (parenthesized_expression "((iVar6 == iVar11 || (iVar6 == iVar12)))" ( (parenthesized_expression "(iVar6 == iVar11 || (iVar6 == iVar12))" ( (binary_expression "iVar6 == iVar11 || (iVar6 == iVar12)" (binary_expression "iVar6 == iVar11" identifier == identifier) || (parenthesized_expression "(iVar6 == iVar12)" ( (binary_expression "iVar6 == iVar12" identifier == identifier) ))) )) )))) )) )) (compound_statement "{\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }" { (expression_statement "uVar5 = *(undefined4 *)(iVar6 + 0x44);" (assignment_expression "uVar5 = *(undefined4 *)(iVar6 + 0x44)" identifier = (pointer_expression "*(undefined4 *)(iVar6 + 0x44)" * (cast_expression "(undefined4 *)(iVar6 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x44)" ( (binary_expression "iVar6 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(iVar3 + 0xd) = 1;" (assignment_expression "*(undefined1 *)(iVar3 + 0xd) = 1" (pointer_expression "*(undefined1 *)(iVar3 + 0xd)" * (cast_expression "(undefined1 *)(iVar3 + 0xd)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xd)" ( (binary_expression "iVar3 + 0xd" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x30) = uVar5;" (assignment_expression "*(undefined4 *)(iVar3 + 0x30) = uVar5" (pointer_expression "*(undefined4 *)(iVar3 + 0x30)" * (cast_expression "(undefined4 *)(iVar3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = *(int *)(iVar3 + 0x34);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x34)" identifier = (pointer_expression "*(int *)(iVar3 + 0x34)" * (cast_expression "(int *)(iVar3 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x34)" ( (binary_expression "iVar3 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) goto LAB_00029a17;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00029a17;" goto statement_identifier ;)) })) (expression_statement "iVar3 = *(int *)(iVar3 + 0x34);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x34)" identifier = (pointer_expression "*(int *)(iVar3 + 0x34)" * (cast_expression "(int *)(iVar3 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x34)" ( (binary_expression "iVar3 + 0x34" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;)) (labeled_statement "LAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;" statement_identifier : (if_statement "if (iVar12 != 0) goto LAB_00029980;" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00029980;" goto statement_identifier ;))) (goto_statement "goto LAB_000299a8;" goto statement_identifier ;) })) }))) }))) })) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }" else (compound_statement "{\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }" { (labeled_statement "LAB_00029a51:\n        pcVar4 = "rawdata must be NULL";" statement_identifier : (expression_statement "pcVar4 = "rawdata must be NULL";" (assignment_expression "pcVar4 = "rawdata must be NULL"" identifier = (string_literal ""rawdata must be NULL"" " string_content ")) ;)) (labeled_statement "LAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);" statement_identifier : (expression_statement "FUN_0001c450(param_1,pcVar4);" (call_expression "FUN_0001c450(param_1,pcVar4)" identifier (argument_list "(param_1,pcVar4)" ( identifier , identifier ))) ;)) (expression_statement "iVar3 = 0x13;" (assignment_expression "iVar3 = 0x13" identifier = number_literal) ;) }))) }) (else_clause "else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }" else (compound_statement "{\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }" { (expression_statement "FUN_0001c450(param_1,"sz must be NULL");" (call_expression "FUN_0001c450(param_1,"sz must be NULL")" identifier (argument_list "(param_1,"sz must be NULL")" ( identifier , (string_literal ""sz must be NULL"" " string_content ") ))) ;) (expression_statement "iVar12 = FUN_00038f70(param_3[6]);" (assignment_expression "iVar12 = FUN_00038f70(param_3[6])" identifier = (call_expression "FUN_00038f70(param_3[6])" identifier (argument_list "(param_3[6])" ( (subscript_expression "param_3[6]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar3 = 0x13;" (assignment_expression "iVar3 = 0x13" identifier = number_literal) ;) (if_statement "if (iVar12 != 5) goto LAB_00029a51;" if (parenthesized_expression "(iVar12 != 5)" ( (binary_expression "iVar12 != 5" identifier != number_literal) )) (goto_statement "goto LAB_00029a51;" goto statement_identifier ;)) }))) (labeled_statement "LAB_00029a6c:\n    local_60 = (char *)0x0;" statement_identifier : (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) }) (else_clause "else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }" else (compound_statement "{\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }" { (expression_statement "pcVar4 = (char *)FUN_0006a4a0(*param_3);" (assignment_expression "pcVar4 = (char *)FUN_0006a4a0(*param_3)" identifier = (cast_expression "(char *)FUN_0006a4a0(*param_3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006a4a0(*param_3)" identifier (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) ))))) ;) (expression_statement "strlen(pcVar4);" (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (if_statement "if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }" if (parenthesized_expression "((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0))" ( (binary_expression "(param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)" (parenthesized_expression "(param_2 < 2)" ( (binary_expression "param_2 < 2" identifier < number_literal) )) || (parenthesized_expression "(iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)" ( (comma_expression "iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0" (assignment_expression "iVar3 = FUN_0006a4a0(param_3[1])" identifier = (call_expression "FUN_0006a4a0(param_3[1])" identifier (argument_list "(param_3[1])" ( (subscript_expression "param_3[1]" identifier [ number_literal ]) )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      bVar13 = false;\n    }" { (expression_statement "bVar13 = false;" (assignment_expression "bVar13 = false" identifier = false) ;) }) (else_clause "else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }" else (compound_statement "{\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }" { (expression_statement "iVar3 = FUN_0001dcf0();" (assignment_expression "iVar3 = FUN_0001dcf0()" identifier = (call_expression "FUN_0001dcf0()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar13 = iVar3 != 0;" (assignment_expression "bVar13 = iVar3 != 0" identifier = (binary_expression "iVar3 != 0" identifier != number_literal)) ;) }))) (expression_statement "iVar12 = *(int *)(param_1 + 0x24);" (assignment_expression "iVar12 = *(int *)(param_1 + 0x24)" identifier = (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (while_statement "while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }" while (parenthesized_expression "(iVar3 = FUN_0001dcf0(), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_0001dcf0(), iVar3 != 0" (assignment_expression "iVar3 = FUN_0001dcf0()" identifier = (call_expression "FUN_0001dcf0()" identifier (argument_list "()" ( )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) )) (compound_statement "{\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }" { (expression_statement "iVar12 = *(int *)(iVar12 + 0x44);" (assignment_expression "iVar12 = *(int *)(iVar12 + 0x44)" identifier = (pointer_expression "*(int *)(iVar12 + 0x44)" * (cast_expression "(int *)(iVar12 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x44)" ( (binary_expression "iVar12 + 0x44" identifier + number_literal) ))))) ;) })) (if_statement "if (1 < param_2) goto LAB_0002975e;" if (parenthesized_expression "(1 < param_2)" ( (binary_expression "1 < param_2" number_literal < identifier) )) (goto_statement "goto LAB_0002975e;" goto statement_identifier ;)) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) goto LAB_000299fb;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000299fb;" goto statement_identifier ;)) (labeled_statement "LAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);" statement_identifier : (expression_statement "iVar3 = *(int *)(param_1 + 0x24);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x24)" identifier = (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;)) (if_statement "if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }" if (parenthesized_expression "(iVar12 == *(int *)(param_1 + 0x24))" ( (binary_expression "iVar12 == *(int *)(param_1 + 0x24)" identifier == (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) )) (compound_statement "{\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }" { (expression_statement "puVar7 = (undefined4 *)(param_1 + 0x24);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + 0x24)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) ;) (expression_statement "iVar3 = iVar12;" (assignment_expression "iVar3 = iVar12" identifier = identifier) ;) }) (else_clause "else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }" else (compound_statement "{\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }" { (do_statement "do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);" do (compound_statement "{\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      }" { (expression_statement "iVar6 = iVar3;" (assignment_expression "iVar6 = iVar3" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(iVar6 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar6 + 0x44)" identifier = (pointer_expression "*(int *)(iVar6 + 0x44)" * (cast_expression "(int *)(iVar6 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x44)" ( (binary_expression "iVar6 + 0x44" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar12 != iVar3)" ( (binary_expression "iVar12 != iVar3" identifier != identifier) )) ;) (expression_statement "puVar7 = (undefined4 *)(iVar6 + 0x44);" (assignment_expression "puVar7 = (undefined4 *)(iVar6 + 0x44)" identifier = (cast_expression "(undefined4 *)(iVar6 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x44)" ( (binary_expression "iVar6 + 0x44" identifier + number_literal) )))) ;) }))) (expression_statement "*puVar7 = *(undefined4 *)(iVar3 + 0x44);" (assignment_expression "*puVar7 = *(undefined4 *)(iVar3 + 0x44)" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*(undefined4 *)(iVar3 + 0x44)" * (cast_expression "(undefined4 *)(iVar3 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x44)" ( (binary_expression "iVar3 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "FUN_000230c0();" (call_expression "FUN_000230c0()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_000299a8:\n    iVar3 = 0;" statement_identifier : (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;)) (if_statement "if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }" { (labeled_statement "LAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);" statement_identifier : (expression_statement "iVar3 = *(int *)(param_1 + 0x24);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x24)" identifier = (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;)) (if_statement "if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x24) == iVar11)" ( (binary_expression "*(int *)(param_1 + 0x24) == iVar11" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }" { (expression_statement "puVar7 = (undefined4 *)(param_1 + 0x24);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + 0x24)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) ;) }) (else_clause "else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }" else (compound_statement "{\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }" { (do_statement "do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);" do (compound_statement "{\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        }" { (expression_statement "iVar12 = iVar3;" (assignment_expression "iVar12 = iVar3" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(iVar12 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar12 + 0x44)" identifier = (pointer_expression "*(int *)(iVar12 + 0x44)" * (cast_expression "(int *)(iVar12 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x44)" ( (binary_expression "iVar12 + 0x44" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar3 != iVar11)" ( (binary_expression "iVar3 != iVar11" identifier != identifier) )) ;) (expression_statement "puVar7 = (undefined4 *)(iVar12 + 0x44);" (assignment_expression "puVar7 = (undefined4 *)(iVar12 + 0x44)" identifier = (cast_expression "(undefined4 *)(iVar12 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x44)" ( (binary_expression "iVar12 + 0x44" identifier + number_literal) )))) ;) }))) (expression_statement "*puVar7 = *(undefined4 *)(iVar11 + 0x44);" (assignment_expression "*puVar7 = *(undefined4 *)(iVar11 + 0x44)" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*(undefined4 *)(iVar11 + 0x44)" * (cast_expression "(undefined4 *)(iVar11 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x44)" ( (binary_expression "iVar11 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "FUN_000230c0();" (call_expression "FUN_000230c0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) })) }))) (labeled_statement "LAB_000296b5:\n  FUN_00042800(0);" statement_identifier : (expression_statement "FUN_00042800(0);" (call_expression "FUN_00042800(0)" identifier (argument_list "(0)" ( number_literal ))) ;)) (expression_statement "FUN_00042800(local_60);" (call_expression "FUN_00042800(local_60)" identifier (argument_list "(local_60)" ( identifier ))) ;) (labeled_statement "LAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) }))) comment (expression_statement "FUN_00116110();" (call_expression "FUN_00116110()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint zipfileUpdate(sqlite3_vtab *pVtab,int nVal,sqlite3_value **apVal,sqlite_int64 *pRowid)\n\n{\n  ZipfileEntry *pZVar1;\n  _func_int_sqlite3_vtab_ptr *p_Var2;\n  int iVar3;\n  uchar *__s;\n  size_t nB;\n  _func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *p_Var4;\n  char *zFmt;\n  uchar *zA;\n  u8 *puVar5;\n  sqlite3_module *psVar6;\n  _func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *p_Var7;\n  uint uVar8;\n  sqlite3_module *psVar9;\n  sqlite3_vtab *psVar10;\n  sqlite3_module *psVar11;\n  int iVar12;\n  sqlite3_module *p;\n  sqlite3_module *psVar13;\n  undefined4 *puVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  byte bVar16;\n  ZipfileCDS *in_stack_ffffff94;\n  u32 in_stack_ffffff98;\n  ZipfileCDS *in_stack_ffffff9c;\n  uchar *local_60;\n  char **local_58;\n  size_t local_54;\n  _func_int_sqlite3_vtab_ptr *local_48;\n  _func_int_sqlite3_vtab_ptr *local_44;\n  u16 local_3c;\n  u8 *local_34;\n  _func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *local_30;\n  u32 mode;\n  u8 *pFree;\n  int nCmp;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar16 = 0;\n  uStack_14 = 0x29649;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  mode = 0;\n  pFree = (u8 *)0x0;\n  if ((pVtab[3].zErrMsg == (char *)0x0) && (iVar3 = zipfileBegin(pVtab), iVar3 != 0))\n  goto LAB_000296d6;\n  iVar3 = sqlite3_value_type(*apVal);\n  if (iVar3 == 5) {\n    if (nVal < 2) {\n      local_60 = (uchar *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar15 = true;\n    psVar13 = (sqlite3_module *)0x0;\nLAB_0002975e:\n    iVar3 = sqlite3_value_type(apVal[5]);\n    if (iVar3 == 5) {\n      iVar3 = sqlite3_value_type(apVal[6]);\n      if (iVar3 == 5) {\n        iVar3 = sqlite3_value_type(apVal[7]);\n        if (iVar3 == 5) {\n          local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0;\n          iVar12 = 1;\n          local_3c = 0;\n          local_48 = (_func_int_sqlite3_vtab_ptr *)0x0;\n          local_34 = (u8 *)0x0;\n          local_44 = (_func_int_sqlite3_vtab_ptr *)0x0;\n        }\n        else {\n          puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);\n          local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);\n          iVar3 = sqlite3_value_type(apVal[8]);\n          uVar8 = sqlite3_value_int(apVal[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_34 = puVar5;\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }\n          else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }\n        }\n        local_58 = &pVtab->zErrMsg;\n        iVar3 = zipfileGetMode(apVal[3],iVar12,&mode,local_58);\n        if (iVar3 == 0) {\n          local_58 = (char **)sqlite3_value_text(apVal[2]);\n          local_54 = strlen((char *)local_58);\n          p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4]);\n          if (iVar12 == 0) {\n            if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }\nLAB_00029b74:\n          psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);\n          iVar3 = 7;\n          if (psVar6 != (sqlite3_module *)0x0) {\n            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);\n            *(u16 *)&psVar6->iVersion = 0;\n            *(u16 *)((int)&psVar6->iVersion + 2) = 0;\n            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;\n            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;\n            for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }\n            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);\n            psVar6->xColumn = p_Var7;\n            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        zFmt = "rawdata must be NULL";\nLAB_00029a5a:\n        zipfileTableErr((ZipfileTab *)pVtab,zFmt);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      zipfileTableErr((ZipfileTab *)pVtab,"sz must be NULL");\n      iVar12 = sqlite3_value_type(apVal[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (uchar *)0x0;\n  }\n  else {\n    __s = sqlite3_value_text(*apVal);\n    nB = strlen((char *)__s);\n    if ((nVal < 2) || (zA = sqlite3_value_text(apVal[1]), zA == (uchar *)0x0)) {\n      bVar15 = false;\n    }\n    else {\n      iVar3 = zipfileComparePath((char *)zA,(char *)__s,nB);\n      bVar15 = iVar3 != 0;\n    }\n    psVar13 = pVtab[3].pModule;\n    while (iVar3 = zipfileComparePath((char *)psVar13->xColumn,(char *)__s,nB), iVar3 != 0) {\n      psVar13 = (sqlite3_module *)psVar13->xRollback;\n    }\n    if (1 < nVal) goto LAB_0002975e;\n    p = (sqlite3_module *)0x0;\n    local_60 = (uchar *)0x0;\n    psVar6 = pVtab[2].pModule;\n    if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\nLAB_00029980:\n    psVar6 = pVtab[3].pModule;\n    if (psVar13 == pVtab[3].pModule) {\n      psVar10 = pVtab + 3;\n      psVar6 = psVar13;\n    }\n    else {\n      do {\n        psVar11 = psVar6;\n        psVar6 = (sqlite3_module *)psVar11->xRollback;\n      } while (psVar13 != psVar6);\n      psVar10 = (sqlite3_vtab *)&psVar11->xRollback;\n    }\n    psVar10->pModule = (sqlite3_module *)psVar6->xRollback;\n    zipfileEntryFree((ZipfileEntry *)psVar13);\nLAB_000299a8:\n    iVar3 = 0;\n    if (p != (sqlite3_module *)0x0) {\nLAB_000299b2:\n      psVar13 = pVtab[3].pModule;\n      if (pVtab[3].pModule == p) {\n        psVar10 = pVtab + 3;\n      }\n      else {\n        do {\n          psVar6 = psVar13;\n          psVar13 = (sqlite3_module *)psVar6->xRollback;\n        } while (psVar13 != p);\n        psVar10 = (sqlite3_vtab *)&psVar6->xRollback;\n      }\n      psVar10->pModule = (sqlite3_module *)p->xRollback;\n      zipfileEntryFree((ZipfileEntry *)p);\n      iVar3 = 0;\n    }\n  }\nLAB_000296b5:\n  sqlite3_free(pFree);\n  sqlite3_free(local_60);\nLAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment (function_definition "int zipfileUpdate(sqlite3_vtab *pVtab,int nVal,sqlite3_value **apVal,sqlite_int64 *pRowid)\n\n{\n  ZipfileEntry *pZVar1;\n  _func_int_sqlite3_vtab_ptr *p_Var2;\n  int iVar3;\n  uchar *__s;\n  size_t nB;\n  _func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *p_Var4;\n  char *zFmt;\n  uchar *zA;\n  u8 *puVar5;\n  sqlite3_module *psVar6;\n  _func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *p_Var7;\n  uint uVar8;\n  sqlite3_module *psVar9;\n  sqlite3_vtab *psVar10;\n  sqlite3_module *psVar11;\n  int iVar12;\n  sqlite3_module *p;\n  sqlite3_module *psVar13;\n  undefined4 *puVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  byte bVar16;\n  ZipfileCDS *in_stack_ffffff94;\n  u32 in_stack_ffffff98;\n  ZipfileCDS *in_stack_ffffff9c;\n  uchar *local_60;\n  char **local_58;\n  size_t local_54;\n  _func_int_sqlite3_vtab_ptr *local_48;\n  _func_int_sqlite3_vtab_ptr *local_44;\n  u16 local_3c;\n  u8 *local_34;\n  _func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *local_30;\n  u32 mode;\n  u8 *pFree;\n  int nCmp;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar16 = 0;\n  uStack_14 = 0x29649;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  mode = 0;\n  pFree = (u8 *)0x0;\n  if ((pVtab[3].zErrMsg == (char *)0x0) && (iVar3 = zipfileBegin(pVtab), iVar3 != 0))\n  goto LAB_000296d6;\n  iVar3 = sqlite3_value_type(*apVal);\n  if (iVar3 == 5) {\n    if (nVal < 2) {\n      local_60 = (uchar *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar15 = true;\n    psVar13 = (sqlite3_module *)0x0;\nLAB_0002975e:\n    iVar3 = sqlite3_value_type(apVal[5]);\n    if (iVar3 == 5) {\n      iVar3 = sqlite3_value_type(apVal[6]);\n      if (iVar3 == 5) {\n        iVar3 = sqlite3_value_type(apVal[7]);\n        if (iVar3 == 5) {\n          local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0;\n          iVar12 = 1;\n          local_3c = 0;\n          local_48 = (_func_int_sqlite3_vtab_ptr *)0x0;\n          local_34 = (u8 *)0x0;\n          local_44 = (_func_int_sqlite3_vtab_ptr *)0x0;\n        }\n        else {\n          puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);\n          local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);\n          iVar3 = sqlite3_value_type(apVal[8]);\n          uVar8 = sqlite3_value_int(apVal[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_34 = puVar5;\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }\n          else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }\n        }\n        local_58 = &pVtab->zErrMsg;\n        iVar3 = zipfileGetMode(apVal[3],iVar12,&mode,local_58);\n        if (iVar3 == 0) {\n          local_58 = (char **)sqlite3_value_text(apVal[2]);\n          local_54 = strlen((char *)local_58);\n          p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4]);\n          if (iVar12 == 0) {\n            if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }\nLAB_00029b74:\n          psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);\n          iVar3 = 7;\n          if (psVar6 != (sqlite3_module *)0x0) {\n            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);\n            *(u16 *)&psVar6->iVersion = 0;\n            *(u16 *)((int)&psVar6->iVersion + 2) = 0;\n            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;\n            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;\n            for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }\n            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);\n            psVar6->xColumn = p_Var7;\n            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        zFmt = "rawdata must be NULL";\nLAB_00029a5a:\n        zipfileTableErr((ZipfileTab *)pVtab,zFmt);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      zipfileTableErr((ZipfileTab *)pVtab,"sz must be NULL");\n      iVar12 = sqlite3_value_type(apVal[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (uchar *)0x0;\n  }\n  else {\n    __s = sqlite3_value_text(*apVal);\n    nB = strlen((char *)__s);\n    if ((nVal < 2) || (zA = sqlite3_value_text(apVal[1]), zA == (uchar *)0x0)) {\n      bVar15 = false;\n    }\n    else {\n      iVar3 = zipfileComparePath((char *)zA,(char *)__s,nB);\n      bVar15 = iVar3 != 0;\n    }\n    psVar13 = pVtab[3].pModule;\n    while (iVar3 = zipfileComparePath((char *)psVar13->xColumn,(char *)__s,nB), iVar3 != 0) {\n      psVar13 = (sqlite3_module *)psVar13->xRollback;\n    }\n    if (1 < nVal) goto LAB_0002975e;\n    p = (sqlite3_module *)0x0;\n    local_60 = (uchar *)0x0;\n    psVar6 = pVtab[2].pModule;\n    if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\nLAB_00029980:\n    psVar6 = pVtab[3].pModule;\n    if (psVar13 == pVtab[3].pModule) {\n      psVar10 = pVtab + 3;\n      psVar6 = psVar13;\n    }\n    else {\n      do {\n        psVar11 = psVar6;\n        psVar6 = (sqlite3_module *)psVar11->xRollback;\n      } while (psVar13 != psVar6);\n      psVar10 = (sqlite3_vtab *)&psVar11->xRollback;\n    }\n    psVar10->pModule = (sqlite3_module *)psVar6->xRollback;\n    zipfileEntryFree((ZipfileEntry *)psVar13);\nLAB_000299a8:\n    iVar3 = 0;\n    if (p != (sqlite3_module *)0x0) {\nLAB_000299b2:\n      psVar13 = pVtab[3].pModule;\n      if (pVtab[3].pModule == p) {\n        psVar10 = pVtab + 3;\n      }\n      else {\n        do {\n          psVar6 = psVar13;\n          psVar13 = (sqlite3_module *)psVar6->xRollback;\n        } while (psVar13 != p);\n        psVar10 = (sqlite3_vtab *)&psVar6->xRollback;\n      }\n      psVar10->pModule = (sqlite3_module *)p->xRollback;\n      zipfileEntryFree((ZipfileEntry *)p);\n      iVar3 = 0;\n    }\n  }\nLAB_000296b5:\n  sqlite3_free(pFree);\n  sqlite3_free(local_60);\nLAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "zipfileUpdate(sqlite3_vtab *pVtab,int nVal,sqlite3_value **apVal,sqlite_int64 *pRowid)" identifier (parameter_list "(sqlite3_vtab *pVtab,int nVal,sqlite3_value **apVal,sqlite_int64 *pRowid)" ( (parameter_declaration "sqlite3_vtab *pVtab" type_identifier (pointer_declarator "*pVtab" * identifier)) , (parameter_declaration "int nVal" primitive_type identifier) , (parameter_declaration "sqlite3_value **apVal" type_identifier (pointer_declarator "**apVal" * (pointer_declarator "*apVal" * identifier))) , (parameter_declaration "sqlite_int64 *pRowid" type_identifier (pointer_declarator "*pRowid" * identifier)) ))) (compound_statement "{\n  ZipfileEntry *pZVar1;\n  _func_int_sqlite3_vtab_ptr *p_Var2;\n  int iVar3;\n  uchar *__s;\n  size_t nB;\n  _func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *p_Var4;\n  char *zFmt;\n  uchar *zA;\n  u8 *puVar5;\n  sqlite3_module *psVar6;\n  _func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *p_Var7;\n  uint uVar8;\n  sqlite3_module *psVar9;\n  sqlite3_vtab *psVar10;\n  sqlite3_module *psVar11;\n  int iVar12;\n  sqlite3_module *p;\n  sqlite3_module *psVar13;\n  undefined4 *puVar14;\n  int in_GS_OFFSET;\n  bool bVar15;\n  byte bVar16;\n  ZipfileCDS *in_stack_ffffff94;\n  u32 in_stack_ffffff98;\n  ZipfileCDS *in_stack_ffffff9c;\n  uchar *local_60;\n  char **local_58;\n  size_t local_54;\n  _func_int_sqlite3_vtab_ptr *local_48;\n  _func_int_sqlite3_vtab_ptr *local_44;\n  u16 local_3c;\n  u8 *local_34;\n  _func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *local_30;\n  u32 mode;\n  u8 *pFree;\n  int nCmp;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar16 = 0;\n  uStack_14 = 0x29649;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  mode = 0;\n  pFree = (u8 *)0x0;\n  if ((pVtab[3].zErrMsg == (char *)0x0) && (iVar3 = zipfileBegin(pVtab), iVar3 != 0))\n  goto LAB_000296d6;\n  iVar3 = sqlite3_value_type(*apVal);\n  if (iVar3 == 5) {\n    if (nVal < 2) {\n      local_60 = (uchar *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar15 = true;\n    psVar13 = (sqlite3_module *)0x0;\nLAB_0002975e:\n    iVar3 = sqlite3_value_type(apVal[5]);\n    if (iVar3 == 5) {\n      iVar3 = sqlite3_value_type(apVal[6]);\n      if (iVar3 == 5) {\n        iVar3 = sqlite3_value_type(apVal[7]);\n        if (iVar3 == 5) {\n          local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0;\n          iVar12 = 1;\n          local_3c = 0;\n          local_48 = (_func_int_sqlite3_vtab_ptr *)0x0;\n          local_34 = (u8 *)0x0;\n          local_44 = (_func_int_sqlite3_vtab_ptr *)0x0;\n        }\n        else {\n          puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);\n          local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);\n          iVar3 = sqlite3_value_type(apVal[8]);\n          uVar8 = sqlite3_value_int(apVal[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_34 = puVar5;\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }\n          else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }\n        }\n        local_58 = &pVtab->zErrMsg;\n        iVar3 = zipfileGetMode(apVal[3],iVar12,&mode,local_58);\n        if (iVar3 == 0) {\n          local_58 = (char **)sqlite3_value_text(apVal[2]);\n          local_54 = strlen((char *)local_58);\n          p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4]);\n          if (iVar12 == 0) {\n            if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }\nLAB_00029b74:\n          psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);\n          iVar3 = 7;\n          if (psVar6 != (sqlite3_module *)0x0) {\n            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);\n            *(u16 *)&psVar6->iVersion = 0;\n            *(u16 *)((int)&psVar6->iVersion + 2) = 0;\n            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;\n            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;\n            for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }\n            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);\n            psVar6->xColumn = p_Var7;\n            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        zFmt = "rawdata must be NULL";\nLAB_00029a5a:\n        zipfileTableErr((ZipfileTab *)pVtab,zFmt);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      zipfileTableErr((ZipfileTab *)pVtab,"sz must be NULL");\n      iVar12 = sqlite3_value_type(apVal[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (uchar *)0x0;\n  }\n  else {\n    __s = sqlite3_value_text(*apVal);\n    nB = strlen((char *)__s);\n    if ((nVal < 2) || (zA = sqlite3_value_text(apVal[1]), zA == (uchar *)0x0)) {\n      bVar15 = false;\n    }\n    else {\n      iVar3 = zipfileComparePath((char *)zA,(char *)__s,nB);\n      bVar15 = iVar3 != 0;\n    }\n    psVar13 = pVtab[3].pModule;\n    while (iVar3 = zipfileComparePath((char *)psVar13->xColumn,(char *)__s,nB), iVar3 != 0) {\n      psVar13 = (sqlite3_module *)psVar13->xRollback;\n    }\n    if (1 < nVal) goto LAB_0002975e;\n    p = (sqlite3_module *)0x0;\n    local_60 = (uchar *)0x0;\n    psVar6 = pVtab[2].pModule;\n    if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\nLAB_00029980:\n    psVar6 = pVtab[3].pModule;\n    if (psVar13 == pVtab[3].pModule) {\n      psVar10 = pVtab + 3;\n      psVar6 = psVar13;\n    }\n    else {\n      do {\n        psVar11 = psVar6;\n        psVar6 = (sqlite3_module *)psVar11->xRollback;\n      } while (psVar13 != psVar6);\n      psVar10 = (sqlite3_vtab *)&psVar11->xRollback;\n    }\n    psVar10->pModule = (sqlite3_module *)psVar6->xRollback;\n    zipfileEntryFree((ZipfileEntry *)psVar13);\nLAB_000299a8:\n    iVar3 = 0;\n    if (p != (sqlite3_module *)0x0) {\nLAB_000299b2:\n      psVar13 = pVtab[3].pModule;\n      if (pVtab[3].pModule == p) {\n        psVar10 = pVtab + 3;\n      }\n      else {\n        do {\n          psVar6 = psVar13;\n          psVar13 = (sqlite3_module *)psVar6->xRollback;\n        } while (psVar13 != p);\n        psVar10 = (sqlite3_vtab *)&psVar6->xRollback;\n      }\n      psVar10->pModule = (sqlite3_module *)p->xRollback;\n      zipfileEntryFree((ZipfileEntry *)p);\n      iVar3 = 0;\n    }\n  }\nLAB_000296b5:\n  sqlite3_free(pFree);\n  sqlite3_free(local_60);\nLAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "ZipfileEntry *pZVar1;" type_identifier (pointer_declarator "*pZVar1" * identifier) ;) (declaration "_func_int_sqlite3_vtab_ptr *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "uchar *__s;" type_identifier (pointer_declarator "*__s" * identifier) ;) (declaration "size_t nB;" primitive_type identifier ;) (declaration "_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *p_Var4;" type_identifier (pointer_declarator "*p_Var4" * identifier) ;) (declaration "char *zFmt;" primitive_type (pointer_declarator "*zFmt" * identifier) ;) (declaration "uchar *zA;" type_identifier (pointer_declarator "*zA" * identifier) ;) (declaration "u8 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "sqlite3_module *psVar6;" type_identifier (pointer_declarator "*psVar6" * identifier) ;) (declaration "_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *p_Var7;" type_identifier (pointer_declarator "*p_Var7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "sqlite3_module *psVar9;" type_identifier (pointer_declarator "*psVar9" * identifier) ;) (declaration "sqlite3_vtab *psVar10;" type_identifier (pointer_declarator "*psVar10" * identifier) ;) (declaration "sqlite3_module *psVar11;" type_identifier (pointer_declarator "*psVar11" * identifier) ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "sqlite3_module *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "sqlite3_module *psVar13;" type_identifier (pointer_declarator "*psVar13" * identifier) ;) (declaration "undefined4 *puVar14;" type_identifier (pointer_declarator "*puVar14" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar15;" primitive_type identifier ;) (declaration "byte bVar16;" type_identifier identifier ;) (declaration "ZipfileCDS *in_stack_ffffff94;" type_identifier (pointer_declarator "*in_stack_ffffff94" * identifier) ;) (declaration "u32 in_stack_ffffff98;" type_identifier identifier ;) (declaration "ZipfileCDS *in_stack_ffffff9c;" type_identifier (pointer_declarator "*in_stack_ffffff9c" * identifier) ;) (declaration "uchar *local_60;" type_identifier (pointer_declarator "*local_60" * identifier) ;) (declaration "char **local_58;" primitive_type (pointer_declarator "**local_58" * (pointer_declarator "*local_58" * identifier)) ;) (declaration "size_t local_54;" primitive_type identifier ;) (declaration "_func_int_sqlite3_vtab_ptr *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "_func_int_sqlite3_vtab_ptr *local_44;" type_identifier (pointer_declarator "*local_44" * identifier) ;) (declaration "u16 local_3c;" type_identifier identifier ;) (declaration "u8 *local_34;" type_identifier (pointer_declarator "*local_34" * identifier) ;) (declaration "_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *local_30;" type_identifier (pointer_declarator "*local_30" * identifier) ;) (declaration "u32 mode;" type_identifier identifier ;) (declaration "u8 *pFree;" type_identifier (pointer_declarator "*pFree" * identifier) ;) (declaration "int nCmp;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar16 = 0;" (assignment_expression "bVar16 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x29649;" (assignment_expression "uStack_14 = 0x29649" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "mode = 0;" (assignment_expression "mode = 0" identifier = number_literal) ;) (expression_statement "pFree = (u8 *)0x0;" (assignment_expression "pFree = (u8 *)0x0" identifier = (cast_expression "(u8 *)0x0" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if ((pVtab[3].zErrMsg == (char *)0x0) && (iVar3 = zipfileBegin(pVtab), iVar3 != 0))\n  goto LAB_000296d6;" if (parenthesized_expression "((pVtab[3].zErrMsg == (char *)0x0) && (iVar3 = zipfileBegin(pVtab), iVar3 != 0))" ( (binary_expression "(pVtab[3].zErrMsg == (char *)0x0) && (iVar3 = zipfileBegin(pVtab), iVar3 != 0)" (parenthesized_expression "(pVtab[3].zErrMsg == (char *)0x0)" ( (binary_expression "pVtab[3].zErrMsg == (char *)0x0" (field_expression "pVtab[3].zErrMsg" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar3 = zipfileBegin(pVtab), iVar3 != 0)" ( (comma_expression "iVar3 = zipfileBegin(pVtab), iVar3 != 0" (assignment_expression "iVar3 = zipfileBegin(pVtab)" identifier = (call_expression "zipfileBegin(pVtab)" identifier (argument_list "(pVtab)" ( identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000296d6;" goto statement_identifier ;)) (expression_statement "iVar3 = sqlite3_value_type(*apVal);" (assignment_expression "iVar3 = sqlite3_value_type(*apVal)" identifier = (call_expression "sqlite3_value_type(*apVal)" identifier (argument_list "(*apVal)" ( (pointer_expression "*apVal" * identifier) )))) ;) (if_statement "if (iVar3 == 5) {\n    if (nVal < 2) {\n      local_60 = (uchar *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar15 = true;\n    psVar13 = (sqlite3_module *)0x0;\nLAB_0002975e:\n    iVar3 = sqlite3_value_type(apVal[5]);\n    if (iVar3 == 5) {\n      iVar3 = sqlite3_value_type(apVal[6]);\n      if (iVar3 == 5) {\n        iVar3 = sqlite3_value_type(apVal[7]);\n        if (iVar3 == 5) {\n          local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0;\n          iVar12 = 1;\n          local_3c = 0;\n          local_48 = (_func_int_sqlite3_vtab_ptr *)0x0;\n          local_34 = (u8 *)0x0;\n          local_44 = (_func_int_sqlite3_vtab_ptr *)0x0;\n        }\n        else {\n          puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);\n          local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);\n          iVar3 = sqlite3_value_type(apVal[8]);\n          uVar8 = sqlite3_value_int(apVal[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_34 = puVar5;\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }\n          else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }\n        }\n        local_58 = &pVtab->zErrMsg;\n        iVar3 = zipfileGetMode(apVal[3],iVar12,&mode,local_58);\n        if (iVar3 == 0) {\n          local_58 = (char **)sqlite3_value_text(apVal[2]);\n          local_54 = strlen((char *)local_58);\n          p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4]);\n          if (iVar12 == 0) {\n            if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }\nLAB_00029b74:\n          psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);\n          iVar3 = 7;\n          if (psVar6 != (sqlite3_module *)0x0) {\n            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);\n            *(u16 *)&psVar6->iVersion = 0;\n            *(u16 *)((int)&psVar6->iVersion + 2) = 0;\n            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;\n            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;\n            for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }\n            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);\n            psVar6->xColumn = p_Var7;\n            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        zFmt = "rawdata must be NULL";\nLAB_00029a5a:\n        zipfileTableErr((ZipfileTab *)pVtab,zFmt);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      zipfileTableErr((ZipfileTab *)pVtab,"sz must be NULL");\n      iVar12 = sqlite3_value_type(apVal[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (uchar *)0x0;\n  }\n  else {\n    __s = sqlite3_value_text(*apVal);\n    nB = strlen((char *)__s);\n    if ((nVal < 2) || (zA = sqlite3_value_text(apVal[1]), zA == (uchar *)0x0)) {\n      bVar15 = false;\n    }\n    else {\n      iVar3 = zipfileComparePath((char *)zA,(char *)__s,nB);\n      bVar15 = iVar3 != 0;\n    }\n    psVar13 = pVtab[3].pModule;\n    while (iVar3 = zipfileComparePath((char *)psVar13->xColumn,(char *)__s,nB), iVar3 != 0) {\n      psVar13 = (sqlite3_module *)psVar13->xRollback;\n    }\n    if (1 < nVal) goto LAB_0002975e;\n    p = (sqlite3_module *)0x0;\n    local_60 = (uchar *)0x0;\n    psVar6 = pVtab[2].pModule;\n    if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\nLAB_00029980:\n    psVar6 = pVtab[3].pModule;\n    if (psVar13 == pVtab[3].pModule) {\n      psVar10 = pVtab + 3;\n      psVar6 = psVar13;\n    }\n    else {\n      do {\n        psVar11 = psVar6;\n        psVar6 = (sqlite3_module *)psVar11->xRollback;\n      } while (psVar13 != psVar6);\n      psVar10 = (sqlite3_vtab *)&psVar11->xRollback;\n    }\n    psVar10->pModule = (sqlite3_module *)psVar6->xRollback;\n    zipfileEntryFree((ZipfileEntry *)psVar13);\nLAB_000299a8:\n    iVar3 = 0;\n    if (p != (sqlite3_module *)0x0) {\nLAB_000299b2:\n      psVar13 = pVtab[3].pModule;\n      if (pVtab[3].pModule == p) {\n        psVar10 = pVtab + 3;\n      }\n      else {\n        do {\n          psVar6 = psVar13;\n          psVar13 = (sqlite3_module *)psVar6->xRollback;\n        } while (psVar13 != p);\n        psVar10 = (sqlite3_vtab *)&psVar6->xRollback;\n      }\n      psVar10->pModule = (sqlite3_module *)p->xRollback;\n      zipfileEntryFree((ZipfileEntry *)p);\n      iVar3 = 0;\n    }\n  }" if (parenthesized_expression "(iVar3 == 5)" ( (binary_expression "iVar3 == 5" identifier == number_literal) )) (compound_statement "{\n    if (nVal < 2) {\n      local_60 = (uchar *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar15 = true;\n    psVar13 = (sqlite3_module *)0x0;\nLAB_0002975e:\n    iVar3 = sqlite3_value_type(apVal[5]);\n    if (iVar3 == 5) {\n      iVar3 = sqlite3_value_type(apVal[6]);\n      if (iVar3 == 5) {\n        iVar3 = sqlite3_value_type(apVal[7]);\n        if (iVar3 == 5) {\n          local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0;\n          iVar12 = 1;\n          local_3c = 0;\n          local_48 = (_func_int_sqlite3_vtab_ptr *)0x0;\n          local_34 = (u8 *)0x0;\n          local_44 = (_func_int_sqlite3_vtab_ptr *)0x0;\n        }\n        else {\n          puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);\n          local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);\n          iVar3 = sqlite3_value_type(apVal[8]);\n          uVar8 = sqlite3_value_int(apVal[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_34 = puVar5;\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }\n          else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }\n        }\n        local_58 = &pVtab->zErrMsg;\n        iVar3 = zipfileGetMode(apVal[3],iVar12,&mode,local_58);\n        if (iVar3 == 0) {\n          local_58 = (char **)sqlite3_value_text(apVal[2]);\n          local_54 = strlen((char *)local_58);\n          p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4]);\n          if (iVar12 == 0) {\n            if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }\nLAB_00029b74:\n          psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);\n          iVar3 = 7;\n          if (psVar6 != (sqlite3_module *)0x0) {\n            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);\n            *(u16 *)&psVar6->iVersion = 0;\n            *(u16 *)((int)&psVar6->iVersion + 2) = 0;\n            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;\n            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;\n            for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }\n            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);\n            psVar6->xColumn = p_Var7;\n            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        zFmt = "rawdata must be NULL";\nLAB_00029a5a:\n        zipfileTableErr((ZipfileTab *)pVtab,zFmt);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      zipfileTableErr((ZipfileTab *)pVtab,"sz must be NULL");\n      iVar12 = sqlite3_value_type(apVal[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (uchar *)0x0;\n  }" { (if_statement "if (nVal < 2) {\n      local_60 = (uchar *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }" if (parenthesized_expression "(nVal < 2)" ( (binary_expression "nVal < 2" identifier < number_literal) )) (compound_statement "{\n      local_60 = (uchar *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }" { (expression_statement "local_60 = (uchar *)0x0;" (assignment_expression "local_60 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;) })) (expression_statement "bVar15 = true;" (assignment_expression "bVar15 = true" identifier = true) ;) (expression_statement "psVar13 = (sqlite3_module *)0x0;" (assignment_expression "psVar13 = (sqlite3_module *)0x0" identifier = (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0002975e:\n    iVar3 = sqlite3_value_type(apVal[5]);" statement_identifier : (expression_statement "iVar3 = sqlite3_value_type(apVal[5]);" (assignment_expression "iVar3 = sqlite3_value_type(apVal[5])" identifier = (call_expression "sqlite3_value_type(apVal[5])" identifier (argument_list "(apVal[5])" ( (subscript_expression "apVal[5]" identifier [ number_literal ]) )))) ;)) (if_statement "if (iVar3 == 5) {\n      iVar3 = sqlite3_value_type(apVal[6]);\n      if (iVar3 == 5) {\n        iVar3 = sqlite3_value_type(apVal[7]);\n        if (iVar3 == 5) {\n          local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0;\n          iVar12 = 1;\n          local_3c = 0;\n          local_48 = (_func_int_sqlite3_vtab_ptr *)0x0;\n          local_34 = (u8 *)0x0;\n          local_44 = (_func_int_sqlite3_vtab_ptr *)0x0;\n        }\n        else {\n          puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);\n          local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);\n          iVar3 = sqlite3_value_type(apVal[8]);\n          uVar8 = sqlite3_value_int(apVal[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_34 = puVar5;\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }\n          else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }\n        }\n        local_58 = &pVtab->zErrMsg;\n        iVar3 = zipfileGetMode(apVal[3],iVar12,&mode,local_58);\n        if (iVar3 == 0) {\n          local_58 = (char **)sqlite3_value_text(apVal[2]);\n          local_54 = strlen((char *)local_58);\n          p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4]);\n          if (iVar12 == 0) {\n            if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }\nLAB_00029b74:\n          psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);\n          iVar3 = 7;\n          if (psVar6 != (sqlite3_module *)0x0) {\n            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);\n            *(u16 *)&psVar6->iVersion = 0;\n            *(u16 *)((int)&psVar6->iVersion + 2) = 0;\n            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;\n            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;\n            for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }\n            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);\n            psVar6->xColumn = p_Var7;\n            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        zFmt = "rawdata must be NULL";\nLAB_00029a5a:\n        zipfileTableErr((ZipfileTab *)pVtab,zFmt);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      zipfileTableErr((ZipfileTab *)pVtab,"sz must be NULL");\n      iVar12 = sqlite3_value_type(apVal[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }" if (parenthesized_expression "(iVar3 == 5)" ( (binary_expression "iVar3 == 5" identifier == number_literal) )) (compound_statement "{\n      iVar3 = sqlite3_value_type(apVal[6]);\n      if (iVar3 == 5) {\n        iVar3 = sqlite3_value_type(apVal[7]);\n        if (iVar3 == 5) {\n          local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0;\n          iVar12 = 1;\n          local_3c = 0;\n          local_48 = (_func_int_sqlite3_vtab_ptr *)0x0;\n          local_34 = (u8 *)0x0;\n          local_44 = (_func_int_sqlite3_vtab_ptr *)0x0;\n        }\n        else {\n          puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);\n          local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);\n          iVar3 = sqlite3_value_type(apVal[8]);\n          uVar8 = sqlite3_value_int(apVal[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_34 = puVar5;\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }\n          else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }\n        }\n        local_58 = &pVtab->zErrMsg;\n        iVar3 = zipfileGetMode(apVal[3],iVar12,&mode,local_58);\n        if (iVar3 == 0) {\n          local_58 = (char **)sqlite3_value_text(apVal[2]);\n          local_54 = strlen((char *)local_58);\n          p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4]);\n          if (iVar12 == 0) {\n            if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }\nLAB_00029b74:\n          psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);\n          iVar3 = 7;\n          if (psVar6 != (sqlite3_module *)0x0) {\n            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);\n            *(u16 *)&psVar6->iVersion = 0;\n            *(u16 *)((int)&psVar6->iVersion + 2) = 0;\n            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;\n            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;\n            for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }\n            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);\n            psVar6->xColumn = p_Var7;\n            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        zFmt = "rawdata must be NULL";\nLAB_00029a5a:\n        zipfileTableErr((ZipfileTab *)pVtab,zFmt);\n        iVar3 = 0x13;\n      }\n    }" { (expression_statement "iVar3 = sqlite3_value_type(apVal[6]);" (assignment_expression "iVar3 = sqlite3_value_type(apVal[6])" identifier = (call_expression "sqlite3_value_type(apVal[6])" identifier (argument_list "(apVal[6])" ( (subscript_expression "apVal[6]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar3 == 5) {\n        iVar3 = sqlite3_value_type(apVal[7]);\n        if (iVar3 == 5) {\n          local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0;\n          iVar12 = 1;\n          local_3c = 0;\n          local_48 = (_func_int_sqlite3_vtab_ptr *)0x0;\n          local_34 = (u8 *)0x0;\n          local_44 = (_func_int_sqlite3_vtab_ptr *)0x0;\n        }\n        else {\n          puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);\n          local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);\n          iVar3 = sqlite3_value_type(apVal[8]);\n          uVar8 = sqlite3_value_int(apVal[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_34 = puVar5;\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }\n          else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }\n        }\n        local_58 = &pVtab->zErrMsg;\n        iVar3 = zipfileGetMode(apVal[3],iVar12,&mode,local_58);\n        if (iVar3 == 0) {\n          local_58 = (char **)sqlite3_value_text(apVal[2]);\n          local_54 = strlen((char *)local_58);\n          p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4]);\n          if (iVar12 == 0) {\n            if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }\nLAB_00029b74:\n          psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);\n          iVar3 = 7;\n          if (psVar6 != (sqlite3_module *)0x0) {\n            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);\n            *(u16 *)&psVar6->iVersion = 0;\n            *(u16 *)((int)&psVar6->iVersion + 2) = 0;\n            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;\n            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;\n            for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }\n            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);\n            psVar6->xColumn = p_Var7;\n            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        zFmt = "rawdata must be NULL";\nLAB_00029a5a:\n        zipfileTableErr((ZipfileTab *)pVtab,zFmt);\n        iVar3 = 0x13;\n      }" if (parenthesized_expression "(iVar3 == 5)" ( (binary_expression "iVar3 == 5" identifier == number_literal) )) (compound_statement "{\n        iVar3 = sqlite3_value_type(apVal[7]);\n        if (iVar3 == 5) {\n          local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0;\n          iVar12 = 1;\n          local_3c = 0;\n          local_48 = (_func_int_sqlite3_vtab_ptr *)0x0;\n          local_34 = (u8 *)0x0;\n          local_44 = (_func_int_sqlite3_vtab_ptr *)0x0;\n        }\n        else {\n          puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);\n          local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);\n          iVar3 = sqlite3_value_type(apVal[8]);\n          uVar8 = sqlite3_value_int(apVal[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_34 = puVar5;\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }\n          else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }\n        }\n        local_58 = &pVtab->zErrMsg;\n        iVar3 = zipfileGetMode(apVal[3],iVar12,&mode,local_58);\n        if (iVar3 == 0) {\n          local_58 = (char **)sqlite3_value_text(apVal[2]);\n          local_54 = strlen((char *)local_58);\n          p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4]);\n          if (iVar12 == 0) {\n            if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }\nLAB_00029b74:\n          psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);\n          iVar3 = 7;\n          if (psVar6 != (sqlite3_module *)0x0) {\n            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);\n            *(u16 *)&psVar6->iVersion = 0;\n            *(u16 *)((int)&psVar6->iVersion + 2) = 0;\n            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;\n            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;\n            for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }\n            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);\n            psVar6->xColumn = p_Var7;\n            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }" { (expression_statement "iVar3 = sqlite3_value_type(apVal[7]);" (assignment_expression "iVar3 = sqlite3_value_type(apVal[7])" identifier = (call_expression "sqlite3_value_type(apVal[7])" identifier (argument_list "(apVal[7])" ( (subscript_expression "apVal[7]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar3 == 5) {\n          local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0;\n          iVar12 = 1;\n          local_3c = 0;\n          local_48 = (_func_int_sqlite3_vtab_ptr *)0x0;\n          local_34 = (u8 *)0x0;\n          local_44 = (_func_int_sqlite3_vtab_ptr *)0x0;\n        }\n        else {\n          puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);\n          local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);\n          iVar3 = sqlite3_value_type(apVal[8]);\n          uVar8 = sqlite3_value_int(apVal[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_34 = puVar5;\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }\n          else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }\n        }" if (parenthesized_expression "(iVar3 == 5)" ( (binary_expression "iVar3 == 5" identifier == number_literal) )) (compound_statement "{\n          local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0;\n          iVar12 = 1;\n          local_3c = 0;\n          local_48 = (_func_int_sqlite3_vtab_ptr *)0x0;\n          local_34 = (u8 *)0x0;\n          local_44 = (_func_int_sqlite3_vtab_ptr *)0x0;\n        }" { (expression_statement "local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0;" (assignment_expression "local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0" identifier = (cast_expression "(_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)0x0" ( (type_descriptor "_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar12 = 1;" (assignment_expression "iVar12 = 1" identifier = number_literal) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_48 = (_func_int_sqlite3_vtab_ptr *)0x0;" (assignment_expression "local_48 = (_func_int_sqlite3_vtab_ptr *)0x0" identifier = (cast_expression "(_func_int_sqlite3_vtab_ptr *)0x0" ( (type_descriptor "_func_int_sqlite3_vtab_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_34 = (u8 *)0x0;" (assignment_expression "local_34 = (u8 *)0x0" identifier = (cast_expression "(u8 *)0x0" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_44 = (_func_int_sqlite3_vtab_ptr *)0x0;" (assignment_expression "local_44 = (_func_int_sqlite3_vtab_ptr *)0x0" identifier = (cast_expression "(_func_int_sqlite3_vtab_ptr *)0x0" ( (type_descriptor "_func_int_sqlite3_vtab_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n          puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);\n          local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);\n          iVar3 = sqlite3_value_type(apVal[8]);\n          uVar8 = sqlite3_value_int(apVal[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_34 = puVar5;\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }\n          else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }\n        }" else (compound_statement "{\n          puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);\n          local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);\n          iVar3 = sqlite3_value_type(apVal[8]);\n          uVar8 = sqlite3_value_int(apVal[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_34 = puVar5;\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }\n          else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }\n        }" { (expression_statement "puVar5 = (u8 *)sqlite3_value_blob(apVal[7]);" (assignment_expression "puVar5 = (u8 *)sqlite3_value_blob(apVal[7])" identifier = (cast_expression "(u8 *)sqlite3_value_blob(apVal[7])" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_value_blob(apVal[7])" identifier (argument_list "(apVal[7])" ( (subscript_expression "apVal[7]" identifier [ number_literal ]) ))))) ;) (expression_statement "local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7]);" (assignment_expression "local_44 = (_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7])" identifier = (cast_expression "(_func_int_sqlite3_vtab_ptr *)sqlite3_value_bytes(apVal[7])" ( (type_descriptor "_func_int_sqlite3_vtab_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_value_bytes(apVal[7])" identifier (argument_list "(apVal[7])" ( (subscript_expression "apVal[7]" identifier [ number_literal ]) ))))) ;) (expression_statement "iVar3 = sqlite3_value_type(apVal[8]);" (assignment_expression "iVar3 = sqlite3_value_type(apVal[8])" identifier = (call_expression "sqlite3_value_type(apVal[8])" identifier (argument_list "(apVal[8])" ( (subscript_expression "apVal[8]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar8 = sqlite3_value_int(apVal[8]);" (assignment_expression "uVar8 = sqlite3_value_int(apVal[8])" identifier = (call_expression "sqlite3_value_int(apVal[8])" identifier (argument_list "(apVal[8])" ( (subscript_expression "apVal[8]" identifier [ number_literal ]) )))) ;) (if_statement "if ((uVar8 & 0xfffffff7) != 0) {\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }" if (parenthesized_expression "((uVar8 & 0xfffffff7) != 0)" ( (binary_expression "(uVar8 & 0xfffffff7) != 0" (parenthesized_expression "(uVar8 & 0xfffffff7)" ( (binary_expression "uVar8 & 0xfffffff7" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            zFmt = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }" { (expression_statement "zFmt = "unknown compression method: %d";" (assignment_expression "zFmt = "unknown compression method: %d"" identifier = (string_literal ""unknown compression method: %d"" " string_content ")) ;) (goto_statement "goto LAB_00029a5a;" goto statement_identifier ;) })) (expression_statement "local_34 = puVar5;" (assignment_expression "local_34 = puVar5" identifier = identifier) ;) (expression_statement "local_48 = local_44;" (assignment_expression "local_48 = local_44" identifier = identifier) ;) (if_statement "if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }\n          else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }" if (parenthesized_expression "(iVar3 == 5 || uVar8 != 0)" ( (binary_expression "iVar3 == 5 || uVar8 != 0" (binary_expression "iVar3 == 5" identifier == number_literal) || (binary_expression "uVar8 != 0" identifier != number_literal)) )) (compound_statement "{\n            iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);\n            if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            iVar12 = 0;\n          }" { (expression_statement "iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg);" (assignment_expression "iVar3 = zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg)" identifier = (call_expression "zipfileDeflate(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg)" identifier (argument_list "(puVar5,(int)local_44,&pFree,&nCmp,&pVtab->zErrMsg)" ( identifier , (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier) , (pointer_expression "&pFree" & identifier) , (pointer_expression "&nCmp" & identifier) , (pointer_expression "&pVtab->zErrMsg" & (field_expression "pVtab->zErrMsg" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar3 != 0) {\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              crc32(0,puVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }" { (expression_statement "crc32(0,puVar5,local_44,iVar3);" (call_expression "crc32(0,puVar5,local_44,iVar3)" identifier (argument_list "(0,puVar5,local_44,iVar3)" ( number_literal , identifier , identifier , identifier ))) ;) (goto_statement "goto LAB_00029a6c;" goto statement_identifier ;) })) (if_statement "if ((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)) {\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }" if (parenthesized_expression "((uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44))" ( (binary_expression "(uVar8 != 0) || (local_3c = 0, nCmp < (int)local_44)" (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) || (parenthesized_expression "(local_3c = 0, nCmp < (int)local_44)" ( (comma_expression "local_3c = 0, nCmp < (int)local_44" (assignment_expression "local_3c = 0" identifier = number_literal) , (binary_expression "nCmp < (int)local_44" identifier < (cast_expression "(int)local_44" ( (type_descriptor "int" primitive_type) ) identifier))) ))) )) (compound_statement "{\n              local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;\n              local_3c = 8;\n              local_34 = pFree;\n            }" { (expression_statement "local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp;" (assignment_expression "local_48 = (_func_int_sqlite3_vtab_ptr *)nCmp" identifier = (cast_expression "(_func_int_sqlite3_vtab_ptr *)nCmp" ( (type_descriptor "_func_int_sqlite3_vtab_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "local_3c = 8;" (assignment_expression "local_3c = 8" identifier = number_literal) ;) (expression_statement "local_34 = pFree;" (assignment_expression "local_34 = pFree" identifier = identifier) ;) })) (expression_statement "local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;" (assignment_expression "local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)" identifier = (cast_expression "(_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)" ( (type_descriptor "_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "crc32(0,puVar5,local_44)" identifier (argument_list "(0,puVar5,local_44)" ( number_literal , identifier , identifier ))))) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }" else (compound_statement "{\n            local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;\n            local_3c = 0;\n            iVar12 = 0;\n          }" { (expression_statement "local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)\n            ;" (assignment_expression "local_30 = (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)" identifier = (cast_expression "(_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)crc32(0,puVar5,local_44)" ( (type_descriptor "_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "crc32(0,puVar5,local_44)" identifier (argument_list "(0,puVar5,local_44)" ( number_literal , identifier , identifier ))))) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) }))) }))) (expression_statement "local_58 = &pVtab->zErrMsg;" (assignment_expression "local_58 = &pVtab->zErrMsg" identifier = (pointer_expression "&pVtab->zErrMsg" & (field_expression "pVtab->zErrMsg" identifier -> field_identifier))) ;) (expression_statement "iVar3 = zipfileGetMode(apVal[3],iVar12,&mode,local_58);" (assignment_expression "iVar3 = zipfileGetMode(apVal[3],iVar12,&mode,local_58)" identifier = (call_expression "zipfileGetMode(apVal[3],iVar12,&mode,local_58)" identifier (argument_list "(apVal[3],iVar12,&mode,local_58)" ( (subscript_expression "apVal[3]" identifier [ number_literal ]) , identifier , (pointer_expression "&mode" & identifier) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n          local_58 = (char **)sqlite3_value_text(apVal[2]);\n          local_54 = strlen((char *)local_58);\n          p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4]);\n          if (iVar12 == 0) {\n            if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }\nLAB_00029b74:\n          psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);\n          iVar3 = 7;\n          if (psVar6 != (sqlite3_module *)0x0) {\n            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);\n            *(u16 *)&psVar6->iVersion = 0;\n            *(u16 *)((int)&psVar6->iVersion + 2) = 0;\n            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;\n            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;\n            for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }\n            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);\n            psVar6->xColumn = p_Var7;\n            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          local_58 = (char **)sqlite3_value_text(apVal[2]);\n          local_54 = strlen((char *)local_58);\n          p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4]);\n          if (iVar12 == 0) {\n            if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }\nLAB_00029b74:\n          psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);\n          iVar3 = 7;\n          if (psVar6 != (sqlite3_module *)0x0) {\n            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);\n            *(u16 *)&psVar6->iVersion = 0;\n            *(u16 *)((int)&psVar6->iVersion + 2) = 0;\n            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;\n            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;\n            for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }\n            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);\n            psVar6->xColumn = p_Var7;\n            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }" { (expression_statement "local_58 = (char **)sqlite3_value_text(apVal[2]);" (assignment_expression "local_58 = (char **)sqlite3_value_text(apVal[2])" identifier = (cast_expression "(char **)sqlite3_value_text(apVal[2])" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (call_expression "sqlite3_value_text(apVal[2])" identifier (argument_list "(apVal[2])" ( (subscript_expression "apVal[2]" identifier [ number_literal ]) ))))) ;) (expression_statement "local_54 = strlen((char *)local_58);" (assignment_expression "local_54 = strlen((char *)local_58)" identifier = (call_expression "strlen((char *)local_58)" identifier (argument_list "((char *)local_58)" ( (cast_expression "(char *)local_58" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (expression_statement "p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4]);" (assignment_expression "p_Var4 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4])" identifier = (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)zipfileGetTime(apVal[4])" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "zipfileGetTime(apVal[4])" identifier (argument_list "(apVal[4])" ( (subscript_expression "apVal[4]" identifier [ number_literal ]) ))))) ;) (if_statement "if (iVar12 == 0) {\n            if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n            if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }" { (if_statement "if (bVar15) {\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }" if (parenthesized_expression "(bVar15)" ( identifier )) (compound_statement "{\nLAB_00029cc0:\n              local_60 = (uchar *)0x0;\n              goto LAB_00029894;\n            }" { (labeled_statement "LAB_00029cc0:\n              local_60 = (uchar *)0x0;" statement_identifier : (expression_statement "local_60 = (uchar *)0x0;" (assignment_expression "local_60 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (goto_statement "goto LAB_00029894;" goto statement_identifier ;) })) (expression_statement "local_60 = (uchar *)0x0;" (assignment_expression "local_60 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "p = (sqlite3_module *)0x0;" (assignment_expression "p = (sqlite3_module *)0x0" identifier = (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }" else (if_statement "if (*(uchar *)((int)local_58 + (local_54 - 1)) == '/') {\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }\n          else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }" if (parenthesized_expression "(*(uchar *)((int)local_58 + (local_54 - 1)) == '/')" ( (binary_expression "*(uchar *)((int)local_58 + (local_54 - 1)) == '/'" (pointer_expression "*(uchar *)((int)local_58 + (local_54 - 1))" * (cast_expression "(uchar *)((int)local_58 + (local_54 - 1))" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)local_58 + (local_54 - 1))" ( (binary_expression "(int)local_58 + (local_54 - 1)" (cast_expression "(int)local_58" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(local_54 - 1)" ( (binary_expression "local_54 - 1" identifier - number_literal) ))) )))) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n            if (bVar15) goto LAB_00029cc0;\n            local_60 = (uchar *)0x0;\n            p = (sqlite3_module *)0x0;\n          }" { (if_statement "if (bVar15) goto LAB_00029cc0;" if (parenthesized_expression "(bVar15)" ( identifier )) (goto_statement "goto LAB_00029cc0;" goto statement_identifier ;)) (expression_statement "local_60 = (uchar *)0x0;" (assignment_expression "local_60 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "p = (sqlite3_module *)0x0;" (assignment_expression "p = (sqlite3_module *)0x0" identifier = (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }) (else_clause "else {\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }" else (compound_statement "{\n            local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);\n            if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }\n            local_54 = local_54 + 1;\n            local_58 = (char **)local_60;\n            if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }\nLAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }\n          }" { (expression_statement "local_60 = (uchar *)sqlite3_mprintf("%s/",local_58);" (assignment_expression "local_60 = (uchar *)sqlite3_mprintf("%s/",local_58)" identifier = (cast_expression "(uchar *)sqlite3_mprintf("%s/",local_58)" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_mprintf("%s/",local_58)" identifier (argument_list "("%s/",local_58)" ( (string_literal ""%s/"" " string_content ") , identifier ))))) ;) (if_statement "if (local_60 == (uchar *)0x0) {\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }" if (parenthesized_expression "(local_60 == (uchar *)0x0)" ( (binary_expression "local_60 == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              local_60 = (uchar *)0x0;\n              iVar3 = 7;\n              goto LAB_000296b5;\n            }" { (expression_statement "local_60 = (uchar *)0x0;" (assignment_expression "local_60 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;) })) (expression_statement "local_54 = local_54 + 1;" (assignment_expression "local_54 = local_54 + 1" identifier = (binary_expression "local_54 + 1" identifier + number_literal)) ;) (expression_statement "local_58 = (char **)local_60;" (assignment_expression "local_58 = (char **)local_60" identifier = (cast_expression "(char **)local_60" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier)) ;) (if_statement "if (!bVar15) {\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }" if (parenthesized_expression "(!bVar15)" ( (unary_expression "!bVar15" ! identifier) )) (compound_statement "{\n              p = (sqlite3_module *)0x0;\n              goto LAB_00029b74;\n            }" { (expression_statement "p = (sqlite3_module *)0x0;" (assignment_expression "p = (sqlite3_module *)0x0" identifier = (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00029b74;" goto statement_identifier ;) })) (labeled_statement "LAB_00029894:\n            for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }" statement_identifier : (for_statement "for (p = pVtab[3].pModule; p != (sqlite3_module *)0x0;\n                p = (sqlite3_module *)p->xRollback) {\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }" for ( (assignment_expression "p = pVtab[3].pModule" identifier = (field_expression "pVtab[3].pModule" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier)) ; (binary_expression "p != (sqlite3_module *)0x0" identifier != (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "p = (sqlite3_module *)p->xRollback" identifier = (cast_expression "(sqlite3_module *)p->xRollback" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p->xRollback" identifier -> field_identifier))) ) (compound_statement "{\n              iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);\n              if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }\n            }" { (expression_statement "iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54);" (assignment_expression "iVar3 = zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54)" identifier = (call_expression "zipfileComparePath((char *)p->xColumn,(char *)local_58,local_54)" identifier (argument_list "((char *)p->xColumn,(char *)local_58,local_54)" ( (cast_expression "(char *)p->xColumn" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "p->xColumn" identifier -> field_identifier)) , (cast_expression "(char *)local_58" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);\n                iVar3 = 0;\n                if (iVar12 == 2) goto LAB_000296b5;\n                if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }\n                break;\n              }" { (expression_statement "iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef);" (assignment_expression "iVar12 = sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef)" identifier = (call_expression "sqlite3_vtab_on_conflict((sqlite3 *)pVtab[1].nRef)" identifier (argument_list "((sqlite3 *)pVtab[1].nRef)" ( (cast_expression "(sqlite3 *)pVtab[1].nRef" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pVtab[1].nRef" (subscript_expression "pVtab[1]" identifier [ number_literal ]) . field_identifier)) )))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (iVar12 == 2) goto LAB_000296b5;" if (parenthesized_expression "(iVar12 == 2)" ( (binary_expression "iVar12 == 2" identifier == number_literal) )) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;)) (if_statement "if (iVar12 != 5) {\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }" if (parenthesized_expression "(iVar12 != 5)" ( (binary_expression "iVar12 != 5" identifier != number_literal) )) (compound_statement "{\n                  zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);\n                  iVar3 = 0x13;\n                  goto LAB_000296b5;\n                }" { (expression_statement "zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58);" (call_expression "zipfileTableErr((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58)" identifier (argument_list "((ZipfileTab *)pVtab,"duplicate name: \"%s\"",local_58)" ( (cast_expression "(ZipfileTab *)pVtab" ( (type_descriptor "ZipfileTab *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""duplicate name: \"%s\""" " string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) (expression_statement "iVar3 = 0x13;" (assignment_expression "iVar3 = 0x13" identifier = number_literal) ;) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) }))) }))))) (labeled_statement "LAB_00029b74:\n          psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);" statement_identifier : (expression_statement "psVar6 = (sqlite3_module *)sqlite3_malloc(0x48);" (assignment_expression "psVar6 = (sqlite3_module *)sqlite3_malloc(0x48)" identifier = (cast_expression "(sqlite3_module *)sqlite3_malloc(0x48)" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_malloc(0x48)" identifier (argument_list "(0x48)" ( number_literal ))))) ;)) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) (if_statement "if (psVar6 != (sqlite3_module *)0x0) {\n            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);\n            *(u16 *)&psVar6->iVersion = 0;\n            *(u16 *)((int)&psVar6->iVersion + 2) = 0;\n            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;\n            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;\n            for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }\n            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);\n            psVar6->xColumn = p_Var7;\n            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }" if (parenthesized_expression "(psVar6 != (sqlite3_module *)0x0)" ( (binary_expression "psVar6 != (sqlite3_module *)0x0" identifier != (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);\n            *(u16 *)&psVar6->iVersion = 0;\n            *(u16 *)((int)&psVar6->iVersion + 2) = 0;\n            psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;\n            uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;\n            for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }\n            p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);\n            psVar6->xColumn = p_Var7;\n            if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }" { (expression_statement "puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc);" (assignment_expression "puVar14 = (undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)&psVar6->xCreate & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)&psVar6->xCreate & 0xfffffffc)" ( (binary_expression "(uint)&psVar6->xCreate & 0xfffffffc" (binary_expression "(uint)&psVar6->xCreate" (parenthesized_expression "(uint)" ( identifier )) & (field_expression "psVar6->xCreate" identifier -> field_identifier)) & number_literal) )))) ;) (expression_statement "*(u16 *)&psVar6->iVersion = 0;" (assignment_expression "*(u16 *)&psVar6->iVersion = 0" (pointer_expression "*(u16 *)&psVar6->iVersion" * (cast_expression "(u16 *)&psVar6->iVersion" ( (type_descriptor "u16 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&psVar6->iVersion" & (field_expression "psVar6->iVersion" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(u16 *)((int)&psVar6->iVersion + 2) = 0;" (assignment_expression "*(u16 *)((int)&psVar6->iVersion + 2) = 0" (pointer_expression "*(u16 *)((int)&psVar6->iVersion + 2)" * (cast_expression "(u16 *)((int)&psVar6->iVersion + 2)" ( (type_descriptor "u16 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&psVar6->iVersion + 2)" ( (binary_expression "(int)&psVar6->iVersion + 2" (cast_expression "(int)&psVar6->iVersion" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&psVar6->iVersion" & (field_expression "psVar6->iVersion" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0;" (assignment_expression "psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)0x0" (field_expression "psVar6->xRollback" identifier -> field_identifier) = (cast_expression "(_func_int_sqlite3_vtab_ptr *)0x0" ( (type_descriptor "_func_int_sqlite3_vtab_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2;" (assignment_expression "uVar8 = (uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2" identifier = (binary_expression "(uint)((int)psVar6 + (0x48 - (int)puVar14)) >> 2" (call_expression "(uint)((int)psVar6 + (0x48 - (int)puVar14))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)psVar6 + (0x48 - (int)puVar14))" ( (binary_expression "(int)psVar6 + (0x48 - (int)puVar14)" (cast_expression "(int)psVar6" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x48 - (int)puVar14)" ( (binary_expression "0x48 - (int)puVar14" number_literal - (cast_expression "(int)puVar14" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }" for ( ; (binary_expression "uVar8 != 0" identifier != number_literal) ; (assignment_expression "uVar8 = uVar8 - 1" identifier = (binary_expression "uVar8 - 1" identifier - number_literal)) ) (compound_statement "{\n              *puVar14 = 0;\n              puVar14 = puVar14 + (uint)bVar16 * -2 + 1;\n            }" { (expression_statement "*puVar14 = 0;" (assignment_expression "*puVar14 = 0" (pointer_expression "*puVar14" * identifier) = number_literal) ;) (expression_statement "puVar14 = puVar14 + (uint)bVar16 * -2 + 1;" (assignment_expression "puVar14 = puVar14 + (uint)bVar16 * -2 + 1" identifier = (binary_expression "puVar14 + (uint)bVar16 * -2 + 1" (binary_expression "puVar14 + (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 "p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58);" (assignment_expression "p_Var7 = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58)" identifier = (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)\n                     sqlite3_mprintf("%s",local_58)" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_mprintf("%s",local_58)" identifier (argument_list "("%s",local_58)" ( (string_literal ""%s"" " string_content ") , identifier ))))) ;) (expression_statement "psVar6->xColumn = p_Var7;" (assignment_expression "psVar6->xColumn = p_Var7" (field_expression "psVar6->xColumn" identifier -> field_identifier) = identifier) ;) (if_statement "if (p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0) {\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }\n            else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }" if (parenthesized_expression "(p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0)" ( (binary_expression "p_Var7 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0" identifier == (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *)0x0" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr_sqlite3_context_ptr_int *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              sqlite3_free(psVar6);\n              iVar3 = 7;\n            }" { (expression_statement "sqlite3_free(psVar6);" (call_expression "sqlite3_free(psVar6)" identifier (argument_list "(psVar6)" ( identifier ))) ;) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) }) (else_clause "else {\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }" else (compound_statement "{\n              *(u16 *)&psVar6->xCreate = 0x800;\n              *(u16 *)((int)&psVar6->xCreate + 2) = local_3c;\n              *(u16 *)&psVar6->iVersion = 0x31e;\n              *(u16 *)((int)&psVar6->iVersion + 2) = 0x14;\n              zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);\n              psVar6->xBestIndex = local_30;\n              psVar6->xDisconnect = local_48;\n              psVar6->xDestroy = local_44;\n              psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);\n              psVar11 = pVtab[4].pModule;\n              *(u16 *)&psVar6->xOpen = (u16)local_54;\n              psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;\n              psVar6->xRowid = p_Var4;\n              puVar5 = (u8 *)pVtab[1].zErrMsg;\n              iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);\n              iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);\n              if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }\n              psVar11 = pVtab[3].pModule;\n              if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }" { (expression_statement "*(u16 *)&psVar6->xCreate = 0x800;" (assignment_expression "*(u16 *)&psVar6->xCreate = 0x800" (pointer_expression "*(u16 *)&psVar6->xCreate" * (cast_expression "(u16 *)&psVar6->xCreate" ( (type_descriptor "u16 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&psVar6->xCreate" & (field_expression "psVar6->xCreate" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(u16 *)((int)&psVar6->xCreate + 2) = local_3c;" (assignment_expression "*(u16 *)((int)&psVar6->xCreate + 2) = local_3c" (pointer_expression "*(u16 *)((int)&psVar6->xCreate + 2)" * (cast_expression "(u16 *)((int)&psVar6->xCreate + 2)" ( (type_descriptor "u16 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&psVar6->xCreate + 2)" ( (binary_expression "(int)&psVar6->xCreate + 2" (cast_expression "(int)&psVar6->xCreate" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&psVar6->xCreate" & (field_expression "psVar6->xCreate" identifier -> field_identifier))) + number_literal) )))) = identifier) ;) (expression_statement "*(u16 *)&psVar6->iVersion = 0x31e;" (assignment_expression "*(u16 *)&psVar6->iVersion = 0x31e" (pointer_expression "*(u16 *)&psVar6->iVersion" * (cast_expression "(u16 *)&psVar6->iVersion" ( (type_descriptor "u16 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&psVar6->iVersion" & (field_expression "psVar6->iVersion" identifier -> field_identifier)))) = number_literal) ;) (expression_statement "*(u16 *)((int)&psVar6->iVersion + 2) = 0x14;" (assignment_expression "*(u16 *)((int)&psVar6->iVersion + 2) = 0x14" (pointer_expression "*(u16 *)((int)&psVar6->iVersion + 2)" * (cast_expression "(u16 *)((int)&psVar6->iVersion + 2)" ( (type_descriptor "u16 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&psVar6->iVersion + 2)" ( (binary_expression "(int)&psVar6->iVersion + 2" (cast_expression "(int)&psVar6->iVersion" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&psVar6->iVersion" & (field_expression "psVar6->iVersion" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);" (call_expression "zipfileMtimeToDos(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c)" identifier (argument_list "(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c)" ( identifier , identifier , identifier ))) ;) (expression_statement "psVar6->xBestIndex = local_30;" (assignment_expression "psVar6->xBestIndex = local_30" (field_expression "psVar6->xBestIndex" identifier -> field_identifier) = identifier) ;) (expression_statement "psVar6->xDisconnect = local_48;" (assignment_expression "psVar6->xDisconnect = local_48" (field_expression "psVar6->xDisconnect" identifier -> field_identifier) = identifier) ;) (expression_statement "psVar6->xDestroy = local_44;" (assignment_expression "psVar6->xDestroy = local_44" (field_expression "psVar6->xDestroy" identifier -> field_identifier) = identifier) ;) (expression_statement "psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10);" (assignment_expression "psVar6->xNext = (_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10)" (field_expression "psVar6->xNext" identifier -> field_identifier) = (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr *)(mode << 0x10)" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(mode << 0x10)" ( (binary_expression "mode << 0x10" identifier << number_literal) )))) ;) (expression_statement "psVar11 = pVtab[4].pModule;" (assignment_expression "psVar11 = pVtab[4].pModule" identifier = (field_expression "pVtab[4].pModule" (subscript_expression "pVtab[4]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "*(u16 *)&psVar6->xOpen = (u16)local_54;" (assignment_expression "*(u16 *)&psVar6->xOpen = (u16)local_54" (pointer_expression "*(u16 *)&psVar6->xOpen" * (cast_expression "(u16 *)&psVar6->xOpen" ( (type_descriptor "u16 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&psVar6->xOpen" & (field_expression "psVar6->xOpen" identifier -> field_identifier)))) = (cast_expression "(u16)local_54" ( (type_descriptor "u16" type_identifier) ) identifier)) ;) (expression_statement "psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11;" (assignment_expression "psVar6->xEof = (_func_int_sqlite3_vtab_cursor_ptr *)psVar11" (field_expression "psVar6->xEof" identifier -> field_identifier) = (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr *)psVar11" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "psVar6->xRowid = p_Var4;" (assignment_expression "psVar6->xRowid = p_Var4" (field_expression "psVar6->xRowid" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar5 = (u8 *)pVtab[1].zErrMsg;" (assignment_expression "puVar5 = (u8 *)pVtab[1].zErrMsg" identifier = (cast_expression "(u8 *)pVtab[1].zErrMsg" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pVtab[1].zErrMsg" (subscript_expression "pVtab[1]" identifier [ number_literal ]) . field_identifier))) ;) (expression_statement "iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5);" (assignment_expression "iVar3 = zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5)" identifier = (call_expression "zipfileSerializeLFH((ZipfileEntry *)psVar6,puVar5)" identifier (argument_list "((ZipfileEntry *)psVar6,puVar5)" ( (cast_expression "(ZipfileEntry *)psVar6" ( (type_descriptor "ZipfileEntry *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (expression_statement "iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3);" (assignment_expression "iVar3 = zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3)" identifier = (call_expression "zipfileAppendData((ZipfileTab *)pVtab,puVar5,iVar3)" identifier (argument_list "((ZipfileTab *)pVtab,puVar5,iVar3)" ( (cast_expression "(ZipfileTab *)pVtab" ( (type_descriptor "ZipfileTab *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , identifier )))) ;) (if_statement "if (iVar3 == 0) {\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;\n                psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;\n                psVar6->xSync = p_Var2;\n                iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);\n              }" { (expression_statement "p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef;" (assignment_expression "p_Var2 = (_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef" identifier = (cast_expression "(_func_int_sqlite3_vtab_ptr *)pVtab[4].nRef" ( (type_descriptor "_func_int_sqlite3_vtab_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pVtab[4].nRef" (subscript_expression "pVtab[4]" identifier [ number_literal ]) . field_identifier))) ;) (expression_statement "psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule;" (assignment_expression "psVar6->xBegin = (_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule" (field_expression "psVar6->xBegin" identifier -> field_identifier) = (cast_expression "(_func_int_sqlite3_vtab_ptr *)pVtab[4].pModule" ( (type_descriptor "_func_int_sqlite3_vtab_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pVtab[4].pModule" (subscript_expression "pVtab[4]" identifier [ number_literal ]) . field_identifier))) ;) (expression_statement "psVar6->xSync = p_Var2;" (assignment_expression "psVar6->xSync = p_Var2" (field_expression "psVar6->xSync" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48);" (assignment_expression "iVar3 = zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48)" identifier = (call_expression "zipfileAppendData((ZipfileTab *)pVtab,local_34,(int)local_48)" identifier (argument_list "((ZipfileTab *)pVtab,local_34,(int)local_48)" ( (cast_expression "(ZipfileTab *)pVtab" ( (type_descriptor "ZipfileTab *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier , (cast_expression "(int)local_48" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) })) (expression_statement "psVar11 = pVtab[3].pModule;" (assignment_expression "psVar11 = pVtab[3].pModule" identifier = (field_expression "pVtab[3].pModule" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if (psVar13 == (sqlite3_module *)0x0) {\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }" if (parenthesized_expression "(psVar13 == (sqlite3_module *)0x0)" ( (binary_expression "psVar13 == (sqlite3_module *)0x0" identifier == (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }\n                if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }" { (if_statement "if (psVar11 == (sqlite3_module *)0x0) {\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }\n                else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }" if (parenthesized_expression "(psVar11 == (sqlite3_module *)0x0)" ( (binary_expression "psVar11 == (sqlite3_module *)0x0" identifier == (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  pVtab[3].nRef = (int)psVar6;\n                  pVtab[3].pModule = psVar6;\n                }" { (expression_statement "pVtab[3].nRef = (int)psVar6;" (assignment_expression "pVtab[3].nRef = (int)psVar6" (field_expression "pVtab[3].nRef" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(int)psVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "pVtab[3].pModule = psVar6;" (assignment_expression "pVtab[3].pModule = psVar6" (field_expression "pVtab[3].pModule" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier) = identifier) ;) }) (else_clause "else {\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }" else (compound_statement "{\n                  *(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;\n                  pVtab[3].nRef = (int)psVar6;\n                }" { (expression_statement "*(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6;" (assignment_expression "*(sqlite3_module **)(pVtab[3].nRef + 0x44) = psVar6" (pointer_expression "*(sqlite3_module **)(pVtab[3].nRef + 0x44)" * (cast_expression "(sqlite3_module **)(pVtab[3].nRef + 0x44)" ( (type_descriptor "sqlite3_module **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pVtab[3].nRef + 0x44)" ( (binary_expression "pVtab[3].nRef + 0x44" (field_expression "pVtab[3].nRef" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier) + number_literal) )))) = identifier) ;) (expression_statement "pVtab[3].nRef = (int)psVar6;" (assignment_expression "pVtab[3].nRef = (int)psVar6" (field_expression "pVtab[3].nRef" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(int)psVar6" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }))) (if_statement "if ((iVar3 == 0) && (p != (sqlite3_module *)0x0)) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }" if (parenthesized_expression "((iVar3 == 0) && (p != (sqlite3_module *)0x0))" ( (binary_expression "(iVar3 == 0) && (p != (sqlite3_module *)0x0)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) && (parenthesized_expression "(p != (sqlite3_module *)0x0)" ( (binary_expression "p != (sqlite3_module *)0x0" identifier != (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }" { (expression_statement "psVar6 = pVtab[2].pModule;" (assignment_expression "psVar6 = pVtab[2].pModule" identifier = (field_expression "pVtab[2].pModule" (subscript_expression "pVtab[2]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;" if (parenthesized_expression "(psVar6 != (sqlite3_module *)0x0)" ( (binary_expression "psVar6 != (sqlite3_module *)0x0" identifier != (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000299fb;" goto statement_identifier ;)) (goto_statement "goto LAB_000299b2;" goto statement_identifier ;) })) }) (else_clause "else {\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }" else (compound_statement "{\n                if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }\n                psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;\n                psVar10->pModule = psVar6;\n                if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }" { (if_statement "if (psVar13 == psVar11) {\n                  psVar10 = pVtab + 3;\n                }\n                else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }" if (parenthesized_expression "(psVar13 == psVar11)" ( (binary_expression "psVar13 == psVar11" identifier == identifier) )) (compound_statement "{\n                  psVar10 = pVtab + 3;\n                }" { (expression_statement "psVar10 = pVtab + 3;" (assignment_expression "psVar10 = pVtab + 3" identifier = (binary_expression "pVtab + 3" identifier + number_literal)) ;) }) (else_clause "else {\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }" else (compound_statement "{\n                  do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);\n                  psVar10 = (sqlite3_vtab *)&psVar9->xRollback;\n                }" { (do_statement "do {\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  } while (psVar11 != psVar13);" do (compound_statement "{\n                    psVar9 = psVar11;\n                    psVar11 = (sqlite3_module *)psVar9->xRollback;\n                  }" { (expression_statement "psVar9 = psVar11;" (assignment_expression "psVar9 = psVar11" identifier = identifier) ;) (expression_statement "psVar11 = (sqlite3_module *)psVar9->xRollback;" (assignment_expression "psVar11 = (sqlite3_module *)psVar9->xRollback" identifier = (cast_expression "(sqlite3_module *)psVar9->xRollback" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar9->xRollback" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(psVar11 != psVar13)" ( (binary_expression "psVar11 != psVar13" identifier != identifier) )) ;) (expression_statement "psVar10 = (sqlite3_vtab *)&psVar9->xRollback;" (assignment_expression "psVar10 = (sqlite3_vtab *)&psVar9->xRollback" identifier = (cast_expression "(sqlite3_vtab *)&psVar9->xRollback" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&psVar9->xRollback" & (field_expression "psVar9->xRollback" identifier -> field_identifier)))) ;) }))) (expression_statement "psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13;" (assignment_expression "psVar6->xRollback = (_func_int_sqlite3_vtab_ptr *)psVar13" (field_expression "psVar6->xRollback" identifier -> field_identifier) = (cast_expression "(_func_int_sqlite3_vtab_ptr *)psVar13" ( (type_descriptor "_func_int_sqlite3_vtab_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "psVar10->pModule = psVar6;" (assignment_expression "psVar10->pModule = psVar6" (field_expression "psVar10->pModule" identifier -> field_identifier) = identifier) ;) (if_statement "if (iVar3 == 0) {\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                  psVar6 = pVtab[2].pModule;\n                  if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);\nLAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }" { (expression_statement "psVar6 = pVtab[2].pModule;" (assignment_expression "psVar6 = pVtab[2].pModule" identifier = (field_expression "pVtab[2].pModule" (subscript_expression "pVtab[2]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029980;" if (parenthesized_expression "(psVar6 == (sqlite3_module *)0x0)" ( (binary_expression "psVar6 == (sqlite3_module *)0x0" identifier == (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00029980;" goto statement_identifier ;)) (labeled_statement "LAB_000299fb:\n                  do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);" statement_identifier : (do_statement "do {\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  } while (psVar6 != (sqlite3_module *)0x0);" do (compound_statement "{\n                    while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }\n                    psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                  }" { (while_statement "while ((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))) {\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }" while (parenthesized_expression "((psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13)))))" ( (parenthesized_expression "(psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13))))" ( (comma_expression "psVar11 = (sqlite3_module *)psVar6->xRowid,\n                           psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13)))" (assignment_expression "psVar11 = (sqlite3_module *)psVar6->xRowid" identifier = (cast_expression "(sqlite3_module *)psVar6->xRowid" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar6->xRowid" identifier -> field_identifier))) , (binary_expression "psVar11 != (sqlite3_module *)0x0 &&\n                           ((psVar11 == p || (psVar11 == psVar13)))" (binary_expression "psVar11 != (sqlite3_module *)0x0" identifier != (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) && (parenthesized_expression "((psVar11 == p || (psVar11 == psVar13)))" ( (parenthesized_expression "(psVar11 == p || (psVar11 == psVar13))" ( (binary_expression "psVar11 == p || (psVar11 == psVar13)" (binary_expression "psVar11 == p" identifier == identifier) || (parenthesized_expression "(psVar11 == psVar13)" ( (binary_expression "psVar11 == psVar13" identifier == identifier) ))) )) )))) )) )) (compound_statement "{\n                      pZVar1 = (ZipfileEntry *)psVar11->xRollback;\n                      *(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;\n                      psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;\n                      psVar6 = (sqlite3_module *)psVar6->xUpdate;\n                      if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;\n                    }" { (expression_statement "pZVar1 = (ZipfileEntry *)psVar11->xRollback;" (assignment_expression "pZVar1 = (ZipfileEntry *)psVar11->xRollback" identifier = (cast_expression "(ZipfileEntry *)psVar11->xRollback" ( (type_descriptor "ZipfileEntry *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar11->xRollback" identifier -> field_identifier))) ;) (expression_statement "*(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1;" (assignment_expression "*(undefined1 *)((int)&psVar6->xBestIndex + 1) = 1" (pointer_expression "*(undefined1 *)((int)&psVar6->xBestIndex + 1)" * (cast_expression "(undefined1 *)((int)&psVar6->xBestIndex + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&psVar6->xBestIndex + 1)" ( (binary_expression "(int)&psVar6->xBestIndex + 1" (cast_expression "(int)&psVar6->xBestIndex" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&psVar6->xBestIndex" & (field_expression "psVar6->xBestIndex" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1\n                      ;" (assignment_expression "psVar6->xRowid = (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1" (field_expression "psVar6->xRowid" identifier -> field_identifier) = (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)pZVar1" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "psVar6 = (sqlite3_module *)psVar6->xUpdate;" (assignment_expression "psVar6 = (sqlite3_module *)psVar6->xUpdate" identifier = (cast_expression "(sqlite3_module *)psVar6->xUpdate" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar6->xUpdate" identifier -> field_identifier))) ;) (if_statement "if (psVar6 == (sqlite3_module *)0x0) goto LAB_00029a17;" if (parenthesized_expression "(psVar6 == (sqlite3_module *)0x0)" ( (binary_expression "psVar6 == (sqlite3_module *)0x0" identifier == (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00029a17;" goto statement_identifier ;)) })) (expression_statement "psVar6 = (sqlite3_module *)psVar6->xUpdate;" (assignment_expression "psVar6 = (sqlite3_module *)psVar6->xUpdate" identifier = (cast_expression "(sqlite3_module *)psVar6->xUpdate" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar6->xUpdate" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(psVar6 != (sqlite3_module *)0x0)" ( (binary_expression "psVar6 != (sqlite3_module *)0x0" identifier != (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;)) (labeled_statement "LAB_00029a17:\n                  if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;" statement_identifier : (if_statement "if (psVar13 != (sqlite3_module *)0x0) goto LAB_00029980;" if (parenthesized_expression "(psVar13 != (sqlite3_module *)0x0)" ( (binary_expression "psVar13 != (sqlite3_module *)0x0" identifier != (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00029980;" goto statement_identifier ;))) (goto_statement "goto LAB_000299a8;" goto statement_identifier ;) })) }))) }))) })) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_00029a51:\n        zFmt = "rawdata must be NULL";\nLAB_00029a5a:\n        zipfileTableErr((ZipfileTab *)pVtab,zFmt);\n        iVar3 = 0x13;\n      }" else (compound_statement "{\nLAB_00029a51:\n        zFmt = "rawdata must be NULL";\nLAB_00029a5a:\n        zipfileTableErr((ZipfileTab *)pVtab,zFmt);\n        iVar3 = 0x13;\n      }" { (labeled_statement "LAB_00029a51:\n        zFmt = "rawdata must be NULL";" statement_identifier : (expression_statement "zFmt = "rawdata must be NULL";" (assignment_expression "zFmt = "rawdata must be NULL"" identifier = (string_literal ""rawdata must be NULL"" " string_content ")) ;)) (labeled_statement "LAB_00029a5a:\n        zipfileTableErr((ZipfileTab *)pVtab,zFmt);" statement_identifier : (expression_statement "zipfileTableErr((ZipfileTab *)pVtab,zFmt);" (call_expression "zipfileTableErr((ZipfileTab *)pVtab,zFmt)" identifier (argument_list "((ZipfileTab *)pVtab,zFmt)" ( (cast_expression "(ZipfileTab *)pVtab" ( (type_descriptor "ZipfileTab *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , identifier ))) ;)) (expression_statement "iVar3 = 0x13;" (assignment_expression "iVar3 = 0x13" identifier = number_literal) ;) }))) }) (else_clause "else {\n      zipfileTableErr((ZipfileTab *)pVtab,"sz must be NULL");\n      iVar12 = sqlite3_value_type(apVal[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }" else (compound_statement "{\n      zipfileTableErr((ZipfileTab *)pVtab,"sz must be NULL");\n      iVar12 = sqlite3_value_type(apVal[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }" { (expression_statement "zipfileTableErr((ZipfileTab *)pVtab,"sz must be NULL");" (call_expression "zipfileTableErr((ZipfileTab *)pVtab,"sz must be NULL")" identifier (argument_list "((ZipfileTab *)pVtab,"sz must be NULL")" ( (cast_expression "(ZipfileTab *)pVtab" ( (type_descriptor "ZipfileTab *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""sz must be NULL"" " string_content ") ))) ;) (expression_statement "iVar12 = sqlite3_value_type(apVal[6]);" (assignment_expression "iVar12 = sqlite3_value_type(apVal[6])" identifier = (call_expression "sqlite3_value_type(apVal[6])" identifier (argument_list "(apVal[6])" ( (subscript_expression "apVal[6]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar3 = 0x13;" (assignment_expression "iVar3 = 0x13" identifier = number_literal) ;) (if_statement "if (iVar12 != 5) goto LAB_00029a51;" if (parenthesized_expression "(iVar12 != 5)" ( (binary_expression "iVar12 != 5" identifier != number_literal) )) (goto_statement "goto LAB_00029a51;" goto statement_identifier ;)) }))) (labeled_statement "LAB_00029a6c:\n    local_60 = (uchar *)0x0;" statement_identifier : (expression_statement "local_60 = (uchar *)0x0;" (assignment_expression "local_60 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) }) (else_clause "else {\n    __s = sqlite3_value_text(*apVal);\n    nB = strlen((char *)__s);\n    if ((nVal < 2) || (zA = sqlite3_value_text(apVal[1]), zA == (uchar *)0x0)) {\n      bVar15 = false;\n    }\n    else {\n      iVar3 = zipfileComparePath((char *)zA,(char *)__s,nB);\n      bVar15 = iVar3 != 0;\n    }\n    psVar13 = pVtab[3].pModule;\n    while (iVar3 = zipfileComparePath((char *)psVar13->xColumn,(char *)__s,nB), iVar3 != 0) {\n      psVar13 = (sqlite3_module *)psVar13->xRollback;\n    }\n    if (1 < nVal) goto LAB_0002975e;\n    p = (sqlite3_module *)0x0;\n    local_60 = (uchar *)0x0;\n    psVar6 = pVtab[2].pModule;\n    if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\nLAB_00029980:\n    psVar6 = pVtab[3].pModule;\n    if (psVar13 == pVtab[3].pModule) {\n      psVar10 = pVtab + 3;\n      psVar6 = psVar13;\n    }\n    else {\n      do {\n        psVar11 = psVar6;\n        psVar6 = (sqlite3_module *)psVar11->xRollback;\n      } while (psVar13 != psVar6);\n      psVar10 = (sqlite3_vtab *)&psVar11->xRollback;\n    }\n    psVar10->pModule = (sqlite3_module *)psVar6->xRollback;\n    zipfileEntryFree((ZipfileEntry *)psVar13);\nLAB_000299a8:\n    iVar3 = 0;\n    if (p != (sqlite3_module *)0x0) {\nLAB_000299b2:\n      psVar13 = pVtab[3].pModule;\n      if (pVtab[3].pModule == p) {\n        psVar10 = pVtab + 3;\n      }\n      else {\n        do {\n          psVar6 = psVar13;\n          psVar13 = (sqlite3_module *)psVar6->xRollback;\n        } while (psVar13 != p);\n        psVar10 = (sqlite3_vtab *)&psVar6->xRollback;\n      }\n      psVar10->pModule = (sqlite3_module *)p->xRollback;\n      zipfileEntryFree((ZipfileEntry *)p);\n      iVar3 = 0;\n    }\n  }" else (compound_statement "{\n    __s = sqlite3_value_text(*apVal);\n    nB = strlen((char *)__s);\n    if ((nVal < 2) || (zA = sqlite3_value_text(apVal[1]), zA == (uchar *)0x0)) {\n      bVar15 = false;\n    }\n    else {\n      iVar3 = zipfileComparePath((char *)zA,(char *)__s,nB);\n      bVar15 = iVar3 != 0;\n    }\n    psVar13 = pVtab[3].pModule;\n    while (iVar3 = zipfileComparePath((char *)psVar13->xColumn,(char *)__s,nB), iVar3 != 0) {\n      psVar13 = (sqlite3_module *)psVar13->xRollback;\n    }\n    if (1 < nVal) goto LAB_0002975e;\n    p = (sqlite3_module *)0x0;\n    local_60 = (uchar *)0x0;\n    psVar6 = pVtab[2].pModule;\n    if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;\nLAB_00029980:\n    psVar6 = pVtab[3].pModule;\n    if (psVar13 == pVtab[3].pModule) {\n      psVar10 = pVtab + 3;\n      psVar6 = psVar13;\n    }\n    else {\n      do {\n        psVar11 = psVar6;\n        psVar6 = (sqlite3_module *)psVar11->xRollback;\n      } while (psVar13 != psVar6);\n      psVar10 = (sqlite3_vtab *)&psVar11->xRollback;\n    }\n    psVar10->pModule = (sqlite3_module *)psVar6->xRollback;\n    zipfileEntryFree((ZipfileEntry *)psVar13);\nLAB_000299a8:\n    iVar3 = 0;\n    if (p != (sqlite3_module *)0x0) {\nLAB_000299b2:\n      psVar13 = pVtab[3].pModule;\n      if (pVtab[3].pModule == p) {\n        psVar10 = pVtab + 3;\n      }\n      else {\n        do {\n          psVar6 = psVar13;\n          psVar13 = (sqlite3_module *)psVar6->xRollback;\n        } while (psVar13 != p);\n        psVar10 = (sqlite3_vtab *)&psVar6->xRollback;\n      }\n      psVar10->pModule = (sqlite3_module *)p->xRollback;\n      zipfileEntryFree((ZipfileEntry *)p);\n      iVar3 = 0;\n    }\n  }" { (expression_statement "__s = sqlite3_value_text(*apVal);" (assignment_expression "__s = sqlite3_value_text(*apVal)" identifier = (call_expression "sqlite3_value_text(*apVal)" identifier (argument_list "(*apVal)" ( (pointer_expression "*apVal" * identifier) )))) ;) (expression_statement "nB = strlen((char *)__s);" (assignment_expression "nB = strlen((char *)__s)" identifier = (call_expression "strlen((char *)__s)" identifier (argument_list "((char *)__s)" ( (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if ((nVal < 2) || (zA = sqlite3_value_text(apVal[1]), zA == (uchar *)0x0)) {\n      bVar15 = false;\n    }\n    else {\n      iVar3 = zipfileComparePath((char *)zA,(char *)__s,nB);\n      bVar15 = iVar3 != 0;\n    }" if (parenthesized_expression "((nVal < 2) || (zA = sqlite3_value_text(apVal[1]), zA == (uchar *)0x0))" ( (binary_expression "(nVal < 2) || (zA = sqlite3_value_text(apVal[1]), zA == (uchar *)0x0)" (parenthesized_expression "(nVal < 2)" ( (binary_expression "nVal < 2" identifier < number_literal) )) || (parenthesized_expression "(zA = sqlite3_value_text(apVal[1]), zA == (uchar *)0x0)" ( (comma_expression "zA = sqlite3_value_text(apVal[1]), zA == (uchar *)0x0" (assignment_expression "zA = sqlite3_value_text(apVal[1])" identifier = (call_expression "sqlite3_value_text(apVal[1])" identifier (argument_list "(apVal[1])" ( (subscript_expression "apVal[1]" identifier [ number_literal ]) )))) , (binary_expression "zA == (uchar *)0x0" identifier == (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n      bVar15 = false;\n    }" { (expression_statement "bVar15 = false;" (assignment_expression "bVar15 = false" identifier = false) ;) }) (else_clause "else {\n      iVar3 = zipfileComparePath((char *)zA,(char *)__s,nB);\n      bVar15 = iVar3 != 0;\n    }" else (compound_statement "{\n      iVar3 = zipfileComparePath((char *)zA,(char *)__s,nB);\n      bVar15 = iVar3 != 0;\n    }" { (expression_statement "iVar3 = zipfileComparePath((char *)zA,(char *)__s,nB);" (assignment_expression "iVar3 = zipfileComparePath((char *)zA,(char *)__s,nB)" identifier = (call_expression "zipfileComparePath((char *)zA,(char *)__s,nB)" identifier (argument_list "((char *)zA,(char *)__s,nB)" ( (cast_expression "(char *)zA" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) ;) (expression_statement "bVar15 = iVar3 != 0;" (assignment_expression "bVar15 = iVar3 != 0" identifier = (binary_expression "iVar3 != 0" identifier != number_literal)) ;) }))) (expression_statement "psVar13 = pVtab[3].pModule;" (assignment_expression "psVar13 = pVtab[3].pModule" identifier = (field_expression "pVtab[3].pModule" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier)) ;) (while_statement "while (iVar3 = zipfileComparePath((char *)psVar13->xColumn,(char *)__s,nB), iVar3 != 0) {\n      psVar13 = (sqlite3_module *)psVar13->xRollback;\n    }" while (parenthesized_expression "(iVar3 = zipfileComparePath((char *)psVar13->xColumn,(char *)__s,nB), iVar3 != 0)" ( (comma_expression "iVar3 = zipfileComparePath((char *)psVar13->xColumn,(char *)__s,nB), iVar3 != 0" (assignment_expression "iVar3 = zipfileComparePath((char *)psVar13->xColumn,(char *)__s,nB)" identifier = (call_expression "zipfileComparePath((char *)psVar13->xColumn,(char *)__s,nB)" identifier (argument_list "((char *)psVar13->xColumn,(char *)__s,nB)" ( (cast_expression "(char *)psVar13->xColumn" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "psVar13->xColumn" identifier -> field_identifier)) , (cast_expression "(char *)__s" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) )) (compound_statement "{\n      psVar13 = (sqlite3_module *)psVar13->xRollback;\n    }" { (expression_statement "psVar13 = (sqlite3_module *)psVar13->xRollback;" (assignment_expression "psVar13 = (sqlite3_module *)psVar13->xRollback" identifier = (cast_expression "(sqlite3_module *)psVar13->xRollback" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar13->xRollback" identifier -> field_identifier))) ;) })) (if_statement "if (1 < nVal) goto LAB_0002975e;" if (parenthesized_expression "(1 < nVal)" ( (binary_expression "1 < nVal" number_literal < identifier) )) (goto_statement "goto LAB_0002975e;" goto statement_identifier ;)) (expression_statement "p = (sqlite3_module *)0x0;" (assignment_expression "p = (sqlite3_module *)0x0" identifier = (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_60 = (uchar *)0x0;" (assignment_expression "local_60 = (uchar *)0x0" identifier = (cast_expression "(uchar *)0x0" ( (type_descriptor "uchar *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "psVar6 = pVtab[2].pModule;" (assignment_expression "psVar6 = pVtab[2].pModule" identifier = (field_expression "pVtab[2].pModule" (subscript_expression "pVtab[2]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if (psVar6 != (sqlite3_module *)0x0) goto LAB_000299fb;" if (parenthesized_expression "(psVar6 != (sqlite3_module *)0x0)" ( (binary_expression "psVar6 != (sqlite3_module *)0x0" identifier != (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000299fb;" goto statement_identifier ;)) (labeled_statement "LAB_00029980:\n    psVar6 = pVtab[3].pModule;" statement_identifier : (expression_statement "psVar6 = pVtab[3].pModule;" (assignment_expression "psVar6 = pVtab[3].pModule" identifier = (field_expression "pVtab[3].pModule" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier)) ;)) (if_statement "if (psVar13 == pVtab[3].pModule) {\n      psVar10 = pVtab + 3;\n      psVar6 = psVar13;\n    }\n    else {\n      do {\n        psVar11 = psVar6;\n        psVar6 = (sqlite3_module *)psVar11->xRollback;\n      } while (psVar13 != psVar6);\n      psVar10 = (sqlite3_vtab *)&psVar11->xRollback;\n    }" if (parenthesized_expression "(psVar13 == pVtab[3].pModule)" ( (binary_expression "psVar13 == pVtab[3].pModule" identifier == (field_expression "pVtab[3].pModule" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier)) )) (compound_statement "{\n      psVar10 = pVtab + 3;\n      psVar6 = psVar13;\n    }" { (expression_statement "psVar10 = pVtab + 3;" (assignment_expression "psVar10 = pVtab + 3" identifier = (binary_expression "pVtab + 3" identifier + number_literal)) ;) (expression_statement "psVar6 = psVar13;" (assignment_expression "psVar6 = psVar13" identifier = identifier) ;) }) (else_clause "else {\n      do {\n        psVar11 = psVar6;\n        psVar6 = (sqlite3_module *)psVar11->xRollback;\n      } while (psVar13 != psVar6);\n      psVar10 = (sqlite3_vtab *)&psVar11->xRollback;\n    }" else (compound_statement "{\n      do {\n        psVar11 = psVar6;\n        psVar6 = (sqlite3_module *)psVar11->xRollback;\n      } while (psVar13 != psVar6);\n      psVar10 = (sqlite3_vtab *)&psVar11->xRollback;\n    }" { (do_statement "do {\n        psVar11 = psVar6;\n        psVar6 = (sqlite3_module *)psVar11->xRollback;\n      } while (psVar13 != psVar6);" do (compound_statement "{\n        psVar11 = psVar6;\n        psVar6 = (sqlite3_module *)psVar11->xRollback;\n      }" { (expression_statement "psVar11 = psVar6;" (assignment_expression "psVar11 = psVar6" identifier = identifier) ;) (expression_statement "psVar6 = (sqlite3_module *)psVar11->xRollback;" (assignment_expression "psVar6 = (sqlite3_module *)psVar11->xRollback" identifier = (cast_expression "(sqlite3_module *)psVar11->xRollback" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar11->xRollback" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(psVar13 != psVar6)" ( (binary_expression "psVar13 != psVar6" identifier != identifier) )) ;) (expression_statement "psVar10 = (sqlite3_vtab *)&psVar11->xRollback;" (assignment_expression "psVar10 = (sqlite3_vtab *)&psVar11->xRollback" identifier = (cast_expression "(sqlite3_vtab *)&psVar11->xRollback" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&psVar11->xRollback" & (field_expression "psVar11->xRollback" identifier -> field_identifier)))) ;) }))) (expression_statement "psVar10->pModule = (sqlite3_module *)psVar6->xRollback;" (assignment_expression "psVar10->pModule = (sqlite3_module *)psVar6->xRollback" (field_expression "psVar10->pModule" identifier -> field_identifier) = (cast_expression "(sqlite3_module *)psVar6->xRollback" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar6->xRollback" identifier -> field_identifier))) ;) (expression_statement "zipfileEntryFree((ZipfileEntry *)psVar13);" (call_expression "zipfileEntryFree((ZipfileEntry *)psVar13)" identifier (argument_list "((ZipfileEntry *)psVar13)" ( (cast_expression "(ZipfileEntry *)psVar13" ( (type_descriptor "ZipfileEntry *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (labeled_statement "LAB_000299a8:\n    iVar3 = 0;" statement_identifier : (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;)) (if_statement "if (p != (sqlite3_module *)0x0) {\nLAB_000299b2:\n      psVar13 = pVtab[3].pModule;\n      if (pVtab[3].pModule == p) {\n        psVar10 = pVtab + 3;\n      }\n      else {\n        do {\n          psVar6 = psVar13;\n          psVar13 = (sqlite3_module *)psVar6->xRollback;\n        } while (psVar13 != p);\n        psVar10 = (sqlite3_vtab *)&psVar6->xRollback;\n      }\n      psVar10->pModule = (sqlite3_module *)p->xRollback;\n      zipfileEntryFree((ZipfileEntry *)p);\n      iVar3 = 0;\n    }" if (parenthesized_expression "(p != (sqlite3_module *)0x0)" ( (binary_expression "p != (sqlite3_module *)0x0" identifier != (cast_expression "(sqlite3_module *)0x0" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000299b2:\n      psVar13 = pVtab[3].pModule;\n      if (pVtab[3].pModule == p) {\n        psVar10 = pVtab + 3;\n      }\n      else {\n        do {\n          psVar6 = psVar13;\n          psVar13 = (sqlite3_module *)psVar6->xRollback;\n        } while (psVar13 != p);\n        psVar10 = (sqlite3_vtab *)&psVar6->xRollback;\n      }\n      psVar10->pModule = (sqlite3_module *)p->xRollback;\n      zipfileEntryFree((ZipfileEntry *)p);\n      iVar3 = 0;\n    }" { (labeled_statement "LAB_000299b2:\n      psVar13 = pVtab[3].pModule;" statement_identifier : (expression_statement "psVar13 = pVtab[3].pModule;" (assignment_expression "psVar13 = pVtab[3].pModule" identifier = (field_expression "pVtab[3].pModule" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier)) ;)) (if_statement "if (pVtab[3].pModule == p) {\n        psVar10 = pVtab + 3;\n      }\n      else {\n        do {\n          psVar6 = psVar13;\n          psVar13 = (sqlite3_module *)psVar6->xRollback;\n        } while (psVar13 != p);\n        psVar10 = (sqlite3_vtab *)&psVar6->xRollback;\n      }" if (parenthesized_expression "(pVtab[3].pModule == p)" ( (binary_expression "pVtab[3].pModule == p" (field_expression "pVtab[3].pModule" (subscript_expression "pVtab[3]" identifier [ number_literal ]) . field_identifier) == identifier) )) (compound_statement "{\n        psVar10 = pVtab + 3;\n      }" { (expression_statement "psVar10 = pVtab + 3;" (assignment_expression "psVar10 = pVtab + 3" identifier = (binary_expression "pVtab + 3" identifier + number_literal)) ;) }) (else_clause "else {\n        do {\n          psVar6 = psVar13;\n          psVar13 = (sqlite3_module *)psVar6->xRollback;\n        } while (psVar13 != p);\n        psVar10 = (sqlite3_vtab *)&psVar6->xRollback;\n      }" else (compound_statement "{\n        do {\n          psVar6 = psVar13;\n          psVar13 = (sqlite3_module *)psVar6->xRollback;\n        } while (psVar13 != p);\n        psVar10 = (sqlite3_vtab *)&psVar6->xRollback;\n      }" { (do_statement "do {\n          psVar6 = psVar13;\n          psVar13 = (sqlite3_module *)psVar6->xRollback;\n        } while (psVar13 != p);" do (compound_statement "{\n          psVar6 = psVar13;\n          psVar13 = (sqlite3_module *)psVar6->xRollback;\n        }" { (expression_statement "psVar6 = psVar13;" (assignment_expression "psVar6 = psVar13" identifier = identifier) ;) (expression_statement "psVar13 = (sqlite3_module *)psVar6->xRollback;" (assignment_expression "psVar13 = (sqlite3_module *)psVar6->xRollback" identifier = (cast_expression "(sqlite3_module *)psVar6->xRollback" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar6->xRollback" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(psVar13 != p)" ( (binary_expression "psVar13 != p" identifier != identifier) )) ;) (expression_statement "psVar10 = (sqlite3_vtab *)&psVar6->xRollback;" (assignment_expression "psVar10 = (sqlite3_vtab *)&psVar6->xRollback" identifier = (cast_expression "(sqlite3_vtab *)&psVar6->xRollback" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&psVar6->xRollback" & (field_expression "psVar6->xRollback" identifier -> field_identifier)))) ;) }))) (expression_statement "psVar10->pModule = (sqlite3_module *)p->xRollback;" (assignment_expression "psVar10->pModule = (sqlite3_module *)p->xRollback" (field_expression "psVar10->pModule" identifier -> field_identifier) = (cast_expression "(sqlite3_module *)p->xRollback" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "p->xRollback" identifier -> field_identifier))) ;) (expression_statement "zipfileEntryFree((ZipfileEntry *)p);" (call_expression "zipfileEntryFree((ZipfileEntry *)p)" identifier (argument_list "((ZipfileEntry *)p)" ( (cast_expression "(ZipfileEntry *)p" ( (type_descriptor "ZipfileEntry *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) })) }))) (labeled_statement "LAB_000296b5:\n  sqlite3_free(pFree);" statement_identifier : (expression_statement "sqlite3_free(pFree);" (call_expression "sqlite3_free(pFree)" identifier (argument_list "(pFree)" ( identifier ))) ;)) (expression_statement "sqlite3_free(local_60);" (call_expression "sqlite3_free(local_60)" identifier (argument_list "(local_60)" ( identifier ))) ;) (labeled_statement "LAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int FUN_00029640(int param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  byte bVar14;\n  char *local_60;\n  char *local_58;\n  size_t local_54;\n  int local_48;\n  int local_44;\n  undefined2 local_3c;\n  undefined4 local_30;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0x29649;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))\n  goto LAB_000296d6;\n  iVar3 = FUN_00038f70(*param_3);\n  if (iVar3 == 5) {\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }\nLAB_000296b5:\n  FUN_00042800(0);\n  FUN_00042800(local_60);\nLAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    \n  FUN_00116110();\n}\n\n" (function_definition "int FUN_00029640(int param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  byte bVar14;\n  char *local_60;\n  char *local_58;\n  size_t local_54;\n  int local_48;\n  int local_44;\n  undefined2 local_3c;\n  undefined4 local_30;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0x29649;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))\n  goto LAB_000296d6;\n  iVar3 = FUN_00038f70(*param_3);\n  if (iVar3 == 5) {\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }\nLAB_000296b5:\n  FUN_00042800(0);\n  FUN_00042800(local_60);\nLAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    \n  FUN_00116110();\n}" primitive_type (function_declarator "FUN_00029640(int param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  byte bVar14;\n  char *local_60;\n  char *local_58;\n  size_t local_54;\n  int local_48;\n  int local_44;\n  undefined2 local_3c;\n  undefined4 local_30;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0x29649;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))\n  goto LAB_000296d6;\n  iVar3 = FUN_00038f70(*param_3);\n  if (iVar3 == 5) {\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }\nLAB_000296b5:\n  FUN_00042800(0);\n  FUN_00042800(local_60);\nLAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    \n  FUN_00116110();\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "undefined4 *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "undefined4 *puVar10;" type_identifier (pointer_declarator "*puVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "bool bVar13;" primitive_type identifier ;) (declaration "byte bVar14;" type_identifier identifier ;) (declaration "char *local_60;" primitive_type (pointer_declarator "*local_60" * identifier) ;) (declaration "char *local_58;" primitive_type (pointer_declarator "*local_58" * identifier) ;) (declaration "size_t local_54;" primitive_type identifier ;) (declaration "int local_48;" primitive_type identifier ;) (declaration "int local_44;" primitive_type identifier ;) (declaration "undefined2 local_3c;" type_identifier identifier ;) (declaration "undefined4 local_30;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "int local_20;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x29649;" (assignment_expression "uStack_14 = 0x29649" identifier = number_literal) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (if_statement "if ((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))\n  goto LAB_000296d6;" if (parenthesized_expression "((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))" ( (binary_expression "(*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x2c) == 0)" ( (binary_expression "*(int *)(param_1 + 0x2c) == 0" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(iVar3 = FUN_000295a0(param_1), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_000295a0(param_1), iVar3 != 0" (assignment_expression "iVar3 = FUN_000295a0(param_1)" identifier = (call_expression "FUN_000295a0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000296d6;" goto statement_identifier ;)) (expression_statement "iVar3 = FUN_00038f70(*param_3);" (assignment_expression "iVar3 = FUN_00038f70(*param_3)" identifier = (call_expression "FUN_00038f70(*param_3)" identifier (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) )))) ;) (if_statement "if (iVar3 == 5) {\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }" if (parenthesized_expression "(iVar3 == 5)" ( (binary_expression "iVar3 == 5" identifier == number_literal) )) (compound_statement "{\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }" { (if_statement "if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }" if (parenthesized_expression "(param_2 < 2)" ( (binary_expression "param_2 < 2" identifier < number_literal) )) (compound_statement "{\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }" { (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;) })) (expression_statement "bVar13 = true;" (assignment_expression "bVar13 = true" identifier = true) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);" statement_identifier : (expression_statement "iVar3 = FUN_00038f70(param_3[5]);" (assignment_expression "iVar3 = FUN_00038f70(param_3[5])" identifier = (call_expression "FUN_00038f70(param_3[5])" identifier (argument_list "(param_3[5])" ( (subscript_expression "param_3[5]" identifier [ number_literal ]) )))) ;)) (if_statement "if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }" if (parenthesized_expression "(iVar3 == 5)" ( (binary_expression "iVar3 == 5" identifier == number_literal) )) (compound_statement "{\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }" { (expression_statement "iVar3 = FUN_00038f70(param_3[6]);" (assignment_expression "iVar3 = FUN_00038f70(param_3[6])" identifier = (call_expression "FUN_00038f70(param_3[6])" identifier (argument_list "(param_3[6])" ( (subscript_expression "param_3[6]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }" if (parenthesized_expression "(iVar3 == 5)" ( (binary_expression "iVar3 == 5" identifier == number_literal) )) (compound_statement "{\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }" { (expression_statement "iVar3 = FUN_00038f70(param_3[7]);" (assignment_expression "iVar3 = FUN_00038f70(param_3[7])" identifier = (call_expression "FUN_00038f70(param_3[7])" identifier (argument_list "(param_3[7])" ( (subscript_expression "param_3[7]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }" if (parenthesized_expression "(iVar3 == 5)" ( (binary_expression "iVar3 == 5" identifier == number_literal) )) (compound_statement "{\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }" { (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" identifier = number_literal) ;) (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" identifier = number_literal) ;) }) (else_clause "else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }" else (compound_statement "{\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }" { (expression_statement "uVar5 = FUN_0006a4e0(param_3[7]);" (assignment_expression "uVar5 = FUN_0006a4e0(param_3[7])" identifier = (call_expression "FUN_0006a4e0(param_3[7])" identifier (argument_list "(param_3[7])" ( (subscript_expression "param_3[7]" identifier [ number_literal ]) )))) ;) (expression_statement "local_44 = FUN_0006a2f0(param_3[7]);" (assignment_expression "local_44 = FUN_0006a2f0(param_3[7])" identifier = (call_expression "FUN_0006a2f0(param_3[7])" identifier (argument_list "(param_3[7])" ( (subscript_expression "param_3[7]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar3 = FUN_00038f70(param_3[8]);" (assignment_expression "iVar3 = FUN_00038f70(param_3[8])" identifier = (call_expression "FUN_00038f70(param_3[8])" identifier (argument_list "(param_3[8])" ( (subscript_expression "param_3[8]" identifier [ number_literal ]) )))) ;) (expression_statement "uVar8 = FUN_00049400(param_3[8]);" (assignment_expression "uVar8 = FUN_00049400(param_3[8])" identifier = (call_expression "FUN_00049400(param_3[8])" identifier (argument_list "(param_3[8])" ( (subscript_expression "param_3[8]" identifier [ number_literal ]) )))) ;) (if_statement "if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }" if (parenthesized_expression "((uVar8 & 0xfffffff7) != 0)" ( (binary_expression "(uVar8 & 0xfffffff7) != 0" (parenthesized_expression "(uVar8 & 0xfffffff7)" ( (binary_expression "uVar8 & 0xfffffff7" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }" { (expression_statement "pcVar4 = "unknown compression method: %d";" (assignment_expression "pcVar4 = "unknown compression method: %d"" identifier = (string_literal ""unknown compression method: %d"" " string_content ")) ;) (goto_statement "goto LAB_00029a5a;" goto statement_identifier ;) })) (expression_statement "local_48 = local_44;" (assignment_expression "local_48 = local_44" identifier = identifier) ;) (if_statement "if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }" if (parenthesized_expression "(iVar3 == 5 || uVar8 != 0)" ( (binary_expression "iVar3 == 5 || uVar8 != 0" (binary_expression "iVar3 == 5" identifier == number_literal) || (binary_expression "uVar8 != 0" identifier != number_literal)) )) (compound_statement "{\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }" { (expression_statement "iVar3 = FUN_00024250(&local_24,param_1 + 8);" (assignment_expression "iVar3 = FUN_00024250(&local_24,param_1 + 8)" identifier = (call_expression "FUN_00024250(&local_24,param_1 + 8)" identifier (argument_list "(&local_24,param_1 + 8)" ( (pointer_expression "&local_24" & identifier) , (binary_expression "param_1 + 8" identifier + number_literal) )))) ;) (if_statement "if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }" { (expression_statement "crc32(0,uVar5,local_44,iVar3);" (call_expression "crc32(0,uVar5,local_44,iVar3)" identifier (argument_list "(0,uVar5,local_44,iVar3)" ( number_literal , identifier , identifier , identifier ))) ;) (goto_statement "goto LAB_00029a6c;" goto statement_identifier ;) })) (if_statement "if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }" if (parenthesized_expression "((uVar8 != 0) || (local_3c = 0, local_24 < local_44))" ( (binary_expression "(uVar8 != 0) || (local_3c = 0, local_24 < local_44)" (parenthesized_expression "(uVar8 != 0)" ( (binary_expression "uVar8 != 0" identifier != number_literal) )) || (parenthesized_expression "(local_3c = 0, local_24 < local_44)" ( (comma_expression "local_3c = 0, local_24 < local_44" (assignment_expression "local_3c = 0" identifier = number_literal) , (binary_expression "local_24 < local_44" identifier < identifier)) ))) )) (compound_statement "{\n              local_48 = local_24;\n              local_3c = 8;\n            }" { (expression_statement "local_48 = local_24;" (assignment_expression "local_48 = local_24" identifier = identifier) ;) (expression_statement "local_3c = 8;" (assignment_expression "local_3c = 8" identifier = number_literal) ;) })) (expression_statement "local_30 = crc32(0,uVar5,local_44);" (assignment_expression "local_30 = crc32(0,uVar5,local_44)" identifier = (call_expression "crc32(0,uVar5,local_44)" identifier (argument_list "(0,uVar5,local_44)" ( number_literal , identifier , identifier )))) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }) (else_clause "else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }" else (compound_statement "{\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }" { (expression_statement "local_30 = crc32(0,uVar5,local_44);" (assignment_expression "local_30 = crc32(0,uVar5,local_44)" identifier = (call_expression "crc32(0,uVar5,local_44)" identifier (argument_list "(0,uVar5,local_44)" ( number_literal , identifier , identifier )))) ;) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" identifier = number_literal) ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) }))) }))) (expression_statement "local_58 = (char *)(param_1 + 8);" (assignment_expression "local_58 = (char *)(param_1 + 8)" identifier = (cast_expression "(char *)(param_1 + 8)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) ;) (expression_statement "iVar3 = FUN_0001bb40(local_58);" (assignment_expression "iVar3 = FUN_0001bb40(local_58)" identifier = (call_expression "FUN_0001bb40(local_58)" identifier (argument_list "(local_58)" ( identifier )))) ;) (if_statement "if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }" { (expression_statement "local_58 = (char *)FUN_0006a4a0(param_3[2]);" (assignment_expression "local_58 = (char *)FUN_0006a4a0(param_3[2])" identifier = (cast_expression "(char *)FUN_0006a4a0(param_3[2])" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006a4a0(param_3[2])" identifier (argument_list "(param_3[2])" ( (subscript_expression "param_3[2]" identifier [ number_literal ]) ))))) ;) (expression_statement "local_54 = strlen(local_58);" (assignment_expression "local_54 = strlen(local_58)" identifier = (call_expression "strlen(local_58)" identifier (argument_list "(local_58)" ( identifier )))) ;) (expression_statement "uVar5 = FUN_00023fd0();" (assignment_expression "uVar5 = FUN_00023fd0()" identifier = (call_expression "FUN_00023fd0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }" if (parenthesized_expression "(bVar2)" ( identifier )) (compound_statement "{\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }" { (if_statement "if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }" if (parenthesized_expression "(local_58[local_54 - 1] == '/')" ( (binary_expression "local_58[local_54 - 1] == '/'" (subscript_expression "local_58[local_54 - 1]" identifier [ (binary_expression "local_54 - 1" identifier - number_literal) ]) == (char_literal "'/'" ' character ')) )) (compound_statement "{\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }" { (if_statement "if (bVar13) goto LAB_00029cc0;" if (parenthesized_expression "(bVar13)" ( identifier )) (goto_statement "goto LAB_00029cc0;" goto statement_identifier ;)) (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) }) (else_clause "else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }" else (compound_statement "{\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }" { (expression_statement "local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);" (assignment_expression "local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58)" identifier = (cast_expression "(char *)FUN_0008ff90(&DAT_00117529,local_58)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0008ff90(&DAT_00117529,local_58)" identifier (argument_list "(&DAT_00117529,local_58)" ( (pointer_expression "&DAT_00117529" & identifier) , identifier ))))) ;) (if_statement "if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }" if (parenthesized_expression "(local_60 == (char *)0x0)" ( (binary_expression "local_60 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }" { (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;) })) (expression_statement "local_54 = local_54 + 1;" (assignment_expression "local_54 = local_54 + 1" identifier = (binary_expression "local_54 + 1" identifier + number_literal)) ;) (expression_statement "local_58 = local_60;" (assignment_expression "local_58 = local_60" identifier = identifier) ;) (if_statement "if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }" if (parenthesized_expression "(!bVar13)" ( (unary_expression "!bVar13" ! identifier) )) (compound_statement "{\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }" { (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00029b74;" goto statement_identifier ;) })) (labeled_statement "LAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }" statement_identifier : (for_statement "for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }" for ( (assignment_expression "iVar11 = *(int *)(param_1 + 0x24)" identifier = (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ; (binary_expression "iVar11 != 0" identifier != number_literal) ; (assignment_expression "iVar11 = *(int *)(iVar11 + 0x44)" identifier = (pointer_expression "*(int *)(iVar11 + 0x44)" * (cast_expression "(int *)(iVar11 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x44)" ( (binary_expression "iVar11 + 0x44" identifier + number_literal) ))))) ) (compound_statement "{\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }" { (expression_statement "iVar3 = FUN_0001dcf0();" (assignment_expression "iVar3 = FUN_0001dcf0()" identifier = (call_expression "FUN_0001dcf0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }" { (expression_statement "iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));" (assignment_expression "iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10))" identifier = (call_expression "FUN_00039f00(*(undefined4 *)(param_1 + 0x10))" identifier (argument_list "(*(undefined4 *)(param_1 + 0x10))" ( (pointer_expression "*(undefined4 *)(param_1 + 0x10)" * (cast_expression "(undefined4 *)(param_1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x10)" ( (binary_expression "param_1 + 0x10" identifier + number_literal) )))) )))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (if_statement "if (iVar6 == 2) goto LAB_000296b5;" if (parenthesized_expression "(iVar6 == 2)" ( (binary_expression "iVar6 == 2" identifier == number_literal) )) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;)) (if_statement "if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }" if (parenthesized_expression "(iVar6 != 5)" ( (binary_expression "iVar6 != 5" identifier != number_literal) )) (compound_statement "{\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }" { (expression_statement "FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);" (call_expression "FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58)" identifier (argument_list "(param_1,"duplicate name: \"%s\"",local_58)" ( identifier , (string_literal ""duplicate name: \"%s\""" " string_content escape_sequence string_content escape_sequence ") , identifier ))) ;) (expression_statement "iVar3 = 0x13;" (assignment_expression "iVar3 = 0x13" identifier = number_literal) ;) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;) })) (break_statement "break;" break ;) })) }))) }))) }) (else_clause "else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }" else (compound_statement "{\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }" { (if_statement "if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }" if (parenthesized_expression "(bVar13)" ( identifier )) (compound_statement "{\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }" { (labeled_statement "LAB_00029cc0:\n              local_60 = (char *)0x0;" statement_identifier : (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (goto_statement "goto LAB_00029894;" goto statement_identifier ;) })) (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) }))) (labeled_statement "LAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);" statement_identifier : (expression_statement "puVar7 = (undefined4 *)FUN_0005bfa0(0x48);" (assignment_expression "puVar7 = (undefined4 *)FUN_0005bfa0(0x48)" identifier = (cast_expression "(undefined4 *)FUN_0005bfa0(0x48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0005bfa0(0x48)" identifier (argument_list "(0x48)" ( number_literal ))))) ;)) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) (if_statement "if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }" if (parenthesized_expression "(puVar7 != (undefined4 *)0x0)" ( (binary_expression "puVar7 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }" { (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "puVar7[0x11] = 0;" (assignment_expression "puVar7[0x11] = 0" (subscript_expression "puVar7[0x11]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);" (assignment_expression "puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }" for ( (assignment_expression "uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc)))" ( (binary_expression "(int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))" ( (binary_expression "0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(puVar7 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar8 != 0" identifier != number_literal) ; (assignment_expression "uVar8 = uVar8 - 1" identifier = (binary_expression "uVar8 - 1" identifier - number_literal)) ) (compound_statement "{\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }" { (expression_statement "*puVar10 = 0;" (assignment_expression "*puVar10 = 0" (pointer_expression "*puVar10" * identifier) = number_literal) ;) (expression_statement "puVar10 = puVar10 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar10 = puVar10 + (uint)bVar14 * -2 + 1" identifier = (binary_expression "puVar10 + (uint)bVar14 * -2 + 1" (binary_expression "puVar10 + (uint)bVar14 * -2" identifier + (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "iVar3 = FUN_0008ff90("%s",local_58);" (assignment_expression "iVar3 = FUN_0008ff90("%s",local_58)" identifier = (call_expression "FUN_0008ff90("%s",local_58)" identifier (argument_list "("%s",local_58)" ( (string_literal ""%s"" " string_content ") , identifier )))) ;) (expression_statement "puVar7[0xb] = iVar3;" (assignment_expression "puVar7[0xb] = iVar3" (subscript_expression "puVar7[0xb]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }" { (expression_statement "FUN_00042800(puVar7);" (call_expression "FUN_00042800(puVar7)" identifier (argument_list "(puVar7)" ( identifier ))) ;) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" identifier = number_literal) ;) }) (else_clause "else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }" else (compound_statement "{\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }" { (expression_statement "*(undefined2 *)(puVar7 + 1) = 0x800;" (assignment_expression "*(undefined2 *)(puVar7 + 1) = 0x800" (pointer_expression "*(undefined2 *)(puVar7 + 1)" * (cast_expression "(undefined2 *)(puVar7 + 1)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 1)" ( (binary_expression "puVar7 + 1" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined2 *)((int)puVar7 + 6) = local_3c;" (assignment_expression "*(undefined2 *)((int)puVar7 + 6) = local_3c" (pointer_expression "*(undefined2 *)((int)puVar7 + 6)" * (cast_expression "(undefined2 *)((int)puVar7 + 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)puVar7 + 6)" ( (binary_expression "(int)puVar7 + 6" (cast_expression "(int)puVar7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = identifier) ;) (expression_statement "*puVar7 = 0x14031e;" (assignment_expression "*puVar7 = 0x14031e" (pointer_expression "*puVar7" * identifier) = number_literal) ;) (expression_statement "FUN_00022c90();" (call_expression "FUN_00022c90()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar7[3] = local_30;" (assignment_expression "puVar7[3] = local_30" (subscript_expression "puVar7[3]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[4] = local_48;" (assignment_expression "puVar7[4] = local_48" (subscript_expression "puVar7[4]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[5] = local_44;" (assignment_expression "puVar7[5] = local_44" (subscript_expression "puVar7[5]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[9] = 0;" (assignment_expression "puVar7[9] = 0" (subscript_expression "puVar7[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x30)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "*(undefined2 *)(puVar7 + 6) = (undefined2)local_54;" (assignment_expression "*(undefined2 *)(puVar7 + 6) = (undefined2)local_54" (pointer_expression "*(undefined2 *)(puVar7 + 6)" * (cast_expression "(undefined2 *)(puVar7 + 6)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar7 + 6)" ( (binary_expression "puVar7 + 6" identifier + number_literal) )))) = (cast_expression "(undefined2)local_54" ( (type_descriptor "undefined2" type_identifier) ) identifier)) ;) (expression_statement "puVar7[10] = uVar1;" (assignment_expression "puVar7[10] = uVar1" (subscript_expression "puVar7[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar7[0xc] = uVar5;" (assignment_expression "puVar7[0xc] = uVar5" (subscript_expression "puVar7[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "FUN_0001be00();" (call_expression "FUN_0001be00()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = FUN_00023910();" (assignment_expression "iVar3 = FUN_00023910()" identifier = (call_expression "FUN_00023910()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }" { (expression_statement "uVar5 = *(undefined4 *)(param_1 + 0x34);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 0x34)" identifier = (pointer_expression "*(undefined4 *)(param_1 + 0x34)" * (cast_expression "(undefined4 *)(param_1 + 0x34)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x34)" ( (binary_expression "param_1 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "puVar7[0xe] = *(undefined4 *)(param_1 + 0x30)" (subscript_expression "puVar7[0xe]" identifier [ number_literal ]) = (pointer_expression "*(undefined4 *)(param_1 + 0x30)" * (cast_expression "(undefined4 *)(param_1 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x30)" ( (binary_expression "param_1 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "puVar7[0xf] = uVar5;" (assignment_expression "puVar7[0xf] = uVar5" (subscript_expression "puVar7[0xf]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar3 = FUN_00023910();" (assignment_expression "iVar3 = FUN_00023910()" identifier = (call_expression "FUN_00023910()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "iVar6 = *(int *)(param_1 + 0x24);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x24)" identifier = (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }" if (parenthesized_expression "(iVar12 == 0)" ( (binary_expression "iVar12 == 0" identifier == number_literal) )) (compound_statement "{\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }" { (if_statement "if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }" { (expression_statement "*(undefined4 **)(param_1 + 0x28) = puVar7;" (assignment_expression "*(undefined4 **)(param_1 + 0x28) = puVar7" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" * (cast_expression "(undefined4 **)(param_1 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x24) = puVar7;" (assignment_expression "*(undefined4 **)(param_1 + 0x24) = puVar7" (pointer_expression "*(undefined4 **)(param_1 + 0x24)" * (cast_expression "(undefined4 **)(param_1 + 0x24)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) = identifier) ;) }) (else_clause "else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }" else (compound_statement "{\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }" { (expression_statement "*(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;" (assignment_expression "*(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7" (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44)" * (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x28) + 0x44)" ( (binary_expression "*(int *)(param_1 + 0x28) + 0x44" (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 **)(param_1 + 0x28) = puVar7;" (assignment_expression "*(undefined4 **)(param_1 + 0x28) = puVar7" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" * (cast_expression "(undefined4 **)(param_1 + 0x28)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) )))) = identifier) ;) }))) (if_statement "if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }" if (parenthesized_expression "((iVar3 == 0) && (iVar11 != 0))" ( (binary_expression "(iVar3 == 0) && (iVar11 != 0)" (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) ))) )) (compound_statement "{\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) goto LAB_000299fb;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000299fb;" goto statement_identifier ;)) (goto_statement "goto LAB_000299b2;" goto statement_identifier ;) })) }) (else_clause "else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }" else (compound_statement "{\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }" { (if_statement "if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }" if (parenthesized_expression "(iVar12 == iVar6)" ( (binary_expression "iVar12 == iVar6" identifier == identifier) )) (compound_statement "{\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }" { (expression_statement "puVar10 = (undefined4 *)(param_1 + 0x24);" (assignment_expression "puVar10 = (undefined4 *)(param_1 + 0x24)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) ;) }) (else_clause "else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }" else (compound_statement "{\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }" { (do_statement "do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);" do (compound_statement "{\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  }" { (expression_statement "iVar9 = iVar6;" (assignment_expression "iVar9 = iVar6" identifier = identifier) ;) (expression_statement "iVar6 = *(int *)(iVar9 + 0x44);" (assignment_expression "iVar6 = *(int *)(iVar9 + 0x44)" identifier = (pointer_expression "*(int *)(iVar9 + 0x44)" * (cast_expression "(int *)(iVar9 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x44)" ( (binary_expression "iVar9 + 0x44" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar6 != iVar12)" ( (binary_expression "iVar6 != iVar12" identifier != identifier) )) ;) (expression_statement "puVar10 = (undefined4 *)(iVar9 + 0x44);" (assignment_expression "puVar10 = (undefined4 *)(iVar9 + 0x44)" identifier = (cast_expression "(undefined4 *)(iVar9 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar9 + 0x44)" ( (binary_expression "iVar9 + 0x44" identifier + number_literal) )))) ;) }))) (expression_statement "puVar7[0x11] = iVar12;" (assignment_expression "puVar7[0x11] = iVar12" (subscript_expression "puVar7[0x11]" identifier [ number_literal ]) = identifier) ;) (expression_statement "*puVar10 = puVar7;" (assignment_expression "*puVar10 = puVar7" (pointer_expression "*puVar10" * identifier) = identifier) ;) (if_statement "if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }" { (expression_statement "iVar3 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) goto LAB_00029980;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00029980;" goto statement_identifier ;)) (labeled_statement "LAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);" statement_identifier : (do_statement "do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);" do (compound_statement "{\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  }" { (while_statement "while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }" while (parenthesized_expression "((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12)))))" ( (parenthesized_expression "(iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))" ( (comma_expression "iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12)))" (assignment_expression "iVar6 = *(int *)(iVar3 + 0x30)" identifier = (pointer_expression "*(int *)(iVar3 + 0x30)" * (cast_expression "(int *)(iVar3 + 0x30)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) ))))) , (binary_expression "iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12)))" (binary_expression "iVar6 != 0" identifier != number_literal) && (parenthesized_expression "((iVar6 == iVar11 || (iVar6 == iVar12)))" ( (parenthesized_expression "(iVar6 == iVar11 || (iVar6 == iVar12))" ( (binary_expression "iVar6 == iVar11 || (iVar6 == iVar12)" (binary_expression "iVar6 == iVar11" identifier == identifier) || (parenthesized_expression "(iVar6 == iVar12)" ( (binary_expression "iVar6 == iVar12" identifier == identifier) ))) )) )))) )) )) (compound_statement "{\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }" { (expression_statement "uVar5 = *(undefined4 *)(iVar6 + 0x44);" (assignment_expression "uVar5 = *(undefined4 *)(iVar6 + 0x44)" identifier = (pointer_expression "*(undefined4 *)(iVar6 + 0x44)" * (cast_expression "(undefined4 *)(iVar6 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x44)" ( (binary_expression "iVar6 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "*(undefined1 *)(iVar3 + 0xd) = 1;" (assignment_expression "*(undefined1 *)(iVar3 + 0xd) = 1" (pointer_expression "*(undefined1 *)(iVar3 + 0xd)" * (cast_expression "(undefined1 *)(iVar3 + 0xd)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xd)" ( (binary_expression "iVar3 + 0xd" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x30) = uVar5;" (assignment_expression "*(undefined4 *)(iVar3 + 0x30) = uVar5" (pointer_expression "*(undefined4 *)(iVar3 + 0x30)" * (cast_expression "(undefined4 *)(iVar3 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x30)" ( (binary_expression "iVar3 + 0x30" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar3 = *(int *)(iVar3 + 0x34);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x34)" identifier = (pointer_expression "*(int *)(iVar3 + 0x34)" * (cast_expression "(int *)(iVar3 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x34)" ( (binary_expression "iVar3 + 0x34" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 == 0) goto LAB_00029a17;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00029a17;" goto statement_identifier ;)) })) (expression_statement "iVar3 = *(int *)(iVar3 + 0x34);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x34)" identifier = (pointer_expression "*(int *)(iVar3 + 0x34)" * (cast_expression "(int *)(iVar3 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x34)" ( (binary_expression "iVar3 + 0x34" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) ;)) (labeled_statement "LAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;" statement_identifier : (if_statement "if (iVar12 != 0) goto LAB_00029980;" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00029980;" goto statement_identifier ;))) (goto_statement "goto LAB_000299a8;" goto statement_identifier ;) })) }))) }))) })) (goto_statement "goto LAB_000296b5;" goto statement_identifier ;) })) }) (else_clause "else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }" else (compound_statement "{\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }" { (labeled_statement "LAB_00029a51:\n        pcVar4 = "rawdata must be NULL";" statement_identifier : (expression_statement "pcVar4 = "rawdata must be NULL";" (assignment_expression "pcVar4 = "rawdata must be NULL"" identifier = (string_literal ""rawdata must be NULL"" " string_content ")) ;)) (labeled_statement "LAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);" statement_identifier : (expression_statement "FUN_0001c450(param_1,pcVar4);" (call_expression "FUN_0001c450(param_1,pcVar4)" identifier (argument_list "(param_1,pcVar4)" ( identifier , identifier ))) ;)) (expression_statement "iVar3 = 0x13;" (assignment_expression "iVar3 = 0x13" identifier = number_literal) ;) }))) }) (else_clause "else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }" else (compound_statement "{\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }" { (expression_statement "FUN_0001c450(param_1,"sz must be NULL");" (call_expression "FUN_0001c450(param_1,"sz must be NULL")" identifier (argument_list "(param_1,"sz must be NULL")" ( identifier , (string_literal ""sz must be NULL"" " string_content ") ))) ;) (expression_statement "iVar12 = FUN_00038f70(param_3[6]);" (assignment_expression "iVar12 = FUN_00038f70(param_3[6])" identifier = (call_expression "FUN_00038f70(param_3[6])" identifier (argument_list "(param_3[6])" ( (subscript_expression "param_3[6]" identifier [ number_literal ]) )))) ;) (expression_statement "iVar3 = 0x13;" (assignment_expression "iVar3 = 0x13" identifier = number_literal) ;) (if_statement "if (iVar12 != 5) goto LAB_00029a51;" if (parenthesized_expression "(iVar12 != 5)" ( (binary_expression "iVar12 != 5" identifier != number_literal) )) (goto_statement "goto LAB_00029a51;" goto statement_identifier ;)) }))) (labeled_statement "LAB_00029a6c:\n    local_60 = (char *)0x0;" statement_identifier : (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) }) (else_clause "else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }" else (compound_statement "{\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }" { (expression_statement "pcVar4 = (char *)FUN_0006a4a0(*param_3);" (assignment_expression "pcVar4 = (char *)FUN_0006a4a0(*param_3)" identifier = (cast_expression "(char *)FUN_0006a4a0(*param_3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0006a4a0(*param_3)" identifier (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) ))))) ;) (expression_statement "strlen(pcVar4);" (call_expression "strlen(pcVar4)" identifier (argument_list "(pcVar4)" ( identifier ))) ;) (if_statement "if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }" if (parenthesized_expression "((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0))" ( (binary_expression "(param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)" (parenthesized_expression "(param_2 < 2)" ( (binary_expression "param_2 < 2" identifier < number_literal) )) || (parenthesized_expression "(iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)" ( (comma_expression "iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0" (assignment_expression "iVar3 = FUN_0006a4a0(param_3[1])" identifier = (call_expression "FUN_0006a4a0(param_3[1])" identifier (argument_list "(param_3[1])" ( (subscript_expression "param_3[1]" identifier [ number_literal ]) )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      bVar13 = false;\n    }" { (expression_statement "bVar13 = false;" (assignment_expression "bVar13 = false" identifier = false) ;) }) (else_clause "else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }" else (compound_statement "{\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }" { (expression_statement "iVar3 = FUN_0001dcf0();" (assignment_expression "iVar3 = FUN_0001dcf0()" identifier = (call_expression "FUN_0001dcf0()" identifier (argument_list "()" ( )))) ;) (expression_statement "bVar13 = iVar3 != 0;" (assignment_expression "bVar13 = iVar3 != 0" identifier = (binary_expression "iVar3 != 0" identifier != number_literal)) ;) }))) (expression_statement "iVar12 = *(int *)(param_1 + 0x24);" (assignment_expression "iVar12 = *(int *)(param_1 + 0x24)" identifier = (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (while_statement "while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }" while (parenthesized_expression "(iVar3 = FUN_0001dcf0(), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_0001dcf0(), iVar3 != 0" (assignment_expression "iVar3 = FUN_0001dcf0()" identifier = (call_expression "FUN_0001dcf0()" identifier (argument_list "()" ( )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) )) (compound_statement "{\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }" { (expression_statement "iVar12 = *(int *)(iVar12 + 0x44);" (assignment_expression "iVar12 = *(int *)(iVar12 + 0x44)" identifier = (pointer_expression "*(int *)(iVar12 + 0x44)" * (cast_expression "(int *)(iVar12 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x44)" ( (binary_expression "iVar12 + 0x44" identifier + number_literal) ))))) ;) })) (if_statement "if (1 < param_2) goto LAB_0002975e;" if (parenthesized_expression "(1 < param_2)" ( (binary_expression "1 < param_2" number_literal < identifier) )) (goto_statement "goto LAB_0002975e;" goto statement_identifier ;)) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" identifier = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar3 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x18)" identifier = (pointer_expression "*(int *)(param_1 + 0x18)" * (cast_expression "(int *)(param_1 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (iVar3 != 0) goto LAB_000299fb;" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000299fb;" goto statement_identifier ;)) (labeled_statement "LAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);" statement_identifier : (expression_statement "iVar3 = *(int *)(param_1 + 0x24);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x24)" identifier = (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;)) (if_statement "if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }" if (parenthesized_expression "(iVar12 == *(int *)(param_1 + 0x24))" ( (binary_expression "iVar12 == *(int *)(param_1 + 0x24)" identifier == (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) )) (compound_statement "{\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }" { (expression_statement "puVar7 = (undefined4 *)(param_1 + 0x24);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + 0x24)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) ;) (expression_statement "iVar3 = iVar12;" (assignment_expression "iVar3 = iVar12" identifier = identifier) ;) }) (else_clause "else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }" else (compound_statement "{\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }" { (do_statement "do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);" do (compound_statement "{\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      }" { (expression_statement "iVar6 = iVar3;" (assignment_expression "iVar6 = iVar3" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(iVar6 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar6 + 0x44)" identifier = (pointer_expression "*(int *)(iVar6 + 0x44)" * (cast_expression "(int *)(iVar6 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x44)" ( (binary_expression "iVar6 + 0x44" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar12 != iVar3)" ( (binary_expression "iVar12 != iVar3" identifier != identifier) )) ;) (expression_statement "puVar7 = (undefined4 *)(iVar6 + 0x44);" (assignment_expression "puVar7 = (undefined4 *)(iVar6 + 0x44)" identifier = (cast_expression "(undefined4 *)(iVar6 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x44)" ( (binary_expression "iVar6 + 0x44" identifier + number_literal) )))) ;) }))) (expression_statement "*puVar7 = *(undefined4 *)(iVar3 + 0x44);" (assignment_expression "*puVar7 = *(undefined4 *)(iVar3 + 0x44)" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*(undefined4 *)(iVar3 + 0x44)" * (cast_expression "(undefined4 *)(iVar3 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x44)" ( (binary_expression "iVar3 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "FUN_000230c0();" (call_expression "FUN_000230c0()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_000299a8:\n    iVar3 = 0;" statement_identifier : (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;)) (if_statement "if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }" { (labeled_statement "LAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);" statement_identifier : (expression_statement "iVar3 = *(int *)(param_1 + 0x24);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x24)" identifier = (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;)) (if_statement "if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x24) == iVar11)" ( (binary_expression "*(int *)(param_1 + 0x24) == iVar11" (pointer_expression "*(int *)(param_1 + 0x24)" * (cast_expression "(int *)(param_1 + 0x24)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) == identifier) )) (compound_statement "{\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }" { (expression_statement "puVar7 = (undefined4 *)(param_1 + 0x24);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + 0x24)" identifier = (cast_expression "(undefined4 *)(param_1 + 0x24)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) )))) ;) }) (else_clause "else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }" else (compound_statement "{\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }" { (do_statement "do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);" do (compound_statement "{\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        }" { (expression_statement "iVar12 = iVar3;" (assignment_expression "iVar12 = iVar3" identifier = identifier) ;) (expression_statement "iVar3 = *(int *)(iVar12 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar12 + 0x44)" identifier = (pointer_expression "*(int *)(iVar12 + 0x44)" * (cast_expression "(int *)(iVar12 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x44)" ( (binary_expression "iVar12 + 0x44" identifier + number_literal) ))))) ;) }) while (parenthesized_expression "(iVar3 != iVar11)" ( (binary_expression "iVar3 != iVar11" identifier != identifier) )) ;) (expression_statement "puVar7 = (undefined4 *)(iVar12 + 0x44);" (assignment_expression "puVar7 = (undefined4 *)(iVar12 + 0x44)" identifier = (cast_expression "(undefined4 *)(iVar12 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar12 + 0x44)" ( (binary_expression "iVar12 + 0x44" identifier + number_literal) )))) ;) }))) (expression_statement "*puVar7 = *(undefined4 *)(iVar11 + 0x44);" (assignment_expression "*puVar7 = *(undefined4 *)(iVar11 + 0x44)" (pointer_expression "*puVar7" * identifier) = (pointer_expression "*(undefined4 *)(iVar11 + 0x44)" * (cast_expression "(undefined4 *)(iVar11 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + 0x44)" ( (binary_expression "iVar11 + 0x44" identifier + number_literal) ))))) ;) (expression_statement "FUN_000230c0();" (call_expression "FUN_000230c0()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) })) }))) (labeled_statement "LAB_000296b5:\n  FUN_00042800(0);" statement_identifier : (expression_statement "FUN_00042800(0);" (call_expression "FUN_00042800(0)" identifier (argument_list "(0)" ( number_literal ))) ;)) (expression_statement "FUN_00042800(local_60);" (call_expression "FUN_00042800(local_60)" identifier (argument_list "(local_60)" ( identifier ))) ;) (labeled_statement "LAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }" if (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return iVar3;\n  }" { (return_statement "return iVar3;" return identifier ;) }))) (expression_statement "FUN_00116110();" (call_expression "FUN_00116110()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_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 + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) , (binary_expression IDENT != LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (binary_expression IDENT != LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT , IDENT , IDENT , IDENT ))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression IDENT < IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) }))) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ (binary_expression IDENT - LIT) ]) == (char_literal ' character ')) )) (compound_statement { (if_statement if (parenthesized_expression ( IDENT )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (labeled_statement statement_identifier : (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ) (compound_statement { (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 IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content escape_sequence string_content escape_sequence ") , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (break_statement break ;) })) }))) }))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ))) ))) >> LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (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 = (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (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 IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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 { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (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 IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (do_statement do (compound_statement { (while_statement while (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression (binary_expression IDENT != LIT) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression IDENT == IDENT) || (parenthesized_expression ( (binary_expression IDENT == IDENT) ))) )) )))) )) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;))) (goto_statement goto statement_identifier ;) })) }))) }))) })) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;)) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) }))) }) (else_clause else (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (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 + LIT) ))))) ;) (while_statement while (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (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 IDENT + LIT) ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (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) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) }) (else_clause else (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (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) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) }))) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "int FUN_00029640(int param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  byte bVar14;\n  char *local_60;\n  char *local_58;\n  size_t local_54;\n  int local_48;\n  int local_44;\n  undefined2 local_3c;\n  undefined4 local_30;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0x29649;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))\n  goto LAB_000296d6;\n  iVar3 = FUN_00038f70(*param_3);\n  if (iVar3 == 5) {\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }\nLAB_000296b5:\n  FUN_00042800(0);\n  FUN_00042800(local_60);\nLAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    \n  FUN_00116110();\n}" (primitive_type "int") (function_declarator "FUN_00029640(int param_1,int param_2,undefined4 *param_3)" (identifier "FUN_00029640") (parameter_list "(int param_1,int param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  bool bVar2;\n  int iVar3;\n  char *pcVar4;\n  undefined4 uVar5;\n  int iVar6;\n  undefined4 *puVar7;\n  uint uVar8;\n  int iVar9;\n  undefined4 *puVar10;\n  int iVar11;\n  int iVar12;\n  int in_GS_OFFSET;\n  bool bVar13;\n  byte bVar14;\n  char *local_60;\n  char *local_58;\n  size_t local_54;\n  int local_48;\n  int local_44;\n  undefined2 local_3c;\n  undefined4 local_30;\n  int local_24;\n  int local_20;\n  undefined4 uStack_14;\n  \n  bVar14 = 0;\n  uStack_14 = 0x29649;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  if ((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))\n  goto LAB_000296d6;\n  iVar3 = FUN_00038f70(*param_3);\n  if (iVar3 == 5) {\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }\nLAB_000296b5:\n  FUN_00042800(0);\n  FUN_00042800(local_60);\nLAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }\n                    \n  FUN_00116110();\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "undefined4 *puVar7;" (type_identifier "undefined4") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "undefined4 *puVar10;" (type_identifier "undefined4") (pointer_declarator "*puVar10" (* "*") (identifier "puVar10")) (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "int iVar12;" (primitive_type "int") (identifier "iVar12") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "bool bVar13;" (primitive_type "bool") (identifier "bVar13") (; ";")) (declaration "byte bVar14;" (type_identifier "byte") (identifier "bVar14") (; ";")) (declaration "char *local_60;" (primitive_type "char") (pointer_declarator "*local_60" (* "*") (identifier "local_60")) (; ";")) (declaration "char *local_58;" (primitive_type "char") (pointer_declarator "*local_58" (* "*") (identifier "local_58")) (; ";")) (declaration "size_t local_54;" (primitive_type "size_t") (identifier "local_54") (; ";")) (declaration "int local_48;" (primitive_type "int") (identifier "local_48") (; ";")) (declaration "int local_44;" (primitive_type "int") (identifier "local_44") (; ";")) (declaration "undefined2 local_3c;" (type_identifier "undefined2") (identifier "local_3c") (; ";")) (declaration "undefined4 local_30;" (type_identifier "undefined4") (identifier "local_30") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "bVar14 = 0;" (assignment_expression "bVar14 = 0" (identifier "bVar14") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_14 = 0x29649;" (assignment_expression "uStack_14 = 0x29649" (identifier "uStack_14") (= "=") (number_literal "0x29649")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (if_statement "if ((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))\n  goto LAB_000296d6;" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))" (( "(") (binary_expression "(*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x2c) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) == 0" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = FUN_000295a0(param_1), iVar3 != 0)" (( "(") (comma_expression "iVar3 = FUN_000295a0(param_1), iVar3 != 0" (assignment_expression "iVar3 = FUN_000295a0(param_1)" (identifier "iVar3") (= "=") (call_expression "FUN_000295a0(param_1)" (identifier "FUN_000295a0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_000296d6;" (goto "goto") (statement_identifier "LAB_000296d6") (; ";"))) (expression_statement "iVar3 = FUN_00038f70(*param_3);" (assignment_expression "iVar3 = FUN_00038f70(*param_3)" (identifier "iVar3") (= "=") (call_expression "FUN_00038f70(*param_3)" (identifier "FUN_00038f70") (argument_list "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")")))) (; ";")) (if_statement "if (iVar3 == 5) {\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }\n  else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }" (if "if") (parenthesized_expression "(iVar3 == 5)" (( "(") (binary_expression "iVar3 == 5" (identifier "iVar3") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n    if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }\n    bVar13 = true;\n    iVar12 = 0;\nLAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);\n    if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }\nLAB_00029a6c:\n    local_60 = (char *)0x0;\n  }" ({ "{") (if_statement "if (param_2 < 2) {\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }" (if "if") (parenthesized_expression "(param_2 < 2)" (( "(") (binary_expression "param_2 < 2" (identifier "param_2") (< "<") (number_literal "2")) () ")")) (compound_statement "{\n      local_60 = (char *)0x0;\n      iVar3 = 0;\n      goto LAB_000296b5;\n    }" ({ "{") (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" (identifier "local_60") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000296b5;" (goto "goto") (statement_identifier "LAB_000296b5") (; ";")) (} "}"))) (expression_statement "bVar13 = true;" (assignment_expression "bVar13 = true" (identifier "bVar13") (= "=") (true "true")) (; ";")) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" (identifier "iVar12") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0002975e:\n    iVar3 = FUN_00038f70(param_3[5]);" (statement_identifier "LAB_0002975e") (: ":") (expression_statement "iVar3 = FUN_00038f70(param_3[5]);" (assignment_expression "iVar3 = FUN_00038f70(param_3[5])" (identifier "iVar3") (= "=") (call_expression "FUN_00038f70(param_3[5])" (identifier "FUN_00038f70") (argument_list "(param_3[5])" (( "(") (subscript_expression "param_3[5]" (identifier "param_3") ([ "[") (number_literal "5") (] "]")) () ")")))) (; ";"))) (if_statement "if (iVar3 == 5) {\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }\n    else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }" (if "if") (parenthesized_expression "(iVar3 == 5)" (( "(") (binary_expression "iVar3 == 5" (identifier "iVar3") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n      iVar3 = FUN_00038f70(param_3[6]);\n      if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }\n    }" ({ "{") (expression_statement "iVar3 = FUN_00038f70(param_3[6]);" (assignment_expression "iVar3 = FUN_00038f70(param_3[6])" (identifier "iVar3") (= "=") (call_expression "FUN_00038f70(param_3[6])" (identifier "FUN_00038f70") (argument_list "(param_3[6])" (( "(") (subscript_expression "param_3[6]" (identifier "param_3") ([ "[") (number_literal "6") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar3 == 5) {\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }\n      else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }" (if "if") (parenthesized_expression "(iVar3 == 5)" (( "(") (binary_expression "iVar3 == 5" (identifier "iVar3") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n        iVar3 = FUN_00038f70(param_3[7]);\n        if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }\n        local_58 = (char *)(param_1 + 8);\n        iVar3 = FUN_0001bb40(local_58);\n        if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }\n      }" ({ "{") (expression_statement "iVar3 = FUN_00038f70(param_3[7]);" (assignment_expression "iVar3 = FUN_00038f70(param_3[7])" (identifier "iVar3") (= "=") (call_expression "FUN_00038f70(param_3[7])" (identifier "FUN_00038f70") (argument_list "(param_3[7])" (( "(") (subscript_expression "param_3[7]" (identifier "param_3") ([ "[") (number_literal "7") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar3 == 5) {\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }\n        else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }" (if "if") (parenthesized_expression "(iVar3 == 5)" (( "(") (binary_expression "iVar3 == 5" (identifier "iVar3") (== "==") (number_literal "5")) () ")")) (compound_statement "{\n          local_30 = 0;\n          bVar2 = true;\n          local_3c = 0;\n          local_48 = 0;\n          local_44 = 0;\n        }" ({ "{") (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" (identifier "bVar2") (= "=") (true "true")) (; ";")) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" (identifier "local_3c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_48 = 0;" (assignment_expression "local_48 = 0" (identifier "local_48") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_44 = 0;" (assignment_expression "local_44 = 0" (identifier "local_44") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }" (else "else") (compound_statement "{\n          uVar5 = FUN_0006a4e0(param_3[7]);\n          local_44 = FUN_0006a2f0(param_3[7]);\n          iVar3 = FUN_00038f70(param_3[8]);\n          uVar8 = FUN_00049400(param_3[8]);\n          if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }\n          local_48 = local_44;\n          if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }\n        }" ({ "{") (expression_statement "uVar5 = FUN_0006a4e0(param_3[7]);" (assignment_expression "uVar5 = FUN_0006a4e0(param_3[7])" (identifier "uVar5") (= "=") (call_expression "FUN_0006a4e0(param_3[7])" (identifier "FUN_0006a4e0") (argument_list "(param_3[7])" (( "(") (subscript_expression "param_3[7]" (identifier "param_3") ([ "[") (number_literal "7") (] "]")) () ")")))) (; ";")) (expression_statement "local_44 = FUN_0006a2f0(param_3[7]);" (assignment_expression "local_44 = FUN_0006a2f0(param_3[7])" (identifier "local_44") (= "=") (call_expression "FUN_0006a2f0(param_3[7])" (identifier "FUN_0006a2f0") (argument_list "(param_3[7])" (( "(") (subscript_expression "param_3[7]" (identifier "param_3") ([ "[") (number_literal "7") (] "]")) () ")")))) (; ";")) (expression_statement "iVar3 = FUN_00038f70(param_3[8]);" (assignment_expression "iVar3 = FUN_00038f70(param_3[8])" (identifier "iVar3") (= "=") (call_expression "FUN_00038f70(param_3[8])" (identifier "FUN_00038f70") (argument_list "(param_3[8])" (( "(") (subscript_expression "param_3[8]" (identifier "param_3") ([ "[") (number_literal "8") (] "]")) () ")")))) (; ";")) (expression_statement "uVar8 = FUN_00049400(param_3[8]);" (assignment_expression "uVar8 = FUN_00049400(param_3[8])" (identifier "uVar8") (= "=") (call_expression "FUN_00049400(param_3[8])" (identifier "FUN_00049400") (argument_list "(param_3[8])" (( "(") (subscript_expression "param_3[8]" (identifier "param_3") ([ "[") (number_literal "8") (] "]")) () ")")))) (; ";")) (if_statement "if ((uVar8 & 0xfffffff7) != 0) {\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }" (if "if") (parenthesized_expression "((uVar8 & 0xfffffff7) != 0)" (( "(") (binary_expression "(uVar8 & 0xfffffff7) != 0" (parenthesized_expression "(uVar8 & 0xfffffff7)" (( "(") (binary_expression "uVar8 & 0xfffffff7" (identifier "uVar8") (& "&") (number_literal "0xfffffff7")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            pcVar4 = "unknown compression method: %d";\n            goto LAB_00029a5a;\n          }" ({ "{") (expression_statement "pcVar4 = "unknown compression method: %d";" (assignment_expression "pcVar4 = "unknown compression method: %d"" (identifier "pcVar4") (= "=") (string_literal ""unknown compression method: %d"" (" """) (string_content "unknown compression method: %d") (" """))) (; ";")) (goto_statement "goto LAB_00029a5a;" (goto "goto") (statement_identifier "LAB_00029a5a") (; ";")) (} "}"))) (expression_statement "local_48 = local_44;" (assignment_expression "local_48 = local_44" (identifier "local_48") (= "=") (identifier "local_44")) (; ";")) (if_statement "if (iVar3 == 5 || uVar8 != 0) {\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }\n          else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }" (if "if") (parenthesized_expression "(iVar3 == 5 || uVar8 != 0)" (( "(") (binary_expression "iVar3 == 5 || uVar8 != 0" (binary_expression "iVar3 == 5" (identifier "iVar3") (== "==") (number_literal "5")) (|| "||") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n            iVar3 = FUN_00024250(&local_24,param_1 + 8);\n            if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }\n            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }\n            local_30 = crc32(0,uVar5,local_44);\n            bVar2 = false;\n          }" ({ "{") (expression_statement "iVar3 = FUN_00024250(&local_24,param_1 + 8);" (assignment_expression "iVar3 = FUN_00024250(&local_24,param_1 + 8)" (identifier "iVar3") (= "=") (call_expression "FUN_00024250(&local_24,param_1 + 8)" (identifier "FUN_00024250") (argument_list "(&local_24,param_1 + 8)" (( "(") (pointer_expression "&local_24" (& "&") (identifier "local_24")) (, ",") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (; ";")) (if_statement "if (iVar3 != 0) {\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              crc32(0,uVar5,local_44,iVar3);\n              goto LAB_00029a6c;\n            }" ({ "{") (expression_statement "crc32(0,uVar5,local_44,iVar3);" (call_expression "crc32(0,uVar5,local_44,iVar3)" (identifier "crc32") (argument_list "(0,uVar5,local_44,iVar3)" (( "(") (number_literal "0") (, ",") (identifier "uVar5") (, ",") (identifier "local_44") (, ",") (identifier "iVar3") () ")"))) (; ";")) (goto_statement "goto LAB_00029a6c;" (goto "goto") (statement_identifier "LAB_00029a6c") (; ";")) (} "}"))) (if_statement "if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {\n              local_48 = local_24;\n              local_3c = 8;\n            }" (if "if") (parenthesized_expression "((uVar8 != 0) || (local_3c = 0, local_24 < local_44))" (( "(") (binary_expression "(uVar8 != 0) || (local_3c = 0, local_24 < local_44)" (parenthesized_expression "(uVar8 != 0)" (( "(") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_3c = 0, local_24 < local_44)" (( "(") (comma_expression "local_3c = 0, local_24 < local_44" (assignment_expression "local_3c = 0" (identifier "local_3c") (= "=") (number_literal "0")) (, ",") (binary_expression "local_24 < local_44" (identifier "local_24") (< "<") (identifier "local_44"))) () ")"))) () ")")) (compound_statement "{\n              local_48 = local_24;\n              local_3c = 8;\n            }" ({ "{") (expression_statement "local_48 = local_24;" (assignment_expression "local_48 = local_24" (identifier "local_48") (= "=") (identifier "local_24")) (; ";")) (expression_statement "local_3c = 8;" (assignment_expression "local_3c = 8" (identifier "local_3c") (= "=") (number_literal "8")) (; ";")) (} "}"))) (expression_statement "local_30 = crc32(0,uVar5,local_44);" (assignment_expression "local_30 = crc32(0,uVar5,local_44)" (identifier "local_30") (= "=") (call_expression "crc32(0,uVar5,local_44)" (identifier "crc32") (argument_list "(0,uVar5,local_44)" (( "(") (number_literal "0") (, ",") (identifier "uVar5") (, ",") (identifier "local_44") () ")")))) (; ";")) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (} "}")) (else_clause "else {\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }" (else "else") (compound_statement "{\n            local_30 = crc32(0,uVar5,local_44);\n            local_3c = 0;\n            bVar2 = false;\n          }" ({ "{") (expression_statement "local_30 = crc32(0,uVar5,local_44);" (assignment_expression "local_30 = crc32(0,uVar5,local_44)" (identifier "local_30") (= "=") (call_expression "crc32(0,uVar5,local_44)" (identifier "crc32") (argument_list "(0,uVar5,local_44)" (( "(") (number_literal "0") (, ",") (identifier "uVar5") (, ",") (identifier "local_44") () ")")))) (; ";")) (expression_statement "local_3c = 0;" (assignment_expression "local_3c = 0" (identifier "local_3c") (= "=") (number_literal "0")) (; ";")) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (} "}")))) (} "}")))) (expression_statement "local_58 = (char *)(param_1 + 8);" (assignment_expression "local_58 = (char *)(param_1 + 8)" (identifier "local_58") (= "=") (cast_expression "(char *)(param_1 + 8)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (; ";")) (expression_statement "iVar3 = FUN_0001bb40(local_58);" (assignment_expression "iVar3 = FUN_0001bb40(local_58)" (identifier "iVar3") (= "=") (call_expression "FUN_0001bb40(local_58)" (identifier "FUN_0001bb40") (argument_list "(local_58)" (( "(") (identifier "local_58") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          local_58 = (char *)FUN_0006a4a0(param_3[2]);\n          local_54 = strlen(local_58);\n          uVar5 = FUN_00023fd0();\n          if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }\nLAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);\n          iVar3 = 7;\n          if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }\n          goto LAB_000296b5;\n        }" ({ "{") (expression_statement "local_58 = (char *)FUN_0006a4a0(param_3[2]);" (assignment_expression "local_58 = (char *)FUN_0006a4a0(param_3[2])" (identifier "local_58") (= "=") (cast_expression "(char *)FUN_0006a4a0(param_3[2])" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0006a4a0(param_3[2])" (identifier "FUN_0006a4a0") (argument_list "(param_3[2])" (( "(") (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) () ")"))))) (; ";")) (expression_statement "local_54 = strlen(local_58);" (assignment_expression "local_54 = strlen(local_58)" (identifier "local_54") (= "=") (call_expression "strlen(local_58)" (identifier "strlen") (argument_list "(local_58)" (( "(") (identifier "local_58") () ")")))) (; ";")) (expression_statement "uVar5 = FUN_00023fd0();" (assignment_expression "uVar5 = FUN_00023fd0()" (identifier "uVar5") (= "=") (call_expression "FUN_00023fd0()" (identifier "FUN_00023fd0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (bVar2) {\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }\n          else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }" (if "if") (parenthesized_expression "(bVar2)" (( "(") (identifier "bVar2") () ")")) (compound_statement "{\n            if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }\n          }" ({ "{") (if_statement "if (local_58[local_54 - 1] == '/') {\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }\n            else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }" (if "if") (parenthesized_expression "(local_58[local_54 - 1] == '/')" (( "(") (binary_expression "local_58[local_54 - 1] == '/'" (subscript_expression "local_58[local_54 - 1]" (identifier "local_58") ([ "[") (binary_expression "local_54 - 1" (identifier "local_54") (- "-") (number_literal "1")) (] "]")) (== "==") (char_literal "'/'" (' "'") (character "/") (' "'"))) () ")")) (compound_statement "{\n              if (bVar13) goto LAB_00029cc0;\n              local_60 = (char *)0x0;\n              iVar11 = 0;\n            }" ({ "{") (if_statement "if (bVar13) goto LAB_00029cc0;" (if "if") (parenthesized_expression "(bVar13)" (( "(") (identifier "bVar13") () ")")) (goto_statement "goto LAB_00029cc0;" (goto "goto") (statement_identifier "LAB_00029cc0") (; ";"))) (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" (identifier "local_60") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }" (else "else") (compound_statement "{\n              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);\n              if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }\n              local_54 = local_54 + 1;\n              local_58 = local_60;\n              if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }\nLAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }\n            }" ({ "{") (expression_statement "local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);" (assignment_expression "local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58)" (identifier "local_60") (= "=") (cast_expression "(char *)FUN_0008ff90(&DAT_00117529,local_58)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0008ff90(&DAT_00117529,local_58)" (identifier "FUN_0008ff90") (argument_list "(&DAT_00117529,local_58)" (( "(") (pointer_expression "&DAT_00117529" (& "&") (identifier "DAT_00117529")) (, ",") (identifier "local_58") () ")"))))) (; ";")) (if_statement "if (local_60 == (char *)0x0) {\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }" (if "if") (parenthesized_expression "(local_60 == (char *)0x0)" (( "(") (binary_expression "local_60 == (char *)0x0" (identifier "local_60") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                local_60 = (char *)0x0;\n                iVar3 = 7;\n                goto LAB_000296b5;\n              }" ({ "{") (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" (identifier "local_60") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" (identifier "iVar3") (= "=") (number_literal "7")) (; ";")) (goto_statement "goto LAB_000296b5;" (goto "goto") (statement_identifier "LAB_000296b5") (; ";")) (} "}"))) (expression_statement "local_54 = local_54 + 1;" (assignment_expression "local_54 = local_54 + 1" (identifier "local_54") (= "=") (binary_expression "local_54 + 1" (identifier "local_54") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_58 = local_60;" (assignment_expression "local_58 = local_60" (identifier "local_58") (= "=") (identifier "local_60")) (; ";")) (if_statement "if (!bVar13) {\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }" (if "if") (parenthesized_expression "(!bVar13)" (( "(") (unary_expression "!bVar13" (! "!") (identifier "bVar13")) () ")")) (compound_statement "{\n                iVar11 = 0;\n                goto LAB_00029b74;\n              }" ({ "{") (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00029b74;" (goto "goto") (statement_identifier "LAB_00029b74") (; ";")) (} "}"))) (labeled_statement "LAB_00029894:\n              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }" (statement_identifier "LAB_00029894") (: ":") (for_statement "for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))\n              {\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }" (for "for") (( "(") (assignment_expression "iVar11 = *(int *)(param_1 + 0x24)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar11 = *(int *)(iVar11 + 0x44)" (identifier "iVar11") (= "=") (pointer_expression "*(int *)(iVar11 + 0x44)" (* "*") (cast_expression "(int *)(iVar11 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x44)" (( "(") (binary_expression "iVar11 + 0x44" (identifier "iVar11") (+ "+") (number_literal "0x44")) () ")"))))) () ")") (compound_statement "{\n                iVar3 = FUN_0001dcf0();\n                if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }\n              }" ({ "{") (expression_statement "iVar3 = FUN_0001dcf0();" (assignment_expression "iVar3 = FUN_0001dcf0()" (identifier "iVar3") (= "=") (call_expression "FUN_0001dcf0()" (identifier "FUN_0001dcf0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));\n                  iVar3 = 0;\n                  if (iVar6 == 2) goto LAB_000296b5;\n                  if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }\n                  break;\n                }" ({ "{") (expression_statement "iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));" (assignment_expression "iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10))" (identifier "iVar6") (= "=") (call_expression "FUN_00039f00(*(undefined4 *)(param_1 + 0x10))" (identifier "FUN_00039f00") (argument_list "(*(undefined4 *)(param_1 + 0x10))" (( "(") (pointer_expression "*(undefined4 *)(param_1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x10)" (( "(") (binary_expression "param_1 + 0x10" (identifier "param_1") (+ "+") (number_literal "0x10")) () ")")))) () ")")))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar6 == 2) goto LAB_000296b5;" (if "if") (parenthesized_expression "(iVar6 == 2)" (( "(") (binary_expression "iVar6 == 2" (identifier "iVar6") (== "==") (number_literal "2")) () ")")) (goto_statement "goto LAB_000296b5;" (goto "goto") (statement_identifier "LAB_000296b5") (; ";"))) (if_statement "if (iVar6 != 5) {\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }" (if "if") (parenthesized_expression "(iVar6 != 5)" (( "(") (binary_expression "iVar6 != 5" (identifier "iVar6") (!= "!=") (number_literal "5")) () ")")) (compound_statement "{\n                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);\n                    iVar3 = 0x13;\n                    goto LAB_000296b5;\n                  }" ({ "{") (expression_statement "FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);" (call_expression "FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58)" (identifier "FUN_0001c450") (argument_list "(param_1,"duplicate name: \"%s\"",local_58)" (( "(") (identifier "param_1") (, ",") (string_literal ""duplicate name: \"%s\""" (" """) (string_content "duplicate name: ") (escape_sequence "\"") (string_content "%s") (escape_sequence "\"") (" """)) (, ",") (identifier "local_58") () ")"))) (; ";")) (expression_statement "iVar3 = 0x13;" (assignment_expression "iVar3 = 0x13" (identifier "iVar3") (= "=") (number_literal "0x13")) (; ";")) (goto_statement "goto LAB_000296b5;" (goto "goto") (statement_identifier "LAB_000296b5") (; ";")) (} "}"))) (break_statement "break;" (break "break") (; ";")) (} "}"))) (} "}")))) (} "}")))) (} "}")) (else_clause "else {\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }" (else "else") (compound_statement "{\n            if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }\n            local_60 = (char *)0x0;\n            iVar11 = 0;\n          }" ({ "{") (if_statement "if (bVar13) {\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }" (if "if") (parenthesized_expression "(bVar13)" (( "(") (identifier "bVar13") () ")")) (compound_statement "{\nLAB_00029cc0:\n              local_60 = (char *)0x0;\n              goto LAB_00029894;\n            }" ({ "{") (labeled_statement "LAB_00029cc0:\n              local_60 = (char *)0x0;" (statement_identifier "LAB_00029cc0") (: ":") (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" (identifier "local_60") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (goto_statement "goto LAB_00029894;" (goto "goto") (statement_identifier "LAB_00029894") (; ";")) (} "}"))) (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" (identifier "local_60") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (} "}")))) (labeled_statement "LAB_00029b74:\n          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);" (statement_identifier "LAB_00029b74") (: ":") (expression_statement "puVar7 = (undefined4 *)FUN_0005bfa0(0x48);" (assignment_expression "puVar7 = (undefined4 *)FUN_0005bfa0(0x48)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)FUN_0005bfa0(0x48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0005bfa0(0x48)" (identifier "FUN_0005bfa0") (argument_list "(0x48)" (( "(") (number_literal "0x48") () ")"))))) (; ";"))) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" (identifier "iVar3") (= "=") (number_literal "7")) (; ";")) (if_statement "if (puVar7 != (undefined4 *)0x0) {\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }" (if "if") (parenthesized_expression "(puVar7 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar7 != (undefined4 *)0x0" (identifier "puVar7") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            *puVar7 = 0;\n            puVar7[0x11] = 0;\n            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);\n            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }\n            iVar3 = FUN_0008ff90("%s",local_58);\n            puVar7[0xb] = iVar3;\n            if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }\n          }" ({ "{") (expression_statement "*puVar7 = 0;" (assignment_expression "*puVar7 = 0" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar7[0x11] = 0;" (assignment_expression "puVar7[0x11] = 0" (subscript_expression "puVar7[0x11]" (identifier "puVar7") ([ "[") (number_literal "0x11") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);" (assignment_expression "puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar7 + 1)" (( "(") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (for_statement "for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;\n                uVar8 != 0; uVar8 = uVar8 - 1) {\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }" (for "for") (( "(") (assignment_expression "uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2" (identifier "uVar8") (= "=") (binary_expression "(uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc)))" (( "(") (binary_expression "(int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (parenthesized_expression "(0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))" (( "(") (binary_expression "0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc)" (number_literal "0x48") (- "-") (cast_expression "(int)((uint)(puVar7 + 1) & 0xfffffffc)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)(puVar7 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(puVar7 + 1) & 0xfffffffc" (call_expression "(uint)(puVar7 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar7 + 1)" (( "(") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) () ")"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";") (binary_expression "uVar8 != 0" (identifier "uVar8") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar8 = uVar8 - 1" (identifier "uVar8") (= "=") (binary_expression "uVar8 - 1" (identifier "uVar8") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n              *puVar10 = 0;\n              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;\n            }" ({ "{") (expression_statement "*puVar10 = 0;" (assignment_expression "*puVar10 = 0" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar10 = puVar10 + (uint)bVar14 * -2 + 1;" (assignment_expression "puVar10 = puVar10 + (uint)bVar14 * -2 + 1" (identifier "puVar10") (= "=") (binary_expression "puVar10 + (uint)bVar14 * -2 + 1" (binary_expression "puVar10 + (uint)bVar14 * -2" (identifier "puVar10") (+ "+") (binary_expression "(uint)bVar14 * -2" (cast_expression "(uint)bVar14" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar14")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "iVar3 = FUN_0008ff90("%s",local_58);" (assignment_expression "iVar3 = FUN_0008ff90("%s",local_58)" (identifier "iVar3") (= "=") (call_expression "FUN_0008ff90("%s",local_58)" (identifier "FUN_0008ff90") (argument_list "("%s",local_58)" (( "(") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (identifier "local_58") () ")")))) (; ";")) (expression_statement "puVar7[0xb] = iVar3;" (assignment_expression "puVar7[0xb] = iVar3" (subscript_expression "puVar7[0xb]" (identifier "puVar7") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar3 == 0) {\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }\n            else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              FUN_00042800(puVar7);\n              iVar3 = 7;\n            }" ({ "{") (expression_statement "FUN_00042800(puVar7);" (call_expression "FUN_00042800(puVar7)" (identifier "FUN_00042800") (argument_list "(puVar7)" (( "(") (identifier "puVar7") () ")"))) (; ";")) (expression_statement "iVar3 = 7;" (assignment_expression "iVar3 = 7" (identifier "iVar3") (= "=") (number_literal "7")) (; ";")) (} "}")) (else_clause "else {\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }" (else "else") (compound_statement "{\n              *(undefined2 *)(puVar7 + 1) = 0x800;\n              *(undefined2 *)((int)puVar7 + 6) = local_3c;\n              *puVar7 = 0x14031e;\n              FUN_00022c90();\n              puVar7[3] = local_30;\n              puVar7[4] = local_48;\n              puVar7[5] = local_44;\n              puVar7[9] = 0;\n              uVar1 = *(undefined4 *)(param_1 + 0x30);\n              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;\n              puVar7[10] = uVar1;\n              puVar7[0xc] = uVar5;\n              FUN_0001be00();\n              iVar3 = FUN_00023910();\n              if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }\n              iVar6 = *(int *)(param_1 + 0x24);\n              if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }\n            }" ({ "{") (expression_statement "*(undefined2 *)(puVar7 + 1) = 0x800;" (assignment_expression "*(undefined2 *)(puVar7 + 1) = 0x800" (pointer_expression "*(undefined2 *)(puVar7 + 1)" (* "*") (cast_expression "(undefined2 *)(puVar7 + 1)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 1)" (( "(") (binary_expression "puVar7 + 1" (identifier "puVar7") (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0x800")) (; ";")) (expression_statement "*(undefined2 *)((int)puVar7 + 6) = local_3c;" (assignment_expression "*(undefined2 *)((int)puVar7 + 6) = local_3c" (pointer_expression "*(undefined2 *)((int)puVar7 + 6)" (* "*") (cast_expression "(undefined2 *)((int)puVar7 + 6)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)puVar7 + 6)" (( "(") (binary_expression "(int)puVar7 + 6" (cast_expression "(int)puVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar7")) (+ "+") (number_literal "6")) () ")")))) (= "=") (identifier "local_3c")) (; ";")) (expression_statement "*puVar7 = 0x14031e;" (assignment_expression "*puVar7 = 0x14031e" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (number_literal "0x14031e")) (; ";")) (expression_statement "FUN_00022c90();" (call_expression "FUN_00022c90()" (identifier "FUN_00022c90") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar7[3] = local_30;" (assignment_expression "puVar7[3] = local_30" (subscript_expression "puVar7[3]" (identifier "puVar7") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "local_30")) (; ";")) (expression_statement "puVar7[4] = local_48;" (assignment_expression "puVar7[4] = local_48" (subscript_expression "puVar7[4]" (identifier "puVar7") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "local_48")) (; ";")) (expression_statement "puVar7[5] = local_44;" (assignment_expression "puVar7[5] = local_44" (subscript_expression "puVar7[5]" (identifier "puVar7") ([ "[") (number_literal "5") (] "]")) (= "=") (identifier "local_44")) (; ";")) (expression_statement "puVar7[9] = 0;" (assignment_expression "puVar7[9] = 0" (subscript_expression "puVar7[9]" (identifier "puVar7") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "uVar1 = *(undefined4 *)(param_1 + 0x30)" (identifier "uVar1") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "*(undefined2 *)(puVar7 + 6) = (undefined2)local_54;" (assignment_expression "*(undefined2 *)(puVar7 + 6) = (undefined2)local_54" (pointer_expression "*(undefined2 *)(puVar7 + 6)" (* "*") (cast_expression "(undefined2 *)(puVar7 + 6)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar7 + 6)" (( "(") (binary_expression "puVar7 + 6" (identifier "puVar7") (+ "+") (number_literal "6")) () ")")))) (= "=") (cast_expression "(undefined2)local_54" (( "(") (type_descriptor "undefined2" (type_identifier "undefined2")) () ")") (identifier "local_54"))) (; ";")) (expression_statement "puVar7[10] = uVar1;" (assignment_expression "puVar7[10] = uVar1" (subscript_expression "puVar7[10]" (identifier "puVar7") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "puVar7[0xc] = uVar5;" (assignment_expression "puVar7[0xc] = uVar5" (subscript_expression "puVar7[0xc]" (identifier "puVar7") ([ "[") (number_literal "0xc") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "FUN_0001be00();" (call_expression "FUN_0001be00()" (identifier "FUN_0001be00") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = FUN_00023910();" (assignment_expression "iVar3 = FUN_00023910()" (identifier "iVar3") (= "=") (call_expression "FUN_00023910()" (identifier "FUN_00023910") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar3 == 0) {\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                uVar5 = *(undefined4 *)(param_1 + 0x34);\n                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);\n                puVar7[0xf] = uVar5;\n                iVar3 = FUN_00023910();\n              }" ({ "{") (expression_statement "uVar5 = *(undefined4 *)(param_1 + 0x34);" (assignment_expression "uVar5 = *(undefined4 *)(param_1 + 0x34)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x34)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x34)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x34)" (( "(") (binary_expression "param_1 + 0x34" (identifier "param_1") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);" (assignment_expression "puVar7[0xe] = *(undefined4 *)(param_1 + 0x30)" (subscript_expression "puVar7[0xe]" (identifier "puVar7") ([ "[") (number_literal "0xe") (] "]")) (= "=") (pointer_expression "*(undefined4 *)(param_1 + 0x30)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x30)" (( "(") (binary_expression "param_1 + 0x30" (identifier "param_1") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "puVar7[0xf] = uVar5;" (assignment_expression "puVar7[0xf] = uVar5" (subscript_expression "puVar7[0xf]" (identifier "puVar7") ([ "[") (number_literal "0xf") (] "]")) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "iVar3 = FUN_00023910();" (assignment_expression "iVar3 = FUN_00023910()" (identifier "iVar3") (= "=") (call_expression "FUN_00023910()" (identifier "FUN_00023910") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (expression_statement "iVar6 = *(int *)(param_1 + 0x24);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x24)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if (iVar12 == 0) {\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }\n              else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }" (if "if") (parenthesized_expression "(iVar12 == 0)" (( "(") (binary_expression "iVar12 == 0" (identifier "iVar12") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }\n                if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }\n              }" ({ "{") (if_statement "if (iVar6 == 0) {\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }\n                else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                  *(undefined4 **)(param_1 + 0x24) = puVar7;\n                }" ({ "{") (expression_statement "*(undefined4 **)(param_1 + 0x28) = puVar7;" (assignment_expression "*(undefined4 **)(param_1 + 0x28) = puVar7" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "puVar7")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x24) = puVar7;" (assignment_expression "*(undefined4 **)(param_1 + 0x24) = puVar7" (pointer_expression "*(undefined4 **)(param_1 + 0x24)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (= "=") (identifier "puVar7")) (; ";")) (} "}")) (else_clause "else {\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }" (else "else") (compound_statement "{\n                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;\n                  *(undefined4 **)(param_1 + 0x28) = puVar7;\n                }" ({ "{") (expression_statement "*(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;" (assignment_expression "*(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7" (pointer_expression "*(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44)" (* "*") (cast_expression "(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x28) + 0x44)" (( "(") (binary_expression "*(int *)(param_1 + 0x28) + 0x44" (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (+ "+") (number_literal "0x44")) () ")")))) (= "=") (identifier "puVar7")) (; ";")) (expression_statement "*(undefined4 **)(param_1 + 0x28) = puVar7;" (assignment_expression "*(undefined4 **)(param_1 + 0x28) = puVar7" (pointer_expression "*(undefined4 **)(param_1 + 0x28)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x28)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "puVar7")) (; ";")) (} "}")))) (if_statement "if ((iVar3 == 0) && (iVar11 != 0)) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }" (if "if") (parenthesized_expression "((iVar3 == 0) && (iVar11 != 0))" (( "(") (binary_expression "(iVar3 == 0) && (iVar11 != 0)" (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 != 0) goto LAB_000299fb;\n                  goto LAB_000299b2;\n                }" ({ "{") (expression_statement "iVar3 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x18)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) goto LAB_000299fb;" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000299fb;" (goto "goto") (statement_identifier "LAB_000299fb") (; ";"))) (goto_statement "goto LAB_000299b2;" (goto "goto") (statement_identifier "LAB_000299b2") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }" (else "else") (compound_statement "{\n                if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }\n                puVar7[0x11] = iVar12;\n                *puVar10 = puVar7;\n                if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }\n              }" ({ "{") (if_statement "if (iVar12 == iVar6) {\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }\n                else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }" (if "if") (parenthesized_expression "(iVar12 == iVar6)" (( "(") (binary_expression "iVar12 == iVar6" (identifier "iVar12") (== "==") (identifier "iVar6")) () ")")) (compound_statement "{\n                  puVar10 = (undefined4 *)(param_1 + 0x24);\n                }" ({ "{") (expression_statement "puVar10 = (undefined4 *)(param_1 + 0x24);" (assignment_expression "puVar10 = (undefined4 *)(param_1 + 0x24)" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }" (else "else") (compound_statement "{\n                  do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);\n                  puVar10 = (undefined4 *)(iVar9 + 0x44);\n                }" ({ "{") (do_statement "do {\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  } while (iVar6 != iVar12);" (do "do") (compound_statement "{\n                    iVar9 = iVar6;\n                    iVar6 = *(int *)(iVar9 + 0x44);\n                  }" ({ "{") (expression_statement "iVar9 = iVar6;" (assignment_expression "iVar9 = iVar6" (identifier "iVar9") (= "=") (identifier "iVar6")) (; ";")) (expression_statement "iVar6 = *(int *)(iVar9 + 0x44);" (assignment_expression "iVar6 = *(int *)(iVar9 + 0x44)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar9 + 0x44)" (* "*") (cast_expression "(int *)(iVar9 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x44)" (( "(") (binary_expression "iVar9 + 0x44" (identifier "iVar9") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar6 != iVar12)" (( "(") (binary_expression "iVar6 != iVar12" (identifier "iVar6") (!= "!=") (identifier "iVar12")) () ")")) (; ";")) (expression_statement "puVar10 = (undefined4 *)(iVar9 + 0x44);" (assignment_expression "puVar10 = (undefined4 *)(iVar9 + 0x44)" (identifier "puVar10") (= "=") (cast_expression "(undefined4 *)(iVar9 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar9 + 0x44)" (( "(") (binary_expression "iVar9 + 0x44" (identifier "iVar9") (+ "+") (number_literal "0x44")) () ")")))) (; ";")) (} "}")))) (expression_statement "puVar7[0x11] = iVar12;" (assignment_expression "puVar7[0x11] = iVar12" (subscript_expression "puVar7[0x11]" (identifier "puVar7") ([ "[") (number_literal "0x11") (] "]")) (= "=") (identifier "iVar12")) (; ";")) (expression_statement "*puVar10 = puVar7;" (assignment_expression "*puVar10 = puVar7" (pointer_expression "*puVar10" (* "*") (identifier "puVar10")) (= "=") (identifier "puVar7")) (; ";")) (if_statement "if (iVar3 == 0) {\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                  iVar3 = *(int *)(param_1 + 0x18);\n                  if (iVar3 == 0) goto LAB_00029980;\nLAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);\nLAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;\n                  goto LAB_000299a8;\n                }" ({ "{") (expression_statement "iVar3 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x18)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) goto LAB_00029980;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00029980;" (goto "goto") (statement_identifier "LAB_00029980") (; ";"))) (labeled_statement "LAB_000299fb:\n                  do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);" (statement_identifier "LAB_000299fb") (: ":") (do_statement "do {\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  } while (iVar3 != 0);" (do "do") (compound_statement "{\n                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }\n                    iVar3 = *(int *)(iVar3 + 0x34);\n                  }" ({ "{") (while_statement "while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }" (while "while") (parenthesized_expression "((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12)))))" (( "(") (parenthesized_expression "(iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12))))" (( "(") (comma_expression "iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12)))" (assignment_expression "iVar6 = *(int *)(iVar3 + 0x30)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar3 + 0x30)" (* "*") (cast_expression "(int *)(iVar3 + 0x30)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x30)" (( "(") (binary_expression "iVar3 + 0x30" (identifier "iVar3") (+ "+") (number_literal "0x30")) () ")"))))) (, ",") (binary_expression "iVar6 != 0 &&\n                           ((iVar6 == iVar11 || (iVar6 == iVar12)))" (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "((iVar6 == iVar11 || (iVar6 == iVar12)))" (( "(") (parenthesized_expression "(iVar6 == iVar11 || (iVar6 == iVar12))" (( "(") (binary_expression "iVar6 == iVar11 || (iVar6 == iVar12)" (binary_expression "iVar6 == iVar11" (identifier "iVar6") (== "==") (identifier "iVar11")) (|| "||") (parenthesized_expression "(iVar6 == iVar12)" (( "(") (binary_expression "iVar6 == iVar12" (identifier "iVar6") (== "==") (identifier "iVar12")) () ")"))) () ")")) () ")")))) () ")")) () ")")) (compound_statement "{\n                      uVar5 = *(undefined4 *)(iVar6 + 0x44);\n                      *(undefined1 *)(iVar3 + 0xd) = 1;\n                      *(undefined4 *)(iVar3 + 0x30) = uVar5;\n                      iVar3 = *(int *)(iVar3 + 0x34);\n                      if (iVar3 == 0) goto LAB_00029a17;\n                    }" ({ "{") (expression_statement "uVar5 = *(undefined4 *)(iVar6 + 0x44);" (assignment_expression "uVar5 = *(undefined4 *)(iVar6 + 0x44)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(iVar6 + 0x44)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x44)" (( "(") (binary_expression "iVar6 + 0x44" (identifier "iVar6") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (expression_statement "*(undefined1 *)(iVar3 + 0xd) = 1;" (assignment_expression "*(undefined1 *)(iVar3 + 0xd) = 1" (pointer_expression "*(undefined1 *)(iVar3 + 0xd)" (* "*") (cast_expression "(undefined1 *)(iVar3 + 0xd)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xd)" (( "(") (binary_expression "iVar3 + 0xd" (identifier "iVar3") (+ "+") (number_literal "0xd")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 0x30) = uVar5;" (assignment_expression "*(undefined4 *)(iVar3 + 0x30) = uVar5" (pointer_expression "*(undefined4 *)(iVar3 + 0x30)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x30)" (( "(") (binary_expression "iVar3 + 0x30" (identifier "iVar3") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "iVar3 = *(int *)(iVar3 + 0x34);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x34)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + 0x34)" (* "*") (cast_expression "(int *)(iVar3 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x34)" (( "(") (binary_expression "iVar3 + 0x34" (identifier "iVar3") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (if_statement "if (iVar3 == 0) goto LAB_00029a17;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00029a17;" (goto "goto") (statement_identifier "LAB_00029a17") (; ";"))) (} "}"))) (expression_statement "iVar3 = *(int *)(iVar3 + 0x34);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0x34)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + 0x34)" (* "*") (cast_expression "(int *)(iVar3 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x34)" (( "(") (binary_expression "iVar3 + 0x34" (identifier "iVar3") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (; ";"))) (labeled_statement "LAB_00029a17:\n                  if (iVar12 != 0) goto LAB_00029980;" (statement_identifier "LAB_00029a17") (: ":") (if_statement "if (iVar12 != 0) goto LAB_00029980;" (if "if") (parenthesized_expression "(iVar12 != 0)" (( "(") (binary_expression "iVar12 != 0" (identifier "iVar12") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00029980;" (goto "goto") (statement_identifier "LAB_00029980") (; ";")))) (goto_statement "goto LAB_000299a8;" (goto "goto") (statement_identifier "LAB_000299a8") (; ";")) (} "}"))) (} "}")))) (} "}")))) (} "}"))) (goto_statement "goto LAB_000296b5;" (goto "goto") (statement_identifier "LAB_000296b5") (; ";")) (} "}"))) (} "}")) (else_clause "else {\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }" (else "else") (compound_statement "{\nLAB_00029a51:\n        pcVar4 = "rawdata must be NULL";\nLAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);\n        iVar3 = 0x13;\n      }" ({ "{") (labeled_statement "LAB_00029a51:\n        pcVar4 = "rawdata must be NULL";" (statement_identifier "LAB_00029a51") (: ":") (expression_statement "pcVar4 = "rawdata must be NULL";" (assignment_expression "pcVar4 = "rawdata must be NULL"" (identifier "pcVar4") (= "=") (string_literal ""rawdata must be NULL"" (" """) (string_content "rawdata must be NULL") (" """))) (; ";"))) (labeled_statement "LAB_00029a5a:\n        FUN_0001c450(param_1,pcVar4);" (statement_identifier "LAB_00029a5a") (: ":") (expression_statement "FUN_0001c450(param_1,pcVar4);" (call_expression "FUN_0001c450(param_1,pcVar4)" (identifier "FUN_0001c450") (argument_list "(param_1,pcVar4)" (( "(") (identifier "param_1") (, ",") (identifier "pcVar4") () ")"))) (; ";"))) (expression_statement "iVar3 = 0x13;" (assignment_expression "iVar3 = 0x13" (identifier "iVar3") (= "=") (number_literal "0x13")) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }" (else "else") (compound_statement "{\n      FUN_0001c450(param_1,"sz must be NULL");\n      iVar12 = FUN_00038f70(param_3[6]);\n      iVar3 = 0x13;\n      if (iVar12 != 5) goto LAB_00029a51;\n    }" ({ "{") (expression_statement "FUN_0001c450(param_1,"sz must be NULL");" (call_expression "FUN_0001c450(param_1,"sz must be NULL")" (identifier "FUN_0001c450") (argument_list "(param_1,"sz must be NULL")" (( "(") (identifier "param_1") (, ",") (string_literal ""sz must be NULL"" (" """) (string_content "sz must be NULL") (" """)) () ")"))) (; ";")) (expression_statement "iVar12 = FUN_00038f70(param_3[6]);" (assignment_expression "iVar12 = FUN_00038f70(param_3[6])" (identifier "iVar12") (= "=") (call_expression "FUN_00038f70(param_3[6])" (identifier "FUN_00038f70") (argument_list "(param_3[6])" (( "(") (subscript_expression "param_3[6]" (identifier "param_3") ([ "[") (number_literal "6") (] "]")) () ")")))) (; ";")) (expression_statement "iVar3 = 0x13;" (assignment_expression "iVar3 = 0x13" (identifier "iVar3") (= "=") (number_literal "0x13")) (; ";")) (if_statement "if (iVar12 != 5) goto LAB_00029a51;" (if "if") (parenthesized_expression "(iVar12 != 5)" (( "(") (binary_expression "iVar12 != 5" (identifier "iVar12") (!= "!=") (number_literal "5")) () ")")) (goto_statement "goto LAB_00029a51;" (goto "goto") (statement_identifier "LAB_00029a51") (; ";"))) (} "}")))) (labeled_statement "LAB_00029a6c:\n    local_60 = (char *)0x0;" (statement_identifier "LAB_00029a6c") (: ":") (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" (identifier "local_60") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";"))) (} "}")) (else_clause "else {\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }" (else "else") (compound_statement "{\n    pcVar4 = (char *)FUN_0006a4a0(*param_3);\n    strlen(pcVar4);\n    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }\n    iVar12 = *(int *)(param_1 + 0x24);\n    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }\n    if (1 < param_2) goto LAB_0002975e;\n    iVar11 = 0;\n    local_60 = (char *)0x0;\n    iVar3 = *(int *)(param_1 + 0x18);\n    if (iVar3 != 0) goto LAB_000299fb;\nLAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);\n    if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }\n    *puVar7 = *(undefined4 *)(iVar3 + 0x44);\n    FUN_000230c0();\nLAB_000299a8:\n    iVar3 = 0;\n    if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }\n  }" ({ "{") (expression_statement "pcVar4 = (char *)FUN_0006a4a0(*param_3);" (assignment_expression "pcVar4 = (char *)FUN_0006a4a0(*param_3)" (identifier "pcVar4") (= "=") (cast_expression "(char *)FUN_0006a4a0(*param_3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0006a4a0(*param_3)" (identifier "FUN_0006a4a0") (argument_list "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")"))))) (; ";")) (expression_statement "strlen(pcVar4);" (call_expression "strlen(pcVar4)" (identifier "strlen") (argument_list "(pcVar4)" (( "(") (identifier "pcVar4") () ")"))) (; ";")) (if_statement "if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {\n      bVar13 = false;\n    }\n    else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }" (if "if") (parenthesized_expression "((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0))" (( "(") (binary_expression "(param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)" (parenthesized_expression "(param_2 < 2)" (( "(") (binary_expression "param_2 < 2" (identifier "param_2") (< "<") (number_literal "2")) () ")")) (|| "||") (parenthesized_expression "(iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)" (( "(") (comma_expression "iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0" (assignment_expression "iVar3 = FUN_0006a4a0(param_3[1])" (identifier "iVar3") (= "=") (call_expression "FUN_0006a4a0(param_3[1])" (identifier "FUN_0006a4a0") (argument_list "(param_3[1])" (( "(") (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      bVar13 = false;\n    }" ({ "{") (expression_statement "bVar13 = false;" (assignment_expression "bVar13 = false" (identifier "bVar13") (= "=") (false "false")) (; ";")) (} "}")) (else_clause "else {\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }" (else "else") (compound_statement "{\n      iVar3 = FUN_0001dcf0();\n      bVar13 = iVar3 != 0;\n    }" ({ "{") (expression_statement "iVar3 = FUN_0001dcf0();" (assignment_expression "iVar3 = FUN_0001dcf0()" (identifier "iVar3") (= "=") (call_expression "FUN_0001dcf0()" (identifier "FUN_0001dcf0") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "bVar13 = iVar3 != 0;" (assignment_expression "bVar13 = iVar3 != 0" (identifier "bVar13") (= "=") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) (; ";")) (} "}")))) (expression_statement "iVar12 = *(int *)(param_1 + 0x24);" (assignment_expression "iVar12 = *(int *)(param_1 + 0x24)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (while_statement "while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }" (while "while") (parenthesized_expression "(iVar3 = FUN_0001dcf0(), iVar3 != 0)" (( "(") (comma_expression "iVar3 = FUN_0001dcf0(), iVar3 != 0" (assignment_expression "iVar3 = FUN_0001dcf0()" (identifier "iVar3") (= "=") (call_expression "FUN_0001dcf0()" (identifier "FUN_0001dcf0") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")")) (compound_statement "{\n      iVar12 = *(int *)(iVar12 + 0x44);\n    }" ({ "{") (expression_statement "iVar12 = *(int *)(iVar12 + 0x44);" (assignment_expression "iVar12 = *(int *)(iVar12 + 0x44)" (identifier "iVar12") (= "=") (pointer_expression "*(int *)(iVar12 + 0x44)" (* "*") (cast_expression "(int *)(iVar12 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x44)" (( "(") (binary_expression "iVar12 + 0x44" (identifier "iVar12") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (} "}"))) (if_statement "if (1 < param_2) goto LAB_0002975e;" (if "if") (parenthesized_expression "(1 < param_2)" (( "(") (binary_expression "1 < param_2" (number_literal "1") (< "<") (identifier "param_2")) () ")")) (goto_statement "goto LAB_0002975e;" (goto "goto") (statement_identifier "LAB_0002975e") (; ";"))) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_60 = (char *)0x0;" (assignment_expression "local_60 = (char *)0x0" (identifier "local_60") (= "=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "iVar3 = *(int *)(param_1 + 0x18);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x18)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x18)" (* "*") (cast_expression "(int *)(param_1 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (iVar3 != 0) goto LAB_000299fb;" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000299fb;" (goto "goto") (statement_identifier "LAB_000299fb") (; ";"))) (labeled_statement "LAB_00029980:\n    iVar3 = *(int *)(param_1 + 0x24);" (statement_identifier "LAB_00029980") (: ":") (expression_statement "iVar3 = *(int *)(param_1 + 0x24);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x24)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";"))) (if_statement "if (iVar12 == *(int *)(param_1 + 0x24)) {\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }\n    else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }" (if "if") (parenthesized_expression "(iVar12 == *(int *)(param_1 + 0x24))" (( "(") (binary_expression "iVar12 == *(int *)(param_1 + 0x24)" (identifier "iVar12") (== "==") (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) () ")")) (compound_statement "{\n      puVar7 = (undefined4 *)(param_1 + 0x24);\n      iVar3 = iVar12;\n    }" ({ "{") (expression_statement "puVar7 = (undefined4 *)(param_1 + 0x24);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + 0x24)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (expression_statement "iVar3 = iVar12;" (assignment_expression "iVar3 = iVar12" (identifier "iVar3") (= "=") (identifier "iVar12")) (; ";")) (} "}")) (else_clause "else {\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }" (else "else") (compound_statement "{\n      do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);\n      puVar7 = (undefined4 *)(iVar6 + 0x44);\n    }" ({ "{") (do_statement "do {\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      } while (iVar12 != iVar3);" (do "do") (compound_statement "{\n        iVar6 = iVar3;\n        iVar3 = *(int *)(iVar6 + 0x44);\n      }" ({ "{") (expression_statement "iVar6 = iVar3;" (assignment_expression "iVar6 = iVar3" (identifier "iVar6") (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar3 = *(int *)(iVar6 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar6 + 0x44)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar6 + 0x44)" (* "*") (cast_expression "(int *)(iVar6 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x44)" (( "(") (binary_expression "iVar6 + 0x44" (identifier "iVar6") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar12 != iVar3)" (( "(") (binary_expression "iVar12 != iVar3" (identifier "iVar12") (!= "!=") (identifier "iVar3")) () ")")) (; ";")) (expression_statement "puVar7 = (undefined4 *)(iVar6 + 0x44);" (assignment_expression "puVar7 = (undefined4 *)(iVar6 + 0x44)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)(iVar6 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x44)" (( "(") (binary_expression "iVar6 + 0x44" (identifier "iVar6") (+ "+") (number_literal "0x44")) () ")")))) (; ";")) (} "}")))) (expression_statement "*puVar7 = *(undefined4 *)(iVar3 + 0x44);" (assignment_expression "*puVar7 = *(undefined4 *)(iVar3 + 0x44)" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 0x44)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x44)" (( "(") (binary_expression "iVar3 + 0x44" (identifier "iVar3") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (expression_statement "FUN_000230c0();" (call_expression "FUN_000230c0()" (identifier "FUN_000230c0") (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_000299a8:\n    iVar3 = 0;" (statement_identifier "LAB_000299a8") (: ":") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";"))) (if_statement "if (iVar11 != 0) {\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);\n      if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }\n      *puVar7 = *(undefined4 *)(iVar11 + 0x44);\n      FUN_000230c0();\n      iVar3 = 0;\n    }" ({ "{") (labeled_statement "LAB_000299b2:\n      iVar3 = *(int *)(param_1 + 0x24);" (statement_identifier "LAB_000299b2") (: ":") (expression_statement "iVar3 = *(int *)(param_1 + 0x24);" (assignment_expression "iVar3 = *(int *)(param_1 + 0x24)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";"))) (if_statement "if (*(int *)(param_1 + 0x24) == iVar11) {\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }\n      else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x24) == iVar11)" (( "(") (binary_expression "*(int *)(param_1 + 0x24) == iVar11" (pointer_expression "*(int *)(param_1 + 0x24)" (* "*") (cast_expression "(int *)(param_1 + 0x24)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (== "==") (identifier "iVar11")) () ")")) (compound_statement "{\n        puVar7 = (undefined4 *)(param_1 + 0x24);\n      }" ({ "{") (expression_statement "puVar7 = (undefined4 *)(param_1 + 0x24);" (assignment_expression "puVar7 = (undefined4 *)(param_1 + 0x24)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)(param_1 + 0x24)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }" (else "else") (compound_statement "{\n        do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);\n        puVar7 = (undefined4 *)(iVar12 + 0x44);\n      }" ({ "{") (do_statement "do {\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        } while (iVar3 != iVar11);" (do "do") (compound_statement "{\n          iVar12 = iVar3;\n          iVar3 = *(int *)(iVar12 + 0x44);\n        }" ({ "{") (expression_statement "iVar12 = iVar3;" (assignment_expression "iVar12 = iVar3" (identifier "iVar12") (= "=") (identifier "iVar3")) (; ";")) (expression_statement "iVar3 = *(int *)(iVar12 + 0x44);" (assignment_expression "iVar3 = *(int *)(iVar12 + 0x44)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar12 + 0x44)" (* "*") (cast_expression "(int *)(iVar12 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x44)" (( "(") (binary_expression "iVar12 + 0x44" (identifier "iVar12") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar3 != iVar11)" (( "(") (binary_expression "iVar3 != iVar11" (identifier "iVar3") (!= "!=") (identifier "iVar11")) () ")")) (; ";")) (expression_statement "puVar7 = (undefined4 *)(iVar12 + 0x44);" (assignment_expression "puVar7 = (undefined4 *)(iVar12 + 0x44)" (identifier "puVar7") (= "=") (cast_expression "(undefined4 *)(iVar12 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar12 + 0x44)" (( "(") (binary_expression "iVar12 + 0x44" (identifier "iVar12") (+ "+") (number_literal "0x44")) () ")")))) (; ";")) (} "}")))) (expression_statement "*puVar7 = *(undefined4 *)(iVar11 + 0x44);" (assignment_expression "*puVar7 = *(undefined4 *)(iVar11 + 0x44)" (pointer_expression "*puVar7" (* "*") (identifier "puVar7")) (= "=") (pointer_expression "*(undefined4 *)(iVar11 + 0x44)" (* "*") (cast_expression "(undefined4 *)(iVar11 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + 0x44)" (( "(") (binary_expression "iVar11 + 0x44" (identifier "iVar11") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (expression_statement "FUN_000230c0();" (call_expression "FUN_000230c0()" (identifier "FUN_000230c0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_000296b5:\n  FUN_00042800(0);" (statement_identifier "LAB_000296b5") (: ":") (expression_statement "FUN_00042800(0);" (call_expression "FUN_00042800(0)" (identifier "FUN_00042800") (argument_list "(0)" (( "(") (number_literal "0") () ")"))) (; ";"))) (expression_statement "FUN_00042800(local_60);" (call_expression "FUN_00042800(local_60)" (identifier "FUN_00042800") (argument_list "(local_60)" (( "(") (identifier "local_60") () ")"))) (; ";")) (labeled_statement "LAB_000296d6:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }" (statement_identifier "LAB_000296d6") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar3;\n  }" (if "if") (parenthesized_expression "(local_20 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return iVar3;\n  }" ({ "{") (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}")))) (expression_statement "FUN_00116110();" (call_expression "FUN_00116110()" (identifier "FUN_00116110") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

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

int function_1(type_1 *var_36,int var_5,type_2 **apVal,type_3 *pRowid)

{
  type_4 *pZVar1;
  type_5 *p_Var2;
  int var_3;
  type_6 *__s;
  size_t nB;
  type_7 *p_Var4;
  char *zFmt;
  type_6 *var_37;
  type_8 *puVar5;
  type_9 *var_26;
  type_10 *var_28;
  type_11 var_9;
  type_9 *psVar9;
  type_1 *psVar10;
  type_9 *var_35;
  int var_17;
  type_9 *var_21;
  type_9 *var_34;
  type_12 *var_27;
  int var_1;
  bool bVar15;
  type_13 bVar16;
  type_14 *in_stack_ffffff94;
  type_15 in_stack_ffffff98;
  type_14 *in_stack_ffffff9c;
  type_6 *var_20;
  char **local_58;
  size_t var_18;
  type_5 *local_48;
  type_5 *local_44;
  type_16 local_3c;
  type_8 *local_34;
  type_17 *local_30;
  type_15 var_31;
  type_8 *pFree;
  int var_12;
  int var_39;
  type_12 uStack_14;
  
  bVar16 = 0;
  uStack_14 = 0x29649;
  var_39 = *(int *)(var_1 + 0x14);
  var_31 = 0;
  pFree = (type_8 *)0x0;
  if ((var_36[3].zErrMsg == (char *)0x0) && (var_3 = var_2(var_36), var_3 != 0))
  goto LAB_000296d6;
  var_3 = var_4(*apVal);
  if (var_3 == 5) {
    if (var_5 < 2) {
      var_20 = (type_6 *)0x0;
      var_3 = 0;
      goto LAB_000296b5;
    }
    bVar15 = true;
    var_34 = (type_9 *)0x0;
LAB_0002975e:
    var_3 = var_4(apVal[5]);
    if (var_3 == 5) {
      var_3 = var_4(apVal[6]);
      if (var_3 == 5) {
        var_3 = var_4(apVal[7]);
        if (var_3 == 5) {
          local_30 = (type_17 *)0x0;
          var_17 = 1;
          local_3c = 0;
          local_48 = (type_5 *)0x0;
          local_34 = (type_8 *)0x0;
          local_44 = (type_5 *)0x0;
        }
        else {
          puVar5 = (type_8 *)var_6(apVal[7]);
          local_44 = (type_5 *)var_7(apVal[7]);
          var_3 = var_4(apVal[8]);
          var_9 = var_8(apVal[8]);
          if ((var_9 & 0xfffffff7) != 0) {
            zFmt = "unknown compression method: %d";
            goto LAB_00029a5a;
          }
          local_34 = puVar5;
          local_48 = local_44;
          if (var_3 == 5 || var_9 != 0) {
            var_3 = var_10(puVar5,(int)local_44,&pFree,&var_12,&var_36->zErrMsg);
            if (var_3 != 0) {
              var_11(0,puVar5,local_44,var_3);
              goto LAB_00029a6c;
            }
            if ((var_9 != 0) || (local_3c = 0, var_12 < (int)local_44)) {
              local_48 = (type_5 *)var_12;
              local_3c = 8;
              local_34 = pFree;
            }
            local_30 = (type_17 *)var_11(0,puVar5,local_44)
            ;
            var_17 = 0;
          }
          else {
            local_30 = (type_17 *)var_11(0,puVar5,local_44)
            ;
            local_3c = 0;
            var_17 = 0;
          }
        }
        local_58 = &var_36->zErrMsg;
        var_3 = var_13(apVal[3],var_17,&var_31,local_58);
        if (var_3 == 0) {
          local_58 = (char **)var_14(apVal[2]);
          var_18 = var_15((char *)local_58);
          p_Var4 = (type_7 *)var_16(apVal[4]);
          if (var_17 == 0) {
            if (bVar15) {
LAB_00029cc0:
              var_20 = (type_6 *)0x0;
              goto LAB_00029894;
            }
            var_20 = (type_6 *)0x0;
            var_21 = (type_9 *)0x0;
          }
          else if (*(type_6 *)((int)local_58 + (var_18 - 1)) == '/') {
            if (bVar15) goto LAB_00029cc0;
            var_20 = (type_6 *)0x0;
            var_21 = (type_9 *)0x0;
          }
          else {
            var_20 = (type_6 *)var_19("%s/",local_58);
            if (var_20 == (type_6 *)0x0) {
              var_20 = (type_6 *)0x0;
              var_3 = 7;
              goto LAB_000296b5;
            }
            var_18 = var_18 + 1;
            local_58 = (char **)var_20;
            if (!bVar15) {
              var_21 = (type_9 *)0x0;
              goto LAB_00029b74;
            }
LAB_00029894:
            for (var_21 = var_36[3].pModule; var_21 != (type_9 *)0x0;
                var_21 = (type_9 *)var_21->xRollback) {
              var_3 = var_22((char *)var_21->xColumn,(char *)local_58,var_18);
              if (var_3 == 0) {
                var_17 = var_23((type_18 *)var_36[1].nRef);
                var_3 = 0;
                if (var_17 == 2) goto LAB_000296b5;
                if (var_17 != 5) {
                  var_24((type_19 *)var_36,"duplicate name: \"%s\"",local_58);
                  var_3 = 0x13;
                  goto LAB_000296b5;
                }
                break;
              }
            }
          }
LAB_00029b74:
          var_26 = (type_9 *)var_25(0x48);
          var_3 = 7;
          if (var_26 != (type_9 *)0x0) {
            var_27 = (type_12 *)((type_11)&var_26->xCreate & 0xfffffffc);
            *(type_16 *)&var_26->iVersion = 0;
            *(type_16 *)((int)&var_26->iVersion + 2) = 0;
            var_26->xRollback = (type_5 *)0x0;
            var_9 = (type_11)((int)var_26 + (0x48 - (int)var_27)) >> 2;
            for (; var_9 != 0; var_9 = var_9 - 1) {
              *var_27 = 0;
              var_27 = var_27 + (type_11)bVar16 * -2 + 1;
            }
            var_28 = (type_10 *)
                     var_19("%s",local_58);
            var_26->xColumn = var_28;
            if (var_28 == (type_10 *)0x0) {
              var_29(var_26);
              var_3 = 7;
            }
            else {
              *(type_16 *)&var_26->xCreate = 0x800;
              *(type_16 *)((int)&var_26->xCreate + 2) = local_3c;
              *(type_16 *)&var_26->iVersion = 0x31e;
              *(type_16 *)((int)&var_26->iVersion + 2) = 0x14;
              var_30(in_stack_ffffff94,in_stack_ffffff98,in_stack_ffffff9c);
              var_26->xBestIndex = local_30;
              var_26->xDisconnect = local_48;
              var_26->xDestroy = local_44;
              var_26->xNext = (type_20 *)(var_31 << 0x10);
              var_35 = var_36[4].pModule;
              *(type_16 *)&var_26->xOpen = (type_16)var_18;
              var_26->xEof = (type_20 *)var_35;
              var_26->xRowid = p_Var4;
              puVar5 = (type_8 *)var_36[1].zErrMsg;
              var_3 = var_32((type_4 *)var_26,puVar5);
              var_3 = var_33((type_19 *)var_36,puVar5,var_3);
              if (var_3 == 0) {
                p_Var2 = (type_5 *)var_36[4].nRef;
                var_26->xBegin = (type_5 *)var_36[4].pModule;
                var_26->xSync = p_Var2;
                var_3 = var_33((type_19 *)var_36,local_34,(int)local_48);
              }
              var_35 = var_36[3].pModule;
              if (var_34 == (type_9 *)0x0) {
                if (var_35 == (type_9 *)0x0) {
                  var_36[3].nRef = (int)var_26;
                  var_36[3].pModule = var_26;
                }
                else {
                  *(type_9 **)(var_36[3].nRef + 0x44) = var_26;
                  var_36[3].nRef = (int)var_26;
                }
                if ((var_3 == 0) && (var_21 != (type_9 *)0x0)) {
                  var_26 = var_36[2].pModule;
                  if (var_26 != (type_9 *)0x0) goto LAB_000299fb;
                  goto LAB_000299b2;
                }
              }
              else {
                if (var_34 == var_35) {
                  psVar10 = var_36 + 3;
                }
                else {
                  do {
                    psVar9 = var_35;
                    var_35 = (type_9 *)psVar9->xRollback;
                  } while (var_35 != var_34);
                  psVar10 = (type_1 *)&psVar9->xRollback;
                }
                var_26->xRollback = (type_5 *)var_34;
                psVar10->pModule = var_26;
                if (var_3 == 0) {
                  var_26 = var_36[2].pModule;
                  if (var_26 == (type_9 *)0x0) goto LAB_00029980;
LAB_000299fb:
                  do {
                    while ((var_35 = (type_9 *)var_26->xRowid,
                           var_35 != (type_9 *)0x0 &&
                           ((var_35 == var_21 || (var_35 == var_34))))) {
                      pZVar1 = (type_4 *)var_35->xRollback;
                      *(type_21 *)((int)&var_26->xBestIndex + 1) = 1;
                      var_26->xRowid = (type_7 *)pZVar1
                      ;
                      var_26 = (type_9 *)var_26->xUpdate;
                      if (var_26 == (type_9 *)0x0) goto LAB_00029a17;
                    }
                    var_26 = (type_9 *)var_26->xUpdate;
                  } while (var_26 != (type_9 *)0x0);
LAB_00029a17:
                  if (var_34 != (type_9 *)0x0) goto LAB_00029980;
                  goto LAB_000299a8;
                }
              }
            }
          }
          goto LAB_000296b5;
        }
      }
      else {
LAB_00029a51:
        zFmt = "rawdata must be NULL";
LAB_00029a5a:
        var_24((type_19 *)var_36,zFmt);
        var_3 = 0x13;
      }
    }
    else {
      var_24((type_19 *)var_36,"sz must be NULL");
      var_17 = var_4(apVal[6]);
      var_3 = 0x13;
      if (var_17 != 5) goto LAB_00029a51;
    }
LAB_00029a6c:
    var_20 = (type_6 *)0x0;
  }
  else {
    __s = var_14(*apVal);
    nB = var_15((char *)__s);
    if ((var_5 < 2) || (var_37 = var_14(apVal[1]), var_37 == (type_6 *)0x0)) {
      bVar15 = false;
    }
    else {
      var_3 = var_22((char *)var_37,(char *)__s,nB);
      bVar15 = var_3 != 0;
    }
    var_34 = var_36[3].pModule;
    while (var_3 = var_22((char *)var_34->xColumn,(char *)__s,nB), var_3 != 0) {
      var_34 = (type_9 *)var_34->xRollback;
    }
    if (1 < var_5) goto LAB_0002975e;
    var_21 = (type_9 *)0x0;
    var_20 = (type_6 *)0x0;
    var_26 = var_36[2].pModule;
    if (var_26 != (type_9 *)0x0) goto LAB_000299fb;
LAB_00029980:
    var_26 = var_36[3].pModule;
    if (var_34 == var_36[3].pModule) {
      psVar10 = var_36 + 3;
      var_26 = var_34;
    }
    else {
      do {
        var_35 = var_26;
        var_26 = (type_9 *)var_35->xRollback;
      } while (var_34 != var_26);
      psVar10 = (type_1 *)&var_35->xRollback;
    }
    psVar10->pModule = (type_9 *)var_26->xRollback;
    var_38((type_4 *)var_34);
LAB_000299a8:
    var_3 = 0;
    if (var_21 != (type_9 *)0x0) {
LAB_000299b2:
      var_34 = var_36[3].pModule;
      if (var_36[3].pModule == var_21) {
        psVar10 = var_36 + 3;
      }
      else {
        do {
          var_26 = var_34;
          var_34 = (type_9 *)var_26->xRollback;
        } while (var_34 != var_21);
        psVar10 = (type_1 *)&var_26->xRollback;
      }
      psVar10->pModule = (type_9 *)var_21->xRollback;
      var_38((type_4 *)var_21);
      var_3 = 0;
    }
  }
LAB_000296b5:
  var_29(pFree);
  var_29(var_20);
LAB_000296d6:
  if (var_39 == *(int *)(var_1 + 0x14)) {
    return var_3;
  }
                    /* WARNING: Subroutine does not return */
  var_40();
}


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

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

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

{
  undefined4 uVar1;
  bool bVar2;
  int iVar3;
  char *pcVar4;
  undefined4 uVar5;
  int iVar6;
  undefined4 *puVar7;
  uint uVar8;
  int iVar9;
  undefined4 *puVar10;
  int iVar11;
  int iVar12;
  int in_GS_OFFSET;
  bool bVar13;
  byte bVar14;
  char *local_60;
  char *local_58;
  size_t local_54;
  int local_48;
  int local_44;
  undefined2 local_3c;
  undefined4 local_30;
  int local_24;
  int local_20;
  undefined4 uStack_14;
  
  bVar14 = 0;
  uStack_14 = 0x29649;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  if ((*(int *)(param_1 + 0x2c) == 0) && (iVar3 = FUN_000295a0(param_1), iVar3 != 0))
  goto LAB_000296d6;
  iVar3 = FUN_00038f70(*param_3);
  if (iVar3 == 5) {
    if (param_2 < 2) {
      local_60 = (char *)0x0;
      iVar3 = 0;
      goto LAB_000296b5;
    }
    bVar13 = true;
    iVar12 = 0;
LAB_0002975e:
    iVar3 = FUN_00038f70(param_3[5]);
    if (iVar3 == 5) {
      iVar3 = FUN_00038f70(param_3[6]);
      if (iVar3 == 5) {
        iVar3 = FUN_00038f70(param_3[7]);
        if (iVar3 == 5) {
          local_30 = 0;
          bVar2 = true;
          local_3c = 0;
          local_48 = 0;
          local_44 = 0;
        }
        else {
          uVar5 = FUN_0006a4e0(param_3[7]);
          local_44 = FUN_0006a2f0(param_3[7]);
          iVar3 = FUN_00038f70(param_3[8]);
          uVar8 = FUN_00049400(param_3[8]);
          if ((uVar8 & 0xfffffff7) != 0) {
            pcVar4 = "unknown compression method: %d";
            goto LAB_00029a5a;
          }
          local_48 = local_44;
          if (iVar3 == 5 || uVar8 != 0) {
            iVar3 = FUN_00024250(&local_24,param_1 + 8);
            if (iVar3 != 0) {
              crc32(0,uVar5,local_44,iVar3);
              goto LAB_00029a6c;
            }
            if ((uVar8 != 0) || (local_3c = 0, local_24 < local_44)) {
              local_48 = local_24;
              local_3c = 8;
            }
            local_30 = crc32(0,uVar5,local_44);
            bVar2 = false;
          }
          else {
            local_30 = crc32(0,uVar5,local_44);
            local_3c = 0;
            bVar2 = false;
          }
        }
        local_58 = (char *)(param_1 + 8);
        iVar3 = FUN_0001bb40(local_58);
        if (iVar3 == 0) {
          local_58 = (char *)FUN_0006a4a0(param_3[2]);
          local_54 = strlen(local_58);
          uVar5 = FUN_00023fd0();
          if (bVar2) {
            if (local_58[local_54 - 1] == '/') {
              if (bVar13) goto LAB_00029cc0;
              local_60 = (char *)0x0;
              iVar11 = 0;
            }
            else {
              local_60 = (char *)FUN_0008ff90(&DAT_00117529,local_58);
              if (local_60 == (char *)0x0) {
                local_60 = (char *)0x0;
                iVar3 = 7;
                goto LAB_000296b5;
              }
              local_54 = local_54 + 1;
              local_58 = local_60;
              if (!bVar13) {
                iVar11 = 0;
                goto LAB_00029b74;
              }
LAB_00029894:
              for (iVar11 = *(int *)(param_1 + 0x24); iVar11 != 0; iVar11 = *(int *)(iVar11 + 0x44))
              {
                iVar3 = FUN_0001dcf0();
                if (iVar3 == 0) {
                  iVar6 = FUN_00039f00(*(undefined4 *)(param_1 + 0x10));
                  iVar3 = 0;
                  if (iVar6 == 2) goto LAB_000296b5;
                  if (iVar6 != 5) {
                    FUN_0001c450(param_1,"duplicate name: \"%s\"",local_58);
                    iVar3 = 0x13;
                    goto LAB_000296b5;
                  }
                  break;
                }
              }
            }
          }
          else {
            if (bVar13) {
LAB_00029cc0:
              local_60 = (char *)0x0;
              goto LAB_00029894;
            }
            local_60 = (char *)0x0;
            iVar11 = 0;
          }
LAB_00029b74:
          puVar7 = (undefined4 *)FUN_0005bfa0(0x48);
          iVar3 = 7;
          if (puVar7 != (undefined4 *)0x0) {
            *puVar7 = 0;
            puVar7[0x11] = 0;
            puVar10 = (undefined4 *)((uint)(puVar7 + 1) & 0xfffffffc);
            for (uVar8 = (uint)((int)puVar7 + (0x48 - (int)((uint)(puVar7 + 1) & 0xfffffffc))) >> 2;
                uVar8 != 0; uVar8 = uVar8 - 1) {
              *puVar10 = 0;
              puVar10 = puVar10 + (uint)bVar14 * -2 + 1;
            }
            iVar3 = FUN_0008ff90("%s",local_58);
            puVar7[0xb] = iVar3;
            if (iVar3 == 0) {
              FUN_00042800(puVar7);
              iVar3 = 7;
            }
            else {
              *(undefined2 *)(puVar7 + 1) = 0x800;
              *(undefined2 *)((int)puVar7 + 6) = local_3c;
              *puVar7 = 0x14031e;
              FUN_00022c90();
              puVar7[3] = local_30;
              puVar7[4] = local_48;
              puVar7[5] = local_44;
              puVar7[9] = 0;
              uVar1 = *(undefined4 *)(param_1 + 0x30);
              *(undefined2 *)(puVar7 + 6) = (undefined2)local_54;
              puVar7[10] = uVar1;
              puVar7[0xc] = uVar5;
              FUN_0001be00();
              iVar3 = FUN_00023910();
              if (iVar3 == 0) {
                uVar5 = *(undefined4 *)(param_1 + 0x34);
                puVar7[0xe] = *(undefined4 *)(param_1 + 0x30);
                puVar7[0xf] = uVar5;
                iVar3 = FUN_00023910();
              }
              iVar6 = *(int *)(param_1 + 0x24);
              if (iVar12 == 0) {
                if (iVar6 == 0) {
                  *(undefined4 **)(param_1 + 0x28) = puVar7;
                  *(undefined4 **)(param_1 + 0x24) = puVar7;
                }
                else {
                  *(undefined4 **)(*(int *)(param_1 + 0x28) + 0x44) = puVar7;
                  *(undefined4 **)(param_1 + 0x28) = puVar7;
                }
                if ((iVar3 == 0) && (iVar11 != 0)) {
                  iVar3 = *(int *)(param_1 + 0x18);
                  if (iVar3 != 0) goto LAB_000299fb;
                  goto LAB_000299b2;
                }
              }
              else {
                if (iVar12 == iVar6) {
                  puVar10 = (undefined4 *)(param_1 + 0x24);
                }
                else {
                  do {
                    iVar9 = iVar6;
                    iVar6 = *(int *)(iVar9 + 0x44);
                  } while (iVar6 != iVar12);
                  puVar10 = (undefined4 *)(iVar9 + 0x44);
                }
                puVar7[0x11] = iVar12;
                *puVar10 = puVar7;
                if (iVar3 == 0) {
                  iVar3 = *(int *)(param_1 + 0x18);
                  if (iVar3 == 0) goto LAB_00029980;
LAB_000299fb:
                  do {
                    while ((iVar6 = *(int *)(iVar3 + 0x30), iVar6 != 0 &&
                           ((iVar6 == iVar11 || (iVar6 == iVar12))))) {
                      uVar5 = *(undefined4 *)(iVar6 + 0x44);
                      *(undefined1 *)(iVar3 + 0xd) = 1;
                      *(undefined4 *)(iVar3 + 0x30) = uVar5;
                      iVar3 = *(int *)(iVar3 + 0x34);
                      if (iVar3 == 0) goto LAB_00029a17;
                    }
                    iVar3 = *(int *)(iVar3 + 0x34);
                  } while (iVar3 != 0);
LAB_00029a17:
                  if (iVar12 != 0) goto LAB_00029980;
                  goto LAB_000299a8;
                }
              }
            }
          }
          goto LAB_000296b5;
        }
      }
      else {
LAB_00029a51:
        pcVar4 = "rawdata must be NULL";
LAB_00029a5a:
        FUN_0001c450(param_1,pcVar4);
        iVar3 = 0x13;
      }
    }
    else {
      FUN_0001c450(param_1,"sz must be NULL");
      iVar12 = FUN_00038f70(param_3[6]);
      iVar3 = 0x13;
      if (iVar12 != 5) goto LAB_00029a51;
    }
LAB_00029a6c:
    local_60 = (char *)0x0;
  }
  else {
    pcVar4 = (char *)FUN_0006a4a0(*param_3);
    strlen(pcVar4);
    if ((param_2 < 2) || (iVar3 = FUN_0006a4a0(param_3[1]), iVar3 == 0)) {
      bVar13 = false;
    }
    else {
      iVar3 = FUN_0001dcf0();
      bVar13 = iVar3 != 0;
    }
    iVar12 = *(int *)(param_1 + 0x24);
    while (iVar3 = FUN_0001dcf0(), iVar3 != 0) {
      iVar12 = *(int *)(iVar12 + 0x44);
    }
    if (1 < param_2) goto LAB_0002975e;
    iVar11 = 0;
    local_60 = (char *)0x0;
    iVar3 = *(int *)(param_1 + 0x18);
    if (iVar3 != 0) goto LAB_000299fb;
LAB_00029980:
    iVar3 = *(int *)(param_1 + 0x24);
    if (iVar12 == *(int *)(param_1 + 0x24)) {
      puVar7 = (undefined4 *)(param_1 + 0x24);
      iVar3 = iVar12;
    }
    else {
      do {
        iVar6 = iVar3;
        iVar3 = *(int *)(iVar6 + 0x44);
      } while (iVar12 != iVar3);
      puVar7 = (undefined4 *)(iVar6 + 0x44);
    }
    *puVar7 = *(undefined4 *)(iVar3 + 0x44);
    FUN_000230c0();
LAB_000299a8:
    iVar3 = 0;
    if (iVar11 != 0) {
LAB_000299b2:
      iVar3 = *(int *)(param_1 + 0x24);
      if (*(int *)(param_1 + 0x24) == iVar11) {
        puVar7 = (undefined4 *)(param_1 + 0x24);
      }
      else {
        do {
          iVar12 = iVar3;
          iVar3 = *(int *)(iVar12 + 0x44);
        } while (iVar3 != iVar11);
        puVar7 = (undefined4 *)(iVar12 + 0x44);
      }
      *puVar7 = *(undefined4 *)(iVar11 + 0x44);
      FUN_000230c0();
      iVar3 = 0;
    }
  }
LAB_000296b5:
  FUN_00042800(0);
  FUN_00042800(local_60);
LAB_000296d6:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar3;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00116110();
}

