
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

int fts5ColumnMethod(sqlite3_vtab_cursor *pCursor,sqlite3_context *pCtx,int iCol)

{
  int iVar1;
  _func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *p_Var2;
  _func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *p_Var3;
  sqlite3_vtab *zLeft;
  int iVar4;
  int *piVar5;
  undefined **ppuVar6;
  int iVar7;
  sqlite3_value *pValue;
  sqlite3_vtab *psVar8;
  char *pcVar9;
  sqlite3_vtab *psVar10;
  sqlite3_module *psVar11;
  u32 nData;
  u8 *pData;
  u8 **ppuVar12;
  u8 **ppuVar13;
  int iVar14;
  int iVar15;
  int iVar16;
  int in_GS_OFFSET;
  undefined **ppuVar17;
  int rc;
  u8 *dummy;
  int nByte;
  Fts5Buffer val;
  
  ppuVar6 = &_GLOBAL_OFFSET_TABLE_;
  psVar8 = pCursor->pVtab;
  psVar10 = pCursor[5].pVtab;
  psVar11 = psVar8[1].pModule;
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  p_Var2 = psVar11->xBestIndex;
  if (psVar10 == (sqlite3_vtab *)0x3) {
    iVar7 = 0;
    if ((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2) {
      sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 0xf));
    }
    goto LAB_000cdc60;
  }
  if ((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2) {
    sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 3));
    iVar7 = 0;
    goto LAB_000cdc60;
  }
  if (p_Var2 + 1 != (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol) {
    iVar7 = 0;
    if ((psVar11->xFilter !=
         (_func_int_sqlite3_vtab_cursor_ptr_int_char_ptr_int_sqlite3_value_ptr_ptr *)0x1) &&
       (iVar7 = fts5SeekCursor((Fts5Cursor *)pCursor,1), iVar7 == 0)) {
      pValue = sqlite3_column_value((sqlite3_stmt *)pCursor[0xb].pVtab,iCol + 1);
      sqlite3_result_value(pCtx,pValue);
    }
    goto LAB_000cdc60;
  }
  if (psVar10 == (sqlite3_vtab *)0x2) {
    psVar8 = pCursor[0xc].pVtab;
    p_Var3 = psVar11->xRowid;
    rc = 0;
    if (psVar8 == (sqlite3_vtab *)0x0) {
      val.p = (u8 *)0x0;
      val.n = 0;
      val.nSpace = 0;
      ppuVar17 = ppuVar6;
      if ((p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) &&
         (ppuVar17 = &_GLOBAL_OFFSET_TABLE_,
         p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2)) {
LAB_000cdf39:
        val.nSpace = 0;
        val.n = 0;
        val.p = (u8 *)0x0;
        ppuVar17 = ppuVar6;
      }
    }
    else {
      iVar7 = psVar8[1].nRef;
      val.p = (u8 *)0x0;
      val.n = 0;
      val.nSpace = 0;
      if (p_Var3 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) {
        if (1 < iVar7) {
          iVar14 = 0;
          while( true ) {
            iVar15 = 0;
            iVar16 = 0;
            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);
            if ((*(int *)(iVar4 + 4) == 0) &&
               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&
                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {
              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];
              iVar16 = iVar15 >> 0x1f;
            }
            iVar14 = iVar14 + 1;
            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));
            if (iVar14 == iVar7 + -1) break;
            psVar8 = pCursor[0xc].pVtab;
          }
        }
        iVar14 = 0;
        ppuVar17 = ppuVar6;
        if (0 < iVar7) {
          do {
            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);
            iVar4 = *piVar5;
            if (*(int *)(iVar4 + 4) == 0) {
              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;
              nData = 0;
              pData = (u8 *)0x0;
              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&
                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {
                pData = (u8 *)piVar5[1];
                nData = piVar5[2];
              }
            }
            else {
              nData = 0;
              pData = (u8 *)0x0;
            }
            iVar14 = iVar14 + 1;
            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);
            ppuVar17 = ppuVar6;
          } while (iVar7 != iVar14);
        }
      }
      else {
        if (p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2) goto LAB_000cdf39;
        if (iVar7 + -1 < 1) {
LAB_000cdf42:
          ppuVar17 = ppuVar6;
          if (0 < iVar7) {
            ppuVar12 = (u8 **)0x0;
            do {
              ppuVar13 = (u8 **)((int)ppuVar12 + 1);
              rc = sqlite3Fts5ExprPhraseCollist
                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,
                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,
                              (Fts5Expr *)&nByte);
              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);
              ppuVar17 = ppuVar6;
              if (rc != 0) break;
              ppuVar12 = ppuVar13;
            } while ((int)ppuVar13 < iVar7);
          }
        }
        else {
          ppuVar12 = (u8 **)0x0;
          while( true ) {
            rc = sqlite3Fts5ExprPhraseCollist
                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,
                            (int *)&dummy,(Fts5Expr *)&nByte);
            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);
            ppuVar17 = ppuVar6;
            if (rc != 0) break;
            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;
            psVar8 = pCursor[0xc].pVtab;
            ppuVar12 = (u8 **)((int)ppuVar12 + 1);
          }
        }
      }
    }
    sqlite3_result_blob(pCtx,val.p,val.n,(_func_void_void_ptr *)ppuVar17[0x45]);
    iVar7 = 0;
    goto LAB_000cdc60;
  }
  if ((psVar10 != (sqlite3_vtab *)0x1) && (iVar7 = 0, psVar10 != (sqlite3_vtab *)&DAT_00000004))
  goto LAB_000cdc60;
  psVar10 = pCursor[0x13].pVtab;
  if (psVar10 != (sqlite3_vtab *)0x0) {
LAB_000cdcc8:
    pCursor[0x17].pVtab = psVar10;
    (*(code *)psVar10[1].pModule)
              (ppuVar6 + -0x385,pCursor,pCtx,pCursor[0x14].pVtab,pCursor[0x15].pVtab);
    pCursor[0x17].pVtab = (sqlite3_vtab *)0x0;
    iVar7 = 0;
    goto LAB_000cdc60;
  }
  zLeft = pCursor[0x11].pVtab;
  nByte = 0;
  if (pCursor[0x12].pVtab == (sqlite3_vtab *)0x0) {
LAB_000ce0dd:
    for (psVar10 = (sqlite3_vtab *)(psVar8[2].pModule)->xClose; psVar10 != (sqlite3_vtab *)0x0;
        psVar10 = (sqlite3_vtab *)psVar10[1].zErrMsg) {
      iVar7 = sqlite3_stricmp((char *)zLeft,(char *)psVar10->nRef);
      if (iVar7 == 0) {
        pCursor[0x13].pVtab = psVar10;
        iVar7 = nByte;
        if (nByte == 0) goto LAB_000cdcc8;
        goto LAB_000cdc60;
      }
    }
    pcVar9 = sqlite3_mprintf((char *)((int)ppuVar6 + -0x50c9b),zLeft);
    psVar8->zErrMsg = pcVar9;
    pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;
    iVar7 = 1;
  }
  else {
    pcVar9 = sqlite3Fts5Mprintf(&nByte,"SELECT %s",pCursor[0x12].pVtab);
    if (pcVar9 == (char *)0x0) {
LAB_000ce0d5:
      if (nByte == 0) goto LAB_000ce0dd;
    }
    else {
      val.p = (u8 *)0x0;
      nByte = sqlite3_prepare_v3((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,
                                 (char **)0x0);
      sqlite3_free(pcVar9);
      if (nByte == 0) {
        iVar7 = sqlite3_step((sqlite3_stmt *)val.p);
        if (iVar7 == 100) {
          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);
          pCursor[0x14].pVtab = psVar10;
          psVar10 = (sqlite3_vtab *)0x0;
          if (nByte == 0) {
            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));
          }
          pCursor[0x15].pVtab = psVar10;
          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {
            iVar7 = 0;
            do {
              psVar10 = pCursor[0x15].pVtab;
              iVar14 = iVar7 + 1;
              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);
              (&psVar10->pModule)[iVar7] = psVar11;
              iVar7 = iVar14;
            } while (iVar14 < (int)pCursor[0x14].pVtab);
          }
          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;
        }
        else {
          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);
        }
        goto LAB_000ce0d5;
      }
    }
    pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;
    iVar7 = nByte;
  }
LAB_000cdc60:
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar7;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

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

{
  undefined4 *puVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int in_GS_OFFSET;
  undefined4 local_34;
  int local_30;
  int local_2c;
  undefined4 local_28;
  undefined4 local_24;
  int local_20;
  
  iVar7 = *param_1;
  iVar6 = param_1[5];
  puVar1 = *(undefined4 **)(iVar7 + 0xc);
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar2 = puVar1[3];
  if (iVar6 == 3) {
    iVar4 = 0;
    if (param_3 == iVar2) {
      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);
    }
    goto LAB_000cdc60;
  }
  if (param_3 == iVar2) {
    FUN_00026850(param_2,param_1[3],param_1[4]);
    iVar4 = 0;
    goto LAB_000cdc60;
  }
  if (iVar2 + 1 != param_3) {
    iVar4 = 0;
    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {
      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);
      FUN_00049270(param_2,uVar5);
    }
    goto LAB_000cdc60;
  }
  if (iVar6 == 2) {
    iVar7 = param_1[0xc];
    iVar6 = puVar1[0xc];
    if (iVar7 == 0) {
      local_2c = 0;
      local_28 = 0;
      local_24 = 0;
      if ((iVar6 != 0) && (iVar6 != 2)) {
LAB_000cdf39:
        local_24 = 0;
        local_28 = 0;
        local_2c = 0;
      }
    }
    else {
      iVar2 = *(int *)(iVar7 + 0x10);
      local_2c = 0;
      local_28 = 0;
      local_24 = 0;
      if (iVar6 == 0) {
        if (1 < iVar2) {
          iVar6 = 0;
          while( true ) {
            iVar8 = 0;
            iVar9 = 0;
            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);
            iVar4 = *piVar3;
            if ((*(int *)(iVar4 + 4) == 0) &&
               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&
                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {
              iVar8 = piVar3[2];
              iVar9 = iVar8 >> 0x1f;
            }
            iVar6 = iVar6 + 1;
            FUN_0006a320(iVar8,iVar9);
            if (iVar6 == iVar2 + -1) break;
            iVar7 = param_1[0xc];
          }
        }
        iVar7 = 0;
        if (0 < iVar2) {
          do {
            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);
            iVar6 = *piVar3;
            if (*(int *)(iVar6 + 4) == 0) {
              iVar4 = *(int *)(param_1[0xc] + 8);
              iVar8 = 0;
              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&
                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {
                iVar8 = piVar3[1];
              }
            }
            else {
              iVar8 = 0;
            }
            iVar7 = iVar7 + 1;
            FUN_00069170(iVar8);
          } while (iVar2 != iVar7);
        }
      }
      else {
        if (iVar6 != 2) goto LAB_000cdf39;
        if (0 < iVar2 + -1) {
          iVar7 = 0;
          do {
            iVar7 = iVar7 + 1;
            iVar6 = FUN_000696d0(&local_34,&local_30);
            FUN_0006a320(local_30,local_30 >> 0x1f);
            if (iVar6 != 0) goto LAB_000cde38;
          } while (iVar7 != iVar2 + -1);
        }
        if (0 < iVar2) {
          iVar7 = 0;
          do {
            iVar7 = iVar7 + 1;
            iVar6 = FUN_000696d0(&local_34,&local_30);
            FUN_00069170(local_34);
            if (iVar6 != 0) break;
          } while (iVar7 < iVar2);
        }
      }
    }
LAB_000cde38:
    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);
    iVar4 = 0;
    goto LAB_000cdc60;
  }
  if ((iVar6 != 1) && (iVar4 = 0, iVar6 != 4)) goto LAB_000cdc60;
  iVar6 = param_1[0x13];
  if (iVar6 != 0) {
LAB_000cdcc8:
    param_1[0x17] = iVar6;
    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);
    param_1[0x17] = 0;
    iVar4 = 0;
    goto LAB_000cdc60;
  }
  iVar2 = param_1[0x11];
  local_30 = 0;
  if (param_1[0x12] == 0) {
LAB_000ce0dd:
    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)
        ) {
      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));
      if (iVar4 == 0) {
        param_1[0x13] = iVar6;
        iVar4 = local_30;
        if (local_30 == 0) goto LAB_000cdcc8;
        goto LAB_000cdc60;
      }
    }
    uVar5 = FUN_000728a0("no such function: %s",iVar2);
    *(undefined4 *)(iVar7 + 8) = uVar5;
    param_1[0x13] = 0;
    iVar4 = 1;
  }
  else {
    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);
    if (iVar6 == 0) {
LAB_000ce0d5:
      if (local_30 == 0) goto LAB_000ce0dd;
    }
    else {
      local_2c = 0;
      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);
      FUN_000264d0(iVar6);
      if (local_30 == 0) {
        iVar6 = FUN_000ae4d0(local_2c);
        if (iVar6 == 100) {
          iVar6 = FUN_0001d350(local_2c);
          param_1[0x14] = iVar6;
          iVar6 = 0;
          if (local_30 == 0) {
            iVar6 = FUN_00040980();
          }
          param_1[0x15] = iVar6;
          if ((local_30 == 0) && (0 < param_1[0x14])) {
            iVar6 = 0;
            do {
              iVar4 = param_1[0x15];
              iVar8 = iVar6 + 1;
              uVar5 = FUN_00039de0(local_2c,iVar6);
              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;
              iVar6 = iVar8;
            } while (iVar8 < param_1[0x14]);
          }
          param_1[0x16] = local_2c;
        }
        else {
          local_30 = FUN_0008b430(local_2c);
        }
        goto LAB_000ce0d5;
      }
    }
    param_1[0x13] = 0;
    iVar4 = local_30;
  }
LAB_000cdc60:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar4;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000f6410();
}


CALL 0x000f59f8
ADD EAX,0x7d2cf
PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0x4c
MOV ESI,dword ptr [ESP + 0x60]
MOV EBX,dword ptr [ESP + 0x68]
MOV dword ptr [ESP],EAX
MOV EAX,dword ptr [ESP + 0x64]
MOV EDI,dword ptr [ESI]
MOV ECX,dword ptr [ESI + 0x14]
MOV dword ptr [ESP + 0x4],EAX
MOV EDX,dword ptr [EDI + 0xc]
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x3c],EAX
XOR EAX,EAX
MOV EAX,dword ptr [EDX + 0xc]
CMP ECX,0x3
JZ 0x000cdc80
CMP EBX,EAX
JZ 0x000cdd40
ADD EAX,0x1
CMP EAX,EBX
JZ 0x000cdca8
XOR EBP,EBP
CMP dword ptr [EDX + 0x20],0x1
JNZ 0x000cdd00
LEA ESI,[ESI]
NOP
MOV EDI,dword ptr [ESP + 0x3c]
XOR EDI,dword ptr GS:[0x14]
MOV EAX,EBP
JNZ 0x000ce198
ADD ESP,0x4c
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR EBP,EBP
CMP EBX,EAX
JNZ 0x000cdc60
SUB ESP,0x4
PUSH dword ptr [ESI + 0x40]
PUSH dword ptr [ESI + 0x3c]
PUSH dword ptr [ESP + 0x10]
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x00026850
ADD ESP,0x10
JMP 0x000cdc60
CMP ECX,0x2
JZ 0x000cdd60
CMP ECX,0x1
JZ 0x000cdcbd
XOR EBP,EBP
CMP ECX,0x4
JNZ 0x000cdc60
MOV ECX,dword ptr [ESI + 0x4c]
TEST ECX,ECX
JZ 0x000cde60
SUB ESP,0xc
MOV dword ptr [ESI + 0x5c],ECX
XOR EBP,EBP
PUSH dword ptr [ESI + 0x54]
PUSH dword ptr [ESI + 0x50]
PUSH dword ptr [ESP + 0x18]
PUSH ESI
MOV EAX,dword ptr [ESP + 0x1c]
LEA EAX,[EAX + 0xfffff1ec]
PUSH EAX
CALL dword ptr [ECX + 0xc]
MOV dword ptr [ESI + 0x5c],0x0
ADD ESP,0x20
JMP 0x000cdc60
MOV EDX,0x1
MOV EAX,ESI
CALL 0x000ccca0
MOV EBP,EAX
TEST EAX,EAX
JNZ 0x000cdc60
SUB ESP,0x8
ADD EBX,0x1
PUSH EBX
PUSH dword ptr [ESI + 0x2c]
MOV EDI,dword ptr [ESP + 0x10]
MOV EBX,EDI
CALL 0x00039de0
POP EDX
POP ECX
PUSH EAX
PUSH dword ptr [ESP + 0x10]
CALL 0x00049270
ADD ESP,0x10
JMP 0x000cdc60
SUB ESP,0x4
PUSH dword ptr [ESI + 0x10]
XOR EBP,EBP
PUSH dword ptr [ESI + 0xc]
PUSH dword ptr [ESP + 0x10]
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x00026850
ADD ESP,0x10
JMP 0x000cdc60
MOV EDI,dword ptr [ESI + 0x30]
MOV EBP,dword ptr [EDX + 0x30]
MOV dword ptr [ESP + 0x24],0x0
TEST EDI,EDI
JZ 0x000cdf10
MOV EAX,dword ptr [EDI + 0x10]
MOV dword ptr [ESP + 0x30],0x0
MOV dword ptr [ESP + 0x34],0x0
MOV dword ptr [ESP + 0x10],EAX
MOV dword ptr [ESP + 0x38],0x0
TEST EBP,EBP
JZ 0x000cdfc0
CMP EBP,0x2
JNZ 0x000cdf39
MOV EAX,dword ptr [ESP + 0x10]
SUB EAX,0x1
MOV dword ptr [ESP + 0x14],EAX
TEST EAX,EAX
JLE 0x000cdf42
LEA EAX,[ESP + 0x30]
LEA ECX,[ESP + 0x2c]
XOR EBX,EBX
MOV dword ptr [ESP + 0xc],EAX
LEA EAX,[ESP + 0x24]
LEA EBP,[ESP + 0x28]
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,EDI
MOV EDI,ECX
JMP 0x000cdded
CMP EBX,dword ptr [ESP + 0x14]
JZ 0x000cdf42
MOV EAX,dword ptr [ESI + 0x30]
SUB ESP,0x8
MOV EDX,dword ptr [EAX + 0x14]
MOV EAX,dword ptr [EAX + 0x8]
MOV ECX,EBX
PUSH EDI
ADD EBX,0x1
PUSH EBP
CALL 0x000696d0
MOV dword ptr [ESP + 0x34],EAX
POP EAX
POP EDX
MOV EAX,dword ptr [ESP + 0x34]
CDQ
PUSH EDX
PUSH EAX
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x18]
CALL 0x0006a320
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x24]
TEST ECX,ECX
JZ 0x000cdde0
LEA ESI,[ESI]
NOP
MOV EDX,dword ptr [ESP + 0x34]
MOV EAX,dword ptr [ESP + 0x30]
MOV EDI,dword ptr [ESP]
XOR EBP,EBP
PUSH dword ptr [EDI + 0x114]
MOV EBX,EDI
PUSH EDX
PUSH EAX
PUSH dword ptr [ESP + 0x10]
CALL 0x00047bc0
ADD ESP,0x10
JMP 0x000cdc60
MOV EAX,dword ptr [ESI + 0x44]
MOV dword ptr [ESP + 0x2c],0x0
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESI + 0x48]
TEST EAX,EAX
JZ 0x000ce0dd
MOV dword ptr [ESP + 0x10],ECX
SUB ESP,0x4
MOV dword ptr [ESP + 0x10],EDX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x8]
LEA EAX,[EAX + 0xfffaf35b]
PUSH EAX
LEA EAX,[ESP + 0x38]
MOV dword ptr [ESP + 0x20],EAX
PUSH EAX
CALL 0x00072580
ADD ESP,0x10
MOV EDX,dword ptr [ESP + 0xc]
MOV ECX,dword ptr [ESP + 0x10]
TEST EAX,EAX
MOV EBP,EAX
JZ 0x000ce0d1
MOV dword ptr [ESP + 0xc],ECX
SUB ESP,0x8
MOV dword ptr [ESP + 0x38],0x0
PUSH 0x0
LEA EAX,[ESP + 0x3c]
PUSH EAX
PUSH 0x1
PUSH -0x1
PUSH EBP
PUSH dword ptr [EDX]
MOV EBX,dword ptr [ESP + 0x20]
CALL 0x000c3f90
MOV dword ptr [ESP + 0x4c],EAX
ADD ESP,0x14
PUSH EBP
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x000264d0
MOV EBP,dword ptr [ESP + 0x3c]
ADD ESP,0x10
TEST EBP,EBP
JZ 0x000ce162
MOV dword ptr [ESI + 0x4c],0x0
JMP 0x000cdc60
MOV dword ptr [ESP + 0x30],0x0
MOV dword ptr [ESP + 0x34],0x0
MOV dword ptr [ESP + 0x38],0x0
TEST EBP,EBP
JZ 0x000cde30
CMP EBP,0x2
JZ 0x000cde30
XOR EAX,EAX
XOR EDX,EDX
JMP 0x000cde38
MOV EAX,dword ptr [ESP + 0x10]
TEST EAX,EAX
JLE 0x000cde30
LEA EAX,[ESP + 0x30]
XOR EBX,EBX
LEA EDI,[ESP + 0x2c]
MOV dword ptr [ESP + 0xc],EAX
LEA EAX,[ESP + 0x24]
LEA EBP,[ESP + 0x28]
MOV dword ptr [ESP + 0x8],EAX
JMP 0x000cdf7a
CMP dword ptr [ESP + 0x10],EBX
JLE 0x000cde30
MOV EAX,dword ptr [ESI + 0x30]
SUB ESP,0x8
MOV ECX,EBX
ADD EBX,0x1
MOV EDX,dword ptr [EAX + 0x14]
MOV EAX,dword ptr [EAX + 0x8]
PUSH EDI
PUSH EBP
CALL 0x000696d0
MOV dword ptr [ESP + 0x34],EAX
POP EAX
PUSH dword ptr [ESP + 0x34]
MOV ECX,dword ptr [ESP + 0x3c]
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x18]
CALL 0x00069170
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x24]
TEST EAX,EAX
JZ 0x000cdf70
JMP 0x000cde30
MOV EAX,dword ptr [ESP + 0x10]
CMP EAX,0x1
JLE 0x000ce056
SUB EAX,0x1
XOR EBX,EBX
MOV dword ptr [ESP + 0x1c],EBP
MOV ECX,EDI
MOV dword ptr [ESP + 0x14],EAX
LEA EAX,[ESP + 0x30]
MOV dword ptr [ESP + 0xc],EAX
LEA EAX,[ESP + 0x24]
MOV dword ptr [ESP + 0x8],EAX
MOV dword ptr [ESP + 0x18],ESI
JMP 0x000cdfff
MOV EAX,dword ptr [ESP + 0x18]
MOV ECX,dword ptr [EAX + 0x30]
MOV EAX,dword ptr [ECX + 0x14]
XOR ESI,ESI
XOR EDI,EDI
MOV EDX,dword ptr [EAX + EBX*0x4]
MOV EAX,dword ptr [EDX]
MOV EBP,dword ptr [EAX + 0x4]
TEST EBP,EBP
JNZ 0x000ce030
MOV EBP,dword ptr [ECX + 0x8]
MOV ECX,dword ptr [EAX + 0x10]
MOV EAX,dword ptr [EAX + 0x14]
XOR ECX,dword ptr [EBP + 0x10]
XOR EAX,dword ptr [EBP + 0x14]
OR EAX,ECX
JNZ 0x000ce030
MOV ESI,dword ptr [EDX + 0x8]
MOV EDI,ESI
SAR EDI,0x1f
LEA ESI,[ESI]
SUB ESP,0x8
ADD EBX,0x1
PUSH EDI
PUSH ESI
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x18]
CALL 0x0006a320
ADD ESP,0x10
CMP EBX,dword ptr [ESP + 0x14]
JNZ 0x000cdff8
MOV EBP,dword ptr [ESP + 0x1c]
MOV ESI,dword ptr [ESP + 0x18]
LEA EAX,[ESP + 0x30]
MOV EDI,dword ptr [ESP + 0x10]
MOV dword ptr [ESP + 0xc],EAX
LEA EAX,[ESP + 0x24]
MOV dword ptr [ESP + 0x8],EAX
TEST EDI,EDI
JG 0x000ce0b9
JMP 0x000cde30
MOV EDX,dword ptr [EDX + 0x8]
MOV EBX,dword ptr [ECX + 0x10]
MOV EDI,dword ptr [ECX + 0x14]
XOR ECX,ECX
XOR EBX,dword ptr [EDX + 0x10]
XOR EDI,dword ptr [EDX + 0x14]
XOR EDX,EDX
OR EDI,EBX
JNZ 0x000ce098
MOV EDX,dword ptr [EAX + 0x4]
MOV ECX,dword ptr [EAX + 0x8]
LEA ESI,[ESI]
SUB ESP,0xc
ADD EBP,0x1
PUSH EDX
MOV EDX,dword ptr [ESP + 0x1c]
MOV EAX,dword ptr [ESP + 0x18]
CALL 0x00069170
ADD ESP,0x10
CMP dword ptr [ESP + 0x10],EBP
JZ 0x000cde30
MOV EDX,dword ptr [ESI + 0x30]
MOV EAX,dword ptr [EDX + 0x14]
MOV EAX,dword ptr [EAX + EBP*0x4]
MOV ECX,dword ptr [EAX]
MOV EBX,dword ptr [ECX + 0x4]
TEST EBX,EBX
JZ 0x000ce078
XOR ECX,ECX
XOR EDX,EDX
JMP 0x000ce098
MOV EBP,dword ptr [ESP + 0x2c]
TEST EBP,EBP
JNZ 0x000cdefa
MOV EAX,dword ptr [EDI + 0x18]
MOV ECX,dword ptr [EAX + 0x1c]
TEST ECX,ECX
JZ 0x000ce134
MOV dword ptr [ESP + 0xc],EDI
MOV EBP,dword ptr [ESP + 0x8]
MOV EDI,ECX
JMP 0x000ce0ff
MOV EDI,dword ptr [EDI + 0x14]
TEST EDI,EDI
JZ 0x000ce130
SUB ESP,0x8
PUSH dword ptr [EDI + 0x4]
PUSH EBP
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x00029350
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x000ce0f8
MOV EBP,dword ptr [ESP + 0x2c]
MOV ECX,EDI
MOV dword ptr [ESI + 0x4c],EDI
TEST EBP,EBP
JZ 0x000cdcc8
JMP 0x000cdc60
MOV EDI,dword ptr [ESP + 0xc]
SUB ESP,0x8
MOV EBP,0x1
PUSH dword ptr [ESP + 0x10]
MOV EBX,dword ptr [ESP + 0xc]
LEA EAX,[EBX + 0xfffaf365]
PUSH EAX
CALL 0x000728a0
ADD ESP,0x10
MOV dword ptr [EDI + 0x8],EAX
MOV dword ptr [ESI + 0x4c],0x0
JMP 0x000cdc60
SUB ESP,0xc
PUSH dword ptr [ESP + 0x3c]
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x000ae4d0
ADD ESP,0x10
CMP EAX,0x64
JZ 0x000ce19d
SUB ESP,0xc
PUSH dword ptr [ESP + 0x3c]
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x0008b430
MOV dword ptr [ESP + 0x3c],EAX
MOV EBP,EAX
ADD ESP,0x10
JMP 0x000ce0d5
CALL 0x000f6410
SUB ESP,0xc
PUSH dword ptr [ESP + 0x3c]
MOV EBX,dword ptr [ESP + 0x10]
CALL 0x0001d350
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0xc]
CMP dword ptr [ESP + 0x2c],0x0
MOV dword ptr [ESI + 0x50],EAX
JNZ 0x000ce1d0
SHL EAX,0x2
XOR ECX,ECX
MOV EDX,EAX
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x00040980
MOV ECX,EAX
MOV EAX,dword ptr [ESP + 0x2c]
MOV dword ptr [ESI + 0x54],ECX
MOV EBP,EAX
TEST EAX,EAX
JNZ 0x000ce213
CMP dword ptr [ESI + 0x50],0x0
JLE 0x000ce213
MOV dword ptr [ESP + 0xc],EDI
SUB ESP,0x8
MOV EAX,dword ptr [ESI + 0x54]
PUSH EBP
PUSH dword ptr [ESP + 0x3c]
MOV EBX,dword ptr [ESP + 0x10]
LEA EDI,[EAX + EBP*0x4]
ADD EBP,0x1
CALL 0x00039de0
ADD ESP,0x10
MOV dword ptr [EDI],EAX
CMP EBP,dword ptr [ESI + 0x50]
JL 0x000ce1e7
MOV EDI,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [ESP + 0x2c]
MOV EDX,dword ptr [ESP + 0x30]
MOV EBP,EAX
MOV dword ptr [ESI + 0x58],EDX
JMP 0x000ce0d5
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nint FUN_000cdc00(int *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  \n  iVar7 = *param_1;\n  iVar6 = param_1[5];\n  puVar1 = *(undefined4 **)(iVar7 + 0xc);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = puVar1[3];\n  if (iVar6 == 3) {\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }\n  if (param_3 == iVar2) {\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if (iVar2 + 1 != param_3) {\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }\n  if (iVar6 == 2) {\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if ((iVar6 != 1) && (iVar4 = 0, iVar6 != 4)) goto LAB_000cdc60;\n  iVar6 = param_1[0x13];\n  if (iVar6 != 0) {\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  iVar2 = param_1[0x11];\n  local_30 = 0;\n  if (param_1[0x12] == 0) {\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }\n  else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }\nLAB_000cdc60:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f6410();\n}\n\n" comment (function_definition "int FUN_000cdc00(int *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  \n  iVar7 = *param_1;\n  iVar6 = param_1[5];\n  puVar1 = *(undefined4 **)(iVar7 + 0xc);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = puVar1[3];\n  if (iVar6 == 3) {\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }\n  if (param_3 == iVar2) {\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if (iVar2 + 1 != param_3) {\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }\n  if (iVar6 == 2) {\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if ((iVar6 != 1) && (iVar4 = 0, iVar6 != 4)) goto LAB_000cdc60;\n  iVar6 = param_1[0x13];\n  if (iVar6 != 0) {\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  iVar2 = param_1[0x11];\n  local_30 = 0;\n  if (param_1[0x12] == 0) {\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }\n  else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }\nLAB_000cdc60:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f6410();\n}" primitive_type (function_declarator "FUN_000cdc00(int *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  \n  iVar7 = *param_1;\n  iVar6 = param_1[5];\n  puVar1 = *(undefined4 **)(iVar7 + 0xc);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = puVar1[3];\n  if (iVar6 == 3) {\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }\n  if (param_3 == iVar2) {\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if (iVar2 + 1 != param_3) {\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }\n  if (iVar6 == 2) {\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if ((iVar6 != 1) && (iVar4 = 0, iVar6 != 4)) goto LAB_000cdc60;\n  iVar6 = param_1[0x13];\n  if (iVar6 != 0) {\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  iVar2 = param_1[0x11];\n  local_30 = 0;\n  if (param_1[0x12] == 0) {\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }\n  else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }\nLAB_000cdc60:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_000f6410();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "iVar7 = *param_1;" (assignment_expression "iVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar6 = param_1[5];" (assignment_expression "iVar6 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "puVar1 = *(undefined4 **)(iVar7 + 0xc);" (assignment_expression "puVar1 = *(undefined4 **)(iVar7 + 0xc)" identifier = (pointer_expression "*(undefined4 **)(iVar7 + 0xc)" * (cast_expression "(undefined4 **)(iVar7 + 0xc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0xc)" ( (binary_expression "iVar7 + 0xc" 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 "iVar2 = puVar1[3];" (assignment_expression "iVar2 = puVar1[3]" identifier = (subscript_expression "puVar1[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar6 == 3) {\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(iVar6 == 3)" ( (binary_expression "iVar6 == 3" identifier == number_literal) )) (compound_statement "{\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }" if (parenthesized_expression "(param_3 == iVar2)" ( (binary_expression "param_3 == iVar2" identifier == identifier) )) (compound_statement "{\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }" { (expression_statement "FUN_00026850(param_2,param_1[0xf],param_1[0x10]);" (call_expression "FUN_00026850(param_2,param_1[0xf],param_1[0x10])" identifier (argument_list "(param_2,param_1[0xf],param_1[0x10])" ( identifier , (subscript_expression "param_1[0xf]" identifier [ number_literal ]) , (subscript_expression "param_1[0x10]" identifier [ number_literal ]) ))) ;) })) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (if_statement "if (param_3 == iVar2) {\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(param_3 == iVar2)" ( (binary_expression "param_3 == iVar2" identifier == identifier) )) (compound_statement "{\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" { (expression_statement "FUN_00026850(param_2,param_1[3],param_1[4]);" (call_expression "FUN_00026850(param_2,param_1[3],param_1[4])" identifier (argument_list "(param_2,param_1[3],param_1[4])" ( identifier , (subscript_expression "param_1[3]" identifier [ number_literal ]) , (subscript_expression "param_1[4]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (if_statement "if (iVar2 + 1 != param_3) {\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(iVar2 + 1 != param_3)" ( (binary_expression "iVar2 + 1 != param_3" (binary_expression "iVar2 + 1" identifier + number_literal) != identifier) )) (compound_statement "{\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }" if (parenthesized_expression "((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0))" ( (binary_expression "(puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)" (parenthesized_expression "(puVar1[8] != 1)" ( (binary_expression "puVar1[8] != 1" (subscript_expression "puVar1[8]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar4 = FUN_000ccca0(), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_000ccca0(), iVar4 == 0" (assignment_expression "iVar4 = FUN_000ccca0()" identifier = (call_expression "FUN_000ccca0()" identifier (argument_list "()" ( )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }" { (expression_statement "uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);" (assignment_expression "uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1)" identifier = (call_expression "FUN_00039de0(param_1[0xb],param_3 + 1)" identifier (argument_list "(param_1[0xb],param_3 + 1)" ( (subscript_expression "param_1[0xb]" identifier [ number_literal ]) , (binary_expression "param_3 + 1" identifier + number_literal) )))) ;) (expression_statement "FUN_00049270(param_2,uVar5);" (call_expression "FUN_00049270(param_2,uVar5)" identifier (argument_list "(param_2,uVar5)" ( identifier , identifier ))) ;) })) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (if_statement "if (iVar6 == 2) {\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(iVar6 == 2)" ( (binary_expression "iVar6 == 2" identifier == number_literal) )) (compound_statement "{\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" { (expression_statement "iVar7 = param_1[0xc];" (assignment_expression "iVar7 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = puVar1[0xc];" (assignment_expression "iVar6 = puVar1[0xc]" identifier = (subscript_expression "puVar1[0xc]" identifier [ number_literal ])) ;) (if_statement "if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (if_statement "if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }" if (parenthesized_expression "((iVar6 != 0) && (iVar6 != 2))" ( (binary_expression "(iVar6 != 0) && (iVar6 != 2)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar6 != 2)" ( (binary_expression "iVar6 != 2" identifier != number_literal) ))) )) (compound_statement "{\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }" { (labeled_statement "LAB_000cdf39:\n        local_24 = 0;" statement_identifier : (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;)) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) })) }) (else_clause "else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }" else (compound_statement "{\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }" { (expression_statement "iVar2 = *(int *)(iVar7 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar7 + 0x10)" identifier = (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (if_statement "if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }" { (if_statement "if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }" if (parenthesized_expression "(1 < iVar2)" ( (binary_expression "1 < iVar2" number_literal < identifier) )) (compound_statement "{\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);" (assignment_expression "piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4)" identifier = (pointer_expression "*(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4)" * (cast_expression "(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar7 + 0x14) + iVar6 * 4)" ( (binary_expression "*(int *)(iVar7 + 0x14) + iVar6 * 4" (pointer_expression "*(int *)(iVar7 + 0x14)" * (cast_expression "(int *)(iVar7 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x14)" ( (binary_expression "iVar7 + 0x14" identifier + number_literal) )))) + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar4 = *piVar3;" (assignment_expression "iVar4 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }" if (parenthesized_expression "((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10)))" ( (binary_expression "(*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))" (parenthesized_expression "(*(int *)(iVar4 + 4) == 0)" ( (binary_expression "*(int *)(iVar4 + 4) == 0" (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))" ( (binary_expression "*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10)" (binary_expression "*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14)" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) == (pointer_expression "*(int *)(*(int *)(iVar7 + 8) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar7 + 8) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar7 + 8) + 0x14)" ( (binary_expression "*(int *)(iVar7 + 8) + 0x14" (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) + number_literal) ))))) && (binary_expression "*(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10)" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) == (pointer_expression "*(int *)(*(int *)(iVar7 + 8) + 0x10)" * (cast_expression "(int *)(*(int *)(iVar7 + 8) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar7 + 8) + 0x10)" ( (binary_expression "*(int *)(iVar7 + 8) + 0x10" (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) + number_literal) )))))) ))) )) (compound_statement "{\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }" { (expression_statement "iVar8 = piVar3[2];" (assignment_expression "iVar8 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = iVar8 >> 0x1f;" (assignment_expression "iVar9 = iVar8 >> 0x1f" identifier = (binary_expression "iVar8 >> 0x1f" identifier >> number_literal)) ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0006a320(iVar8,iVar9);" (call_expression "FUN_0006a320(iVar8,iVar9)" identifier (argument_list "(iVar8,iVar9)" ( identifier , identifier ))) ;) (if_statement "if (iVar6 == iVar2 + -1) break;" if (parenthesized_expression "(iVar6 == iVar2 + -1)" ( (binary_expression "iVar6 == iVar2 + -1" identifier == (binary_expression "iVar2 + -1" identifier + number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = param_1[0xc];" (assignment_expression "iVar7 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) })) })) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }" { (do_statement "do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);" do (compound_statement "{\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          }" { (expression_statement "piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);" (assignment_expression "piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4)" identifier = (pointer_expression "*(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4)" * (cast_expression "(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4)" ( (binary_expression "*(int *)(param_1[0xc] + 0x14) + iVar7 * 4" (pointer_expression "*(int *)(param_1[0xc] + 0x14)" * (cast_expression "(int *)(param_1[0xc] + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xc] + 0x14)" ( (binary_expression "param_1[0xc] + 0x14" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) )))) + (binary_expression "iVar7 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar6 = *piVar3;" (assignment_expression "iVar6 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }" if (parenthesized_expression "(*(int *)(iVar6 + 4) == 0)" ( (binary_expression "*(int *)(iVar6 + 4) == 0" (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }" { (expression_statement "iVar4 = *(int *)(param_1[0xc] + 8);" (assignment_expression "iVar4 = *(int *)(param_1[0xc] + 8)" identifier = (pointer_expression "*(int *)(param_1[0xc] + 8)" * (cast_expression "(int *)(param_1[0xc] + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xc] + 8)" ( (binary_expression "param_1[0xc] + 8" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }" if (parenthesized_expression "(*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10))" ( (binary_expression "*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)" (binary_expression "*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14)" (pointer_expression "*(int *)(iVar6 + 0x14)" * (cast_expression "(int *)(iVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) )))) == (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) && (binary_expression "*(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)" (pointer_expression "*(int *)(iVar6 + 0x10)" * (cast_expression "(int *)(iVar6 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) == (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))))) )) (compound_statement "{\n                iVar8 = piVar3[1];\n              }" { (expression_statement "iVar8 = piVar3[1];" (assignment_expression "iVar8 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) })) }) (else_clause "else {\n              iVar8 = 0;\n            }" else (compound_statement "{\n              iVar8 = 0;\n            }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) }))) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00069170(iVar8);" (call_expression "FUN_00069170(iVar8)" identifier (argument_list "(iVar8)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar2 != iVar7)" ( (binary_expression "iVar2 != iVar7" identifier != identifier) )) ;) })) }) (else_clause "else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }" else (compound_statement "{\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }" { (if_statement "if (iVar6 != 2) goto LAB_000cdf39;" if (parenthesized_expression "(iVar6 != 2)" ( (binary_expression "iVar6 != 2" identifier != number_literal) )) (goto_statement "goto LAB_000cdf39;" goto statement_identifier ;)) (if_statement "if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }" if (parenthesized_expression "(0 < iVar2 + -1)" ( (binary_expression "0 < iVar2 + -1" number_literal < (binary_expression "iVar2 + -1" identifier + number_literal)) )) (compound_statement "{\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);" do (compound_statement "{\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = FUN_000696d0(&local_34,&local_30);" (assignment_expression "iVar6 = FUN_000696d0(&local_34,&local_30)" identifier = (call_expression "FUN_000696d0(&local_34,&local_30)" identifier (argument_list "(&local_34,&local_30)" ( (pointer_expression "&local_34" & identifier) , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "FUN_0006a320(local_30,local_30 >> 0x1f);" (call_expression "FUN_0006a320(local_30,local_30 >> 0x1f)" identifier (argument_list "(local_30,local_30 >> 0x1f)" ( identifier , (binary_expression "local_30 >> 0x1f" identifier >> number_literal) ))) ;) (if_statement "if (iVar6 != 0) goto LAB_000cde38;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000cde38;" goto statement_identifier ;)) }) while (parenthesized_expression "(iVar7 != iVar2 + -1)" ( (binary_expression "iVar7 != iVar2 + -1" identifier != (binary_expression "iVar2 + -1" identifier + number_literal)) )) ;) })) (if_statement "if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);" do (compound_statement "{\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = FUN_000696d0(&local_34,&local_30);" (assignment_expression "iVar6 = FUN_000696d0(&local_34,&local_30)" identifier = (call_expression "FUN_000696d0(&local_34,&local_30)" identifier (argument_list "(&local_34,&local_30)" ( (pointer_expression "&local_34" & identifier) , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "FUN_00069170(local_34);" (call_expression "FUN_00069170(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) (if_statement "if (iVar6 != 0) break;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(iVar7 < iVar2)" ( (binary_expression "iVar7 < iVar2" identifier < identifier) )) ;) })) }))) }))) (labeled_statement "LAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);" statement_identifier : (expression_statement "FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);" (call_expression "FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8)" identifier (argument_list "(param_2,local_2c,local_28,PTR_FUN_0014afe8)" ( identifier , identifier , identifier , identifier ))) ;)) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (if_statement "if ((iVar6 != 1) && (iVar4 = 0, iVar6 != 4)) goto LAB_000cdc60;" if (parenthesized_expression "((iVar6 != 1) && (iVar4 = 0, iVar6 != 4))" ( (binary_expression "(iVar6 != 1) && (iVar4 = 0, iVar6 != 4)" (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) && (parenthesized_expression "(iVar4 = 0, iVar6 != 4)" ( (comma_expression "iVar4 = 0, iVar6 != 4" (assignment_expression "iVar4 = 0" identifier = number_literal) , (binary_expression "iVar6 != 4" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;)) (expression_statement "iVar6 = param_1[0x13];" (assignment_expression "iVar6 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) (if_statement "if (iVar6 != 0) {\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" { (labeled_statement "LAB_000cdcc8:\n    param_1[0x17] = iVar6;" statement_identifier : (expression_statement "param_1[0x17] = iVar6;" (assignment_expression "param_1[0x17] = iVar6" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "(**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);" (call_expression "(**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15])" (parenthesized_expression "(**(code **)(iVar6 + 0xc))" ( (pointer_expression "**(code **)(iVar6 + 0xc)" * (pointer_expression "*(code **)(iVar6 + 0xc)" * (cast_expression "(code **)(iVar6 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) ))))) )) (argument_list "(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15])" ( (pointer_expression "&DAT_0014a0c0" & identifier) , identifier , identifier , (subscript_expression "param_1[0x14]" identifier [ number_literal ]) , (subscript_expression "param_1[0x15]" identifier [ number_literal ]) ))) ;) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (expression_statement "iVar2 = param_1[0x11];" (assignment_expression "iVar2 = param_1[0x11]" identifier = (subscript_expression "param_1[0x11]" identifier [ number_literal ])) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (if_statement "if (param_1[0x12] == 0) {\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }\n  else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }" if (parenthesized_expression "(param_1[0x12] == 0)" ( (binary_expression "param_1[0x12] == 0" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }" { (labeled_statement "LAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }" statement_identifier : (for_statement "for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }" for ( (assignment_expression "iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c)" identifier = (pointer_expression "*(int *)(*(int *)(iVar7 + 0x18) + 0x1c)" * (cast_expression "(int *)(*(int *)(iVar7 + 0x18) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar7 + 0x18) + 0x1c)" ( (binary_expression "*(int *)(iVar7 + 0x18) + 0x1c" (pointer_expression "*(int *)(iVar7 + 0x18)" * (cast_expression "(int *)(iVar7 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x18)" ( (binary_expression "iVar7 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ; (binary_expression "iVar6 != 0" identifier != number_literal) ; (assignment_expression "iVar6 = *(int *)(iVar6 + 0x14)" identifier = (pointer_expression "*(int *)(iVar6 + 0x14)" * (cast_expression "(int *)(iVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) ))))) ) (compound_statement "{\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }" { (expression_statement "iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));" (assignment_expression "iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4))" identifier = (call_expression "FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4))" identifier (argument_list "(iVar2,*(undefined4 *)(iVar6 + 4))" ( identifier , (pointer_expression "*(undefined4 *)(iVar6 + 4)" * (cast_expression "(undefined4 *)(iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }" { (expression_statement "param_1[0x13] = iVar6;" (assignment_expression "param_1[0x13] = iVar6" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" identifier = identifier) ;) (if_statement "if (local_30 == 0) goto LAB_000cdcc8;" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000cdcc8;" goto statement_identifier ;)) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) }))) (expression_statement "uVar5 = FUN_000728a0("no such function: %s",iVar2);" (assignment_expression "uVar5 = FUN_000728a0("no such function: %s",iVar2)" identifier = (call_expression "FUN_000728a0("no such function: %s",iVar2)" identifier (argument_list "("no such function: %s",iVar2)" ( (string_literal ""no such function: %s"" " string_content ") , identifier )))) ;) (expression_statement "*(undefined4 *)(iVar7 + 8) = uVar5;" (assignment_expression "*(undefined4 *)(iVar7 + 8) = uVar5" (pointer_expression "*(undefined4 *)(iVar7 + 8)" * (cast_expression "(undefined4 *)(iVar7 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[0x13] = 0;" (assignment_expression "param_1[0x13] = 0" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }" else (compound_statement "{\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }" { (expression_statement "iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);" (assignment_expression "iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12])" identifier = (call_expression "FUN_00072580(&local_30,"SELECT %s",param_1[0x12])" identifier (argument_list "(&local_30,"SELECT %s",param_1[0x12])" ( (pointer_expression "&local_30" & identifier) , (string_literal ""SELECT %s"" " string_content ") , (subscript_expression "param_1[0x12]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }" { (labeled_statement "LAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;" statement_identifier : (if_statement "if (local_30 == 0) goto LAB_000ce0dd;" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000ce0dd;" goto statement_identifier ;))) }) (else_clause "else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }" else (compound_statement "{\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);" (assignment_expression "local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0)" identifier = (call_expression "FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0)" identifier (argument_list "(*puVar1,iVar6,0xffffffff,1,&local_2c,0)" ( (pointer_expression "*puVar1" * identifier) , identifier , number_literal , number_literal , (pointer_expression "&local_2c" & identifier) , number_literal )))) ;) (expression_statement "FUN_000264d0(iVar6);" (call_expression "FUN_000264d0(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) (if_statement "if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }" { (expression_statement "iVar6 = FUN_000ae4d0(local_2c);" (assignment_expression "iVar6 = FUN_000ae4d0(local_2c)" identifier = (call_expression "FUN_000ae4d0(local_2c)" identifier (argument_list "(local_2c)" ( identifier )))) ;) (if_statement "if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }" if (parenthesized_expression "(iVar6 == 100)" ( (binary_expression "iVar6 == 100" identifier == number_literal) )) (compound_statement "{\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }" { (expression_statement "iVar6 = FUN_0001d350(local_2c);" (assignment_expression "iVar6 = FUN_0001d350(local_2c)" identifier = (call_expression "FUN_0001d350(local_2c)" identifier (argument_list "(local_2c)" ( identifier )))) ;) (expression_statement "param_1[0x14] = iVar6;" (assignment_expression "param_1[0x14] = iVar6" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar6 = FUN_00040980();\n          }" { (expression_statement "iVar6 = FUN_00040980();" (assignment_expression "iVar6 = FUN_00040980()" identifier = (call_expression "FUN_00040980()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "param_1[0x15] = iVar6;" (assignment_expression "param_1[0x15] = iVar6" (subscript_expression "param_1[0x15]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }" if (parenthesized_expression "((local_30 == 0) && (0 < param_1[0x14]))" ( (binary_expression "(local_30 == 0) && (0 < param_1[0x14])" (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) && (parenthesized_expression "(0 < param_1[0x14])" ( (binary_expression "0 < param_1[0x14]" number_literal < (subscript_expression "param_1[0x14]" identifier [ number_literal ])) ))) )) (compound_statement "{\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);" do (compound_statement "{\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            }" { (expression_statement "iVar4 = param_1[0x15];" (assignment_expression "iVar4 = param_1[0x15]" identifier = (subscript_expression "param_1[0x15]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = iVar6 + 1;" (assignment_expression "iVar8 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = FUN_00039de0(local_2c,iVar6);" (assignment_expression "uVar5 = FUN_00039de0(local_2c,iVar6)" identifier = (call_expression "FUN_00039de0(local_2c,iVar6)" identifier (argument_list "(local_2c,iVar6)" ( identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;" (assignment_expression "*(undefined4 *)(iVar4 + iVar6 * 4) = uVar5" (pointer_expression "*(undefined4 *)(iVar4 + iVar6 * 4)" * (cast_expression "(undefined4 *)(iVar4 + iVar6 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar6 * 4)" ( (binary_expression "iVar4 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar6 = iVar8;" (assignment_expression "iVar6 = iVar8" identifier = identifier) ;) }) while (parenthesized_expression "(iVar8 < param_1[0x14])" ( (binary_expression "iVar8 < param_1[0x14]" identifier < (subscript_expression "param_1[0x14]" identifier [ number_literal ])) )) ;) })) (expression_statement "param_1[0x16] = local_2c;" (assignment_expression "param_1[0x16] = local_2c" (subscript_expression "param_1[0x16]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          local_30 = FUN_0008b430(local_2c);\n        }" else (compound_statement "{\n          local_30 = FUN_0008b430(local_2c);\n        }" { (expression_statement "local_30 = FUN_0008b430(local_2c);" (assignment_expression "local_30 = FUN_0008b430(local_2c)" identifier = (call_expression "FUN_0008b430(local_2c)" identifier (argument_list "(local_2c)" ( identifier )))) ;) }))) (goto_statement "goto LAB_000ce0d5;" goto statement_identifier ;) })) }))) (expression_statement "param_1[0x13] = 0;" (assignment_expression "param_1[0x13] = 0" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" identifier = identifier) ;) }))) (labeled_statement "LAB_000cdc60:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\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 iVar4;\n  }" { (return_statement "return iVar4;" return identifier ;) }))) comment (expression_statement "FUN_000f6410();" (call_expression "FUN_000f6410()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\nint fts5ColumnMethod(sqlite3_vtab_cursor *pCursor,sqlite3_context *pCtx,int iCol)\n\n{\n  int iVar1;\n  _func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *p_Var2;\n  _func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *p_Var3;\n  sqlite3_vtab *zLeft;\n  int iVar4;\n  int *piVar5;\n  undefined **ppuVar6;\n  int iVar7;\n  sqlite3_value *pValue;\n  sqlite3_vtab *psVar8;\n  char *pcVar9;\n  sqlite3_vtab *psVar10;\n  sqlite3_module *psVar11;\n  u32 nData;\n  u8 *pData;\n  u8 **ppuVar12;\n  u8 **ppuVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int in_GS_OFFSET;\n  undefined **ppuVar17;\n  int rc;\n  u8 *dummy;\n  int nByte;\n  Fts5Buffer val;\n  \n  ppuVar6 = &_GLOBAL_OFFSET_TABLE_;\n  psVar8 = pCursor->pVtab;\n  psVar10 = pCursor[5].pVtab;\n  psVar11 = psVar8[1].pModule;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  p_Var2 = psVar11->xBestIndex;\n  if (psVar10 == (sqlite3_vtab *)0x3) {\n    iVar7 = 0;\n    if ((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2) {\n      sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 0xf));\n    }\n    goto LAB_000cdc60;\n  }\n  if ((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2) {\n    sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 3));\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }\n  if (p_Var2 + 1 != (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol) {\n    iVar7 = 0;\n    if ((psVar11->xFilter !=\n         (_func_int_sqlite3_vtab_cursor_ptr_int_char_ptr_int_sqlite3_value_ptr_ptr *)0x1) &&\n       (iVar7 = fts5SeekCursor((Fts5Cursor *)pCursor,1), iVar7 == 0)) {\n      pValue = sqlite3_column_value((sqlite3_stmt *)pCursor[0xb].pVtab,iCol + 1);\n      sqlite3_result_value(pCtx,pValue);\n    }\n    goto LAB_000cdc60;\n  }\n  if (psVar10 == (sqlite3_vtab *)0x2) {\n    psVar8 = pCursor[0xc].pVtab;\n    p_Var3 = psVar11->xRowid;\n    rc = 0;\n    if (psVar8 == (sqlite3_vtab *)0x0) {\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      ppuVar17 = ppuVar6;\n      if ((p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) &&\n         (ppuVar17 = &_GLOBAL_OFFSET_TABLE_,\n         p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2)) {\nLAB_000cdf39:\n        val.nSpace = 0;\n        val.n = 0;\n        val.p = (u8 *)0x0;\n        ppuVar17 = ppuVar6;\n      }\n    }\n    else {\n      iVar7 = psVar8[1].nRef;\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      if (p_Var3 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) {\n        if (1 < iVar7) {\n          iVar14 = 0;\n          while( true ) {\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }\n        }\n        iVar14 = 0;\n        ppuVar17 = ppuVar6;\n        if (0 < iVar7) {\n          do {\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          } while (iVar7 != iVar14);\n        }\n      }\n      else {\n        if (p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2) goto LAB_000cdf39;\n        if (iVar7 + -1 < 1) {\nLAB_000cdf42:\n          ppuVar17 = ppuVar6;\n          if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }\n        }\n        else {\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }\n      }\n    }\n    sqlite3_result_blob(pCtx,val.p,val.n,(_func_void_void_ptr *)ppuVar17[0x45]);\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }\n  if ((psVar10 != (sqlite3_vtab *)0x1) && (iVar7 = 0, psVar10 != (sqlite3_vtab *)&DAT_00000004))\n  goto LAB_000cdc60;\n  psVar10 = pCursor[0x13].pVtab;\n  if (psVar10 != (sqlite3_vtab *)0x0) {\nLAB_000cdcc8:\n    pCursor[0x17].pVtab = psVar10;\n    (*(code *)psVar10[1].pModule)\n              (ppuVar6 + -0x385,pCursor,pCtx,pCursor[0x14].pVtab,pCursor[0x15].pVtab);\n    pCursor[0x17].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }\n  zLeft = pCursor[0x11].pVtab;\n  nByte = 0;\n  if (pCursor[0x12].pVtab == (sqlite3_vtab *)0x0) {\nLAB_000ce0dd:\n    for (psVar10 = (sqlite3_vtab *)(psVar8[2].pModule)->xClose; psVar10 != (sqlite3_vtab *)0x0;\n        psVar10 = (sqlite3_vtab *)psVar10[1].zErrMsg) {\n      iVar7 = sqlite3_stricmp((char *)zLeft,(char *)psVar10->nRef);\n      if (iVar7 == 0) {\n        pCursor[0x13].pVtab = psVar10;\n        iVar7 = nByte;\n        if (nByte == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    pcVar9 = sqlite3_mprintf((char *)((int)ppuVar6 + -0x50c9b),zLeft);\n    psVar8->zErrMsg = pcVar9;\n    pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = 1;\n  }\n  else {\n    pcVar9 = sqlite3Fts5Mprintf(&nByte,"SELECT %s",pCursor[0x12].pVtab);\n    if (pcVar9 == (char *)0x0) {\nLAB_000ce0d5:\n      if (nByte == 0) goto LAB_000ce0dd;\n    }\n    else {\n      val.p = (u8 *)0x0;\n      nByte = sqlite3_prepare_v3((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,\n                                 (char **)0x0);\n      sqlite3_free(pcVar9);\n      if (nByte == 0) {\n        iVar7 = sqlite3_step((sqlite3_stmt *)val.p);\n        if (iVar7 == 100) {\n          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);\n          pCursor[0x14].pVtab = psVar10;\n          psVar10 = (sqlite3_vtab *)0x0;\n          if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }\n          pCursor[0x15].pVtab = psVar10;\n          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }\n          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;\n        }\n        else {\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = nByte;\n  }\nLAB_000cdc60:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar7;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "int fts5ColumnMethod(sqlite3_vtab_cursor *pCursor,sqlite3_context *pCtx,int iCol)\n\n{\n  int iVar1;\n  _func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *p_Var2;\n  _func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *p_Var3;\n  sqlite3_vtab *zLeft;\n  int iVar4;\n  int *piVar5;\n  undefined **ppuVar6;\n  int iVar7;\n  sqlite3_value *pValue;\n  sqlite3_vtab *psVar8;\n  char *pcVar9;\n  sqlite3_vtab *psVar10;\n  sqlite3_module *psVar11;\n  u32 nData;\n  u8 *pData;\n  u8 **ppuVar12;\n  u8 **ppuVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int in_GS_OFFSET;\n  undefined **ppuVar17;\n  int rc;\n  u8 *dummy;\n  int nByte;\n  Fts5Buffer val;\n  \n  ppuVar6 = &_GLOBAL_OFFSET_TABLE_;\n  psVar8 = pCursor->pVtab;\n  psVar10 = pCursor[5].pVtab;\n  psVar11 = psVar8[1].pModule;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  p_Var2 = psVar11->xBestIndex;\n  if (psVar10 == (sqlite3_vtab *)0x3) {\n    iVar7 = 0;\n    if ((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2) {\n      sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 0xf));\n    }\n    goto LAB_000cdc60;\n  }\n  if ((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2) {\n    sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 3));\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }\n  if (p_Var2 + 1 != (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol) {\n    iVar7 = 0;\n    if ((psVar11->xFilter !=\n         (_func_int_sqlite3_vtab_cursor_ptr_int_char_ptr_int_sqlite3_value_ptr_ptr *)0x1) &&\n       (iVar7 = fts5SeekCursor((Fts5Cursor *)pCursor,1), iVar7 == 0)) {\n      pValue = sqlite3_column_value((sqlite3_stmt *)pCursor[0xb].pVtab,iCol + 1);\n      sqlite3_result_value(pCtx,pValue);\n    }\n    goto LAB_000cdc60;\n  }\n  if (psVar10 == (sqlite3_vtab *)0x2) {\n    psVar8 = pCursor[0xc].pVtab;\n    p_Var3 = psVar11->xRowid;\n    rc = 0;\n    if (psVar8 == (sqlite3_vtab *)0x0) {\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      ppuVar17 = ppuVar6;\n      if ((p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) &&\n         (ppuVar17 = &_GLOBAL_OFFSET_TABLE_,\n         p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2)) {\nLAB_000cdf39:\n        val.nSpace = 0;\n        val.n = 0;\n        val.p = (u8 *)0x0;\n        ppuVar17 = ppuVar6;\n      }\n    }\n    else {\n      iVar7 = psVar8[1].nRef;\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      if (p_Var3 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) {\n        if (1 < iVar7) {\n          iVar14 = 0;\n          while( true ) {\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }\n        }\n        iVar14 = 0;\n        ppuVar17 = ppuVar6;\n        if (0 < iVar7) {\n          do {\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          } while (iVar7 != iVar14);\n        }\n      }\n      else {\n        if (p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2) goto LAB_000cdf39;\n        if (iVar7 + -1 < 1) {\nLAB_000cdf42:\n          ppuVar17 = ppuVar6;\n          if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }\n        }\n        else {\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }\n      }\n    }\n    sqlite3_result_blob(pCtx,val.p,val.n,(_func_void_void_ptr *)ppuVar17[0x45]);\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }\n  if ((psVar10 != (sqlite3_vtab *)0x1) && (iVar7 = 0, psVar10 != (sqlite3_vtab *)&DAT_00000004))\n  goto LAB_000cdc60;\n  psVar10 = pCursor[0x13].pVtab;\n  if (psVar10 != (sqlite3_vtab *)0x0) {\nLAB_000cdcc8:\n    pCursor[0x17].pVtab = psVar10;\n    (*(code *)psVar10[1].pModule)\n              (ppuVar6 + -0x385,pCursor,pCtx,pCursor[0x14].pVtab,pCursor[0x15].pVtab);\n    pCursor[0x17].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }\n  zLeft = pCursor[0x11].pVtab;\n  nByte = 0;\n  if (pCursor[0x12].pVtab == (sqlite3_vtab *)0x0) {\nLAB_000ce0dd:\n    for (psVar10 = (sqlite3_vtab *)(psVar8[2].pModule)->xClose; psVar10 != (sqlite3_vtab *)0x0;\n        psVar10 = (sqlite3_vtab *)psVar10[1].zErrMsg) {\n      iVar7 = sqlite3_stricmp((char *)zLeft,(char *)psVar10->nRef);\n      if (iVar7 == 0) {\n        pCursor[0x13].pVtab = psVar10;\n        iVar7 = nByte;\n        if (nByte == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    pcVar9 = sqlite3_mprintf((char *)((int)ppuVar6 + -0x50c9b),zLeft);\n    psVar8->zErrMsg = pcVar9;\n    pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = 1;\n  }\n  else {\n    pcVar9 = sqlite3Fts5Mprintf(&nByte,"SELECT %s",pCursor[0x12].pVtab);\n    if (pcVar9 == (char *)0x0) {\nLAB_000ce0d5:\n      if (nByte == 0) goto LAB_000ce0dd;\n    }\n    else {\n      val.p = (u8 *)0x0;\n      nByte = sqlite3_prepare_v3((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,\n                                 (char **)0x0);\n      sqlite3_free(pcVar9);\n      if (nByte == 0) {\n        iVar7 = sqlite3_step((sqlite3_stmt *)val.p);\n        if (iVar7 == 100) {\n          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);\n          pCursor[0x14].pVtab = psVar10;\n          psVar10 = (sqlite3_vtab *)0x0;\n          if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }\n          pCursor[0x15].pVtab = psVar10;\n          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }\n          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;\n        }\n        else {\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = nByte;\n  }\nLAB_000cdc60:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar7;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" primitive_type (function_declarator "fts5ColumnMethod(sqlite3_vtab_cursor *pCursor,sqlite3_context *pCtx,int iCol)" identifier (parameter_list "(sqlite3_vtab_cursor *pCursor,sqlite3_context *pCtx,int iCol)" ( (parameter_declaration "sqlite3_vtab_cursor *pCursor" type_identifier (pointer_declarator "*pCursor" * identifier)) , (parameter_declaration "sqlite3_context *pCtx" type_identifier (pointer_declarator "*pCtx" * identifier)) , (parameter_declaration "int iCol" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  _func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *p_Var2;\n  _func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *p_Var3;\n  sqlite3_vtab *zLeft;\n  int iVar4;\n  int *piVar5;\n  undefined **ppuVar6;\n  int iVar7;\n  sqlite3_value *pValue;\n  sqlite3_vtab *psVar8;\n  char *pcVar9;\n  sqlite3_vtab *psVar10;\n  sqlite3_module *psVar11;\n  u32 nData;\n  u8 *pData;\n  u8 **ppuVar12;\n  u8 **ppuVar13;\n  int iVar14;\n  int iVar15;\n  int iVar16;\n  int in_GS_OFFSET;\n  undefined **ppuVar17;\n  int rc;\n  u8 *dummy;\n  int nByte;\n  Fts5Buffer val;\n  \n  ppuVar6 = &_GLOBAL_OFFSET_TABLE_;\n  psVar8 = pCursor->pVtab;\n  psVar10 = pCursor[5].pVtab;\n  psVar11 = psVar8[1].pModule;\n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  p_Var2 = psVar11->xBestIndex;\n  if (psVar10 == (sqlite3_vtab *)0x3) {\n    iVar7 = 0;\n    if ((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2) {\n      sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 0xf));\n    }\n    goto LAB_000cdc60;\n  }\n  if ((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2) {\n    sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 3));\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }\n  if (p_Var2 + 1 != (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol) {\n    iVar7 = 0;\n    if ((psVar11->xFilter !=\n         (_func_int_sqlite3_vtab_cursor_ptr_int_char_ptr_int_sqlite3_value_ptr_ptr *)0x1) &&\n       (iVar7 = fts5SeekCursor((Fts5Cursor *)pCursor,1), iVar7 == 0)) {\n      pValue = sqlite3_column_value((sqlite3_stmt *)pCursor[0xb].pVtab,iCol + 1);\n      sqlite3_result_value(pCtx,pValue);\n    }\n    goto LAB_000cdc60;\n  }\n  if (psVar10 == (sqlite3_vtab *)0x2) {\n    psVar8 = pCursor[0xc].pVtab;\n    p_Var3 = psVar11->xRowid;\n    rc = 0;\n    if (psVar8 == (sqlite3_vtab *)0x0) {\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      ppuVar17 = ppuVar6;\n      if ((p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) &&\n         (ppuVar17 = &_GLOBAL_OFFSET_TABLE_,\n         p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2)) {\nLAB_000cdf39:\n        val.nSpace = 0;\n        val.n = 0;\n        val.p = (u8 *)0x0;\n        ppuVar17 = ppuVar6;\n      }\n    }\n    else {\n      iVar7 = psVar8[1].nRef;\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      if (p_Var3 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) {\n        if (1 < iVar7) {\n          iVar14 = 0;\n          while( true ) {\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }\n        }\n        iVar14 = 0;\n        ppuVar17 = ppuVar6;\n        if (0 < iVar7) {\n          do {\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          } while (iVar7 != iVar14);\n        }\n      }\n      else {\n        if (p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2) goto LAB_000cdf39;\n        if (iVar7 + -1 < 1) {\nLAB_000cdf42:\n          ppuVar17 = ppuVar6;\n          if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }\n        }\n        else {\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }\n      }\n    }\n    sqlite3_result_blob(pCtx,val.p,val.n,(_func_void_void_ptr *)ppuVar17[0x45]);\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }\n  if ((psVar10 != (sqlite3_vtab *)0x1) && (iVar7 = 0, psVar10 != (sqlite3_vtab *)&DAT_00000004))\n  goto LAB_000cdc60;\n  psVar10 = pCursor[0x13].pVtab;\n  if (psVar10 != (sqlite3_vtab *)0x0) {\nLAB_000cdcc8:\n    pCursor[0x17].pVtab = psVar10;\n    (*(code *)psVar10[1].pModule)\n              (ppuVar6 + -0x385,pCursor,pCtx,pCursor[0x14].pVtab,pCursor[0x15].pVtab);\n    pCursor[0x17].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }\n  zLeft = pCursor[0x11].pVtab;\n  nByte = 0;\n  if (pCursor[0x12].pVtab == (sqlite3_vtab *)0x0) {\nLAB_000ce0dd:\n    for (psVar10 = (sqlite3_vtab *)(psVar8[2].pModule)->xClose; psVar10 != (sqlite3_vtab *)0x0;\n        psVar10 = (sqlite3_vtab *)psVar10[1].zErrMsg) {\n      iVar7 = sqlite3_stricmp((char *)zLeft,(char *)psVar10->nRef);\n      if (iVar7 == 0) {\n        pCursor[0x13].pVtab = psVar10;\n        iVar7 = nByte;\n        if (nByte == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    pcVar9 = sqlite3_mprintf((char *)((int)ppuVar6 + -0x50c9b),zLeft);\n    psVar8->zErrMsg = pcVar9;\n    pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = 1;\n  }\n  else {\n    pcVar9 = sqlite3Fts5Mprintf(&nByte,"SELECT %s",pCursor[0x12].pVtab);\n    if (pcVar9 == (char *)0x0) {\nLAB_000ce0d5:\n      if (nByte == 0) goto LAB_000ce0dd;\n    }\n    else {\n      val.p = (u8 *)0x0;\n      nByte = sqlite3_prepare_v3((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,\n                                 (char **)0x0);\n      sqlite3_free(pcVar9);\n      if (nByte == 0) {\n        iVar7 = sqlite3_step((sqlite3_stmt *)val.p);\n        if (iVar7 == 100) {\n          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);\n          pCursor[0x14].pVtab = psVar10;\n          psVar10 = (sqlite3_vtab *)0x0;\n          if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }\n          pCursor[0x15].pVtab = psVar10;\n          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }\n          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;\n        }\n        else {\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = nByte;\n  }\nLAB_000cdc60:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar7;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *p_Var3;" type_identifier (pointer_declarator "*p_Var3" * identifier) ;) (declaration "sqlite3_vtab *zLeft;" type_identifier (pointer_declarator "*zLeft" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "undefined **ppuVar6;" type_identifier (pointer_declarator "**ppuVar6" * (pointer_declarator "*ppuVar6" * identifier)) ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "sqlite3_value *pValue;" type_identifier (pointer_declarator "*pValue" * identifier) ;) (declaration "sqlite3_vtab *psVar8;" type_identifier (pointer_declarator "*psVar8" * identifier) ;) (declaration "char *pcVar9;" primitive_type (pointer_declarator "*pcVar9" * identifier) ;) (declaration "sqlite3_vtab *psVar10;" type_identifier (pointer_declarator "*psVar10" * identifier) ;) (declaration "sqlite3_module *psVar11;" type_identifier (pointer_declarator "*psVar11" * identifier) ;) (declaration "u32 nData;" type_identifier identifier ;) (declaration "u8 *pData;" type_identifier (pointer_declarator "*pData" * identifier) ;) (declaration "u8 **ppuVar12;" type_identifier (pointer_declarator "**ppuVar12" * (pointer_declarator "*ppuVar12" * identifier)) ;) (declaration "u8 **ppuVar13;" type_identifier (pointer_declarator "**ppuVar13" * (pointer_declarator "*ppuVar13" * identifier)) ;) (declaration "int iVar14;" primitive_type identifier ;) (declaration "int iVar15;" primitive_type identifier ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined **ppuVar17;" type_identifier (pointer_declarator "**ppuVar17" * (pointer_declarator "*ppuVar17" * identifier)) ;) (declaration "int rc;" primitive_type identifier ;) (declaration "u8 *dummy;" type_identifier (pointer_declarator "*dummy" * identifier) ;) (declaration "int nByte;" primitive_type identifier ;) (declaration "Fts5Buffer val;" type_identifier identifier ;) (expression_statement "ppuVar6 = &_GLOBAL_OFFSET_TABLE_;" (assignment_expression "ppuVar6 = &_GLOBAL_OFFSET_TABLE_" identifier = (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier)) ;) (expression_statement "psVar8 = pCursor->pVtab;" (assignment_expression "psVar8 = pCursor->pVtab" identifier = (field_expression "pCursor->pVtab" identifier -> field_identifier)) ;) (expression_statement "psVar10 = pCursor[5].pVtab;" (assignment_expression "psVar10 = pCursor[5].pVtab" identifier = (field_expression "pCursor[5].pVtab" (subscript_expression "pCursor[5]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "psVar11 = psVar8[1].pModule;" (assignment_expression "psVar11 = psVar8[1].pModule" identifier = (field_expression "psVar8[1].pModule" (subscript_expression "psVar8[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(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 "p_Var2 = psVar11->xBestIndex;" (assignment_expression "p_Var2 = psVar11->xBestIndex" identifier = (field_expression "psVar11->xBestIndex" identifier -> field_identifier)) ;) (if_statement "if (psVar10 == (sqlite3_vtab *)0x3) {\n    iVar7 = 0;\n    if ((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2) {\n      sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 0xf));\n    }\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(psVar10 == (sqlite3_vtab *)0x3)" ( (binary_expression "psVar10 == (sqlite3_vtab *)0x3" identifier == (cast_expression "(sqlite3_vtab *)0x3" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar7 = 0;\n    if ((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2) {\n      sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 0xf));\n    }\n    goto LAB_000cdc60;\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if ((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2) {\n      sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 0xf));\n    }" if (parenthesized_expression "((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2)" ( (binary_expression "(_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2" (cast_expression "(_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol" ( (type_descriptor "_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) == identifier) )) (compound_statement "{\n      sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 0xf));\n    }" { (expression_statement "sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 0xf));" (call_expression "sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 0xf))" identifier (argument_list "(pCtx,*(i64 *)(pCursor + 0xf))" ( identifier , (pointer_expression "*(i64 *)(pCursor + 0xf)" * (cast_expression "(i64 *)(pCursor + 0xf)" ( (type_descriptor "i64 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pCursor + 0xf)" ( (binary_expression "pCursor + 0xf" identifier + number_literal) )))) ))) ;) })) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (if_statement "if ((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2) {\n    sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 3));\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "((_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2)" ( (binary_expression "(_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol == p_Var2" (cast_expression "(_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol" ( (type_descriptor "_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) == identifier) )) (compound_statement "{\n    sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 3));\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }" { (expression_statement "sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 3));" (call_expression "sqlite3_result_int64(pCtx,*(i64 *)(pCursor + 3))" identifier (argument_list "(pCtx,*(i64 *)(pCursor + 3))" ( identifier , (pointer_expression "*(i64 *)(pCursor + 3)" * (cast_expression "(i64 *)(pCursor + 3)" ( (type_descriptor "i64 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pCursor + 3)" ( (binary_expression "pCursor + 3" identifier + number_literal) )))) ))) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (if_statement "if (p_Var2 + 1 != (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol) {\n    iVar7 = 0;\n    if ((psVar11->xFilter !=\n         (_func_int_sqlite3_vtab_cursor_ptr_int_char_ptr_int_sqlite3_value_ptr_ptr *)0x1) &&\n       (iVar7 = fts5SeekCursor((Fts5Cursor *)pCursor,1), iVar7 == 0)) {\n      pValue = sqlite3_column_value((sqlite3_stmt *)pCursor[0xb].pVtab,iCol + 1);\n      sqlite3_result_value(pCtx,pValue);\n    }\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(p_Var2 + 1 != (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol)" ( (binary_expression "p_Var2 + 1 != (_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol" (binary_expression "p_Var2 + 1" identifier + number_literal) != (cast_expression "(_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *)iCol" ( (type_descriptor "_func_int_sqlite3_vtab_ptr_sqlite3_index_info_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (compound_statement "{\n    iVar7 = 0;\n    if ((psVar11->xFilter !=\n         (_func_int_sqlite3_vtab_cursor_ptr_int_char_ptr_int_sqlite3_value_ptr_ptr *)0x1) &&\n       (iVar7 = fts5SeekCursor((Fts5Cursor *)pCursor,1), iVar7 == 0)) {\n      pValue = sqlite3_column_value((sqlite3_stmt *)pCursor[0xb].pVtab,iCol + 1);\n      sqlite3_result_value(pCtx,pValue);\n    }\n    goto LAB_000cdc60;\n  }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if ((psVar11->xFilter !=\n         (_func_int_sqlite3_vtab_cursor_ptr_int_char_ptr_int_sqlite3_value_ptr_ptr *)0x1) &&\n       (iVar7 = fts5SeekCursor((Fts5Cursor *)pCursor,1), iVar7 == 0)) {\n      pValue = sqlite3_column_value((sqlite3_stmt *)pCursor[0xb].pVtab,iCol + 1);\n      sqlite3_result_value(pCtx,pValue);\n    }" if (parenthesized_expression "((psVar11->xFilter !=\n         (_func_int_sqlite3_vtab_cursor_ptr_int_char_ptr_int_sqlite3_value_ptr_ptr *)0x1) &&\n       (iVar7 = fts5SeekCursor((Fts5Cursor *)pCursor,1), iVar7 == 0))" ( (binary_expression "(psVar11->xFilter !=\n         (_func_int_sqlite3_vtab_cursor_ptr_int_char_ptr_int_sqlite3_value_ptr_ptr *)0x1) &&\n       (iVar7 = fts5SeekCursor((Fts5Cursor *)pCursor,1), iVar7 == 0)" (parenthesized_expression "(psVar11->xFilter !=\n         (_func_int_sqlite3_vtab_cursor_ptr_int_char_ptr_int_sqlite3_value_ptr_ptr *)0x1)" ( (binary_expression "psVar11->xFilter !=\n         (_func_int_sqlite3_vtab_cursor_ptr_int_char_ptr_int_sqlite3_value_ptr_ptr *)0x1" (field_expression "psVar11->xFilter" identifier -> field_identifier) != (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr_int_char_ptr_int_sqlite3_value_ptr_ptr *)0x1" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr_int_char_ptr_int_sqlite3_value_ptr_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar7 = fts5SeekCursor((Fts5Cursor *)pCursor,1), iVar7 == 0)" ( (comma_expression "iVar7 = fts5SeekCursor((Fts5Cursor *)pCursor,1), iVar7 == 0" (assignment_expression "iVar7 = fts5SeekCursor((Fts5Cursor *)pCursor,1)" identifier = (call_expression "fts5SeekCursor((Fts5Cursor *)pCursor,1)" identifier (argument_list "((Fts5Cursor *)pCursor,1)" ( (cast_expression "(Fts5Cursor *)pCursor" ( (type_descriptor "Fts5Cursor *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , number_literal )))) , (binary_expression "iVar7 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      pValue = sqlite3_column_value((sqlite3_stmt *)pCursor[0xb].pVtab,iCol + 1);\n      sqlite3_result_value(pCtx,pValue);\n    }" { (expression_statement "pValue = sqlite3_column_value((sqlite3_stmt *)pCursor[0xb].pVtab,iCol + 1);" (assignment_expression "pValue = sqlite3_column_value((sqlite3_stmt *)pCursor[0xb].pVtab,iCol + 1)" identifier = (call_expression "sqlite3_column_value((sqlite3_stmt *)pCursor[0xb].pVtab,iCol + 1)" identifier (argument_list "((sqlite3_stmt *)pCursor[0xb].pVtab,iCol + 1)" ( (cast_expression "(sqlite3_stmt *)pCursor[0xb].pVtab" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pCursor[0xb].pVtab" (subscript_expression "pCursor[0xb]" identifier [ number_literal ]) . field_identifier)) , (binary_expression "iCol + 1" identifier + number_literal) )))) ;) (expression_statement "sqlite3_result_value(pCtx,pValue);" (call_expression "sqlite3_result_value(pCtx,pValue)" identifier (argument_list "(pCtx,pValue)" ( identifier , identifier ))) ;) })) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (if_statement "if (psVar10 == (sqlite3_vtab *)0x2) {\n    psVar8 = pCursor[0xc].pVtab;\n    p_Var3 = psVar11->xRowid;\n    rc = 0;\n    if (psVar8 == (sqlite3_vtab *)0x0) {\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      ppuVar17 = ppuVar6;\n      if ((p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) &&\n         (ppuVar17 = &_GLOBAL_OFFSET_TABLE_,\n         p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2)) {\nLAB_000cdf39:\n        val.nSpace = 0;\n        val.n = 0;\n        val.p = (u8 *)0x0;\n        ppuVar17 = ppuVar6;\n      }\n    }\n    else {\n      iVar7 = psVar8[1].nRef;\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      if (p_Var3 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) {\n        if (1 < iVar7) {\n          iVar14 = 0;\n          while( true ) {\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }\n        }\n        iVar14 = 0;\n        ppuVar17 = ppuVar6;\n        if (0 < iVar7) {\n          do {\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          } while (iVar7 != iVar14);\n        }\n      }\n      else {\n        if (p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2) goto LAB_000cdf39;\n        if (iVar7 + -1 < 1) {\nLAB_000cdf42:\n          ppuVar17 = ppuVar6;\n          if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }\n        }\n        else {\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }\n      }\n    }\n    sqlite3_result_blob(pCtx,val.p,val.n,(_func_void_void_ptr *)ppuVar17[0x45]);\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(psVar10 == (sqlite3_vtab *)0x2)" ( (binary_expression "psVar10 == (sqlite3_vtab *)0x2" identifier == (cast_expression "(sqlite3_vtab *)0x2" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    psVar8 = pCursor[0xc].pVtab;\n    p_Var3 = psVar11->xRowid;\n    rc = 0;\n    if (psVar8 == (sqlite3_vtab *)0x0) {\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      ppuVar17 = ppuVar6;\n      if ((p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) &&\n         (ppuVar17 = &_GLOBAL_OFFSET_TABLE_,\n         p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2)) {\nLAB_000cdf39:\n        val.nSpace = 0;\n        val.n = 0;\n        val.p = (u8 *)0x0;\n        ppuVar17 = ppuVar6;\n      }\n    }\n    else {\n      iVar7 = psVar8[1].nRef;\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      if (p_Var3 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) {\n        if (1 < iVar7) {\n          iVar14 = 0;\n          while( true ) {\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }\n        }\n        iVar14 = 0;\n        ppuVar17 = ppuVar6;\n        if (0 < iVar7) {\n          do {\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          } while (iVar7 != iVar14);\n        }\n      }\n      else {\n        if (p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2) goto LAB_000cdf39;\n        if (iVar7 + -1 < 1) {\nLAB_000cdf42:\n          ppuVar17 = ppuVar6;\n          if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }\n        }\n        else {\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }\n      }\n    }\n    sqlite3_result_blob(pCtx,val.p,val.n,(_func_void_void_ptr *)ppuVar17[0x45]);\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }" { (expression_statement "psVar8 = pCursor[0xc].pVtab;" (assignment_expression "psVar8 = pCursor[0xc].pVtab" identifier = (field_expression "pCursor[0xc].pVtab" (subscript_expression "pCursor[0xc]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "p_Var3 = psVar11->xRowid;" (assignment_expression "p_Var3 = psVar11->xRowid" identifier = (field_expression "psVar11->xRowid" identifier -> field_identifier)) ;) (expression_statement "rc = 0;" (assignment_expression "rc = 0" identifier = number_literal) ;) (if_statement "if (psVar8 == (sqlite3_vtab *)0x0) {\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      ppuVar17 = ppuVar6;\n      if ((p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) &&\n         (ppuVar17 = &_GLOBAL_OFFSET_TABLE_,\n         p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2)) {\nLAB_000cdf39:\n        val.nSpace = 0;\n        val.n = 0;\n        val.p = (u8 *)0x0;\n        ppuVar17 = ppuVar6;\n      }\n    }\n    else {\n      iVar7 = psVar8[1].nRef;\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      if (p_Var3 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) {\n        if (1 < iVar7) {\n          iVar14 = 0;\n          while( true ) {\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }\n        }\n        iVar14 = 0;\n        ppuVar17 = ppuVar6;\n        if (0 < iVar7) {\n          do {\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          } while (iVar7 != iVar14);\n        }\n      }\n      else {\n        if (p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2) goto LAB_000cdf39;\n        if (iVar7 + -1 < 1) {\nLAB_000cdf42:\n          ppuVar17 = ppuVar6;\n          if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }\n        }\n        else {\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }\n      }\n    }" if (parenthesized_expression "(psVar8 == (sqlite3_vtab *)0x0)" ( (binary_expression "psVar8 == (sqlite3_vtab *)0x0" identifier == (cast_expression "(sqlite3_vtab *)0x0" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      ppuVar17 = ppuVar6;\n      if ((p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) &&\n         (ppuVar17 = &_GLOBAL_OFFSET_TABLE_,\n         p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2)) {\nLAB_000cdf39:\n        val.nSpace = 0;\n        val.n = 0;\n        val.p = (u8 *)0x0;\n        ppuVar17 = ppuVar6;\n      }\n    }" { (expression_statement "val.p = (u8 *)0x0;" (assignment_expression "val.p = (u8 *)0x0" (field_expression "val.p" identifier . field_identifier) = (cast_expression "(u8 *)0x0" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "val.n = 0;" (assignment_expression "val.n = 0" (field_expression "val.n" identifier . field_identifier) = number_literal) ;) (expression_statement "val.nSpace = 0;" (assignment_expression "val.nSpace = 0" (field_expression "val.nSpace" identifier . field_identifier) = number_literal) ;) (expression_statement "ppuVar17 = ppuVar6;" (assignment_expression "ppuVar17 = ppuVar6" identifier = identifier) ;) (if_statement "if ((p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) &&\n         (ppuVar17 = &_GLOBAL_OFFSET_TABLE_,\n         p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2)) {\nLAB_000cdf39:\n        val.nSpace = 0;\n        val.n = 0;\n        val.p = (u8 *)0x0;\n        ppuVar17 = ppuVar6;\n      }" if (parenthesized_expression "((p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) &&\n         (ppuVar17 = &_GLOBAL_OFFSET_TABLE_,\n         p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2))" ( (binary_expression "(p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) &&\n         (ppuVar17 = &_GLOBAL_OFFSET_TABLE_,\n         p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2)" (parenthesized_expression "(p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0)" ( (binary_expression "p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0" identifier != (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(ppuVar17 = &_GLOBAL_OFFSET_TABLE_,\n         p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2)" ( (comma_expression "ppuVar17 = &_GLOBAL_OFFSET_TABLE_,\n         p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2" (assignment_expression "ppuVar17 = &_GLOBAL_OFFSET_TABLE_" identifier = (pointer_expression "&_GLOBAL_OFFSET_TABLE_" & identifier)) , (binary_expression "p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2" identifier != (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\nLAB_000cdf39:\n        val.nSpace = 0;\n        val.n = 0;\n        val.p = (u8 *)0x0;\n        ppuVar17 = ppuVar6;\n      }" { (labeled_statement "LAB_000cdf39:\n        val.nSpace = 0;" statement_identifier : (expression_statement "val.nSpace = 0;" (assignment_expression "val.nSpace = 0" (field_expression "val.nSpace" identifier . field_identifier) = number_literal) ;)) (expression_statement "val.n = 0;" (assignment_expression "val.n = 0" (field_expression "val.n" identifier . field_identifier) = number_literal) ;) (expression_statement "val.p = (u8 *)0x0;" (assignment_expression "val.p = (u8 *)0x0" (field_expression "val.p" identifier . field_identifier) = (cast_expression "(u8 *)0x0" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "ppuVar17 = ppuVar6;" (assignment_expression "ppuVar17 = ppuVar6" identifier = identifier) ;) })) }) (else_clause "else {\n      iVar7 = psVar8[1].nRef;\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      if (p_Var3 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) {\n        if (1 < iVar7) {\n          iVar14 = 0;\n          while( true ) {\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }\n        }\n        iVar14 = 0;\n        ppuVar17 = ppuVar6;\n        if (0 < iVar7) {\n          do {\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          } while (iVar7 != iVar14);\n        }\n      }\n      else {\n        if (p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2) goto LAB_000cdf39;\n        if (iVar7 + -1 < 1) {\nLAB_000cdf42:\n          ppuVar17 = ppuVar6;\n          if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }\n        }\n        else {\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }\n      }\n    }" else (compound_statement "{\n      iVar7 = psVar8[1].nRef;\n      val.p = (u8 *)0x0;\n      val.n = 0;\n      val.nSpace = 0;\n      if (p_Var3 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) {\n        if (1 < iVar7) {\n          iVar14 = 0;\n          while( true ) {\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }\n        }\n        iVar14 = 0;\n        ppuVar17 = ppuVar6;\n        if (0 < iVar7) {\n          do {\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          } while (iVar7 != iVar14);\n        }\n      }\n      else {\n        if (p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2) goto LAB_000cdf39;\n        if (iVar7 + -1 < 1) {\nLAB_000cdf42:\n          ppuVar17 = ppuVar6;\n          if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }\n        }\n        else {\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }\n      }\n    }" { (expression_statement "iVar7 = psVar8[1].nRef;" (assignment_expression "iVar7 = psVar8[1].nRef" identifier = (field_expression "psVar8[1].nRef" (subscript_expression "psVar8[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "val.p = (u8 *)0x0;" (assignment_expression "val.p = (u8 *)0x0" (field_expression "val.p" identifier . field_identifier) = (cast_expression "(u8 *)0x0" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "val.n = 0;" (assignment_expression "val.n = 0" (field_expression "val.n" identifier . field_identifier) = number_literal) ;) (expression_statement "val.nSpace = 0;" (assignment_expression "val.nSpace = 0" (field_expression "val.nSpace" identifier . field_identifier) = number_literal) ;) (if_statement "if (p_Var3 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0) {\n        if (1 < iVar7) {\n          iVar14 = 0;\n          while( true ) {\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }\n        }\n        iVar14 = 0;\n        ppuVar17 = ppuVar6;\n        if (0 < iVar7) {\n          do {\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          } while (iVar7 != iVar14);\n        }\n      }\n      else {\n        if (p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2) goto LAB_000cdf39;\n        if (iVar7 + -1 < 1) {\nLAB_000cdf42:\n          ppuVar17 = ppuVar6;\n          if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }\n        }\n        else {\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }\n      }" if (parenthesized_expression "(p_Var3 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0)" ( (binary_expression "p_Var3 == (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0" identifier == (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x0" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (1 < iVar7) {\n          iVar14 = 0;\n          while( true ) {\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }\n        }\n        iVar14 = 0;\n        ppuVar17 = ppuVar6;\n        if (0 < iVar7) {\n          do {\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          } while (iVar7 != iVar14);\n        }\n      }" { (if_statement "if (1 < iVar7) {\n          iVar14 = 0;\n          while( true ) {\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }\n        }" if (parenthesized_expression "(1 < iVar7)" ( (binary_expression "1 < iVar7" number_literal < identifier) )) (compound_statement "{\n          iVar14 = 0;\n          while( true ) {\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }\n        }" { (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            iVar15 = 0;\n            iVar16 = 0;\n            iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));\n            if (iVar14 == iVar7 + -1) break;\n            psVar8 = pCursor[0xc].pVtab;\n          }" { (expression_statement "iVar15 = 0;" (assignment_expression "iVar15 = 0" identifier = number_literal) ;) (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (expression_statement "iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4);" (assignment_expression "iVar4 = **(int **)(psVar8[1].zErrMsg + iVar14 * 4)" identifier = (pointer_expression "**(int **)(psVar8[1].zErrMsg + iVar14 * 4)" * (pointer_expression "*(int **)(psVar8[1].zErrMsg + iVar14 * 4)" * (cast_expression "(int **)(psVar8[1].zErrMsg + iVar14 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(psVar8[1].zErrMsg + iVar14 * 4)" ( (binary_expression "psVar8[1].zErrMsg + iVar14 * 4" (field_expression "psVar8[1].zErrMsg" (subscript_expression "psVar8[1]" identifier [ number_literal ]) . field_identifier) + (binary_expression "iVar14 * 4" identifier * number_literal)) )))))) ;) (if_statement "if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))) {\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }" if (parenthesized_expression "((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10)))" ( (binary_expression "(*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))" (parenthesized_expression "(*(int *)(iVar4 + 4) == 0)" ( (binary_expression "*(int *)(iVar4 + 4) == 0" (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10))" ( (binary_expression "*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10)" (binary_expression "*(int *)(iVar4 + 0x14) == *(int *)(psVar8->zErrMsg + 0x14)" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) == (pointer_expression "*(int *)(psVar8->zErrMsg + 0x14)" * (cast_expression "(int *)(psVar8->zErrMsg + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar8->zErrMsg + 0x14)" ( (binary_expression "psVar8->zErrMsg + 0x14" (field_expression "psVar8->zErrMsg" identifier -> field_identifier) + number_literal) ))))) && (binary_expression "*(int *)(iVar4 + 0x10) == *(int *)(psVar8->zErrMsg + 0x10)" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) == (pointer_expression "*(int *)(psVar8->zErrMsg + 0x10)" * (cast_expression "(int *)(psVar8->zErrMsg + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(psVar8->zErrMsg + 0x10)" ( (binary_expression "psVar8->zErrMsg + 0x10" (field_expression "psVar8->zErrMsg" identifier -> field_identifier) + number_literal) )))))) ))) )) (compound_statement "{\n              iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];\n              iVar16 = iVar15 >> 0x1f;\n            }" { (expression_statement "iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2];" (assignment_expression "iVar15 = (*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2]" identifier = (subscript_expression "(*(int **)(psVar8[1].zErrMsg + iVar14 * 4))[2]" (parenthesized_expression "(*(int **)(psVar8[1].zErrMsg + iVar14 * 4))" ( (pointer_expression "*(int **)(psVar8[1].zErrMsg + iVar14 * 4)" * (cast_expression "(int **)(psVar8[1].zErrMsg + iVar14 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(psVar8[1].zErrMsg + iVar14 * 4)" ( (binary_expression "psVar8[1].zErrMsg + iVar14 * 4" (field_expression "psVar8[1].zErrMsg" (subscript_expression "psVar8[1]" identifier [ number_literal ]) . field_identifier) + (binary_expression "iVar14 * 4" identifier * number_literal)) )))) )) [ number_literal ])) ;) (expression_statement "iVar16 = iVar15 >> 0x1f;" (assignment_expression "iVar16 = iVar15 >> 0x1f" identifier = (binary_expression "iVar15 >> 0x1f" identifier >> number_literal)) ;) })) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15));" (call_expression "sqlite3Fts5BufferAppendVarint(&rc,&val,CONCAT44(iVar16,iVar15))" identifier (argument_list "(&rc,&val,CONCAT44(iVar16,iVar15))" ( (pointer_expression "&rc" & identifier) , (pointer_expression "&val" & identifier) , (call_expression "CONCAT44(iVar16,iVar15)" identifier (argument_list "(iVar16,iVar15)" ( identifier , identifier ))) ))) ;) (if_statement "if (iVar14 == iVar7 + -1) break;" if (parenthesized_expression "(iVar14 == iVar7 + -1)" ( (binary_expression "iVar14 == iVar7 + -1" identifier == (binary_expression "iVar7 + -1" identifier + number_literal)) )) (break_statement "break;" break ;)) (expression_statement "psVar8 = pCursor[0xc].pVtab;" (assignment_expression "psVar8 = pCursor[0xc].pVtab" identifier = (field_expression "pCursor[0xc].pVtab" (subscript_expression "pCursor[0xc]" identifier [ number_literal ]) . field_identifier)) ;) })) })) (expression_statement "iVar14 = 0;" (assignment_expression "iVar14 = 0" identifier = number_literal) ;) (expression_statement "ppuVar17 = ppuVar6;" (assignment_expression "ppuVar17 = ppuVar6" identifier = identifier) ;) (if_statement "if (0 < iVar7) {\n          do {\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          } while (iVar7 != iVar14);\n        }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n          do {\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          } while (iVar7 != iVar14);\n        }" { (do_statement "do {\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          } while (iVar7 != iVar14);" do (compound_statement "{\n            piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);\n            iVar4 = *piVar5;\n            if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }\n            iVar14 = iVar14 + 1;\n            sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);\n            ppuVar17 = ppuVar6;\n          }" { (expression_statement "piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4);" (assignment_expression "piVar5 = *(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4)" identifier = (pointer_expression "*(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4)" * (cast_expression "(int **)(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4)" ( (binary_expression "pCursor[0xc].pVtab[1].zErrMsg + iVar14 * 4" (field_expression "pCursor[0xc].pVtab[1].zErrMsg" (subscript_expression "pCursor[0xc].pVtab[1]" (field_expression "pCursor[0xc].pVtab" (subscript_expression "pCursor[0xc]" identifier [ number_literal ]) . field_identifier) [ number_literal ]) . field_identifier) + (binary_expression "iVar14 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar4 = *piVar5;" (assignment_expression "iVar4 = *piVar5" identifier = (pointer_expression "*piVar5" * identifier)) ;) (if_statement "if (*(int *)(iVar4 + 4) == 0) {\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }\n            else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }" if (parenthesized_expression "(*(int *)(iVar4 + 4) == 0)" ( (binary_expression "*(int *)(iVar4 + 4) == 0" (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n              pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;\n              nData = 0;\n              pData = (u8 *)0x0;\n              if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }\n            }" { (expression_statement "pcVar9 = (pCursor[0xc].pVtab)->zErrMsg;" (assignment_expression "pcVar9 = (pCursor[0xc].pVtab)->zErrMsg" identifier = (field_expression "(pCursor[0xc].pVtab)->zErrMsg" (parenthesized_expression "(pCursor[0xc].pVtab)" ( (field_expression "pCursor[0xc].pVtab" (subscript_expression "pCursor[0xc]" identifier [ number_literal ]) . field_identifier) )) -> field_identifier)) ;) (expression_statement "nData = 0;" (assignment_expression "nData = 0" identifier = number_literal) ;) (expression_statement "pData = (u8 *)0x0;" (assignment_expression "pData = (u8 *)0x0" identifier = (cast_expression "(u8 *)0x0" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)) {\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }" if (parenthesized_expression "(*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10))" ( (binary_expression "*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14) &&\n                  *(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)" (binary_expression "*(int *)(iVar4 + 0x14) == *(int *)(pcVar9 + 0x14)" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) == (pointer_expression "*(int *)(pcVar9 + 0x14)" * (cast_expression "(int *)(pcVar9 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar9 + 0x14)" ( (binary_expression "pcVar9 + 0x14" identifier + number_literal) ))))) && (binary_expression "*(int *)(iVar4 + 0x10) == *(int *)(pcVar9 + 0x10)" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) == (pointer_expression "*(int *)(pcVar9 + 0x10)" * (cast_expression "(int *)(pcVar9 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar9 + 0x10)" ( (binary_expression "pcVar9 + 0x10" identifier + number_literal) )))))) )) (compound_statement "{\n                pData = (u8 *)piVar5[1];\n                nData = piVar5[2];\n              }" { (expression_statement "pData = (u8 *)piVar5[1];" (assignment_expression "pData = (u8 *)piVar5[1]" identifier = (cast_expression "(u8 *)piVar5[1]" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar5[1]" identifier [ number_literal ]))) ;) (expression_statement "nData = piVar5[2];" (assignment_expression "nData = piVar5[2]" identifier = (subscript_expression "piVar5[2]" identifier [ number_literal ])) ;) })) }) (else_clause "else {\n              nData = 0;\n              pData = (u8 *)0x0;\n            }" else (compound_statement "{\n              nData = 0;\n              pData = (u8 *)0x0;\n            }" { (expression_statement "nData = 0;" (assignment_expression "nData = 0" identifier = number_literal) ;) (expression_statement "pData = (u8 *)0x0;" (assignment_expression "pData = (u8 *)0x0" identifier = (cast_expression "(u8 *)0x0" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) }))) (expression_statement "iVar14 = iVar14 + 1;" (assignment_expression "iVar14 = iVar14 + 1" identifier = (binary_expression "iVar14 + 1" identifier + number_literal)) ;) (expression_statement "sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData);" (call_expression "sqlite3Fts5BufferAppendBlob(&rc,&val,nData,pData)" identifier (argument_list "(&rc,&val,nData,pData)" ( (pointer_expression "&rc" & identifier) , (pointer_expression "&val" & identifier) , identifier , identifier ))) ;) (expression_statement "ppuVar17 = ppuVar6;" (assignment_expression "ppuVar17 = ppuVar6" identifier = identifier) ;) }) while (parenthesized_expression "(iVar7 != iVar14)" ( (binary_expression "iVar7 != iVar14" identifier != identifier) )) ;) })) }) (else_clause "else {\n        if (p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2) goto LAB_000cdf39;\n        if (iVar7 + -1 < 1) {\nLAB_000cdf42:\n          ppuVar17 = ppuVar6;\n          if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }\n        }\n        else {\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }\n      }" else (compound_statement "{\n        if (p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2) goto LAB_000cdf39;\n        if (iVar7 + -1 < 1) {\nLAB_000cdf42:\n          ppuVar17 = ppuVar6;\n          if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }\n        }\n        else {\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }\n      }" { (if_statement "if (p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2) goto LAB_000cdf39;" if (parenthesized_expression "(p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2)" ( (binary_expression "p_Var3 != (_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2" identifier != (cast_expression "(_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *)0x2" ( (type_descriptor "_func_int_sqlite3_vtab_cursor_ptr_sqlite3_int64_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_000cdf39;" goto statement_identifier ;)) (if_statement "if (iVar7 + -1 < 1) {\nLAB_000cdf42:\n          ppuVar17 = ppuVar6;\n          if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }\n        }\n        else {\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }" if (parenthesized_expression "(iVar7 + -1 < 1)" ( (binary_expression "iVar7 + -1 < 1" (binary_expression "iVar7 + -1" identifier + number_literal) < number_literal) )) (compound_statement "{\nLAB_000cdf42:\n          ppuVar17 = ppuVar6;\n          if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }\n        }" { (labeled_statement "LAB_000cdf42:\n          ppuVar17 = ppuVar6;" statement_identifier : (expression_statement "ppuVar17 = ppuVar6;" (assignment_expression "ppuVar17 = ppuVar6" identifier = identifier) ;)) (if_statement "if (0 < iVar7) {\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }" if (parenthesized_expression "(0 < iVar7)" ( (binary_expression "0 < iVar7" number_literal < identifier) )) (compound_statement "{\n            ppuVar12 = (u8 **)0x0;\n            do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);\n          }" { (expression_statement "ppuVar12 = (u8 **)0x0;" (assignment_expression "ppuVar12 = (u8 **)0x0" identifier = (cast_expression "(u8 **)0x0" ( (type_descriptor "u8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (do_statement "do {\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            } while ((int)ppuVar13 < iVar7);" do (compound_statement "{\n              ppuVar13 = (u8 **)((int)ppuVar12 + 1);\n              rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);\n              sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);\n              ppuVar17 = ppuVar6;\n              if (rc != 0) break;\n              ppuVar12 = ppuVar13;\n            }" { (expression_statement "ppuVar13 = (u8 **)((int)ppuVar12 + 1);" (assignment_expression "ppuVar13 = (u8 **)((int)ppuVar12 + 1)" identifier = (cast_expression "(u8 **)((int)ppuVar12 + 1)" ( (type_descriptor "u8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppuVar12 + 1)" ( (binary_expression "(int)ppuVar12 + 1" (cast_expression "(int)ppuVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) (expression_statement "rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte);" (assignment_expression "rc = sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte)" identifier = (call_expression "sqlite3Fts5ExprPhraseCollist\n                             ((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte)" identifier (argument_list "((Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg,\n                              (int)pCursor[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,\n                              (Fts5Expr *)&nByte)" ( (cast_expression "(Fts5Expr *)(pCursor[0xc].pVtab)->zErrMsg" ( (type_descriptor "Fts5Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(pCursor[0xc].pVtab)->zErrMsg" (parenthesized_expression "(pCursor[0xc].pVtab)" ( (field_expression "pCursor[0xc].pVtab" (subscript_expression "pCursor[0xc]" identifier [ number_literal ]) . field_identifier) )) -> field_identifier)) , (cast_expression "(int)pCursor[0xc].pVtab[1].zErrMsg" ( (type_descriptor "int" primitive_type) ) (field_expression "pCursor[0xc].pVtab[1].zErrMsg" (subscript_expression "pCursor[0xc].pVtab[1]" (field_expression "pCursor[0xc].pVtab" (subscript_expression "pCursor[0xc]" identifier [ number_literal ]) . field_identifier) [ number_literal ]) . field_identifier)) , identifier , (cast_expression "(int *)&dummy" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&dummy" & identifier)) , (cast_expression "(Fts5Expr *)&nByte" ( (type_descriptor "Fts5Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&nByte" & identifier)) )))) ;) (expression_statement "sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy);" (call_expression "sqlite3Fts5BufferAppendBlob(&rc,&val,nByte,dummy)" identifier (argument_list "(&rc,&val,nByte,dummy)" ( (pointer_expression "&rc" & identifier) , (pointer_expression "&val" & identifier) , identifier , identifier ))) ;) (expression_statement "ppuVar17 = ppuVar6;" (assignment_expression "ppuVar17 = ppuVar6" identifier = identifier) ;) (if_statement "if (rc != 0) break;" if (parenthesized_expression "(rc != 0)" ( (binary_expression "rc != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (expression_statement "ppuVar12 = ppuVar13;" (assignment_expression "ppuVar12 = ppuVar13" identifier = identifier) ;) }) while (parenthesized_expression "((int)ppuVar13 < iVar7)" ( (binary_expression "(int)ppuVar13 < iVar7" (cast_expression "(int)ppuVar13" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) })) }) (else_clause "else {\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }" else (compound_statement "{\n          ppuVar12 = (u8 **)0x0;\n          while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }\n        }" { (expression_statement "ppuVar12 = (u8 **)0x0;" (assignment_expression "ppuVar12 = (u8 **)0x0" identifier = (cast_expression "(u8 **)0x0" ( (type_descriptor "u8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (while_statement "while( true ) {\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);\n            sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);\n            ppuVar17 = ppuVar6;\n            if (rc != 0) break;\n            if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;\n            psVar8 = pCursor[0xc].pVtab;\n            ppuVar12 = (u8 **)((int)ppuVar12 + 1);\n          }" { (expression_statement "rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte);" (assignment_expression "rc = sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte)" identifier = (call_expression "sqlite3Fts5ExprPhraseCollist\n                           ((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte)" identifier (argument_list "((Fts5Expr *)psVar8->zErrMsg,(int)psVar8[1].zErrMsg,ppuVar12,\n                            (int *)&dummy,(Fts5Expr *)&nByte)" ( (cast_expression "(Fts5Expr *)psVar8->zErrMsg" ( (type_descriptor "Fts5Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar8->zErrMsg" identifier -> field_identifier)) , (cast_expression "(int)psVar8[1].zErrMsg" ( (type_descriptor "int" primitive_type) ) (field_expression "psVar8[1].zErrMsg" (subscript_expression "psVar8[1]" identifier [ number_literal ]) . field_identifier)) , identifier , (cast_expression "(int *)&dummy" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&dummy" & identifier)) , (cast_expression "(Fts5Expr *)&nByte" ( (type_descriptor "Fts5Expr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&nByte" & identifier)) )))) ;) (expression_statement "sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte);" (call_expression "sqlite3Fts5BufferAppendVarint(&rc,&val,(longlong)nByte)" identifier (argument_list "(&rc,&val,(longlong)nByte)" ( (pointer_expression "&rc" & identifier) , (pointer_expression "&val" & identifier) , (cast_expression "(longlong)nByte" ( (type_descriptor "longlong" type_identifier) ) identifier) ))) ;) (expression_statement "ppuVar17 = ppuVar6;" (assignment_expression "ppuVar17 = ppuVar6" identifier = identifier) ;) (if_statement "if (rc != 0) break;" if (parenthesized_expression "(rc != 0)" ( (binary_expression "rc != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (if_statement "if ((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)) goto LAB_000cdf42;" if (parenthesized_expression "((u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1))" ( (binary_expression "(u8 **)((int)ppuVar12 + 1) == (u8 **)(iVar7 + -1)" (cast_expression "(u8 **)((int)ppuVar12 + 1)" ( (type_descriptor "u8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppuVar12 + 1)" ( (binary_expression "(int)ppuVar12 + 1" (cast_expression "(int)ppuVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) == (cast_expression "(u8 **)(iVar7 + -1)" ( (type_descriptor "u8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + -1)" ( (binary_expression "iVar7 + -1" identifier + number_literal) )))) )) (goto_statement "goto LAB_000cdf42;" goto statement_identifier ;)) (expression_statement "psVar8 = pCursor[0xc].pVtab;" (assignment_expression "psVar8 = pCursor[0xc].pVtab" identifier = (field_expression "pCursor[0xc].pVtab" (subscript_expression "pCursor[0xc]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "ppuVar12 = (u8 **)((int)ppuVar12 + 1);" (assignment_expression "ppuVar12 = (u8 **)((int)ppuVar12 + 1)" identifier = (cast_expression "(u8 **)((int)ppuVar12 + 1)" ( (type_descriptor "u8 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)ppuVar12 + 1)" ( (binary_expression "(int)ppuVar12 + 1" (cast_expression "(int)ppuVar12" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ;) })) }))) }))) }))) (expression_statement "sqlite3_result_blob(pCtx,val.p,val.n,(_func_void_void_ptr *)ppuVar17[0x45]);" (call_expression "sqlite3_result_blob(pCtx,val.p,val.n,(_func_void_void_ptr *)ppuVar17[0x45])" identifier (argument_list "(pCtx,val.p,val.n,(_func_void_void_ptr *)ppuVar17[0x45])" ( identifier , (field_expression "val.p" identifier . field_identifier) , (field_expression "val.n" identifier . field_identifier) , (cast_expression "(_func_void_void_ptr *)ppuVar17[0x45]" ( (type_descriptor "_func_void_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "ppuVar17[0x45]" identifier [ number_literal ])) ))) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (if_statement "if ((psVar10 != (sqlite3_vtab *)0x1) && (iVar7 = 0, psVar10 != (sqlite3_vtab *)&DAT_00000004))\n  goto LAB_000cdc60;" if (parenthesized_expression "((psVar10 != (sqlite3_vtab *)0x1) && (iVar7 = 0, psVar10 != (sqlite3_vtab *)&DAT_00000004))" ( (binary_expression "(psVar10 != (sqlite3_vtab *)0x1) && (iVar7 = 0, psVar10 != (sqlite3_vtab *)&DAT_00000004)" (parenthesized_expression "(psVar10 != (sqlite3_vtab *)0x1)" ( (binary_expression "psVar10 != (sqlite3_vtab *)0x1" identifier != (cast_expression "(sqlite3_vtab *)0x1" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar7 = 0, psVar10 != (sqlite3_vtab *)&DAT_00000004)" ( (comma_expression "iVar7 = 0, psVar10 != (sqlite3_vtab *)&DAT_00000004" (assignment_expression "iVar7 = 0" identifier = number_literal) , (binary_expression "psVar10 != (sqlite3_vtab *)&DAT_00000004" identifier != (cast_expression "(sqlite3_vtab *)&DAT_00000004" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000004" & identifier)))) ))) )) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;)) (expression_statement "psVar10 = pCursor[0x13].pVtab;" (assignment_expression "psVar10 = pCursor[0x13].pVtab" identifier = (field_expression "pCursor[0x13].pVtab" (subscript_expression "pCursor[0x13]" identifier [ number_literal ]) . field_identifier)) ;) (if_statement "if (psVar10 != (sqlite3_vtab *)0x0) {\nLAB_000cdcc8:\n    pCursor[0x17].pVtab = psVar10;\n    (*(code *)psVar10[1].pModule)\n              (ppuVar6 + -0x385,pCursor,pCtx,pCursor[0x14].pVtab,pCursor[0x15].pVtab);\n    pCursor[0x17].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(psVar10 != (sqlite3_vtab *)0x0)" ( (binary_expression "psVar10 != (sqlite3_vtab *)0x0" identifier != (cast_expression "(sqlite3_vtab *)0x0" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000cdcc8:\n    pCursor[0x17].pVtab = psVar10;\n    (*(code *)psVar10[1].pModule)\n              (ppuVar6 + -0x385,pCursor,pCtx,pCursor[0x14].pVtab,pCursor[0x15].pVtab);\n    pCursor[0x17].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = 0;\n    goto LAB_000cdc60;\n  }" { (labeled_statement "LAB_000cdcc8:\n    pCursor[0x17].pVtab = psVar10;" statement_identifier : (expression_statement "pCursor[0x17].pVtab = psVar10;" (assignment_expression "pCursor[0x17].pVtab = psVar10" (field_expression "pCursor[0x17].pVtab" (subscript_expression "pCursor[0x17]" identifier [ number_literal ]) . field_identifier) = identifier) ;)) (expression_statement "(*(code *)psVar10[1].pModule)\n              (ppuVar6 + -0x385,pCursor,pCtx,pCursor[0x14].pVtab,pCursor[0x15].pVtab);" (call_expression "(*(code *)psVar10[1].pModule)\n              (ppuVar6 + -0x385,pCursor,pCtx,pCursor[0x14].pVtab,pCursor[0x15].pVtab)" (parenthesized_expression "(*(code *)psVar10[1].pModule)" ( (pointer_expression "*(code *)psVar10[1].pModule" * (cast_expression "(code *)psVar10[1].pModule" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar10[1].pModule" (subscript_expression "psVar10[1]" identifier [ number_literal ]) . field_identifier))) )) (argument_list "(ppuVar6 + -0x385,pCursor,pCtx,pCursor[0x14].pVtab,pCursor[0x15].pVtab)" ( (binary_expression "ppuVar6 + -0x385" identifier + number_literal) , identifier , identifier , (field_expression "pCursor[0x14].pVtab" (subscript_expression "pCursor[0x14]" identifier [ number_literal ]) . field_identifier) , (field_expression "pCursor[0x15].pVtab" (subscript_expression "pCursor[0x15]" identifier [ number_literal ]) . field_identifier) ))) ;) (expression_statement "pCursor[0x17].pVtab = (sqlite3_vtab *)0x0;" (assignment_expression "pCursor[0x17].pVtab = (sqlite3_vtab *)0x0" (field_expression "pCursor[0x17].pVtab" (subscript_expression "pCursor[0x17]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_vtab *)0x0" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (expression_statement "zLeft = pCursor[0x11].pVtab;" (assignment_expression "zLeft = pCursor[0x11].pVtab" identifier = (field_expression "pCursor[0x11].pVtab" (subscript_expression "pCursor[0x11]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "nByte = 0;" (assignment_expression "nByte = 0" identifier = number_literal) ;) (if_statement "if (pCursor[0x12].pVtab == (sqlite3_vtab *)0x0) {\nLAB_000ce0dd:\n    for (psVar10 = (sqlite3_vtab *)(psVar8[2].pModule)->xClose; psVar10 != (sqlite3_vtab *)0x0;\n        psVar10 = (sqlite3_vtab *)psVar10[1].zErrMsg) {\n      iVar7 = sqlite3_stricmp((char *)zLeft,(char *)psVar10->nRef);\n      if (iVar7 == 0) {\n        pCursor[0x13].pVtab = psVar10;\n        iVar7 = nByte;\n        if (nByte == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    pcVar9 = sqlite3_mprintf((char *)((int)ppuVar6 + -0x50c9b),zLeft);\n    psVar8->zErrMsg = pcVar9;\n    pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = 1;\n  }\n  else {\n    pcVar9 = sqlite3Fts5Mprintf(&nByte,"SELECT %s",pCursor[0x12].pVtab);\n    if (pcVar9 == (char *)0x0) {\nLAB_000ce0d5:\n      if (nByte == 0) goto LAB_000ce0dd;\n    }\n    else {\n      val.p = (u8 *)0x0;\n      nByte = sqlite3_prepare_v3((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,\n                                 (char **)0x0);\n      sqlite3_free(pcVar9);\n      if (nByte == 0) {\n        iVar7 = sqlite3_step((sqlite3_stmt *)val.p);\n        if (iVar7 == 100) {\n          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);\n          pCursor[0x14].pVtab = psVar10;\n          psVar10 = (sqlite3_vtab *)0x0;\n          if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }\n          pCursor[0x15].pVtab = psVar10;\n          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }\n          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;\n        }\n        else {\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = nByte;\n  }" if (parenthesized_expression "(pCursor[0x12].pVtab == (sqlite3_vtab *)0x0)" ( (binary_expression "pCursor[0x12].pVtab == (sqlite3_vtab *)0x0" (field_expression "pCursor[0x12].pVtab" (subscript_expression "pCursor[0x12]" identifier [ number_literal ]) . field_identifier) == (cast_expression "(sqlite3_vtab *)0x0" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000ce0dd:\n    for (psVar10 = (sqlite3_vtab *)(psVar8[2].pModule)->xClose; psVar10 != (sqlite3_vtab *)0x0;\n        psVar10 = (sqlite3_vtab *)psVar10[1].zErrMsg) {\n      iVar7 = sqlite3_stricmp((char *)zLeft,(char *)psVar10->nRef);\n      if (iVar7 == 0) {\n        pCursor[0x13].pVtab = psVar10;\n        iVar7 = nByte;\n        if (nByte == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    pcVar9 = sqlite3_mprintf((char *)((int)ppuVar6 + -0x50c9b),zLeft);\n    psVar8->zErrMsg = pcVar9;\n    pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = 1;\n  }" { (labeled_statement "LAB_000ce0dd:\n    for (psVar10 = (sqlite3_vtab *)(psVar8[2].pModule)->xClose; psVar10 != (sqlite3_vtab *)0x0;\n        psVar10 = (sqlite3_vtab *)psVar10[1].zErrMsg) {\n      iVar7 = sqlite3_stricmp((char *)zLeft,(char *)psVar10->nRef);\n      if (iVar7 == 0) {\n        pCursor[0x13].pVtab = psVar10;\n        iVar7 = nByte;\n        if (nByte == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }" statement_identifier : (for_statement "for (psVar10 = (sqlite3_vtab *)(psVar8[2].pModule)->xClose; psVar10 != (sqlite3_vtab *)0x0;\n        psVar10 = (sqlite3_vtab *)psVar10[1].zErrMsg) {\n      iVar7 = sqlite3_stricmp((char *)zLeft,(char *)psVar10->nRef);\n      if (iVar7 == 0) {\n        pCursor[0x13].pVtab = psVar10;\n        iVar7 = nByte;\n        if (nByte == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }" for ( (assignment_expression "psVar10 = (sqlite3_vtab *)(psVar8[2].pModule)->xClose" identifier = (cast_expression "(sqlite3_vtab *)(psVar8[2].pModule)->xClose" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "(psVar8[2].pModule)->xClose" (parenthesized_expression "(psVar8[2].pModule)" ( (field_expression "psVar8[2].pModule" (subscript_expression "psVar8[2]" identifier [ number_literal ]) . field_identifier) )) -> field_identifier))) ; (binary_expression "psVar10 != (sqlite3_vtab *)0x0" identifier != (cast_expression "(sqlite3_vtab *)0x0" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "psVar10 = (sqlite3_vtab *)psVar10[1].zErrMsg" identifier = (cast_expression "(sqlite3_vtab *)psVar10[1].zErrMsg" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar10[1].zErrMsg" (subscript_expression "psVar10[1]" identifier [ number_literal ]) . field_identifier))) ) (compound_statement "{\n      iVar7 = sqlite3_stricmp((char *)zLeft,(char *)psVar10->nRef);\n      if (iVar7 == 0) {\n        pCursor[0x13].pVtab = psVar10;\n        iVar7 = nByte;\n        if (nByte == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }" { (expression_statement "iVar7 = sqlite3_stricmp((char *)zLeft,(char *)psVar10->nRef);" (assignment_expression "iVar7 = sqlite3_stricmp((char *)zLeft,(char *)psVar10->nRef)" identifier = (call_expression "sqlite3_stricmp((char *)zLeft,(char *)psVar10->nRef)" identifier (argument_list "((char *)zLeft,(char *)psVar10->nRef)" ( (cast_expression "(char *)zLeft" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(char *)psVar10->nRef" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "psVar10->nRef" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar7 == 0) {\n        pCursor[0x13].pVtab = psVar10;\n        iVar7 = nByte;\n        if (nByte == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n        pCursor[0x13].pVtab = psVar10;\n        iVar7 = nByte;\n        if (nByte == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }" { (expression_statement "pCursor[0x13].pVtab = psVar10;" (assignment_expression "pCursor[0x13].pVtab = psVar10" (field_expression "pCursor[0x13].pVtab" (subscript_expression "pCursor[0x13]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "iVar7 = nByte;" (assignment_expression "iVar7 = nByte" identifier = identifier) ;) (if_statement "if (nByte == 0) goto LAB_000cdcc8;" if (parenthesized_expression "(nByte == 0)" ( (binary_expression "nByte == 0" identifier == number_literal) )) (goto_statement "goto LAB_000cdcc8;" goto statement_identifier ;)) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) }))) (expression_statement "pcVar9 = sqlite3_mprintf((char *)((int)ppuVar6 + -0x50c9b),zLeft);" (assignment_expression "pcVar9 = sqlite3_mprintf((char *)((int)ppuVar6 + -0x50c9b),zLeft)" identifier = (call_expression "sqlite3_mprintf((char *)((int)ppuVar6 + -0x50c9b),zLeft)" identifier (argument_list "((char *)((int)ppuVar6 + -0x50c9b),zLeft)" ( (cast_expression "(char *)((int)ppuVar6 + -0x50c9b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)ppuVar6 + -0x50c9b)" ( (binary_expression "(int)ppuVar6 + -0x50c9b" (cast_expression "(int)ppuVar6" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) , identifier )))) ;) (expression_statement "psVar8->zErrMsg = pcVar9;" (assignment_expression "psVar8->zErrMsg = pcVar9" (field_expression "psVar8->zErrMsg" identifier -> field_identifier) = identifier) ;) (expression_statement "pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;" (assignment_expression "pCursor[0x13].pVtab = (sqlite3_vtab *)0x0" (field_expression "pCursor[0x13].pVtab" (subscript_expression "pCursor[0x13]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_vtab *)0x0" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar7 = 1;" (assignment_expression "iVar7 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    pcVar9 = sqlite3Fts5Mprintf(&nByte,"SELECT %s",pCursor[0x12].pVtab);\n    if (pcVar9 == (char *)0x0) {\nLAB_000ce0d5:\n      if (nByte == 0) goto LAB_000ce0dd;\n    }\n    else {\n      val.p = (u8 *)0x0;\n      nByte = sqlite3_prepare_v3((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,\n                                 (char **)0x0);\n      sqlite3_free(pcVar9);\n      if (nByte == 0) {\n        iVar7 = sqlite3_step((sqlite3_stmt *)val.p);\n        if (iVar7 == 100) {\n          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);\n          pCursor[0x14].pVtab = psVar10;\n          psVar10 = (sqlite3_vtab *)0x0;\n          if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }\n          pCursor[0x15].pVtab = psVar10;\n          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }\n          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;\n        }\n        else {\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = nByte;\n  }" else (compound_statement "{\n    pcVar9 = sqlite3Fts5Mprintf(&nByte,"SELECT %s",pCursor[0x12].pVtab);\n    if (pcVar9 == (char *)0x0) {\nLAB_000ce0d5:\n      if (nByte == 0) goto LAB_000ce0dd;\n    }\n    else {\n      val.p = (u8 *)0x0;\n      nByte = sqlite3_prepare_v3((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,\n                                 (char **)0x0);\n      sqlite3_free(pcVar9);\n      if (nByte == 0) {\n        iVar7 = sqlite3_step((sqlite3_stmt *)val.p);\n        if (iVar7 == 100) {\n          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);\n          pCursor[0x14].pVtab = psVar10;\n          psVar10 = (sqlite3_vtab *)0x0;\n          if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }\n          pCursor[0x15].pVtab = psVar10;\n          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }\n          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;\n        }\n        else {\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;\n    iVar7 = nByte;\n  }" { (expression_statement "pcVar9 = sqlite3Fts5Mprintf(&nByte,"SELECT %s",pCursor[0x12].pVtab);" (assignment_expression "pcVar9 = sqlite3Fts5Mprintf(&nByte,"SELECT %s",pCursor[0x12].pVtab)" identifier = (call_expression "sqlite3Fts5Mprintf(&nByte,"SELECT %s",pCursor[0x12].pVtab)" identifier (argument_list "(&nByte,"SELECT %s",pCursor[0x12].pVtab)" ( (pointer_expression "&nByte" & identifier) , (string_literal ""SELECT %s"" " string_content ") , (field_expression "pCursor[0x12].pVtab" (subscript_expression "pCursor[0x12]" identifier [ number_literal ]) . field_identifier) )))) ;) (if_statement "if (pcVar9 == (char *)0x0) {\nLAB_000ce0d5:\n      if (nByte == 0) goto LAB_000ce0dd;\n    }\n    else {\n      val.p = (u8 *)0x0;\n      nByte = sqlite3_prepare_v3((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,\n                                 (char **)0x0);\n      sqlite3_free(pcVar9);\n      if (nByte == 0) {\n        iVar7 = sqlite3_step((sqlite3_stmt *)val.p);\n        if (iVar7 == 100) {\n          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);\n          pCursor[0x14].pVtab = psVar10;\n          psVar10 = (sqlite3_vtab *)0x0;\n          if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }\n          pCursor[0x15].pVtab = psVar10;\n          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }\n          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;\n        }\n        else {\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }\n        goto LAB_000ce0d5;\n      }\n    }" if (parenthesized_expression "(pcVar9 == (char *)0x0)" ( (binary_expression "pcVar9 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_000ce0d5:\n      if (nByte == 0) goto LAB_000ce0dd;\n    }" { (labeled_statement "LAB_000ce0d5:\n      if (nByte == 0) goto LAB_000ce0dd;" statement_identifier : (if_statement "if (nByte == 0) goto LAB_000ce0dd;" if (parenthesized_expression "(nByte == 0)" ( (binary_expression "nByte == 0" identifier == number_literal) )) (goto_statement "goto LAB_000ce0dd;" goto statement_identifier ;))) }) (else_clause "else {\n      val.p = (u8 *)0x0;\n      nByte = sqlite3_prepare_v3((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,\n                                 (char **)0x0);\n      sqlite3_free(pcVar9);\n      if (nByte == 0) {\n        iVar7 = sqlite3_step((sqlite3_stmt *)val.p);\n        if (iVar7 == 100) {\n          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);\n          pCursor[0x14].pVtab = psVar10;\n          psVar10 = (sqlite3_vtab *)0x0;\n          if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }\n          pCursor[0x15].pVtab = psVar10;\n          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }\n          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;\n        }\n        else {\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }\n        goto LAB_000ce0d5;\n      }\n    }" else (compound_statement "{\n      val.p = (u8 *)0x0;\n      nByte = sqlite3_prepare_v3((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,\n                                 (char **)0x0);\n      sqlite3_free(pcVar9);\n      if (nByte == 0) {\n        iVar7 = sqlite3_step((sqlite3_stmt *)val.p);\n        if (iVar7 == 100) {\n          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);\n          pCursor[0x14].pVtab = psVar10;\n          psVar10 = (sqlite3_vtab *)0x0;\n          if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }\n          pCursor[0x15].pVtab = psVar10;\n          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }\n          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;\n        }\n        else {\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }\n        goto LAB_000ce0d5;\n      }\n    }" { (expression_statement "val.p = (u8 *)0x0;" (assignment_expression "val.p = (u8 *)0x0" (field_expression "val.p" identifier . field_identifier) = (cast_expression "(u8 *)0x0" ( (type_descriptor "u8 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "nByte = sqlite3_prepare_v3((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,\n                                 (char **)0x0);" (assignment_expression "nByte = sqlite3_prepare_v3((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,\n                                 (char **)0x0)" identifier = (call_expression "sqlite3_prepare_v3((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,\n                                 (char **)0x0)" identifier (argument_list "((sqlite3 *)psVar11->iVersion,pcVar9,-1,1,(sqlite3_stmt **)&val,\n                                 (char **)0x0)" ( (cast_expression "(sqlite3 *)psVar11->iVersion" ( (type_descriptor "sqlite3 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar11->iVersion" identifier -> field_identifier)) , identifier , number_literal , number_literal , (cast_expression "(sqlite3_stmt **)&val" ( (type_descriptor "sqlite3_stmt **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (pointer_expression "&val" & identifier)) , (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) )))) ;) (expression_statement "sqlite3_free(pcVar9);" (call_expression "sqlite3_free(pcVar9)" identifier (argument_list "(pcVar9)" ( identifier ))) ;) (if_statement "if (nByte == 0) {\n        iVar7 = sqlite3_step((sqlite3_stmt *)val.p);\n        if (iVar7 == 100) {\n          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);\n          pCursor[0x14].pVtab = psVar10;\n          psVar10 = (sqlite3_vtab *)0x0;\n          if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }\n          pCursor[0x15].pVtab = psVar10;\n          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }\n          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;\n        }\n        else {\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }\n        goto LAB_000ce0d5;\n      }" if (parenthesized_expression "(nByte == 0)" ( (binary_expression "nByte == 0" identifier == number_literal) )) (compound_statement "{\n        iVar7 = sqlite3_step((sqlite3_stmt *)val.p);\n        if (iVar7 == 100) {\n          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);\n          pCursor[0x14].pVtab = psVar10;\n          psVar10 = (sqlite3_vtab *)0x0;\n          if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }\n          pCursor[0x15].pVtab = psVar10;\n          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }\n          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;\n        }\n        else {\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }\n        goto LAB_000ce0d5;\n      }" { (expression_statement "iVar7 = sqlite3_step((sqlite3_stmt *)val.p);" (assignment_expression "iVar7 = sqlite3_step((sqlite3_stmt *)val.p)" identifier = (call_expression "sqlite3_step((sqlite3_stmt *)val.p)" identifier (argument_list "((sqlite3_stmt *)val.p)" ( (cast_expression "(sqlite3_stmt *)val.p" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "val.p" identifier . field_identifier)) )))) ;) (if_statement "if (iVar7 == 100) {\n          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);\n          pCursor[0x14].pVtab = psVar10;\n          psVar10 = (sqlite3_vtab *)0x0;\n          if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }\n          pCursor[0x15].pVtab = psVar10;\n          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }\n          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;\n        }\n        else {\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }" if (parenthesized_expression "(iVar7 == 100)" ( (binary_expression "iVar7 == 100" identifier == number_literal) )) (compound_statement "{\n          psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);\n          pCursor[0x14].pVtab = psVar10;\n          psVar10 = (sqlite3_vtab *)0x0;\n          if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }\n          pCursor[0x15].pVtab = psVar10;\n          if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }\n          pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;\n        }" { (expression_statement "psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p);" (assignment_expression "psVar10 = (sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p)" identifier = (cast_expression "(sqlite3_vtab *)sqlite3_column_count((sqlite3_stmt *)val.p)" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_column_count((sqlite3_stmt *)val.p)" identifier (argument_list "((sqlite3_stmt *)val.p)" ( (cast_expression "(sqlite3_stmt *)val.p" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "val.p" identifier . field_identifier)) ))))) ;) (expression_statement "pCursor[0x14].pVtab = psVar10;" (assignment_expression "pCursor[0x14].pVtab = psVar10" (field_expression "pCursor[0x14].pVtab" (subscript_expression "pCursor[0x14]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (expression_statement "psVar10 = (sqlite3_vtab *)0x0;" (assignment_expression "psVar10 = (sqlite3_vtab *)0x0" identifier = (cast_expression "(sqlite3_vtab *)0x0" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (if_statement "if (nByte == 0) {\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }" if (parenthesized_expression "(nByte == 0)" ( (binary_expression "nByte == 0" identifier == number_literal) )) (compound_statement "{\n            psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));\n          }" { (expression_statement "psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6));" (assignment_expression "psVar10 = (sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6))" identifier = (cast_expression "(sqlite3_vtab *)sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6))" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3Fts5MallocZero(&nByte,CONCAT44(pCtx,ppuVar6))" identifier (argument_list "(&nByte,CONCAT44(pCtx,ppuVar6))" ( (pointer_expression "&nByte" & identifier) , (call_expression "CONCAT44(pCtx,ppuVar6)" identifier (argument_list "(pCtx,ppuVar6)" ( identifier , identifier ))) ))))) ;) })) (expression_statement "pCursor[0x15].pVtab = psVar10;" (assignment_expression "pCursor[0x15].pVtab = psVar10" (field_expression "pCursor[0x15].pVtab" (subscript_expression "pCursor[0x15]" identifier [ number_literal ]) . field_identifier) = identifier) ;) (if_statement "if ((nByte == 0) && (0 < (int)pCursor[0x14].pVtab)) {\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }" if (parenthesized_expression "((nByte == 0) && (0 < (int)pCursor[0x14].pVtab))" ( (binary_expression "(nByte == 0) && (0 < (int)pCursor[0x14].pVtab)" (parenthesized_expression "(nByte == 0)" ( (binary_expression "nByte == 0" identifier == number_literal) )) && (parenthesized_expression "(0 < (int)pCursor[0x14].pVtab)" ( (binary_expression "0 < (int)pCursor[0x14].pVtab" number_literal < (cast_expression "(int)pCursor[0x14].pVtab" ( (type_descriptor "int" primitive_type) ) (field_expression "pCursor[0x14].pVtab" (subscript_expression "pCursor[0x14]" identifier [ number_literal ]) . field_identifier))) ))) )) (compound_statement "{\n            iVar7 = 0;\n            do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);\n          }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            } while (iVar14 < (int)pCursor[0x14].pVtab);" do (compound_statement "{\n              psVar10 = pCursor[0x15].pVtab;\n              iVar14 = iVar7 + 1;\n              psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);\n              (&psVar10->pModule)[iVar7] = psVar11;\n              iVar7 = iVar14;\n            }" { (expression_statement "psVar10 = pCursor[0x15].pVtab;" (assignment_expression "psVar10 = pCursor[0x15].pVtab" identifier = (field_expression "pCursor[0x15].pVtab" (subscript_expression "pCursor[0x15]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "iVar14 = iVar7 + 1;" (assignment_expression "iVar14 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7);" (assignment_expression "psVar11 = (sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7)" identifier = (cast_expression "(sqlite3_module *)sqlite3_column_value((sqlite3_stmt *)val.p,iVar7)" ( (type_descriptor "sqlite3_module *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "sqlite3_column_value((sqlite3_stmt *)val.p,iVar7)" identifier (argument_list "((sqlite3_stmt *)val.p,iVar7)" ( (cast_expression "(sqlite3_stmt *)val.p" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "val.p" identifier . field_identifier)) , identifier ))))) ;) (expression_statement "(&psVar10->pModule)[iVar7] = psVar11;" (assignment_expression "(&psVar10->pModule)[iVar7] = psVar11" (subscript_expression "(&psVar10->pModule)[iVar7]" (parenthesized_expression "(&psVar10->pModule)" ( (pointer_expression "&psVar10->pModule" & (field_expression "psVar10->pModule" identifier -> field_identifier)) )) [ identifier ]) = identifier) ;) (expression_statement "iVar7 = iVar14;" (assignment_expression "iVar7 = iVar14" identifier = identifier) ;) }) while (parenthesized_expression "(iVar14 < (int)pCursor[0x14].pVtab)" ( (binary_expression "iVar14 < (int)pCursor[0x14].pVtab" identifier < (cast_expression "(int)pCursor[0x14].pVtab" ( (type_descriptor "int" primitive_type) ) (field_expression "pCursor[0x14].pVtab" (subscript_expression "pCursor[0x14]" identifier [ number_literal ]) . field_identifier))) )) ;) })) (expression_statement "pCursor[0x16].pVtab = (sqlite3_vtab *)val.p;" (assignment_expression "pCursor[0x16].pVtab = (sqlite3_vtab *)val.p" (field_expression "pCursor[0x16].pVtab" (subscript_expression "pCursor[0x16]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_vtab *)val.p" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "val.p" identifier . field_identifier))) ;) }) (else_clause "else {\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }" else (compound_statement "{\n          nByte = sqlite3_finalize((sqlite3_stmt *)val.p);\n        }" { (expression_statement "nByte = sqlite3_finalize((sqlite3_stmt *)val.p);" (assignment_expression "nByte = sqlite3_finalize((sqlite3_stmt *)val.p)" identifier = (call_expression "sqlite3_finalize((sqlite3_stmt *)val.p)" identifier (argument_list "((sqlite3_stmt *)val.p)" ( (cast_expression "(sqlite3_stmt *)val.p" ( (type_descriptor "sqlite3_stmt *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "val.p" identifier . field_identifier)) )))) ;) }))) (goto_statement "goto LAB_000ce0d5;" goto statement_identifier ;) })) }))) (expression_statement "pCursor[0x13].pVtab = (sqlite3_vtab *)0x0;" (assignment_expression "pCursor[0x13].pVtab = (sqlite3_vtab *)0x0" (field_expression "pCursor[0x13].pVtab" (subscript_expression "pCursor[0x13]" identifier [ number_literal ]) . field_identifier) = (cast_expression "(sqlite3_vtab *)0x0" ( (type_descriptor "sqlite3_vtab *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "iVar7 = nByte;" (assignment_expression "iVar7 = nByte" identifier = identifier) ;) }))) (labeled_statement "LAB_000cdc60:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar7;\n  }" statement_identifier : (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar7;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(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 iVar7;\n  }" { (return_statement "return iVar7;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "int FUN_000cdc00(int *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  \n  iVar7 = *param_1;\n  iVar6 = param_1[5];\n  puVar1 = *(undefined4 **)(iVar7 + 0xc);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = puVar1[3];\n  if (iVar6 == 3) {\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }\n  if (param_3 == iVar2) {\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if (iVar2 + 1 != param_3) {\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }\n  if (iVar6 == 2) {\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if ((iVar6 != 1) && (iVar4 = 0, iVar6 != 4)) goto LAB_000cdc60;\n  iVar6 = param_1[0x13];\n  if (iVar6 != 0) {\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  iVar2 = param_1[0x11];\n  local_30 = 0;\n  if (param_1[0x12] == 0) {\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }\n  else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }\nLAB_000cdc60:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\n  }\n                    \n  FUN_000f6410();\n}\n\n" (function_definition "int FUN_000cdc00(int *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  \n  iVar7 = *param_1;\n  iVar6 = param_1[5];\n  puVar1 = *(undefined4 **)(iVar7 + 0xc);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = puVar1[3];\n  if (iVar6 == 3) {\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }\n  if (param_3 == iVar2) {\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if (iVar2 + 1 != param_3) {\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }\n  if (iVar6 == 2) {\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if ((iVar6 != 1) && (iVar4 = 0, iVar6 != 4)) goto LAB_000cdc60;\n  iVar6 = param_1[0x13];\n  if (iVar6 != 0) {\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  iVar2 = param_1[0x11];\n  local_30 = 0;\n  if (param_1[0x12] == 0) {\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }\n  else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }\nLAB_000cdc60:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\n  }\n                    \n  FUN_000f6410();\n}" primitive_type (function_declarator "FUN_000cdc00(int *param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(int *param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  \n  iVar7 = *param_1;\n  iVar6 = param_1[5];\n  puVar1 = *(undefined4 **)(iVar7 + 0xc);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = puVar1[3];\n  if (iVar6 == 3) {\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }\n  if (param_3 == iVar2) {\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if (iVar2 + 1 != param_3) {\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }\n  if (iVar6 == 2) {\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if ((iVar6 != 1) && (iVar4 = 0, iVar6 != 4)) goto LAB_000cdc60;\n  iVar6 = param_1[0x13];\n  if (iVar6 != 0) {\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  iVar2 = param_1[0x11];\n  local_30 = 0;\n  if (param_1[0x12] == 0) {\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }\n  else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }\nLAB_000cdc60:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\n  }\n                    \n  FUN_000f6410();\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "int iVar8;" primitive_type identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "undefined4 local_34;" type_identifier identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "undefined4 local_24;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "iVar7 = *param_1;" (assignment_expression "iVar7 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "iVar6 = param_1[5];" (assignment_expression "iVar6 = param_1[5]" identifier = (subscript_expression "param_1[5]" identifier [ number_literal ])) ;) (expression_statement "puVar1 = *(undefined4 **)(iVar7 + 0xc);" (assignment_expression "puVar1 = *(undefined4 **)(iVar7 + 0xc)" identifier = (pointer_expression "*(undefined4 **)(iVar7 + 0xc)" * (cast_expression "(undefined4 **)(iVar7 + 0xc)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar7 + 0xc)" ( (binary_expression "iVar7 + 0xc" 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 "iVar2 = puVar1[3];" (assignment_expression "iVar2 = puVar1[3]" identifier = (subscript_expression "puVar1[3]" identifier [ number_literal ])) ;) (if_statement "if (iVar6 == 3) {\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(iVar6 == 3)" ( (binary_expression "iVar6 == 3" identifier == number_literal) )) (compound_statement "{\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }" if (parenthesized_expression "(param_3 == iVar2)" ( (binary_expression "param_3 == iVar2" identifier == identifier) )) (compound_statement "{\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }" { (expression_statement "FUN_00026850(param_2,param_1[0xf],param_1[0x10]);" (call_expression "FUN_00026850(param_2,param_1[0xf],param_1[0x10])" identifier (argument_list "(param_2,param_1[0xf],param_1[0x10])" ( identifier , (subscript_expression "param_1[0xf]" identifier [ number_literal ]) , (subscript_expression "param_1[0x10]" identifier [ number_literal ]) ))) ;) })) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (if_statement "if (param_3 == iVar2) {\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(param_3 == iVar2)" ( (binary_expression "param_3 == iVar2" identifier == identifier) )) (compound_statement "{\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" { (expression_statement "FUN_00026850(param_2,param_1[3],param_1[4]);" (call_expression "FUN_00026850(param_2,param_1[3],param_1[4])" identifier (argument_list "(param_2,param_1[3],param_1[4])" ( identifier , (subscript_expression "param_1[3]" identifier [ number_literal ]) , (subscript_expression "param_1[4]" identifier [ number_literal ]) ))) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (if_statement "if (iVar2 + 1 != param_3) {\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(iVar2 + 1 != param_3)" ( (binary_expression "iVar2 + 1 != param_3" (binary_expression "iVar2 + 1" identifier + number_literal) != identifier) )) (compound_statement "{\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (if_statement "if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }" if (parenthesized_expression "((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0))" ( (binary_expression "(puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)" (parenthesized_expression "(puVar1[8] != 1)" ( (binary_expression "puVar1[8] != 1" (subscript_expression "puVar1[8]" identifier [ number_literal ]) != number_literal) )) && (parenthesized_expression "(iVar4 = FUN_000ccca0(), iVar4 == 0)" ( (comma_expression "iVar4 = FUN_000ccca0(), iVar4 == 0" (assignment_expression "iVar4 = FUN_000ccca0()" identifier = (call_expression "FUN_000ccca0()" identifier (argument_list "()" ( )))) , (binary_expression "iVar4 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }" { (expression_statement "uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);" (assignment_expression "uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1)" identifier = (call_expression "FUN_00039de0(param_1[0xb],param_3 + 1)" identifier (argument_list "(param_1[0xb],param_3 + 1)" ( (subscript_expression "param_1[0xb]" identifier [ number_literal ]) , (binary_expression "param_3 + 1" identifier + number_literal) )))) ;) (expression_statement "FUN_00049270(param_2,uVar5);" (call_expression "FUN_00049270(param_2,uVar5)" identifier (argument_list "(param_2,uVar5)" ( identifier , identifier ))) ;) })) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (if_statement "if (iVar6 == 2) {\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(iVar6 == 2)" ( (binary_expression "iVar6 == 2" identifier == number_literal) )) (compound_statement "{\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" { (expression_statement "iVar7 = param_1[0xc];" (assignment_expression "iVar7 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) (expression_statement "iVar6 = puVar1[0xc];" (assignment_expression "iVar6 = puVar1[0xc]" identifier = (subscript_expression "puVar1[0xc]" identifier [ number_literal ])) ;) (if_statement "if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }" if (parenthesized_expression "(iVar7 == 0)" ( (binary_expression "iVar7 == 0" identifier == number_literal) )) (compound_statement "{\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (if_statement "if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }" if (parenthesized_expression "((iVar6 != 0) && (iVar6 != 2))" ( (binary_expression "(iVar6 != 0) && (iVar6 != 2)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar6 != 2)" ( (binary_expression "iVar6 != 2" identifier != number_literal) ))) )) (compound_statement "{\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }" { (labeled_statement "LAB_000cdf39:\n        local_24 = 0;" statement_identifier : (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;)) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) })) }) (else_clause "else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }" else (compound_statement "{\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }" { (expression_statement "iVar2 = *(int *)(iVar7 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar7 + 0x10)" identifier = (pointer_expression "*(int *)(iVar7 + 0x10)" * (cast_expression "(int *)(iVar7 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x10)" ( (binary_expression "iVar7 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" identifier = number_literal) ;) (if_statement "if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }" { (if_statement "if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }" if (parenthesized_expression "(1 < iVar2)" ( (binary_expression "1 < iVar2" number_literal < identifier) )) (compound_statement "{\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);" (assignment_expression "piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4)" identifier = (pointer_expression "*(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4)" * (cast_expression "(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(iVar7 + 0x14) + iVar6 * 4)" ( (binary_expression "*(int *)(iVar7 + 0x14) + iVar6 * 4" (pointer_expression "*(int *)(iVar7 + 0x14)" * (cast_expression "(int *)(iVar7 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x14)" ( (binary_expression "iVar7 + 0x14" identifier + number_literal) )))) + (binary_expression "iVar6 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar4 = *piVar3;" (assignment_expression "iVar4 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }" if (parenthesized_expression "((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10)))" ( (binary_expression "(*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))" (parenthesized_expression "(*(int *)(iVar4 + 4) == 0)" ( (binary_expression "*(int *)(iVar4 + 4) == 0" (pointer_expression "*(int *)(iVar4 + 4)" * (cast_expression "(int *)(iVar4 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 4)" ( (binary_expression "iVar4 + 4" identifier + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))" ( (binary_expression "*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10)" (binary_expression "*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14)" (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) )))) == (pointer_expression "*(int *)(*(int *)(iVar7 + 8) + 0x14)" * (cast_expression "(int *)(*(int *)(iVar7 + 8) + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar7 + 8) + 0x14)" ( (binary_expression "*(int *)(iVar7 + 8) + 0x14" (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) + number_literal) ))))) && (binary_expression "*(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10)" (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))) == (pointer_expression "*(int *)(*(int *)(iVar7 + 8) + 0x10)" * (cast_expression "(int *)(*(int *)(iVar7 + 8) + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar7 + 8) + 0x10)" ( (binary_expression "*(int *)(iVar7 + 8) + 0x10" (pointer_expression "*(int *)(iVar7 + 8)" * (cast_expression "(int *)(iVar7 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) + number_literal) )))))) ))) )) (compound_statement "{\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }" { (expression_statement "iVar8 = piVar3[2];" (assignment_expression "iVar8 = piVar3[2]" identifier = (subscript_expression "piVar3[2]" identifier [ number_literal ])) ;) (expression_statement "iVar9 = iVar8 >> 0x1f;" (assignment_expression "iVar9 = iVar8 >> 0x1f" identifier = (binary_expression "iVar8 >> 0x1f" identifier >> number_literal)) ;) })) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "FUN_0006a320(iVar8,iVar9);" (call_expression "FUN_0006a320(iVar8,iVar9)" identifier (argument_list "(iVar8,iVar9)" ( identifier , identifier ))) ;) (if_statement "if (iVar6 == iVar2 + -1) break;" if (parenthesized_expression "(iVar6 == iVar2 + -1)" ( (binary_expression "iVar6 == iVar2 + -1" identifier == (binary_expression "iVar2 + -1" identifier + number_literal)) )) (break_statement "break;" break ;)) (expression_statement "iVar7 = param_1[0xc];" (assignment_expression "iVar7 = param_1[0xc]" identifier = (subscript_expression "param_1[0xc]" identifier [ number_literal ])) ;) })) })) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }" { (do_statement "do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);" do (compound_statement "{\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          }" { (expression_statement "piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);" (assignment_expression "piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4)" identifier = (pointer_expression "*(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4)" * (cast_expression "(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4)" ( (binary_expression "*(int *)(param_1[0xc] + 0x14) + iVar7 * 4" (pointer_expression "*(int *)(param_1[0xc] + 0x14)" * (cast_expression "(int *)(param_1[0xc] + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xc] + 0x14)" ( (binary_expression "param_1[0xc] + 0x14" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) )))) + (binary_expression "iVar7 * 4" identifier * number_literal)) ))))) ;) (expression_statement "iVar6 = *piVar3;" (assignment_expression "iVar6 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (if_statement "if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }" if (parenthesized_expression "(*(int *)(iVar6 + 4) == 0)" ( (binary_expression "*(int *)(iVar6 + 4) == 0" (pointer_expression "*(int *)(iVar6 + 4)" * (cast_expression "(int *)(iVar6 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }" { (expression_statement "iVar4 = *(int *)(param_1[0xc] + 8);" (assignment_expression "iVar4 = *(int *)(param_1[0xc] + 8)" identifier = (pointer_expression "*(int *)(param_1[0xc] + 8)" * (cast_expression "(int *)(param_1[0xc] + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1[0xc] + 8)" ( (binary_expression "param_1[0xc] + 8" (subscript_expression "param_1[0xc]" identifier [ number_literal ]) + number_literal) ))))) ;) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) (if_statement "if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }" if (parenthesized_expression "(*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10))" ( (binary_expression "*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)" (binary_expression "*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14)" (pointer_expression "*(int *)(iVar6 + 0x14)" * (cast_expression "(int *)(iVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) )))) == (pointer_expression "*(int *)(iVar4 + 0x14)" * (cast_expression "(int *)(iVar4 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x14)" ( (binary_expression "iVar4 + 0x14" identifier + number_literal) ))))) && (binary_expression "*(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)" (pointer_expression "*(int *)(iVar6 + 0x10)" * (cast_expression "(int *)(iVar6 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x10)" ( (binary_expression "iVar6 + 0x10" identifier + number_literal) )))) == (pointer_expression "*(int *)(iVar4 + 0x10)" * (cast_expression "(int *)(iVar4 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x10)" ( (binary_expression "iVar4 + 0x10" identifier + number_literal) )))))) )) (compound_statement "{\n                iVar8 = piVar3[1];\n              }" { (expression_statement "iVar8 = piVar3[1];" (assignment_expression "iVar8 = piVar3[1]" identifier = (subscript_expression "piVar3[1]" identifier [ number_literal ])) ;) })) }) (else_clause "else {\n              iVar8 = 0;\n            }" else (compound_statement "{\n              iVar8 = 0;\n            }" { (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" identifier = number_literal) ;) }))) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "FUN_00069170(iVar8);" (call_expression "FUN_00069170(iVar8)" identifier (argument_list "(iVar8)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar2 != iVar7)" ( (binary_expression "iVar2 != iVar7" identifier != identifier) )) ;) })) }) (else_clause "else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }" else (compound_statement "{\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }" { (if_statement "if (iVar6 != 2) goto LAB_000cdf39;" if (parenthesized_expression "(iVar6 != 2)" ( (binary_expression "iVar6 != 2" identifier != number_literal) )) (goto_statement "goto LAB_000cdf39;" goto statement_identifier ;)) (if_statement "if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }" if (parenthesized_expression "(0 < iVar2 + -1)" ( (binary_expression "0 < iVar2 + -1" number_literal < (binary_expression "iVar2 + -1" identifier + number_literal)) )) (compound_statement "{\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);" do (compound_statement "{\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = FUN_000696d0(&local_34,&local_30);" (assignment_expression "iVar6 = FUN_000696d0(&local_34,&local_30)" identifier = (call_expression "FUN_000696d0(&local_34,&local_30)" identifier (argument_list "(&local_34,&local_30)" ( (pointer_expression "&local_34" & identifier) , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "FUN_0006a320(local_30,local_30 >> 0x1f);" (call_expression "FUN_0006a320(local_30,local_30 >> 0x1f)" identifier (argument_list "(local_30,local_30 >> 0x1f)" ( identifier , (binary_expression "local_30 >> 0x1f" identifier >> number_literal) ))) ;) (if_statement "if (iVar6 != 0) goto LAB_000cde38;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (goto_statement "goto LAB_000cde38;" goto statement_identifier ;)) }) while (parenthesized_expression "(iVar7 != iVar2 + -1)" ( (binary_expression "iVar7 != iVar2 + -1" identifier != (binary_expression "iVar2 + -1" identifier + number_literal)) )) ;) })) (if_statement "if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }" if (parenthesized_expression "(0 < iVar2)" ( (binary_expression "0 < iVar2" number_literal < identifier) )) (compound_statement "{\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }" { (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (do_statement "do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);" do (compound_statement "{\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          }" { (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" identifier = (binary_expression "iVar7 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = FUN_000696d0(&local_34,&local_30);" (assignment_expression "iVar6 = FUN_000696d0(&local_34,&local_30)" identifier = (call_expression "FUN_000696d0(&local_34,&local_30)" identifier (argument_list "(&local_34,&local_30)" ( (pointer_expression "&local_34" & identifier) , (pointer_expression "&local_30" & identifier) )))) ;) (expression_statement "FUN_00069170(local_34);" (call_expression "FUN_00069170(local_34)" identifier (argument_list "(local_34)" ( identifier ))) ;) (if_statement "if (iVar6 != 0) break;" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(iVar7 < iVar2)" ( (binary_expression "iVar7 < iVar2" identifier < identifier) )) ;) })) }))) }))) (labeled_statement "LAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);" statement_identifier : (expression_statement "FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);" (call_expression "FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8)" identifier (argument_list "(param_2,local_2c,local_28,PTR_FUN_0014afe8)" ( identifier , identifier , identifier , identifier ))) ;)) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (if_statement "if ((iVar6 != 1) && (iVar4 = 0, iVar6 != 4)) goto LAB_000cdc60;" if (parenthesized_expression "((iVar6 != 1) && (iVar4 = 0, iVar6 != 4))" ( (binary_expression "(iVar6 != 1) && (iVar4 = 0, iVar6 != 4)" (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) && (parenthesized_expression "(iVar4 = 0, iVar6 != 4)" ( (comma_expression "iVar4 = 0, iVar6 != 4" (assignment_expression "iVar4 = 0" identifier = number_literal) , (binary_expression "iVar6 != 4" identifier != number_literal)) ))) )) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;)) (expression_statement "iVar6 = param_1[0x13];" (assignment_expression "iVar6 = param_1[0x13]" identifier = (subscript_expression "param_1[0x13]" identifier [ number_literal ])) ;) (if_statement "if (iVar6 != 0) {\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" { (labeled_statement "LAB_000cdcc8:\n    param_1[0x17] = iVar6;" statement_identifier : (expression_statement "param_1[0x17] = iVar6;" (assignment_expression "param_1[0x17] = iVar6" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = identifier) ;)) (expression_statement "(**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);" (call_expression "(**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15])" (parenthesized_expression "(**(code **)(iVar6 + 0xc))" ( (pointer_expression "**(code **)(iVar6 + 0xc)" * (pointer_expression "*(code **)(iVar6 + 0xc)" * (cast_expression "(code **)(iVar6 + 0xc)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar6 + 0xc)" ( (binary_expression "iVar6 + 0xc" identifier + number_literal) ))))) )) (argument_list "(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15])" ( (pointer_expression "&DAT_0014a0c0" & identifier) , identifier , identifier , (subscript_expression "param_1[0x14]" identifier [ number_literal ]) , (subscript_expression "param_1[0x15]" identifier [ number_literal ]) ))) ;) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) (expression_statement "iVar2 = param_1[0x11];" (assignment_expression "iVar2 = param_1[0x11]" identifier = (subscript_expression "param_1[0x11]" identifier [ number_literal ])) ;) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" identifier = number_literal) ;) (if_statement "if (param_1[0x12] == 0) {\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }\n  else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }" if (parenthesized_expression "(param_1[0x12] == 0)" ( (binary_expression "param_1[0x12] == 0" (subscript_expression "param_1[0x12]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }" { (labeled_statement "LAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }" statement_identifier : (for_statement "for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }" for ( (assignment_expression "iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c)" identifier = (pointer_expression "*(int *)(*(int *)(iVar7 + 0x18) + 0x1c)" * (cast_expression "(int *)(*(int *)(iVar7 + 0x18) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar7 + 0x18) + 0x1c)" ( (binary_expression "*(int *)(iVar7 + 0x18) + 0x1c" (pointer_expression "*(int *)(iVar7 + 0x18)" * (cast_expression "(int *)(iVar7 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 0x18)" ( (binary_expression "iVar7 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ; (binary_expression "iVar6 != 0" identifier != number_literal) ; (assignment_expression "iVar6 = *(int *)(iVar6 + 0x14)" identifier = (pointer_expression "*(int *)(iVar6 + 0x14)" * (cast_expression "(int *)(iVar6 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 0x14)" ( (binary_expression "iVar6 + 0x14" identifier + number_literal) ))))) ) (compound_statement "{\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }" { (expression_statement "iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));" (assignment_expression "iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4))" identifier = (call_expression "FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4))" identifier (argument_list "(iVar2,*(undefined4 *)(iVar6 + 4))" ( identifier , (pointer_expression "*(undefined4 *)(iVar6 + 4)" * (cast_expression "(undefined4 *)(iVar6 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + 4)" ( (binary_expression "iVar6 + 4" identifier + number_literal) )))) )))) ;) (if_statement "if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }" if (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) )) (compound_statement "{\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }" { (expression_statement "param_1[0x13] = iVar6;" (assignment_expression "param_1[0x13] = iVar6" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" identifier = identifier) ;) (if_statement "if (local_30 == 0) goto LAB_000cdcc8;" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000cdcc8;" goto statement_identifier ;)) (goto_statement "goto LAB_000cdc60;" goto statement_identifier ;) })) }))) (expression_statement "uVar5 = FUN_000728a0("no such function: %s",iVar2);" (assignment_expression "uVar5 = FUN_000728a0("no such function: %s",iVar2)" identifier = (call_expression "FUN_000728a0("no such function: %s",iVar2)" identifier (argument_list "("no such function: %s",iVar2)" ( (string_literal ""no such function: %s"" " string_content ") , identifier )))) ;) (expression_statement "*(undefined4 *)(iVar7 + 8) = uVar5;" (assignment_expression "*(undefined4 *)(iVar7 + 8) = uVar5" (pointer_expression "*(undefined4 *)(iVar7 + 8)" * (cast_expression "(undefined4 *)(iVar7 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar7 + 8)" ( (binary_expression "iVar7 + 8" identifier + number_literal) )))) = identifier) ;) (expression_statement "param_1[0x13] = 0;" (assignment_expression "param_1[0x13] = 0" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }" else (compound_statement "{\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }" { (expression_statement "iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);" (assignment_expression "iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12])" identifier = (call_expression "FUN_00072580(&local_30,"SELECT %s",param_1[0x12])" identifier (argument_list "(&local_30,"SELECT %s",param_1[0x12])" ( (pointer_expression "&local_30" & identifier) , (string_literal ""SELECT %s"" " string_content ") , (subscript_expression "param_1[0x12]" identifier [ number_literal ]) )))) ;) (if_statement "if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }" { (labeled_statement "LAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;" statement_identifier : (if_statement "if (local_30 == 0) goto LAB_000ce0dd;" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (goto_statement "goto LAB_000ce0dd;" goto statement_identifier ;))) }) (else_clause "else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }" else (compound_statement "{\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }" { (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" identifier = number_literal) ;) (expression_statement "local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);" (assignment_expression "local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0)" identifier = (call_expression "FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0)" identifier (argument_list "(*puVar1,iVar6,0xffffffff,1,&local_2c,0)" ( (pointer_expression "*puVar1" * identifier) , identifier , number_literal , number_literal , (pointer_expression "&local_2c" & identifier) , number_literal )))) ;) (expression_statement "FUN_000264d0(iVar6);" (call_expression "FUN_000264d0(iVar6)" identifier (argument_list "(iVar6)" ( identifier ))) ;) (if_statement "if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }" { (expression_statement "iVar6 = FUN_000ae4d0(local_2c);" (assignment_expression "iVar6 = FUN_000ae4d0(local_2c)" identifier = (call_expression "FUN_000ae4d0(local_2c)" identifier (argument_list "(local_2c)" ( identifier )))) ;) (if_statement "if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }" if (parenthesized_expression "(iVar6 == 100)" ( (binary_expression "iVar6 == 100" identifier == number_literal) )) (compound_statement "{\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }" { (expression_statement "iVar6 = FUN_0001d350(local_2c);" (assignment_expression "iVar6 = FUN_0001d350(local_2c)" identifier = (call_expression "FUN_0001d350(local_2c)" identifier (argument_list "(local_2c)" ( identifier )))) ;) (expression_statement "param_1[0x14] = iVar6;" (assignment_expression "param_1[0x14] = iVar6" (subscript_expression "param_1[0x14]" identifier [ number_literal ]) = identifier) ;) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }" if (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) (compound_statement "{\n            iVar6 = FUN_00040980();\n          }" { (expression_statement "iVar6 = FUN_00040980();" (assignment_expression "iVar6 = FUN_00040980()" identifier = (call_expression "FUN_00040980()" identifier (argument_list "()" ( )))) ;) })) (expression_statement "param_1[0x15] = iVar6;" (assignment_expression "param_1[0x15] = iVar6" (subscript_expression "param_1[0x15]" identifier [ number_literal ]) = identifier) ;) (if_statement "if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }" if (parenthesized_expression "((local_30 == 0) && (0 < param_1[0x14]))" ( (binary_expression "(local_30 == 0) && (0 < param_1[0x14])" (parenthesized_expression "(local_30 == 0)" ( (binary_expression "local_30 == 0" identifier == number_literal) )) && (parenthesized_expression "(0 < param_1[0x14])" ( (binary_expression "0 < param_1[0x14]" number_literal < (subscript_expression "param_1[0x14]" identifier [ number_literal ])) ))) )) (compound_statement "{\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);" do (compound_statement "{\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            }" { (expression_statement "iVar4 = param_1[0x15];" (assignment_expression "iVar4 = param_1[0x15]" identifier = (subscript_expression "param_1[0x15]" identifier [ number_literal ])) ;) (expression_statement "iVar8 = iVar6 + 1;" (assignment_expression "iVar8 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "uVar5 = FUN_00039de0(local_2c,iVar6);" (assignment_expression "uVar5 = FUN_00039de0(local_2c,iVar6)" identifier = (call_expression "FUN_00039de0(local_2c,iVar6)" identifier (argument_list "(local_2c,iVar6)" ( identifier , identifier )))) ;) (expression_statement "*(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;" (assignment_expression "*(undefined4 *)(iVar4 + iVar6 * 4) = uVar5" (pointer_expression "*(undefined4 *)(iVar4 + iVar6 * 4)" * (cast_expression "(undefined4 *)(iVar4 + iVar6 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + iVar6 * 4)" ( (binary_expression "iVar4 + iVar6 * 4" identifier + (binary_expression "iVar6 * 4" identifier * number_literal)) )))) = identifier) ;) (expression_statement "iVar6 = iVar8;" (assignment_expression "iVar6 = iVar8" identifier = identifier) ;) }) while (parenthesized_expression "(iVar8 < param_1[0x14])" ( (binary_expression "iVar8 < param_1[0x14]" identifier < (subscript_expression "param_1[0x14]" identifier [ number_literal ])) )) ;) })) (expression_statement "param_1[0x16] = local_2c;" (assignment_expression "param_1[0x16] = local_2c" (subscript_expression "param_1[0x16]" identifier [ number_literal ]) = identifier) ;) }) (else_clause "else {\n          local_30 = FUN_0008b430(local_2c);\n        }" else (compound_statement "{\n          local_30 = FUN_0008b430(local_2c);\n        }" { (expression_statement "local_30 = FUN_0008b430(local_2c);" (assignment_expression "local_30 = FUN_0008b430(local_2c)" identifier = (call_expression "FUN_0008b430(local_2c)" identifier (argument_list "(local_2c)" ( identifier )))) ;) }))) (goto_statement "goto LAB_000ce0d5;" goto statement_identifier ;) })) }))) (expression_statement "param_1[0x13] = 0;" (assignment_expression "param_1[0x13] = 0" (subscript_expression "param_1[0x13]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" identifier = identifier) ;) }))) (labeled_statement "LAB_000cdc60:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\n  }" statement_identifier : (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\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 iVar4;\n  }" { (return_statement "return iVar4;" return identifier ;) }))) (expression_statement "FUN_000f6410();" (call_expression "FUN_000f6410()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * 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 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 = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT + LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (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 = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) (compound_statement { (labeled_statement statement_identifier : (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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (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 * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (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 ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) && (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (binary_expression IDENT + LIT)) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) + (binary_expression IDENT * LIT)) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) && (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT + LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT >> LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) }) while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) ;) })) }))) }))) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (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 != LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression & IDENT) , IDENT , IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (labeled_statement statement_identifier : (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + 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 ( 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 { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) , (string_literal " string_content ") , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , IDENT , LIT , LIT , (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }))) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = 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_000cdc00(int *param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  \n  iVar7 = *param_1;\n  iVar6 = param_1[5];\n  puVar1 = *(undefined4 **)(iVar7 + 0xc);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = puVar1[3];\n  if (iVar6 == 3) {\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }\n  if (param_3 == iVar2) {\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if (iVar2 + 1 != param_3) {\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }\n  if (iVar6 == 2) {\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if ((iVar6 != 1) && (iVar4 = 0, iVar6 != 4)) goto LAB_000cdc60;\n  iVar6 = param_1[0x13];\n  if (iVar6 != 0) {\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  iVar2 = param_1[0x11];\n  local_30 = 0;\n  if (param_1[0x12] == 0) {\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }\n  else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }\nLAB_000cdc60:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\n  }\n                    \n  FUN_000f6410();\n}" (primitive_type "int") (function_declarator "FUN_000cdc00(int *param_1,undefined4 param_2,int param_3)" (identifier "FUN_000cdc00") (parameter_list "(int *param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  int iVar8;\n  int iVar9;\n  int in_GS_OFFSET;\n  undefined4 local_34;\n  int local_30;\n  int local_2c;\n  undefined4 local_28;\n  undefined4 local_24;\n  int local_20;\n  \n  iVar7 = *param_1;\n  iVar6 = param_1[5];\n  puVar1 = *(undefined4 **)(iVar7 + 0xc);\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  iVar2 = puVar1[3];\n  if (iVar6 == 3) {\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }\n  if (param_3 == iVar2) {\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if (iVar2 + 1 != param_3) {\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }\n  if (iVar6 == 2) {\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  if ((iVar6 != 1) && (iVar4 = 0, iVar6 != 4)) goto LAB_000cdc60;\n  iVar6 = param_1[0x13];\n  if (iVar6 != 0) {\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }\n  iVar2 = param_1[0x11];\n  local_30 = 0;\n  if (param_1[0x12] == 0) {\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }\n  else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }\nLAB_000cdc60:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\n  }\n                    \n  FUN_000f6410();\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "int iVar8;" (primitive_type "int") (identifier "iVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "undefined4 local_34;" (type_identifier "undefined4") (identifier "local_34") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "undefined4 local_24;" (type_identifier "undefined4") (identifier "local_24") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "iVar7 = *param_1;" (assignment_expression "iVar7 = *param_1" (identifier "iVar7") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "iVar6 = param_1[5];" (assignment_expression "iVar6 = param_1[5]" (identifier "iVar6") (= "=") (subscript_expression "param_1[5]" (identifier "param_1") ([ "[") (number_literal "5") (] "]"))) (; ";")) (expression_statement "puVar1 = *(undefined4 **)(iVar7 + 0xc);" (assignment_expression "puVar1 = *(undefined4 **)(iVar7 + 0xc)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(iVar7 + 0xc)" (* "*") (cast_expression "(undefined4 **)(iVar7 + 0xc)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar7 + 0xc)" (( "(") (binary_expression "iVar7 + 0xc" (identifier "iVar7") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (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")) () ")"))))) (; ";")) (expression_statement "iVar2 = puVar1[3];" (assignment_expression "iVar2 = puVar1[3]" (identifier "iVar2") (= "=") (subscript_expression "puVar1[3]" (identifier "puVar1") ([ "[") (number_literal "3") (] "]"))) (; ";")) (if_statement "if (iVar6 == 3) {\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }" (if "if") (parenthesized_expression "(iVar6 == 3)" (( "(") (binary_expression "iVar6 == 3" (identifier "iVar6") (== "==") (number_literal "3")) () ")")) (compound_statement "{\n    iVar4 = 0;\n    if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }\n    goto LAB_000cdc60;\n  }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_3 == iVar2) {\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }" (if "if") (parenthesized_expression "(param_3 == iVar2)" (( "(") (binary_expression "param_3 == iVar2" (identifier "param_3") (== "==") (identifier "iVar2")) () ")")) (compound_statement "{\n      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);\n    }" ({ "{") (expression_statement "FUN_00026850(param_2,param_1[0xf],param_1[0x10]);" (call_expression "FUN_00026850(param_2,param_1[0xf],param_1[0x10])" (identifier "FUN_00026850") (argument_list "(param_2,param_1[0xf],param_1[0x10])" (( "(") (identifier "param_2") (, ",") (subscript_expression "param_1[0xf]" (identifier "param_1") ([ "[") (number_literal "0xf") (] "]")) (, ",") (subscript_expression "param_1[0x10]" (identifier "param_1") ([ "[") (number_literal "0x10") (] "]")) () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_000cdc60;" (goto "goto") (statement_identifier "LAB_000cdc60") (; ";")) (} "}"))) (if_statement "if (param_3 == iVar2) {\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" (if "if") (parenthesized_expression "(param_3 == iVar2)" (( "(") (binary_expression "param_3 == iVar2" (identifier "param_3") (== "==") (identifier "iVar2")) () ")")) (compound_statement "{\n    FUN_00026850(param_2,param_1[3],param_1[4]);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" ({ "{") (expression_statement "FUN_00026850(param_2,param_1[3],param_1[4]);" (call_expression "FUN_00026850(param_2,param_1[3],param_1[4])" (identifier "FUN_00026850") (argument_list "(param_2,param_1[3],param_1[4])" (( "(") (identifier "param_2") (, ",") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (, ",") (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) () ")"))) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000cdc60;" (goto "goto") (statement_identifier "LAB_000cdc60") (; ";")) (} "}"))) (if_statement "if (iVar2 + 1 != param_3) {\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }" (if "if") (parenthesized_expression "(iVar2 + 1 != param_3)" (( "(") (binary_expression "iVar2 + 1 != param_3" (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) (!= "!=") (identifier "param_3")) () ")")) (compound_statement "{\n    iVar4 = 0;\n    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }\n    goto LAB_000cdc60;\n  }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }" (if "if") (parenthesized_expression "((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0))" (( "(") (binary_expression "(puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)" (parenthesized_expression "(puVar1[8] != 1)" (( "(") (binary_expression "puVar1[8] != 1" (subscript_expression "puVar1[8]" (identifier "puVar1") ([ "[") (number_literal "8") (] "]")) (!= "!=") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = FUN_000ccca0(), iVar4 == 0)" (( "(") (comma_expression "iVar4 = FUN_000ccca0(), iVar4 == 0" (assignment_expression "iVar4 = FUN_000ccca0()" (identifier "iVar4") (= "=") (call_expression "FUN_000ccca0()" (identifier "FUN_000ccca0") (argument_list "()" (( "(") () ")")))) (, ",") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);\n      FUN_00049270(param_2,uVar5);\n    }" ({ "{") (expression_statement "uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);" (assignment_expression "uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1)" (identifier "uVar5") (= "=") (call_expression "FUN_00039de0(param_1[0xb],param_3 + 1)" (identifier "FUN_00039de0") (argument_list "(param_1[0xb],param_3 + 1)" (( "(") (subscript_expression "param_1[0xb]" (identifier "param_1") ([ "[") (number_literal "0xb") (] "]")) (, ",") (binary_expression "param_3 + 1" (identifier "param_3") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "FUN_00049270(param_2,uVar5);" (call_expression "FUN_00049270(param_2,uVar5)" (identifier "FUN_00049270") (argument_list "(param_2,uVar5)" (( "(") (identifier "param_2") (, ",") (identifier "uVar5") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_000cdc60;" (goto "goto") (statement_identifier "LAB_000cdc60") (; ";")) (} "}"))) (if_statement "if (iVar6 == 2) {\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" (if "if") (parenthesized_expression "(iVar6 == 2)" (( "(") (binary_expression "iVar6 == 2" (identifier "iVar6") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n    iVar7 = param_1[0xc];\n    iVar6 = puVar1[0xc];\n    if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }\nLAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" ({ "{") (expression_statement "iVar7 = param_1[0xc];" (assignment_expression "iVar7 = param_1[0xc]" (identifier "iVar7") (= "=") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (expression_statement "iVar6 = puVar1[0xc];" (assignment_expression "iVar6 = puVar1[0xc]" (identifier "iVar6") (= "=") (subscript_expression "puVar1[0xc]" (identifier "puVar1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (if_statement "if (iVar7 == 0) {\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }\n    else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }" (if "if") (parenthesized_expression "(iVar7 == 0)" (( "(") (binary_expression "iVar7 == 0" (identifier "iVar7") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }\n    }" ({ "{") (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((iVar6 != 0) && (iVar6 != 2)) {\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }" (if "if") (parenthesized_expression "((iVar6 != 0) && (iVar6 != 2))" (( "(") (binary_expression "(iVar6 != 0) && (iVar6 != 2)" (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar6 != 2)" (( "(") (binary_expression "iVar6 != 2" (identifier "iVar6") (!= "!=") (number_literal "2")) () ")"))) () ")")) (compound_statement "{\nLAB_000cdf39:\n        local_24 = 0;\n        local_28 = 0;\n        local_2c = 0;\n      }" ({ "{") (labeled_statement "LAB_000cdf39:\n        local_24 = 0;" (statement_identifier "LAB_000cdf39") (: ":") (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";"))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }" (else "else") (compound_statement "{\n      iVar2 = *(int *)(iVar7 + 0x10);\n      local_2c = 0;\n      local_28 = 0;\n      local_24 = 0;\n      if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }\n    }" ({ "{") (expression_statement "iVar2 = *(int *)(iVar7 + 0x10);" (assignment_expression "iVar2 = *(int *)(iVar7 + 0x10)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(iVar7 + 0x10)" (* "*") (cast_expression "(int *)(iVar7 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x10)" (( "(") (binary_expression "iVar7 + 0x10" (identifier "iVar7") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_24 = 0;" (assignment_expression "local_24 = 0" (identifier "local_24") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar6 == 0) {\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }\n      else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }\n        iVar7 = 0;\n        if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }\n      }" ({ "{") (if_statement "if (1 < iVar2) {\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }" (if "if") (parenthesized_expression "(1 < iVar2)" (( "(") (binary_expression "1 < iVar2" (number_literal "1") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n          iVar6 = 0;\n          while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }\n        }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (while_statement "while( true ) {\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n            iVar8 = 0;\n            iVar9 = 0;\n            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);\n            iVar4 = *piVar3;\n            if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }\n            iVar6 = iVar6 + 1;\n            FUN_0006a320(iVar8,iVar9);\n            if (iVar6 == iVar2 + -1) break;\n            iVar7 = param_1[0xc];\n          }" ({ "{") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);" (assignment_expression "piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4)" (* "*") (cast_expression "(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(iVar7 + 0x14) + iVar6 * 4)" (( "(") (binary_expression "*(int *)(iVar7 + 0x14) + iVar6 * 4" (pointer_expression "*(int *)(iVar7 + 0x14)" (* "*") (cast_expression "(int *)(iVar7 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x14)" (( "(") (binary_expression "iVar7 + 0x14" (identifier "iVar7") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar4 = *piVar3;" (assignment_expression "iVar4 = *piVar3" (identifier "iVar4") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (if_statement "if ((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }" (if "if") (parenthesized_expression "((*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10)))" (( "(") (binary_expression "(*(int *)(iVar4 + 4) == 0) &&\n               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))" (parenthesized_expression "(*(int *)(iVar4 + 4) == 0)" (( "(") (binary_expression "*(int *)(iVar4 + 4) == 0" (pointer_expression "*(int *)(iVar4 + 4)" (* "*") (cast_expression "(int *)(iVar4 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 4)" (( "(") (binary_expression "iVar4 + 4" (identifier "iVar4") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))" (( "(") (binary_expression "*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&\n                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10)" (binary_expression "*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14)" (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")")))) (== "==") (pointer_expression "*(int *)(*(int *)(iVar7 + 8) + 0x14)" (* "*") (cast_expression "(int *)(*(int *)(iVar7 + 8) + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar7 + 8) + 0x14)" (( "(") (binary_expression "*(int *)(iVar7 + 8) + 0x14" (pointer_expression "*(int *)(iVar7 + 8)" (* "*") (cast_expression "(int *)(iVar7 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 8)" (( "(") (binary_expression "iVar7 + 8" (identifier "iVar7") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x14")) () ")"))))) (&& "&&") (binary_expression "*(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10)" (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (pointer_expression "*(int *)(*(int *)(iVar7 + 8) + 0x10)" (* "*") (cast_expression "(int *)(*(int *)(iVar7 + 8) + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar7 + 8) + 0x10)" (( "(") (binary_expression "*(int *)(iVar7 + 8) + 0x10" (pointer_expression "*(int *)(iVar7 + 8)" (* "*") (cast_expression "(int *)(iVar7 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 8)" (( "(") (binary_expression "iVar7 + 8" (identifier "iVar7") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x10")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n              iVar8 = piVar3[2];\n              iVar9 = iVar8 >> 0x1f;\n            }" ({ "{") (expression_statement "iVar8 = piVar3[2];" (assignment_expression "iVar8 = piVar3[2]" (identifier "iVar8") (= "=") (subscript_expression "piVar3[2]" (identifier "piVar3") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "iVar9 = iVar8 >> 0x1f;" (assignment_expression "iVar9 = iVar8 >> 0x1f" (identifier "iVar9") (= "=") (binary_expression "iVar8 >> 0x1f" (identifier "iVar8") (>> ">>") (number_literal "0x1f"))) (; ";")) (} "}"))) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" (identifier "iVar6") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_0006a320(iVar8,iVar9);" (call_expression "FUN_0006a320(iVar8,iVar9)" (identifier "FUN_0006a320") (argument_list "(iVar8,iVar9)" (( "(") (identifier "iVar8") (, ",") (identifier "iVar9") () ")"))) (; ";")) (if_statement "if (iVar6 == iVar2 + -1) break;" (if "if") (parenthesized_expression "(iVar6 == iVar2 + -1)" (( "(") (binary_expression "iVar6 == iVar2 + -1" (identifier "iVar6") (== "==") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar7 = param_1[0xc];" (assignment_expression "iVar7 = param_1[0xc]" (identifier "iVar7") (= "=") (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < iVar2) {\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }" (if "if") (parenthesized_expression "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n          do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);\n        }" ({ "{") (do_statement "do {\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          } while (iVar2 != iVar7);" (do "do") (compound_statement "{\n            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);\n            iVar6 = *piVar3;\n            if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }\n            iVar7 = iVar7 + 1;\n            FUN_00069170(iVar8);\n          }" ({ "{") (expression_statement "piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);" (assignment_expression "piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4)" (identifier "piVar3") (= "=") (pointer_expression "*(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4)" (* "*") (cast_expression "(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4)" (( "(") (binary_expression "*(int *)(param_1[0xc] + 0x14) + iVar7 * 4" (pointer_expression "*(int *)(param_1[0xc] + 0x14)" (* "*") (cast_expression "(int *)(param_1[0xc] + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[0xc] + 0x14)" (( "(") (binary_expression "param_1[0xc] + 0x14" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (binary_expression "iVar7 * 4" (identifier "iVar7") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (expression_statement "iVar6 = *piVar3;" (assignment_expression "iVar6 = *piVar3" (identifier "iVar6") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (if_statement "if (*(int *)(iVar6 + 4) == 0) {\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }\n            else {\n              iVar8 = 0;\n            }" (if "if") (parenthesized_expression "(*(int *)(iVar6 + 4) == 0)" (( "(") (binary_expression "*(int *)(iVar6 + 4) == 0" (pointer_expression "*(int *)(iVar6 + 4)" (* "*") (cast_expression "(int *)(iVar6 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iVar4 = *(int *)(param_1[0xc] + 8);\n              iVar8 = 0;\n              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }\n            }" ({ "{") (expression_statement "iVar4 = *(int *)(param_1[0xc] + 8);" (assignment_expression "iVar4 = *(int *)(param_1[0xc] + 8)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(param_1[0xc] + 8)" (* "*") (cast_expression "(int *)(param_1[0xc] + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1[0xc] + 8)" (( "(") (binary_expression "param_1[0xc] + 8" (subscript_expression "param_1[0xc]" (identifier "param_1") ([ "[") (number_literal "0xc") (] "]")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (if_statement "if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {\n                iVar8 = piVar3[1];\n              }" (if "if") (parenthesized_expression "(*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10))" (( "(") (binary_expression "*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&\n                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)" (binary_expression "*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14)" (pointer_expression "*(int *)(iVar6 + 0x14)" (* "*") (cast_expression "(int *)(iVar6 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x14)" (( "(") (binary_expression "iVar6 + 0x14" (identifier "iVar6") (+ "+") (number_literal "0x14")) () ")")))) (== "==") (pointer_expression "*(int *)(iVar4 + 0x14)" (* "*") (cast_expression "(int *)(iVar4 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x14)" (( "(") (binary_expression "iVar4 + 0x14" (identifier "iVar4") (+ "+") (number_literal "0x14")) () ")"))))) (&& "&&") (binary_expression "*(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)" (pointer_expression "*(int *)(iVar6 + 0x10)" (* "*") (cast_expression "(int *)(iVar6 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x10)" (( "(") (binary_expression "iVar6 + 0x10" (identifier "iVar6") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (pointer_expression "*(int *)(iVar4 + 0x10)" (* "*") (cast_expression "(int *)(iVar4 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x10)" (( "(") (binary_expression "iVar4 + 0x10" (identifier "iVar4") (+ "+") (number_literal "0x10")) () ")")))))) () ")")) (compound_statement "{\n                iVar8 = piVar3[1];\n              }" ({ "{") (expression_statement "iVar8 = piVar3[1];" (assignment_expression "iVar8 = piVar3[1]" (identifier "iVar8") (= "=") (subscript_expression "piVar3[1]" (identifier "piVar3") ([ "[") (number_literal "1") (] "]"))) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n              iVar8 = 0;\n            }" (else "else") (compound_statement "{\n              iVar8 = 0;\n            }" ({ "{") (expression_statement "iVar8 = 0;" (assignment_expression "iVar8 = 0" (identifier "iVar8") (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_00069170(iVar8);" (call_expression "FUN_00069170(iVar8)" (identifier "FUN_00069170") (argument_list "(iVar8)" (( "(") (identifier "iVar8") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != iVar7)" (( "(") (binary_expression "iVar2 != iVar7" (identifier "iVar2") (!= "!=") (identifier "iVar7")) () ")")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }" (else "else") (compound_statement "{\n        if (iVar6 != 2) goto LAB_000cdf39;\n        if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }\n        if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }\n      }" ({ "{") (if_statement "if (iVar6 != 2) goto LAB_000cdf39;" (if "if") (parenthesized_expression "(iVar6 != 2)" (( "(") (binary_expression "iVar6 != 2" (identifier "iVar6") (!= "!=") (number_literal "2")) () ")")) (goto_statement "goto LAB_000cdf39;" (goto "goto") (statement_identifier "LAB_000cdf39") (; ";"))) (if_statement "if (0 < iVar2 + -1) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }" (if "if") (parenthesized_expression "(0 < iVar2 + -1)" (( "(") (binary_expression "0 < iVar2 + -1" (number_literal "0") (< "<") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) () ")")) (compound_statement "{\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);\n        }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          } while (iVar7 != iVar2 + -1);" (do "do") (compound_statement "{\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_0006a320(local_30,local_30 >> 0x1f);\n            if (iVar6 != 0) goto LAB_000cde38;\n          }" ({ "{") (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar6 = FUN_000696d0(&local_34,&local_30);" (assignment_expression "iVar6 = FUN_000696d0(&local_34,&local_30)" (identifier "iVar6") (= "=") (call_expression "FUN_000696d0(&local_34,&local_30)" (identifier "FUN_000696d0") (argument_list "(&local_34,&local_30)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")")))) (; ";")) (expression_statement "FUN_0006a320(local_30,local_30 >> 0x1f);" (call_expression "FUN_0006a320(local_30,local_30 >> 0x1f)" (identifier "FUN_0006a320") (argument_list "(local_30,local_30 >> 0x1f)" (( "(") (identifier "local_30") (, ",") (binary_expression "local_30 >> 0x1f" (identifier "local_30") (>> ">>") (number_literal "0x1f")) () ")"))) (; ";")) (if_statement "if (iVar6 != 0) goto LAB_000cde38;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_000cde38;" (goto "goto") (statement_identifier "LAB_000cde38") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(iVar7 != iVar2 + -1)" (( "(") (binary_expression "iVar7 != iVar2 + -1" (identifier "iVar7") (!= "!=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) () ")")) (; ";")) (} "}"))) (if_statement "if (0 < iVar2) {\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }" (if "if") (parenthesized_expression "(0 < iVar2)" (( "(") (binary_expression "0 < iVar2" (number_literal "0") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n          iVar7 = 0;\n          do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);\n        }" ({ "{") (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          } while (iVar7 < iVar2);" (do "do") (compound_statement "{\n            iVar7 = iVar7 + 1;\n            iVar6 = FUN_000696d0(&local_34,&local_30);\n            FUN_00069170(local_34);\n            if (iVar6 != 0) break;\n          }" ({ "{") (expression_statement "iVar7 = iVar7 + 1;" (assignment_expression "iVar7 = iVar7 + 1" (identifier "iVar7") (= "=") (binary_expression "iVar7 + 1" (identifier "iVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar6 = FUN_000696d0(&local_34,&local_30);" (assignment_expression "iVar6 = FUN_000696d0(&local_34,&local_30)" (identifier "iVar6") (= "=") (call_expression "FUN_000696d0(&local_34,&local_30)" (identifier "FUN_000696d0") (argument_list "(&local_34,&local_30)" (( "(") (pointer_expression "&local_34" (& "&") (identifier "local_34")) (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) () ")")))) (; ";")) (expression_statement "FUN_00069170(local_34);" (call_expression "FUN_00069170(local_34)" (identifier "FUN_00069170") (argument_list "(local_34)" (( "(") (identifier "local_34") () ")"))) (; ";")) (if_statement "if (iVar6 != 0) break;" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(iVar7 < iVar2)" (( "(") (binary_expression "iVar7 < iVar2" (identifier "iVar7") (< "<") (identifier "iVar2")) () ")")) (; ";")) (} "}"))) (} "}")))) (} "}")))) (labeled_statement "LAB_000cde38:\n    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);" (statement_identifier "LAB_000cde38") (: ":") (expression_statement "FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);" (call_expression "FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8)" (identifier "FUN_00047bc0") (argument_list "(param_2,local_2c,local_28,PTR_FUN_0014afe8)" (( "(") (identifier "param_2") (, ",") (identifier "local_2c") (, ",") (identifier "local_28") (, ",") (identifier "PTR_FUN_0014afe8") () ")"))) (; ";"))) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000cdc60;" (goto "goto") (statement_identifier "LAB_000cdc60") (; ";")) (} "}"))) (if_statement "if ((iVar6 != 1) && (iVar4 = 0, iVar6 != 4)) goto LAB_000cdc60;" (if "if") (parenthesized_expression "((iVar6 != 1) && (iVar4 = 0, iVar6 != 4))" (( "(") (binary_expression "(iVar6 != 1) && (iVar4 = 0, iVar6 != 4)" (parenthesized_expression "(iVar6 != 1)" (( "(") (binary_expression "iVar6 != 1" (identifier "iVar6") (!= "!=") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(iVar4 = 0, iVar6 != 4)" (( "(") (comma_expression "iVar4 = 0, iVar6 != 4" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (, ",") (binary_expression "iVar6 != 4" (identifier "iVar6") (!= "!=") (number_literal "4"))) () ")"))) () ")")) (goto_statement "goto LAB_000cdc60;" (goto "goto") (statement_identifier "LAB_000cdc60") (; ";"))) (expression_statement "iVar6 = param_1[0x13];" (assignment_expression "iVar6 = param_1[0x13]" (identifier "iVar6") (= "=") (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]"))) (; ";")) (if_statement "if (iVar6 != 0) {\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000cdcc8:\n    param_1[0x17] = iVar6;\n    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);\n    param_1[0x17] = 0;\n    iVar4 = 0;\n    goto LAB_000cdc60;\n  }" ({ "{") (labeled_statement "LAB_000cdcc8:\n    param_1[0x17] = iVar6;" (statement_identifier "LAB_000cdcc8") (: ":") (expression_statement "param_1[0x17] = iVar6;" (assignment_expression "param_1[0x17] = iVar6" (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]")) (= "=") (identifier "iVar6")) (; ";"))) (expression_statement "(**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);" (call_expression "(**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15])" (parenthesized_expression "(**(code **)(iVar6 + 0xc))" (( "(") (pointer_expression "**(code **)(iVar6 + 0xc)" (* "*") (pointer_expression "*(code **)(iVar6 + 0xc)" (* "*") (cast_expression "(code **)(iVar6 + 0xc)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar6 + 0xc)" (( "(") (binary_expression "iVar6 + 0xc" (identifier "iVar6") (+ "+") (number_literal "0xc")) () ")"))))) () ")")) (argument_list "(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15])" (( "(") (pointer_expression "&DAT_0014a0c0" (& "&") (identifier "DAT_0014a0c0")) (, ",") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]")) (, ",") (subscript_expression "param_1[0x15]" (identifier "param_1") ([ "[") (number_literal "0x15") (] "]")) () ")"))) (; ";")) (expression_statement "param_1[0x17] = 0;" (assignment_expression "param_1[0x17] = 0" (subscript_expression "param_1[0x17]" (identifier "param_1") ([ "[") (number_literal "0x17") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_000cdc60;" (goto "goto") (statement_identifier "LAB_000cdc60") (; ";")) (} "}"))) (expression_statement "iVar2 = param_1[0x11];" (assignment_expression "iVar2 = param_1[0x11]" (identifier "iVar2") (= "=") (subscript_expression "param_1[0x11]" (identifier "param_1") ([ "[") (number_literal "0x11") (] "]"))) (; ";")) (expression_statement "local_30 = 0;" (assignment_expression "local_30 = 0" (identifier "local_30") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1[0x12] == 0) {\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }\n  else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }" (if "if") (parenthesized_expression "(param_1[0x12] == 0)" (( "(") (binary_expression "param_1[0x12] == 0" (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }\n    uVar5 = FUN_000728a0("no such function: %s",iVar2);\n    *(undefined4 *)(iVar7 + 8) = uVar5;\n    param_1[0x13] = 0;\n    iVar4 = 1;\n  }" ({ "{") (labeled_statement "LAB_000ce0dd:\n    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }" (statement_identifier "LAB_000ce0dd") (: ":") (for_statement "for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)\n        ) {\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }" (for "for") (( "(") (assignment_expression "iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(*(int *)(iVar7 + 0x18) + 0x1c)" (* "*") (cast_expression "(int *)(*(int *)(iVar7 + 0x18) + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar7 + 0x18) + 0x1c)" (( "(") (binary_expression "*(int *)(iVar7 + 0x18) + 0x1c" (pointer_expression "*(int *)(iVar7 + 0x18)" (* "*") (cast_expression "(int *)(iVar7 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 0x18)" (( "(") (binary_expression "iVar7 + 0x18" (identifier "iVar7") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "0x1c")) () ")"))))) (; ";") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar6 = *(int *)(iVar6 + 0x14)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(iVar6 + 0x14)" (* "*") (cast_expression "(int *)(iVar6 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 0x14)" (( "(") (binary_expression "iVar6 + 0x14" (identifier "iVar6") (+ "+") (number_literal "0x14")) () ")"))))) () ")") (compound_statement "{\n      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));\n      if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }\n    }" ({ "{") (expression_statement "iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));" (assignment_expression "iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4))" (identifier "iVar4") (= "=") (call_expression "FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4))" (identifier "FUN_00029350") (argument_list "(iVar2,*(undefined4 *)(iVar6 + 4))" (( "(") (identifier "iVar2") (, ",") (pointer_expression "*(undefined4 *)(iVar6 + 4)" (* "*") (cast_expression "(undefined4 *)(iVar6 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar6 + 4)" (( "(") (binary_expression "iVar6 + 4" (identifier "iVar6") (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (if_statement "if (iVar4 == 0) {\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }" (if "if") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        param_1[0x13] = iVar6;\n        iVar4 = local_30;\n        if (local_30 == 0) goto LAB_000cdcc8;\n        goto LAB_000cdc60;\n      }" ({ "{") (expression_statement "param_1[0x13] = iVar6;" (assignment_expression "param_1[0x13] = iVar6" (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" (identifier "iVar4") (= "=") (identifier "local_30")) (; ";")) (if_statement "if (local_30 == 0) goto LAB_000cdcc8;" (if "if") (parenthesized_expression "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000cdcc8;" (goto "goto") (statement_identifier "LAB_000cdcc8") (; ";"))) (goto_statement "goto LAB_000cdc60;" (goto "goto") (statement_identifier "LAB_000cdc60") (; ";")) (} "}"))) (} "}")))) (expression_statement "uVar5 = FUN_000728a0("no such function: %s",iVar2);" (assignment_expression "uVar5 = FUN_000728a0("no such function: %s",iVar2)" (identifier "uVar5") (= "=") (call_expression "FUN_000728a0("no such function: %s",iVar2)" (identifier "FUN_000728a0") (argument_list "("no such function: %s",iVar2)" (( "(") (string_literal ""no such function: %s"" (" """) (string_content "no such function: %s") (" """)) (, ",") (identifier "iVar2") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar7 + 8) = uVar5;" (assignment_expression "*(undefined4 *)(iVar7 + 8) = uVar5" (pointer_expression "*(undefined4 *)(iVar7 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar7 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar7 + 8)" (( "(") (binary_expression "iVar7 + 8" (identifier "iVar7") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "param_1[0x13] = 0;" (assignment_expression "param_1[0x13] = 0" (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = 1;" (assignment_expression "iVar4 = 1" (identifier "iVar4") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }" (else "else") (compound_statement "{\n    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);\n    if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }\n    param_1[0x13] = 0;\n    iVar4 = local_30;\n  }" ({ "{") (expression_statement "iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);" (assignment_expression "iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12])" (identifier "iVar6") (= "=") (call_expression "FUN_00072580(&local_30,"SELECT %s",param_1[0x12])" (identifier "FUN_00072580") (argument_list "(&local_30,"SELECT %s",param_1[0x12])" (( "(") (pointer_expression "&local_30" (& "&") (identifier "local_30")) (, ",") (string_literal ""SELECT %s"" (" """) (string_content "SELECT %s") (" """)) (, ",") (subscript_expression "param_1[0x12]" (identifier "param_1") ([ "[") (number_literal "0x12") (] "]")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }\n    else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;\n    }" ({ "{") (labeled_statement "LAB_000ce0d5:\n      if (local_30 == 0) goto LAB_000ce0dd;" (statement_identifier "LAB_000ce0d5") (: ":") (if_statement "if (local_30 == 0) goto LAB_000ce0dd;" (if "if") (parenthesized_expression "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000ce0dd;" (goto "goto") (statement_identifier "LAB_000ce0dd") (; ";")))) (} "}")) (else_clause "else {\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }" (else "else") (compound_statement "{\n      local_2c = 0;\n      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);\n      FUN_000264d0(iVar6);\n      if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }\n    }" ({ "{") (expression_statement "local_2c = 0;" (assignment_expression "local_2c = 0" (identifier "local_2c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);" (assignment_expression "local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0)" (identifier "local_30") (= "=") (call_expression "FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0)" (identifier "FUN_000c3f90") (argument_list "(*puVar1,iVar6,0xffffffff,1,&local_2c,0)" (( "(") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (, ",") (identifier "iVar6") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "1") (, ",") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "FUN_000264d0(iVar6);" (call_expression "FUN_000264d0(iVar6)" (identifier "FUN_000264d0") (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")"))) (; ";")) (if_statement "if (local_30 == 0) {\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }" (if "if") (parenthesized_expression "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar6 = FUN_000ae4d0(local_2c);\n        if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }\n        goto LAB_000ce0d5;\n      }" ({ "{") (expression_statement "iVar6 = FUN_000ae4d0(local_2c);" (assignment_expression "iVar6 = FUN_000ae4d0(local_2c)" (identifier "iVar6") (= "=") (call_expression "FUN_000ae4d0(local_2c)" (identifier "FUN_000ae4d0") (argument_list "(local_2c)" (( "(") (identifier "local_2c") () ")")))) (; ";")) (if_statement "if (iVar6 == 100) {\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }\n        else {\n          local_30 = FUN_0008b430(local_2c);\n        }" (if "if") (parenthesized_expression "(iVar6 == 100)" (( "(") (binary_expression "iVar6 == 100" (identifier "iVar6") (== "==") (number_literal "100")) () ")")) (compound_statement "{\n          iVar6 = FUN_0001d350(local_2c);\n          param_1[0x14] = iVar6;\n          iVar6 = 0;\n          if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }\n          param_1[0x15] = iVar6;\n          if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }\n          param_1[0x16] = local_2c;\n        }" ({ "{") (expression_statement "iVar6 = FUN_0001d350(local_2c);" (assignment_expression "iVar6 = FUN_0001d350(local_2c)" (identifier "iVar6") (= "=") (call_expression "FUN_0001d350(local_2c)" (identifier "FUN_0001d350") (argument_list "(local_2c)" (( "(") (identifier "local_2c") () ")")))) (; ";")) (expression_statement "param_1[0x14] = iVar6;" (assignment_expression "param_1[0x14] = iVar6" (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (if_statement "if (local_30 == 0) {\n            iVar6 = FUN_00040980();\n          }" (if "if") (parenthesized_expression "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            iVar6 = FUN_00040980();\n          }" ({ "{") (expression_statement "iVar6 = FUN_00040980();" (assignment_expression "iVar6 = FUN_00040980()" (identifier "iVar6") (= "=") (call_expression "FUN_00040980()" (identifier "FUN_00040980") (argument_list "()" (( "(") () ")")))) (; ";")) (} "}"))) (expression_statement "param_1[0x15] = iVar6;" (assignment_expression "param_1[0x15] = iVar6" (subscript_expression "param_1[0x15]" (identifier "param_1") ([ "[") (number_literal "0x15") (] "]")) (= "=") (identifier "iVar6")) (; ";")) (if_statement "if ((local_30 == 0) && (0 < param_1[0x14])) {\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }" (if "if") (parenthesized_expression "((local_30 == 0) && (0 < param_1[0x14]))" (( "(") (binary_expression "(local_30 == 0) && (0 < param_1[0x14])" (parenthesized_expression "(local_30 == 0)" (( "(") (binary_expression "local_30 == 0" (identifier "local_30") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(0 < param_1[0x14])" (( "(") (binary_expression "0 < param_1[0x14]" (number_literal "0") (< "<") (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]"))) () ")"))) () ")")) (compound_statement "{\n            iVar6 = 0;\n            do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);\n          }" ({ "{") (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" (identifier "iVar6") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            } while (iVar8 < param_1[0x14]);" (do "do") (compound_statement "{\n              iVar4 = param_1[0x15];\n              iVar8 = iVar6 + 1;\n              uVar5 = FUN_00039de0(local_2c,iVar6);\n              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;\n              iVar6 = iVar8;\n            }" ({ "{") (expression_statement "iVar4 = param_1[0x15];" (assignment_expression "iVar4 = param_1[0x15]" (identifier "iVar4") (= "=") (subscript_expression "param_1[0x15]" (identifier "param_1") ([ "[") (number_literal "0x15") (] "]"))) (; ";")) (expression_statement "iVar8 = iVar6 + 1;" (assignment_expression "iVar8 = iVar6 + 1" (identifier "iVar8") (= "=") (binary_expression "iVar6 + 1" (identifier "iVar6") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = FUN_00039de0(local_2c,iVar6);" (assignment_expression "uVar5 = FUN_00039de0(local_2c,iVar6)" (identifier "uVar5") (= "=") (call_expression "FUN_00039de0(local_2c,iVar6)" (identifier "FUN_00039de0") (argument_list "(local_2c,iVar6)" (( "(") (identifier "local_2c") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;" (assignment_expression "*(undefined4 *)(iVar4 + iVar6 * 4) = uVar5" (pointer_expression "*(undefined4 *)(iVar4 + iVar6 * 4)" (* "*") (cast_expression "(undefined4 *)(iVar4 + iVar6 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + iVar6 * 4)" (( "(") (binary_expression "iVar4 + iVar6 * 4" (identifier "iVar4") (+ "+") (binary_expression "iVar6 * 4" (identifier "iVar6") (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "uVar5")) (; ";")) (expression_statement "iVar6 = iVar8;" (assignment_expression "iVar6 = iVar8" (identifier "iVar6") (= "=") (identifier "iVar8")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar8 < param_1[0x14])" (( "(") (binary_expression "iVar8 < param_1[0x14]" (identifier "iVar8") (< "<") (subscript_expression "param_1[0x14]" (identifier "param_1") ([ "[") (number_literal "0x14") (] "]"))) () ")")) (; ";")) (} "}"))) (expression_statement "param_1[0x16] = local_2c;" (assignment_expression "param_1[0x16] = local_2c" (subscript_expression "param_1[0x16]" (identifier "param_1") ([ "[") (number_literal "0x16") (] "]")) (= "=") (identifier "local_2c")) (; ";")) (} "}")) (else_clause "else {\n          local_30 = FUN_0008b430(local_2c);\n        }" (else "else") (compound_statement "{\n          local_30 = FUN_0008b430(local_2c);\n        }" ({ "{") (expression_statement "local_30 = FUN_0008b430(local_2c);" (assignment_expression "local_30 = FUN_0008b430(local_2c)" (identifier "local_30") (= "=") (call_expression "FUN_0008b430(local_2c)" (identifier "FUN_0008b430") (argument_list "(local_2c)" (( "(") (identifier "local_2c") () ")")))) (; ";")) (} "}")))) (goto_statement "goto LAB_000ce0d5;" (goto "goto") (statement_identifier "LAB_000ce0d5") (; ";")) (} "}"))) (} "}")))) (expression_statement "param_1[0x13] = 0;" (assignment_expression "param_1[0x13] = 0" (subscript_expression "param_1[0x13]" (identifier "param_1") ([ "[") (number_literal "0x13") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar4 = local_30;" (assignment_expression "iVar4 = local_30" (identifier "iVar4") (= "=") (identifier "local_30")) (; ";")) (} "}")))) (labeled_statement "LAB_000cdc60:\n  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\n  }" (statement_identifier "LAB_000cdc60") (: ":") (if_statement "if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return iVar4;\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 iVar4;\n  }" ({ "{") (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))) (expression_statement "FUN_000f6410();" (call_expression "FUN_000f6410()" (identifier "FUN_000f6410") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

int function_1(type_1 *var_5,type_2 *pCtx,int var_9)

{
  int var_34;
  type_3 *var_3;
  type_4 *var_12;
  type_5 *zLeft;
  int var_14;
  int *piVar5;
  type_6 **var_23;
  int var_7;
  type_7 *pValue;
  type_5 *var_11;
  char *var_18;
  type_5 *var_2;
  type_8 *psVar11;
  type_9 nData;
  type_10 *pData;
  type_10 **ppuVar12;
  type_10 **ppuVar13;
  int var_13;
  int var_15;
  int iVar16;
  int var_1;
  type_6 **ppuVar17;
  int var_21;
  type_10 *dummy;
  int var_25;
  type_11 val;
  
  var_23 = &_GLOBAL_OFFSET_TABLE_;
  var_11 = var_5->pVtab;
  var_2 = var_5[5].pVtab;
  psVar11 = var_11[1].pModule;
  var_34 = *(int *)(var_1 + 0x14);
  var_3 = psVar11->xBestIndex;
  if (var_2 == (type_5 *)0x3) {
    var_7 = 0;
    if ((type_3 *)var_9 == var_3) {
      var_4(pCtx,*(type_12 *)(var_5 + 0xf));
    }
    goto LAB_000cdc60;
  }
  if ((type_3 *)var_9 == var_3) {
    var_4(pCtx,*(type_12 *)(var_5 + 3));
    var_7 = 0;
    goto LAB_000cdc60;
  }
  if (var_3 + 1 != (type_3 *)var_9) {
    var_7 = 0;
    if ((psVar11->xFilter !=
         (type_13 *)0x1) &&
       (var_7 = var_6((type_14 *)var_5,1), var_7 == 0)) {
      pValue = var_8((type_15 *)var_5[0xb].pVtab,var_9 + 1);
      var_10(pCtx,pValue);
    }
    goto LAB_000cdc60;
  }
  if (var_2 == (type_5 *)0x2) {
    var_11 = var_5[0xc].pVtab;
    var_12 = psVar11->xRowid;
    var_21 = 0;
    if (var_11 == (type_5 *)0x0) {
      val.p = (type_10 *)0x0;
      val.n = 0;
      val.nSpace = 0;
      ppuVar17 = var_23;
      if ((var_12 != (type_4 *)0x0) &&
         (ppuVar17 = &_GLOBAL_OFFSET_TABLE_,
         var_12 != (type_4 *)0x2)) {
LAB_000cdf39:
        val.nSpace = 0;
        val.n = 0;
        val.p = (type_10 *)0x0;
        ppuVar17 = var_23;
      }
    }
    else {
      var_7 = var_11[1].nRef;
      val.p = (type_10 *)0x0;
      val.n = 0;
      val.nSpace = 0;
      if (var_12 == (type_4 *)0x0) {
        if (1 < var_7) {
          var_13 = 0;
          while( true ) {
            var_15 = 0;
            iVar16 = 0;
            var_14 = **(int **)(var_11[1].zErrMsg + var_13 * 4);
            if ((*(int *)(var_14 + 4) == 0) &&
               (*(int *)(var_14 + 0x14) == *(int *)(var_11->zErrMsg + 0x14) &&
                *(int *)(var_14 + 0x10) == *(int *)(var_11->zErrMsg + 0x10))) {
              var_15 = (*(int **)(var_11[1].zErrMsg + var_13 * 4))[2];
              iVar16 = var_15 >> 0x1f;
            }
            var_13 = var_13 + 1;
            var_16(&var_21,&val,var_17(iVar16,var_15));
            if (var_13 == var_7 + -1) break;
            var_11 = var_5[0xc].pVtab;
          }
        }
        var_13 = 0;
        ppuVar17 = var_23;
        if (0 < var_7) {
          do {
            piVar5 = *(int **)(var_5[0xc].pVtab[1].zErrMsg + var_13 * 4);
            var_14 = *piVar5;
            if (*(int *)(var_14 + 4) == 0) {
              var_18 = (var_5[0xc].pVtab)->zErrMsg;
              nData = 0;
              pData = (type_10 *)0x0;
              if (*(int *)(var_14 + 0x14) == *(int *)(var_18 + 0x14) &&
                  *(int *)(var_14 + 0x10) == *(int *)(var_18 + 0x10)) {
                pData = (type_10 *)piVar5[1];
                nData = piVar5[2];
              }
            }
            else {
              nData = 0;
              pData = (type_10 *)0x0;
            }
            var_13 = var_13 + 1;
            var_19(&var_21,&val,nData,pData);
            ppuVar17 = var_23;
          } while (var_7 != var_13);
        }
      }
      else {
        if (var_12 != (type_4 *)0x2) goto LAB_000cdf39;
        if (var_7 + -1 < 1) {
LAB_000cdf42:
          ppuVar17 = var_23;
          if (0 < var_7) {
            ppuVar12 = (type_10 **)0x0;
            do {
              ppuVar13 = (type_10 **)((int)ppuVar12 + 1);
              var_21 = var_20
                             ((type_16 *)(var_5[0xc].pVtab)->zErrMsg,
                              (int)var_5[0xc].pVtab[1].zErrMsg,ppuVar12,(int *)&dummy,
                              (type_16 *)&var_25);
              var_19(&var_21,&val,var_25,dummy);
              ppuVar17 = var_23;
              if (var_21 != 0) break;
              ppuVar12 = ppuVar13;
            } while ((int)ppuVar13 < var_7);
          }
        }
        else {
          ppuVar12 = (type_10 **)0x0;
          while( true ) {
            var_21 = var_20
                           ((type_16 *)var_11->zErrMsg,(int)var_11[1].zErrMsg,ppuVar12,
                            (int *)&dummy,(type_16 *)&var_25);
            var_16(&var_21,&val,(type_17)var_25);
            ppuVar17 = var_23;
            if (var_21 != 0) break;
            if ((type_10 **)((int)ppuVar12 + 1) == (type_10 **)(var_7 + -1)) goto LAB_000cdf42;
            var_11 = var_5[0xc].pVtab;
            ppuVar12 = (type_10 **)((int)ppuVar12 + 1);
          }
        }
      }
    }
    var_22(pCtx,val.p,val.n,(type_18 *)ppuVar17[0x45]);
    var_7 = 0;
    goto LAB_000cdc60;
  }
  if ((var_2 != (type_5 *)0x1) && (var_7 = 0, var_2 != (type_5 *)&DAT_00000004))
  goto LAB_000cdc60;
  var_2 = var_5[0x13].pVtab;
  if (var_2 != (type_5 *)0x0) {
LAB_000cdcc8:
    var_5[0x17].pVtab = var_2;
    (*(type_19 *)var_2[1].pModule)
              (var_23 + -0x385,var_5,pCtx,var_5[0x14].pVtab,var_5[0x15].pVtab);
    var_5[0x17].pVtab = (type_5 *)0x0;
    var_7 = 0;
    goto LAB_000cdc60;
  }
  zLeft = var_5[0x11].pVtab;
  var_25 = 0;
  if (var_5[0x12].pVtab == (type_5 *)0x0) {
LAB_000ce0dd:
    for (var_2 = (type_5 *)(var_11[2].pModule)->xClose; var_2 != (type_5 *)0x0;
        var_2 = (type_5 *)var_2[1].zErrMsg) {
      var_7 = var_24((char *)zLeft,(char *)var_2->nRef);
      if (var_7 == 0) {
        var_5[0x13].pVtab = var_2;
        var_7 = var_25;
        if (var_25 == 0) goto LAB_000cdcc8;
        goto LAB_000cdc60;
      }
    }
    var_18 = var_26((char *)((int)var_23 + -0x50c9b),zLeft);
    var_11->zErrMsg = var_18;
    var_5[0x13].pVtab = (type_5 *)0x0;
    var_7 = 1;
  }
  else {
    var_18 = var_27(&var_25,"SELECT %s",var_5[0x12].pVtab);
    if (var_18 == (char *)0x0) {
LAB_000ce0d5:
      if (var_25 == 0) goto LAB_000ce0dd;
    }
    else {
      val.p = (type_10 *)0x0;
      var_25 = var_28((type_20 *)psVar11->iVersion,var_18,-1,1,(type_15 **)&val,
                                 (char **)0x0);
      var_29(var_18);
      if (var_25 == 0) {
        var_7 = var_30((type_15 *)val.p);
        if (var_7 == 100) {
          var_2 = (type_5 *)var_31((type_15 *)val.p);
          var_5[0x14].pVtab = var_2;
          var_2 = (type_5 *)0x0;
          if (var_25 == 0) {
            var_2 = (type_5 *)var_32(&var_25,var_17(pCtx,var_23));
          }
          var_5[0x15].pVtab = var_2;
          if ((var_25 == 0) && (0 < (int)var_5[0x14].pVtab)) {
            var_7 = 0;
            do {
              var_2 = var_5[0x15].pVtab;
              var_13 = var_7 + 1;
              psVar11 = (type_8 *)var_8((type_15 *)val.p,var_7);
              (&var_2->pModule)[var_7] = psVar11;
              var_7 = var_13;
            } while (var_13 < (int)var_5[0x14].pVtab);
          }
          var_5[0x16].pVtab = (type_5 *)val.p;
        }
        else {
          var_25 = var_33((type_15 *)val.p);
        }
        goto LAB_000ce0d5;
      }
    }
    var_5[0x13].pVtab = (type_5 *)0x0;
    var_7 = var_25;
  }
LAB_000cdc60:
  if (var_34 == *(int *)(var_1 + 0x14)) {
    return var_7;
  }
                    /* WARNING: Subroutine does not return */
  var_35();
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) 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: (primitive_type) 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)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal))))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) right: (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)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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 (labeled_statement label: (statement_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: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_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: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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 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: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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 (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) 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)))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (do_statement 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 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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) right: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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: (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: (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: (subscript_expression argument: (identifier) index: (number_literal))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))) alternative: (else_clause (compound_statement (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: (number_literal) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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: (number_literal)))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (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: (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)))))) 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 (identifier) (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))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (string_literal (string_content)) (subscript_expression argument: (identifier) index: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (identifier) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (number_literal))))) (expression_statement (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: (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: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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 (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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: (number_literal) right: (subscript_expression argument: (identifier) index: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier)))))))) (goto_statement label: (statement_identifier))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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.ax replaced with injection: get_pc_thunk_ax */

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

{
  undefined4 *puVar1;
  int iVar2;
  int *piVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  int iVar8;
  int iVar9;
  int in_GS_OFFSET;
  undefined4 local_34;
  int local_30;
  int local_2c;
  undefined4 local_28;
  undefined4 local_24;
  int local_20;
  
  iVar7 = *param_1;
  iVar6 = param_1[5];
  puVar1 = *(undefined4 **)(iVar7 + 0xc);
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  iVar2 = puVar1[3];
  if (iVar6 == 3) {
    iVar4 = 0;
    if (param_3 == iVar2) {
      FUN_00026850(param_2,param_1[0xf],param_1[0x10]);
    }
    goto LAB_000cdc60;
  }
  if (param_3 == iVar2) {
    FUN_00026850(param_2,param_1[3],param_1[4]);
    iVar4 = 0;
    goto LAB_000cdc60;
  }
  if (iVar2 + 1 != param_3) {
    iVar4 = 0;
    if ((puVar1[8] != 1) && (iVar4 = FUN_000ccca0(), iVar4 == 0)) {
      uVar5 = FUN_00039de0(param_1[0xb],param_3 + 1);
      FUN_00049270(param_2,uVar5);
    }
    goto LAB_000cdc60;
  }
  if (iVar6 == 2) {
    iVar7 = param_1[0xc];
    iVar6 = puVar1[0xc];
    if (iVar7 == 0) {
      local_2c = 0;
      local_28 = 0;
      local_24 = 0;
      if ((iVar6 != 0) && (iVar6 != 2)) {
LAB_000cdf39:
        local_24 = 0;
        local_28 = 0;
        local_2c = 0;
      }
    }
    else {
      iVar2 = *(int *)(iVar7 + 0x10);
      local_2c = 0;
      local_28 = 0;
      local_24 = 0;
      if (iVar6 == 0) {
        if (1 < iVar2) {
          iVar6 = 0;
          while( true ) {
            iVar8 = 0;
            iVar9 = 0;
            piVar3 = *(int **)(*(int *)(iVar7 + 0x14) + iVar6 * 4);
            iVar4 = *piVar3;
            if ((*(int *)(iVar4 + 4) == 0) &&
               (*(int *)(iVar4 + 0x14) == *(int *)(*(int *)(iVar7 + 8) + 0x14) &&
                *(int *)(iVar4 + 0x10) == *(int *)(*(int *)(iVar7 + 8) + 0x10))) {
              iVar8 = piVar3[2];
              iVar9 = iVar8 >> 0x1f;
            }
            iVar6 = iVar6 + 1;
            FUN_0006a320(iVar8,iVar9);
            if (iVar6 == iVar2 + -1) break;
            iVar7 = param_1[0xc];
          }
        }
        iVar7 = 0;
        if (0 < iVar2) {
          do {
            piVar3 = *(int **)(*(int *)(param_1[0xc] + 0x14) + iVar7 * 4);
            iVar6 = *piVar3;
            if (*(int *)(iVar6 + 4) == 0) {
              iVar4 = *(int *)(param_1[0xc] + 8);
              iVar8 = 0;
              if (*(int *)(iVar6 + 0x14) == *(int *)(iVar4 + 0x14) &&
                  *(int *)(iVar6 + 0x10) == *(int *)(iVar4 + 0x10)) {
                iVar8 = piVar3[1];
              }
            }
            else {
              iVar8 = 0;
            }
            iVar7 = iVar7 + 1;
            FUN_00069170(iVar8);
          } while (iVar2 != iVar7);
        }
      }
      else {
        if (iVar6 != 2) goto LAB_000cdf39;
        if (0 < iVar2 + -1) {
          iVar7 = 0;
          do {
            iVar7 = iVar7 + 1;
            iVar6 = FUN_000696d0(&local_34,&local_30);
            FUN_0006a320(local_30,local_30 >> 0x1f);
            if (iVar6 != 0) goto LAB_000cde38;
          } while (iVar7 != iVar2 + -1);
        }
        if (0 < iVar2) {
          iVar7 = 0;
          do {
            iVar7 = iVar7 + 1;
            iVar6 = FUN_000696d0(&local_34,&local_30);
            FUN_00069170(local_34);
            if (iVar6 != 0) break;
          } while (iVar7 < iVar2);
        }
      }
    }
LAB_000cde38:
    FUN_00047bc0(param_2,local_2c,local_28,PTR_FUN_0014afe8);
    iVar4 = 0;
    goto LAB_000cdc60;
  }
  if ((iVar6 != 1) && (iVar4 = 0, iVar6 != 4)) goto LAB_000cdc60;
  iVar6 = param_1[0x13];
  if (iVar6 != 0) {
LAB_000cdcc8:
    param_1[0x17] = iVar6;
    (**(code **)(iVar6 + 0xc))(&DAT_0014a0c0,param_1,param_2,param_1[0x14],param_1[0x15]);
    param_1[0x17] = 0;
    iVar4 = 0;
    goto LAB_000cdc60;
  }
  iVar2 = param_1[0x11];
  local_30 = 0;
  if (param_1[0x12] == 0) {
LAB_000ce0dd:
    for (iVar6 = *(int *)(*(int *)(iVar7 + 0x18) + 0x1c); iVar6 != 0; iVar6 = *(int *)(iVar6 + 0x14)
        ) {
      iVar4 = FUN_00029350(iVar2,*(undefined4 *)(iVar6 + 4));
      if (iVar4 == 0) {
        param_1[0x13] = iVar6;
        iVar4 = local_30;
        if (local_30 == 0) goto LAB_000cdcc8;
        goto LAB_000cdc60;
      }
    }
    uVar5 = FUN_000728a0("no such function: %s",iVar2);
    *(undefined4 *)(iVar7 + 8) = uVar5;
    param_1[0x13] = 0;
    iVar4 = 1;
  }
  else {
    iVar6 = FUN_00072580(&local_30,"SELECT %s",param_1[0x12]);
    if (iVar6 == 0) {
LAB_000ce0d5:
      if (local_30 == 0) goto LAB_000ce0dd;
    }
    else {
      local_2c = 0;
      local_30 = FUN_000c3f90(*puVar1,iVar6,0xffffffff,1,&local_2c,0);
      FUN_000264d0(iVar6);
      if (local_30 == 0) {
        iVar6 = FUN_000ae4d0(local_2c);
        if (iVar6 == 100) {
          iVar6 = FUN_0001d350(local_2c);
          param_1[0x14] = iVar6;
          iVar6 = 0;
          if (local_30 == 0) {
            iVar6 = FUN_00040980();
          }
          param_1[0x15] = iVar6;
          if ((local_30 == 0) && (0 < param_1[0x14])) {
            iVar6 = 0;
            do {
              iVar4 = param_1[0x15];
              iVar8 = iVar6 + 1;
              uVar5 = FUN_00039de0(local_2c,iVar6);
              *(undefined4 *)(iVar4 + iVar6 * 4) = uVar5;
              iVar6 = iVar8;
            } while (iVar8 < param_1[0x14]);
          }
          param_1[0x16] = local_2c;
        }
        else {
          local_30 = FUN_0008b430(local_2c);
        }
        goto LAB_000ce0d5;
      }
    }
    param_1[0x13] = 0;
    iVar4 = local_30;
  }
LAB_000cdc60:
  if (local_20 == *(int *)(in_GS_OFFSET + 0x14)) {
    return iVar4;
  }
                    /* WARNING: Subroutine does not return */
  FUN_000f6410();
}

